Add ability to deactivate/reactivate soldier records; make hex clearing work with right-click and add a confirmation modal dialog
This commit is contained in:
@@ -101,17 +101,17 @@
|
||||
<p class="grenades">
|
||||
<span>Hand Grenades</span>
|
||||
<label><input type='checkbox' checked /><svg viewBox="-7 -7 14 14" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="0" cy="0" r="5" />
|
||||
</svg></label>
|
||||
<circle cx="0" cy="0" r="5" />
|
||||
</svg></label>
|
||||
<label><input type='checkbox' checked /><svg viewBox="-7 -7 14 14" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="0" cy="0" r="5" />
|
||||
</svg></label>
|
||||
<circle cx="0" cy="0" r="5" />
|
||||
</svg></label>
|
||||
<label><input type='checkbox' checked /><svg viewBox="-7 -7 14 14" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="0" cy="0" r="5" />
|
||||
</svg></label>
|
||||
<circle cx="0" cy="0" r="5" />
|
||||
</svg></label>
|
||||
<label><input type='checkbox' checked /><svg viewBox="-7 -7 14 14" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="0" cy="0" r="5" />
|
||||
</svg></label>
|
||||
<circle cx="0" cy="0" r="5" />
|
||||
</svg></label>
|
||||
</p>
|
||||
</template>
|
||||
|
||||
@@ -361,9 +361,20 @@
|
||||
<dialog id="clear-hex">
|
||||
<p>Clear hex contents?</p>
|
||||
<div>
|
||||
<form>
|
||||
<button value="cancel" formmethod="dialog">Cancel</button>
|
||||
<button value="confirm" formmethod="dialog">Confirm</button>
|
||||
<form style="display: flex; flex-direction: row;">
|
||||
<div style="width: 50%;">
|
||||
<button
|
||||
style="display: block; margin-right: auto;"
|
||||
value="cancel"
|
||||
formmethod="dialog"
|
||||
>Cancel</button>
|
||||
</div>
|
||||
<div style="width: 50%;">
|
||||
<button
|
||||
style="display: block; margin-left: auto;"
|
||||
value="confirm"
|
||||
>Confirm</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</dialog>
|
||||
|
||||
Reference in New Issue
Block a user