diff --git a/Taskfile.yml b/Taskfile.yml index 4b6ddc4..df56d46 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -35,7 +35,7 @@ tasks: cmds: # pip install watchdog[watchmedo] - > - watchmedo auto-restart + ~/venv/bin/watchmedo auto-restart --patterns "*.templ;*.go;*.css" -i "*_templ.go" --recursive diff --git a/darkstat/front/factions.templ b/darkstat/front/factions.templ index e63b7da..2be2746 100644 --- a/darkstat/front/factions.templ +++ b/darkstat/front/factions.templ @@ -31,6 +31,10 @@ templ FactionsT(factions []configs_export.Faction) { Name Short Name Nickname + Object Destruction Rep.Cng. + Mission Success Rep.Cng. + MIssion Failure Rep.Cng. + Mission Abort Rep.Cng. InfonameID InfocardID @@ -48,6 +52,10 @@ templ FactionsT(factions []configs_export.Faction) { { faction.Name } { faction.ShortName } { faction.Nickname } + { fmt.Sprintf("%.2f", faction.ObjectDestruction) } + { fmt.Sprintf("%.2f", faction.MissionSuccess) } + { fmt.Sprintf("%.2f", faction.MissionFailure) } + { fmt.Sprintf("%.2f", faction.MissionAbort) } { strconv.Itoa(faction.InfonameID) } { strconv.Itoa(faction.InfocardID) }