UI updates

This commit is contained in:
FoxRobinHood
2025-10-30 10:56:58 -05:00
committed by GitHub
parent 3c5e51ace5
commit 42e00bbb01
+12
View File
@@ -7,6 +7,7 @@
style="height: 60px"
/>
</h1>
<label>Initiative:</label><button type="roll" value="@{wtype} &amp;{template:simpleroll} {{rolltitle=1d10}} {{roll=[[ [[1d10]][1d10]]]}} {{name=Initiative}} {{charactername=@{character_name}}}" title="Roll 1d10" class="btn ui-draggable"></button>
<label class="sheet-options-checkbox-label" for="sheet-options-checkbox">y</label>
<input id="sheet-options-checkbox" class="sheet-options-checkbox" type="checkbox" />
<div class="sheet-panel sheet-options-toggle">
@@ -27,6 +28,7 @@
<h5 data-i18n="import"></h5>
<p>Paste the contents of the Forge Steel data export (*.ds-hero file) into the text box below, then click "Import".</p>
<p class="text-warning">This will overwrite attributes on this sheet. This cannot be undone.</p>
<p class="text-warning">The import feature is a work in progress. Check for mistakes.</p>
<textarea name="attr_forgesteel_json"></textarea>
<button type="action" name="act_import">Import Player</button>
<button type="action" name="act_importmonster">Import Monster</button>
@@ -284,6 +286,16 @@
<label data-i18n="save-ends"></label>
</div>
</fieldset>
<div class="savethrow-input-group">
<p>Save Ends = </p>
<input type="text" class="input-md" name="attr_savethrow" data-i18n-placeholder="savethrow-placeholder" />
<p> or higher at the end of your turn removes the effect </p>
<label>1d10:</label><button type="roll" value="@{wtype} &amp;{template:simpleroll} {{rolltitle=1d10}} {{roll=[[ [[1d10]][1d10]]]}} {{name=Saving throw: rolling a @{savethrow} or higher removes effect}} {{charactername=@{character_name}}}" title="Roll 1d10" class="btn ui-draggable"></button>
</div>
<div class="bleed-dying-input-group">
<p>Bleeding or Dying:</p>
<label>1d6 + level:</label><button type="roll" value="@{wtype} &amp;{template:simpleroll} {{rolltitle=1d6+@{level}}} {{roll=[[1d6[1d6] + @{level}[level]]]}} {{name=Bleeding or Dying}} {{charactername=@{character_name}}}" title="Roll 1d6 + level" class="btn ui-draggable"></button>
</div>
</div>
</div>
<!-- Biography Panel-->