Disable settings completely, BF2042 is default game.

This commit is contained in:
MaxJa4
2024-01-22 15:51:56 +01:00
parent 6441aa9f81
commit 7cdc18bd78
3 changed files with 10 additions and 2 deletions

6
.idea/jsLibraryMappings.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
<includedPredefinedLibrary name="Node.js Core" />
</component>
</project>

View File

@@ -6,9 +6,11 @@
<a class="btn btn-lg btn-outline-secondary text-secondary-emphasis me-2" href="/logout">
<i class="bi bi-door-closed" data-bs-toggle="tooltip" data-bs-title="Abmelden"></i>
</a>
<!--
<button class="btn btn-lg btn-outline-secondary text-secondary-emphasis me-2" data-bs-toggle="modal" data-bs-target="#settingsModal">
<i class="bi bi-gear-fill" data-bs-toggle="tooltip" data-bs-title="Einstellungen"></i>
</button>
-->
{{ if (eq .UserRole "ADMIN") }}
<div class="dropdown">
<button class="btn btn-lg btn-outline-secondary text-secondary-emphasis dropdown-toggle" type="button" data-bs-toggle="dropdown">

View File

@@ -41,9 +41,9 @@
{{ template "edit_player" . }}
{{ end}}
{{ template "settings" . }}
{{/* template "settings" . */}}
{{ template "full_calc" . }}
{{template "full_calc" .}}
<script lang="javascript">
document.addEventListener('DOMContentLoaded', function() {