From a1721c37aff60609639786f1fd8ec5147b37051d Mon Sep 17 00:00:00 2001 From: Chelsea Ash Date: Mon, 9 Nov 2020 17:20:06 -0500 Subject: [PATCH] Fix CSS for Foundry 0.7.6 and dnd5e 1.1.0 --- changelog.md | 3 +++ module.json | 8 ++++---- templates/training-section.html | 14 +++++++------- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/changelog.md b/changelog.md index 291a8dd..bb4dd1b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Change Log +## Version 0.4.8 +- Compatibility with Foundry 0.7.6 and dnd5e 1.1.0 + ## Version 0.4.7 - Added the `CrashTrainingTabReady` hook, which fires when the downtime tab is ready. Example usage: ```js diff --git a/module.json b/module.json index cbd9d82..e76cc8c 100644 --- a/module.json +++ b/module.json @@ -2,10 +2,10 @@ "name": "5e-training", "title": "Crash's 5e Downtime Tracking", "description": "Adds a section to the character sheet to keep track of downtime activity progression. Track proficiency training, spell scribing, and anything else you can think of.", - "version": "0.4.7", + "version": "0.4.8", "author": "CRASH1115#2944", - "minimumCoreVersion": "0.6.6", - "compatibleCoreVersion": "0.7.3", + "minimumCoreVersion": "0.7.6", + "compatibleCoreVersion": "0.7.6", "systems": ["dnd5e"], "esmodules": ["training.js"], "styles": ["styles/training.css"], @@ -28,5 +28,5 @@ ], "url": "https://github.com/crash1115/5e-training", "manifest": "https://raw.githubusercontent.com/crash1115/5e-training/master/module.json", - "download": "https://github.com/crash1115/5e-training/releases/download/v0.4.7/5e-training.zip" + "download": "https://github.com/crash1115/5e-training/releases/download/v0.4.8/5e-training.zip" } diff --git a/templates/training-section.html b/templates/training-section.html index 553f293..3c6b2b9 100644 --- a/templates/training-section.html +++ b/templates/training-section.html @@ -1,8 +1,8 @@
-
    -
  1. +
      +
    1. {{ localize 'C5ETRAINING.ActivityProgress' }}

      -
      +
      {{ localize 'C5ETRAINING.AuditLog' }} @@ -11,12 +11,12 @@

      {{ localize 'C5ETRAINING.ActivityProgress' }}

    2. -
        +
          {{#each actor.flags.5e-training.trainingItems as |training tid| }}
        1. -
          -
          -

          {{training.name}}

          +
          +
          +

          {{training.name}}

          {{progressionStyle training ../actor}}