2020-11-28 19:12:19 +01:00
|
|
|
<div class="kopparhavet roll-item">
|
|
|
|
<div class="border">
|
|
|
|
<h3>{{localize name}}</h3>
|
|
|
|
|
|
|
|
<div class="roll">
|
|
|
|
<div class="dice-roll">
|
2020-12-01 17:30:39 +01:00
|
|
|
{{#if closed}}
|
|
|
|
<div style="text-align: center; margin-bottom: 0.5rem;">
|
|
|
|
{{localize "ROLL.CLOSED"}}: {{closed}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{#if opened}}
|
|
|
|
<div style="text-align: center; margin-bottom: 0.5rem;">
|
|
|
|
{{localize "ROLL.OPENED"}}: {{opened}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2020-11-28 19:12:19 +01:00
|
|
|
<div class="dice-result">
|
|
|
|
{{#if showFormula}}
|
|
|
|
<div class="dice-formula-kh">{{res.formula}}</div>
|
|
|
|
{{/if}}
|
|
|
|
<h2>{{res.total}}</h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{#if success}}
|
2020-12-01 17:30:39 +01:00
|
|
|
<h2 style="border: none; text-align: center; width: 100%; font-weight: bold; color: limegreen;">
|
|
|
|
{{#if excetional}}{{localize "ROLL.EXCEPTIONAL"}}{{/if}} {{localize "ROLL.SUCCESS"}}
|
|
|
|
</h2>
|
2020-11-28 19:12:19 +01:00
|
|
|
{{/if}}
|
|
|
|
{{#if failure}}
|
2020-12-01 17:30:39 +01:00
|
|
|
<h2 style="border: none; text-align: center; width: 100%; font-weight: bold; color: darkred;">
|
|
|
|
{{#if excetional}}{{localize "ROLL.EXCEPTIONAL"}}{{/if}} {{localize "ROLL.FAILURE"}}
|
|
|
|
</h2>
|
2020-11-28 19:12:19 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|