Fix refactor issues.

This commit is contained in:
MaxJa4
2024-01-21 18:59:11 +01:00
parent a912c68450
commit f8a472f10c
6 changed files with 24 additions and 14 deletions

View File

@@ -5,7 +5,7 @@
<kind value="PACKAGE" />
<package value="InfantrySkillCalculator" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/main.go" />
<filePath value="$PROJECT_DIR$/cmd/main.go" />
<method v="2">
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Redis" run_configuration_type="docker-deploy" />
</method>

15
.idea/webResources.xml generated Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="WebResourcesPaths">
<contentEntries>
<entry url="file://$PROJECT_DIR$">
<entryData>
<resourceRoots>
<path value="file://$PROJECT_DIR$/static" />
<path value="file://$PROJECT_DIR$/templates" />
</resourceRoots>
</entryData>
</entry>
</contentEntries>
</component>
</project>

View File

@@ -31,21 +31,16 @@
{{ template "bottom_controls" . }}
</div>
<!-- Delete Clan Modal -->
{{ if not (eq .UserRole "READER")}}
{{ template "delete_clan" . }}
<!-- Add Clan Modal -->
{{ template "add_clan" . }}
<!-- Edit Clan Modal -->
{{ template "edit_clan" . }}
<!-- Add Player Modal -->
{{ template "add_player" . }}
<!-- Delete Player Modal -->
{{ template "delete_player" . }}
<!-- Edit Player Modal -->
{{ template "edit_player" . }}
{{ end}}
<!-- Settings Modal -->
{{ template "settings" . }}
<script lang="javascript">