feat: Add a new Foundry VTT module for tracking and displaying session numbers with GM controls and auto-increment functionality.
This commit is contained in:
parent
ad704b5fa2
commit
44b80af3d0
5 changed files with 320 additions and 0 deletions
15
templates/session-tracker.hbs
Normal file
15
templates/session-tracker.hbs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<div class="session-tracker-content">
|
||||
<div class="session-label">Session</div>
|
||||
<div class="session-number">{{sessionNumber}}</div>
|
||||
|
||||
{{#if isGM}}
|
||||
<div class="session-controls">
|
||||
<button type="button" data-action="decrement" title="Decrease Session Number">
|
||||
<i class="fas fa-minus"></i>
|
||||
</button>
|
||||
<button type="button" data-action="increment" title="Increase Session Number">
|
||||
<i class="fas fa-plus"></i>
|
||||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue