diff --git a/templates/base.html b/templates/base.html index ba46719..7d8e18c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,51 +3,51 @@ - - - {{.Title}} - - - + + + {{.Title}} + + + -
- {{ template "header" . }} -
-
- {{ template "main" . }} -
+
+ {{ template "header" . }} +
+
+ {{ template "main" . }} +
-
- {{ template "footer" . }} -
+
+ {{ template "footer" . }} +
diff --git a/templates/footer.html b/templates/footer.html index 260d84c..9b0881a 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,9 +1,9 @@ {{ define "footer" }} -{{ end }} +{{ end }} \ No newline at end of file diff --git a/templates/header.html b/templates/header.html index 441c7a4..46c13ec 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,82 +1,81 @@ {{ define "header" }}
- -
-
-
-
-
-
- Dungeons-and-Dragons-Banner -
-
-

- Dungeons and Dragons Monster Generator -

-
-
-
-
-
+
+ + + + +
+
+
+
+
+
+ Dungeons-and-Dragons-Banner +
+
+

+ Dungeons and Dragons Monster Generator +

+
+
+
+
+
+
+
-{{ end }} +{{ end }} \ No newline at end of file diff --git a/templates/main.html b/templates/main.html index 1687e93..359f1a9 100644 --- a/templates/main.html +++ b/templates/main.html @@ -1,131 +1,131 @@ {{ define "main" }}
-
-
-
-

Monster Form

+
+
+
+

Monster Form

+
+
+
+
+ +
+
+
+
-
- -
- -
-
-
- -
-
- -
-
- -
-
-
- {{ template "monsterform" . }} -
-
- -
-
- - -
+
+ +
+
+ +
-
+
+ {{ template "monsterform" . }} +
+
+ +
+
+ + + +
+
-
-
-
-

Existing Monsters

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ template "monsterTable" }} -
NameSourceSizeTypeAlignmentACAC FormHP AverageHP FormulaWalkSwimBurrowClimbFlyStrDexConIntWisChaSave DexSave ConSave WisSave StrSave IntSave ChaPerceptionStealthAcrobaticsAnimalHandlingArcanaAthleticsDeceptionHistoryInsightIntimidationInvestigationMedicineNaturePerformancePersuasionSleightOfHandSurvivalReligionDamage ResistanceDamage ImmuneVulnerableCondition ImmuneSensesLanguagesCRTrait NameTrait EntryAction NameAction Entry
-
-
+
+
+
+

Existing Monsters

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ template "monsterTable" }} +
NameSourceSizeTypeAlignmentACAC FormHP AverageHP FormulaWalkSwimBurrowClimbFlyStrDexConIntWisChaSave DexSave ConSave WisSave StrSave IntSave ChaPerceptionStealthAcrobaticsAnimalHandlingArcanaAthleticsDeceptionHistoryInsightIntimidationInvestigationMedicineNaturePerformancePersuasionSleightOfHandSurvivalReligionDamage ResistanceDamage ImmuneVulnerableCondition ImmuneSensesLanguagesCRTrait NameTrait EntryAction NameAction Entry
+
+
-{{ end }} +{{ end }} \ No newline at end of file diff --git a/templates/monster.html b/templates/monster.html index 5c5ad39..0053cea 100644 --- a/templates/monster.html +++ b/templates/monster.html @@ -1,59 +1,59 @@ {{ define "monster" }} - {{.Name}} - {{.Source}} - {{range .Size}}{{.}}{{end}} - {{.Type}} - {{range .Alignment}}{{.}}{{end}} - {{range .AC}}{{.AC}}{{end}} - {{range .AC}}{{.From}}{{end}} - {{.HP.Average}} - {{.HP.Formula}} - {{.Speed.Walk}} - {{.Speed.Swim}} - {{.Speed.Burrow}} - {{.Speed.Climb}} - {{.Speed.Fly}} - {{.Str}} - {{.Dex}} - {{.Con}} - {{.Int}} - {{.Wis}} - {{.Cha}} - {{.Save.Dex}} - {{.Save.Con}} - {{.Save.Wis}} - {{.Save.Str}} - {{.Save.Int}} - {{.Save.Cha}} - {{.Skill.Perception}} - {{.Skill.Stealth}} - {{.Skill.Acrobatics}} - {{.Skill.AnimalHandling}} - {{.Skill.Arcana}} - {{.Skill.Athletics}} - {{.Skill.Deception}} - {{.Skill.History}} - {{.Skill.Insight}} - {{.Skill.Intimidation}} - {{.Skill.Investigation}} - {{.Skill.Medicine}} - {{.Skill.Nature}} - {{.Skill.Performance}} - {{.Skill.Persuasion}} - {{.Skill.SleightOfHand}} - {{.Skill.Survival}} - {{.Skill.Religion}} - {{range .Resist}}{{.}}{{end}} - {{range .Immune}}{{.}}{{end}} - {{range .Vulnerable}}{{.}}{{end}} - {{range .ConditionImmune}}{{.}}{{end}} - {{range .Senses}}{{.}}{{end}} - {{range .Languages}}{{.}}{{end}} - {{.CR}} - {{range .Traits}}{{.Name}}{{end}} - {{range .Traits}}{{range .Entries}}{{.}}{{end}}{{end}} - {{range .Actions}}{{.Name}}{{end}} - {{range .Actions}}{{range .Entries}}{{.}}{{end}}{{end}} + {{.Name}} + {{.Source}} + {{range .Size}}{{.}}{{end}} + {{.Type}} + {{range .Alignment}}{{.}}{{end}} + {{range .AC}}{{.AC}}{{end}} + {{range .AC}}{{.From}}{{end}} + {{.HP.Average}} + {{.HP.Formula}} + {{.Speed.Walk}} + {{.Speed.Swim}} + {{.Speed.Burrow}} + {{.Speed.Climb}} + {{.Speed.Fly}} + {{.Str}} + {{.Dex}} + {{.Con}} + {{.Int}} + {{.Wis}} + {{.Cha}} + {{.Save.Dex}} + {{.Save.Con}} + {{.Save.Wis}} + {{.Save.Str}} + {{.Save.Int}} + {{.Save.Cha}} + {{.Skill.Perception}} + {{.Skill.Stealth}} + {{.Skill.Acrobatics}} + {{.Skill.AnimalHandling}} + {{.Skill.Arcana}} + {{.Skill.Athletics}} + {{.Skill.Deception}} + {{.Skill.History}} + {{.Skill.Insight}} + {{.Skill.Intimidation}} + {{.Skill.Investigation}} + {{.Skill.Medicine}} + {{.Skill.Nature}} + {{.Skill.Performance}} + {{.Skill.Persuasion}} + {{.Skill.SleightOfHand}} + {{.Skill.Survival}} + {{.Skill.Religion}} + {{range .Resist}}{{.}}{{end}} + {{range .Immune}}{{.}}{{end}} + {{range .Vulnerable}}{{.}}{{end}} + {{range .ConditionImmune}}{{.}}{{end}} + {{range .Senses}}{{.}}{{end}} + {{range .Languages}}{{.}}{{end}} + {{.CR}} + {{range .Traits}}{{.Name}}{{end}} + {{range .Traits}}{{range .Entries}}{{.}}{{end}}{{end}} + {{range .Actions}}{{.Name}}{{end}} + {{range .Actions}}{{range .Entries}}{{.}}{{end}}{{end}} -{{ end }} +{{ end }} \ No newline at end of file diff --git a/templates/monsterForm.html b/templates/monsterForm.html index 96e245d..5903e0d 100644 --- a/templates/monsterForm.html +++ b/templates/monsterForm.html @@ -1,313 +1,306 @@ {{ define "monsterform" }}
-
-
- -
- -
-
+
+
+ +
+ +
-
-
- -
- -
-
+
+
+
+ +
+ +
-
-
- -
-
- -
-
+
+
+
+ +
+
+
+
-
-
- -
- -
-
+
+
+
+ +
+ +
+
-
-
- -
- -
-
+
+
+ +
+ +
+
-
-
- -
- -
-
+
+
+ +
+ +
-
-
- -
- -
-
+
+
+
+ +
+ +
+
-
-
- -
- -
-
+
+
+ +
+ +
-
-
- -
- -
-
+
+
+
+ +
+ +
+
-
-
- -
- -
-
+
+
+ +
+ +
-
-
- -
- -
-
+
+
+
+ +
+ +
-
-
- -
- -
-
+
+
+
+ +
+ +
-
-
- -
- -
-
+
+
+
+ +
+ +
+
-
-
- -
- -
-
+
+
+ +
+ +
-
-
- -
- -
-
+
+
+
+ +
+ +
-
-
- -
- -
-
+
+
+
+ +
+ +
+
- {{ template "skills" }} + {{ template "skills" }}
-
-

- Speed -

-
-
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
+
+

+ Speed +

+
+
+
+
+
+
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
-
-
- -
- -
-
+
+
+ +
+ +
-
-
- -
- -
-
+
+
+
+ +
+ +
-
-
- -
- -
-
+
+
+
+ +
+ +
-
-
- -
- -
-
+
+
+
+ +
+ +
+
-
-
- -
- -
-
+
+
+ +
+ +
+
-
-
- -
- -
-
+
+
+ +
+ +
+
-
-
- -
- -
-
+
+
+ +
+ +
-
-
- -
- -
-
+
+
+
+ +
+ +
+
-
-
- -
- -
-
+
+
+ +
+ +
-
-
- -
- -
-
+
+
+
+ +
+ +
+
-{{end}} +{{end}} \ No newline at end of file diff --git a/templates/monsterTable.html b/templates/monsterTable.html index 0275be1..9eb1b75 100644 --- a/templates/monsterTable.html +++ b/templates/monsterTable.html @@ -1,7 +1,7 @@ {{ define "monsterTable" }} - {{ range .Monsters }} - {{ template "monster" . }} + {{ range .Monsters }} + {{ template "monster" . }} {{ end }} -{{ end }} +{{ end }} \ No newline at end of file diff --git a/templates/skills.html b/templates/skills.html index 3994276..acd9da9 100644 --- a/templates/skills.html +++ b/templates/skills.html @@ -1,282 +1,265 @@ {{ define "skills" }}
-
-
-

- Save -

-
-
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
+
+
+

+ Save +

+
+
+
+
+
+
+ +
+ +
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
-
-
-

- Skill -

-
-
-
-
-
-
- -
- +
+

+ Skill +

+
+
+
+
+
+
+ +
+ -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
-{{ end }} +{{ end }} \ No newline at end of file