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 04:12:47 +01:00
|
|
|
{{#if closed}}
|
2020-12-01 09:04:03 +01:00
|
|
|
<div style="text-align: center; margin-bottom: 0.5rem;">
|
2020-12-01 04:12:47 +01:00
|
|
|
{{localize "ROLL.CLOSED"}}: {{closed}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{#if opened}}
|
2020-12-01 09:04:03 +01:00
|
|
|
<div style="text-align: center; margin-bottom: 0.5rem;">
|
2020-12-01 04:12:47 +01:00
|
|
|
{{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>
|
2021-03-19 05:08:28 +01:00
|
|
|
{{#if opposite}}
|
|
|
|
<div class="dice-roll" style="text-align: center; margin-bottom: 0.5rem;">
|
|
|
|
{{localize "ROLL.OPPOSITE"}}: {{opposite}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2020-11-28 19:12:19 +01:00
|
|
|
</div>
|
|
|
|
{{#if success}}
|
2020-12-01 09:04:03 +01:00
|
|
|
<h2 style="border: none; text-align: center; width: 100%; font-weight: bold; color: limegreen;">
|
2020-12-01 04:12:47 +01:00
|
|
|
{{#if excetional}}{{localize "ROLL.EXCEPTIONAL"}}{{/if}} {{localize "ROLL.SUCCESS"}}
|
2020-12-01 09:04:03 +01:00
|
|
|
</h2>
|
2020-11-28 19:12:19 +01:00
|
|
|
{{/if}}
|
|
|
|
{{#if failure}}
|
2020-12-01 09:04:03 +01:00
|
|
|
<h2 style="border: none; text-align: center; width: 100%; font-weight: bold; color: darkred;">
|
2020-12-01 04:12:47 +01:00
|
|
|
{{#if excetional}}{{localize "ROLL.EXCEPTIONAL"}}{{/if}} {{localize "ROLL.FAILURE"}}
|
2020-12-01 09:04:03 +01:00
|
|
|
</h2>
|
2020-11-28 19:12:19 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|