Manage GM cards

This commit is contained in:
2021-03-08 22:46:33 +01:00
parent 10fbcec5fb
commit c2c837b778
10 changed files with 193 additions and 25 deletions

2
templates/chat-card.html Normal file
View File

@ -0,0 +1,2 @@
<h4>GM draws a card from its deck ! </h4>
<span><img class="chat-icon card-icon" src="{{cardPath}}" /></span>

21
templates/gm-deck.html Normal file
View File

@ -0,0 +1,21 @@
<form class="flip-dialog">
<section>
<div class="flexcol">
<label class="dialog-label">Click on deck to draw a card!</label>
</div>
<div class="flexrow">
<span class="edge-name"><a class="card-button reset-deck-full">Reset full deck and edges</a></span>
<span class="edge-name"><a class="card-button draw-new-edge">Draw a new Edge card</a></span>
<span class="edge-name"><a class="card-button reset-deck">Reset deck only (ie after a Joker)</a></span>
</div>
<div class="flexrow">
<span class="class-view-deck" id="view-gm-deck"></span>
<span class="class-view-edge" id="view-gm-edge"></span>
</div>
<div class="flexrow">
<label class="dialog-label"></label>
</div>
</section>
</form>