37 lines
998 B
HTML
37 lines
998 B
HTML
<input type="hidden" class="sheet-tabstoggle" name="attr_sheetTab" value="character" />
|
|
<div>
|
|
<button type="action" name="act_character" >Character</button>
|
|
<button type="action" name="act_journal" >Journal</button>
|
|
<button type="action" name="act_configuration" >Configuration</button>
|
|
</div>
|
|
|
|
<div class="sheet-character">
|
|
<div class="foo">
|
|
<h2>Character</h2>
|
|
<span>character Stuff Goes here </span>
|
|
</div>
|
|
</div>
|
|
<div class="sheet-journal">
|
|
<div class="foo">
|
|
<h2>Journal/Notes</h2>
|
|
<span>Journal/Notes Stuff Goes here</span>
|
|
</div>
|
|
</div>
|
|
<div class="sheet-config">
|
|
<div class="foo">
|
|
<h2>Config/Settings</h2>
|
|
<span>Sheet Config/Settings goes here</span>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/worker">
|
|
const buttonlist = ["character","journal","configuration"];
|
|
buttonlist.forEach(button => {
|
|
on(`clicked:${button}`, function() {
|
|
setAttrs({
|
|
sheetTab: button
|
|
});
|
|
});
|
|
});
|
|
</script>
|