|
@@ -14,15 +14,16 @@ if(!$sketch) throw new Exception("Sketch supprimé ou inexistant");
|
|
|
|
|
|
<!-- resources bar -->
|
|
|
<div id="resources-toolbar">
|
|
|
- <ul id="resources" data-entity-search="hackpoint_resource_search">
|
|
|
- <li data-id="{{id}}" class="hidden" onclick="hackpoint_resource_edit(this);">
|
|
|
- <i class="far fa-trash-alt delete-resource" onclick="hackpoint_resource_delete(this,event)" ></i>
|
|
|
- <i class="{{type.icon}}"></i>
|
|
|
- <h3 title="Double cliquer pour modifier" ondblclick="hackpoint_resource_title_edit(event,this);"><span>{{label}}</span><input type="text" value="{{label}}" class="hidden"></h3>
|
|
|
- <small style="background:{{type.background}};color:{{type.color}}">{{type.label}}</small>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
-
|
|
|
+ <div class="resources-menu-container">
|
|
|
+ <ul id="resources" data-entity-search="hackpoint_resource_search">
|
|
|
+ <li data-id="{{id}}" class="hidden" onclick="hackpoint_resource_edit(this);">
|
|
|
+ <i class="far fa-trash-alt delete-resource" onclick="hackpoint_resource_delete(this,event)" ></i>
|
|
|
+ <i class="{{type.icon}}"></i>
|
|
|
+ <h3 title="Double cliquer pour modifier" ondblclick="hackpoint_resource_title_edit(event,this);"><span>{{label}}</span><input type="text" value="{{label}}" class="hidden"></h3>
|
|
|
+ <small style="background:{{type.background}};color:{{type.color}}">{{type.label}}</small>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
<!--<a href="index.php?module=hackpoint&page=sheet.resource" class="btn btn-dark btn-add-resource"><i class="fas fa-plus"></i></a>-->
|
|
|
|
|
|
<div class="btn-group dropright w-100 resource-dropdown">
|