Files
2021-03-06 20:51:01 -06:00

78 lines
2.3 KiB
Plaintext

//- Semantic Versioning MAJOR.MINORPATCH
input(name='attr_version' type='hidden' value='2.21')
//- Do not manually change this. Hidden attribute used by versioning script
input(name='attr_latest_versioning_upgrade' type='hidden' value='1')
//- INCLUDES
=============================
include src/pug/abstracts/mixins.pug
//- VARIABLES
=============================
include src/pug/abstracts/variables.pug
//- TABS
=============================
input(name='attr_settings_toggle' type='hidden' value='settings')
input(name='attr_sheet_type' type='hidden' value='character')
input(name='attr_character_type' type='hidden' value='knight')
.grid.tabs
.col.sheet-type.grid
each val in ['character', 'holdings', 'entourage']
- const defaultSelected = val === 'character' ? true : false
+tabButtons(val, 'character', defaultSelected)
each val in ['feast record', 'gamemaster characters']
- const defaultSelected = val === 'feast record' ? true : false
+tabButtons(val, 'feast', defaultSelected)
each val in ['treasure record', 'income worksheet', 'land record']
- const defaultSelected = val === 'treasure record' ? true : false
+tabButtons(val, 'manor', defaultSelected)
.col.settings.grid
label(data-i18n-title=`sheet: settings`)
input(name=`attr_settings_toggle` title=`@{settings_toggle}` type='checkbox' value='settings')
span.pictos.text-lowercase.text-center y
//-NPC SHEET
=============================
include src/pug/pages/npc.pug
//-PC SHEET
=============================
include src/pug/pages/character.pug
include src/pug/pages/entourage.pug
include src/pug/pages/holdings.pug
include src/pug/pages/feast.pug
include src/pug/pages/manor.pug
include src/pug/pages/settings.pug
//-FOOTER
=============================
.footer
.div
span ©2016 Nocturnal Media. Permission granted to copy for personal use only.
.div
span Roll20 character sheet created by Emerald Producttions, LLC. emeraldproductionsllc.com
img(alt='Emerald Productins, LLC' src=`${imageSource}/EProd_Emerald_Gloss.png`)
.div
span Version
span(name='attr_version')
//-ROLL TEMPLATE
=============================
include src/pug/vendor/rolltemplate.pug
//- SCRIPTS
script(type="text/worker")
include src/js/scripts.js
include src/js/helpers.js
include src/js/eventhandlers.js
include src/js/versioning.js