Skip to content

Commit

Permalink
minor style/layout tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Muttley committed Nov 16, 2024
1 parent f3acacc commit be9bba8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
1 change: 0 additions & 1 deletion system/src/apps/RequestCheckSD.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export default class RequestCheckSD extends FormApplication {
break;
case "request-check":
RequestCheckSD.displayRequest(data.difficulty, data.stat);
this.close();
break;
default:
shadowdark.error("Request Check Error");
Expand Down
22 changes: 17 additions & 5 deletions system/templates/apps/request-check.hbs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<form autocomplete="off">
<div class="grid-2-columns">
<div class="grid-2-columns" style="row-gap: 4px;">
{{#> ui/sd-box
header-label="Difficulty"
}}
<div class="grid-1-columns">
<div class="grid-1-columns" style="row-gap: unset;">
{{radioBoxes "difficulty" difficulty checked="12"}}
<hr>
<label class="checkbox">
Expand All @@ -17,15 +17,27 @@
{{#> ui/sd-box
header-label="Stat"
}}
<div class="grid-1-columns">
<div class="grid-1-columns" style="row-gap: unset;">
{{radioBoxes "stat" stats checked="str"}}
</div>
{{/ui/sd-box}}

<hr class="grid-colspan-2">

<button class="grid-colspan-2" type="submit" name="request-copy">{{localize "SHADOWDARK.apps.request-check.copy_to_clipboard"}}</button>
<button class="grid-colspan-2 larger" type="submit" name="request-check" style="font-family:'Old Newspaper Font';">
<button
class="grid-colspan-2"
name="request-copy"
type="submit"
>
<i class="fa-regular fa-clipboard"></i>
{{localize "SHADOWDARK.apps.request-check.copy_to_clipboard"}}
</button>
<button
class="grid-colspan-2 larger"
name="request-check"
style="font-family: 'Old Newspaper Font';"
type="submit"
>
{{localize "SHADOWDARK.apps.request-check.title"}}
</button>
</div>
Expand Down

0 comments on commit be9bba8

Please sign in to comment.