first commit

This commit is contained in:
2020-11-28 19:12:19 +01:00
commit c3a7388592
38 changed files with 3189 additions and 0 deletions

26
templates/dice/roll.html Normal file
View File

@@ -0,0 +1,26 @@
<div class="kopparhavet roll-item">
<div class="border">
<h3>{{localize name}}</h3>
<div class="roll">
<div class="dice-roll">
<div class="dice-result">
{{#if showFormula}}
<div class="dice-formula-kh">{{res.formula}}</div>
{{/if}}
<h2>{{res.total}}</h2>
</div>
</div>
</div>
{{#if success}}
<div style="text-align: center; width: 100%; font-weight: bold; color: limegreen;">
{{localize "ROLL.SUCCESS"}}
</div>
{{/if}}
{{#if failure}}
<div style="text-align: center; width: 100%; font-weight: bold; color: darkred;">
{{localize "ROLL.FAILURE"}}
</div>
{{/if}}
</div>
</div>