Replaced moving description in items by a big popup on hover.
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
<li class="item property flexcol toggle-on-click" data-toggle="item-description-{{property.id}}" data-property-id="{{property.id}}">
|
||||
<li class="item property flexcol" data-property-id="{{property.id}}">
|
||||
<ul class="item-header property-control">
|
||||
<li class="item-img"><img src="{{property.img}}" title="{{property.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name">{{property.name}}</li>
|
||||
<li class="item-name l5r5e-tooltip" data-property-id="{{property.id}}">{{property.name}}</li>
|
||||
{{#if editable}}
|
||||
<li class="property-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
{{#if property.data.data.description}}
|
||||
<div class="item-description item-description-{{property.id}}">{{{property.data.data.description}}}</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
12
system/templates/items/property/property-text.html
Normal file
12
system/templates/items/property/property-text.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor.data._id}}" data-item-id="{{data.data._id}}">
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{data.img}}" title="{{data.name}}" width="36" height="36"/>
|
||||
<h3 class="item-name">{{data.name}}</h3>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
{{!--item-infos--}}
|
||||
{{localize 'l5r5e.description'}} : {{{data.data.description}}}
|
||||
<br>
|
||||
{{localize 'l5r5e.book_reference'}} : {{data.data.book_reference}}
|
||||
</section>
|
||||
</div>
|
||||
Reference in New Issue
Block a user