Added a drop icon on army and cohort sheet for actor
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -92,6 +92,10 @@
|
|||||||
.commander {
|
.commander {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
|
.fa-sign-in-alt {
|
||||||
|
transform: rotate(90deg);
|
||||||
|
}
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
margin-top: 0.25rem;
|
margin-top: 0.25rem;
|
||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0.25rem;
|
||||||
|
|||||||
@@ -410,6 +410,9 @@
|
|||||||
height: calc(100% - 92px - 3.6rem);
|
height: calc(100% - 92px - 3.6rem);
|
||||||
}
|
}
|
||||||
article {
|
article {
|
||||||
|
.fa-sign-in-alt {
|
||||||
|
transform: rotate(90deg);
|
||||||
|
}
|
||||||
&.attributes {
|
&.attributes {
|
||||||
height: 7rem;
|
height: 7rem;
|
||||||
input[type="text"] {
|
input[type="text"] {
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
<div class="header-fields warlord">
|
<div class="header-fields warlord">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<p>
|
<legend>{{^if data.data.warlord_actor_id}}<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{/if}}{{localize 'l5r5e.army.warlord'}}</legend>
|
||||||
<strong>{{localize 'l5r5e.army.warlord'}}</strong>
|
|
||||||
</p>
|
|
||||||
<p>
|
<p>
|
||||||
{{#if data.data.warlord_actor_id}}
|
{{#if data.data.warlord_actor_id}}
|
||||||
<span data-actor-id="{{actor.id}}" data-type="warlord" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
|
<span data-actor-id="{{actor.id}}" data-type="warlord" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
|
||||||
@@ -23,9 +21,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="header-fields commander">
|
<div class="header-fields commander">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<label>
|
<legend>{{^if data.data.commander_actor_id}}<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{/if}}{{localize 'l5r5e.army.commander'}}</legend>
|
||||||
<strong>{{localize 'l5r5e.army.commander'}}</strong>
|
|
||||||
</label>
|
|
||||||
{{#if data.data.commander_actor_id}}
|
{{#if data.data.commander_actor_id}}
|
||||||
<span data-actor-id="{{actor.id}}" data-type="commander" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
|
<span data-actor-id="{{actor.id}}" data-type="commander" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
|
||||||
<a data-actor-id="{{data.data.commander_actor_id}}" class="open-sheet-actor-id">{{data.data.commander}}</a>
|
<a data-actor-id="{{data.data.commander_actor_id}}" class="open-sheet-actor-id">{{data.data.commander}}</a>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label class="attribute army-cohort-types flx50">
|
<label class="attribute army-cohort-types flx50">
|
||||||
{{localize 'l5r5e.army.cohort.leader'}}
|
{{^if data.data.leader_actor_id}}<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{/if}}{{localize 'l5r5e.army.cohort.leader'}}
|
||||||
{{#if data.data.leader_actor_id}}
|
{{#if data.data.leader_actor_id}}
|
||||||
<div>
|
<div>
|
||||||
<span data-actor-id="{{data.data.leader_actor_id}}" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
|
<span data-actor-id="{{data.data.leader_actor_id}}" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
|
||||||
|
|||||||
Reference in New Issue
Block a user