Amount of types and fixes

Fixed some spacing in zoneTypes dialog, and made a count for the amount of zones per type.
This commit is contained in:
Ángel Montero Lamas 2022-01-20 21:17:53 +01:00
parent b2350a77d7
commit 16312aa864
2 changed files with 26 additions and 24 deletions

View file

@ -2951,7 +2951,7 @@
<div id="zonesTypes" class="dialog stable" style="display: none">
<div id="customHeader" class="header">
<div style="left:1.8em" data-tip="Name of this type of zone">Type Name&nbsp;</div>
<div style="left:12em" data-tip="Number of zones of this type" class="hide">Amount&nbsp;</div>
<div style="left:14em" data-tip="Number of zones of this type" class="hide">Amount&nbsp;</div>
</div>
<div id="zonesTypesBodySection" class="table" data-type="absolute"></div>
@ -2962,7 +2962,6 @@
<div id="zonesTypesBottom">
<button id="zonesNewBlank" data-tip="Add a new blank zone layer" class="icon-flag-empty"></button>
<button id="zonesNewRandom" data-tip="Add a new pre-filled random zone layer" class="icon-flag"></button>
<input type="text" id="zonesNewTypeInput" data-tip="Write the name of the type you want to add" maxlength="20" placeholder="Add type"></input>
<input type="button" id="zonesNewTypeButton" data-tip="Click add to save the type" value="Add">
</div>