diff --git a/TODO b/TODO index b73788f..9b08e21 100644 --- a/TODO +++ b/TODO @@ -13,5 +13,8 @@ - Add Usage documentation to README.md - Add Turf Validation (<= 6 max) - Add turf connection validation +- Change Traumas from Checkboxes to Items - Document usage of "logic" item property (crew_upgrades) -- Add screenshots \ No newline at end of file +- Add Icons to Items +- Add screenshots +- Add BitD fonts and fix styles \ No newline at end of file diff --git a/module/crew-sheet.js b/module/crew-sheet.js index 179c075..204a3d8 100644 --- a/module/crew-sheet.js +++ b/module/crew-sheet.js @@ -10,7 +10,8 @@ export class BladesCrewSheet extends ActorSheet { classes: ["blades-in-the-dark", "sheet", "actor"], template: "systems/blades-in-the-dark/templates/crew-sheet.html", width: 930, - height: 970 + height: 970, + tabs: [{navSelector: ".tabs", contentSelector: ".tab-content", initial: "turfs"}] }); } @@ -45,12 +46,6 @@ export class BladesCrewSheet extends ActorSheet { activateListeners(html) { super.activateListeners(html); - // Activate tabs - const tabs = new TabsV2({navSelector: ".tabs", contentSelector: ".section", initial: "turfs"}); - - // @todo Fix the error in TabsV2 - // tabs.bind(html); - // Everything below here is only needed if the sheet is editable if (!this.options.editable) return; diff --git a/scss/style.scss b/scss/style.scss index a87c756..b42effd 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -99,6 +99,7 @@ $red: red; margin-bottom: 10px; position: relative; padding-left: 10px; + display: flex; } // Stress and Trauma diff --git a/styles/blades.css b/styles/blades.css index eb49186..bafdd09 100644 --- a/styles/blades.css +++ b/styles/blades.css @@ -99,6 +99,7 @@ margin-bottom: 10px; position: relative; padding-left: 10px; + display: flex; } * .big-teeth-section { border-top: 3px solid black; diff --git a/templates/crew-sheet.html b/templates/crew-sheet.html index f73eb28..c044d03 100644 --- a/templates/crew-sheet.html +++ b/templates/crew-sheet.html @@ -208,9 +208,9 @@ {{/each}} @@ -240,21 +240,26 @@ - {{!-- Crew Type --}} -
- {{#each actor.items as |item id|}} - {{#eq item.type "crew_type"}} -
- {{> "systems/blades-in-the-dark/templates/parts/turf-list.html" turfs_data=item.data.turfs can_edit=false}} -
- {{/eq}} - {{/each}} -
+ {{!-- Tabs --}} +
+ + {{!-- Turfs --}} +
+
+

+
+ {{#each actor.items as |item id|}} + {{#eq item.type "crew_type"}} +
+ {{> "systems/blades-in-the-dark/templates/parts/turf-list.html" turfs_data=item.data.turfs can_edit=false}} +
+ {{/eq}} + {{/each}} +
-
{{!-- Crew Upgrades --}} -
+

@@ -271,12 +276,8 @@ {{/each}}
-
- -
- - {{!-- Crew Upgrades --}} -
+ {{!-- Crew Abilities --}} +

@@ -295,4 +296,5 @@
+