template cleanup

This commit is contained in:
2026-06-04 17:58:42 +00:00
parent 66747fa657
commit 3b1b20b506
15 changed files with 66 additions and 46 deletions
+1 -3
View File
@@ -34,9 +34,7 @@
</style>
</head>
<body>
<header>
{{template "header" .}}
</header>
{{template "header" .}}
<main>
<h2>Account</h2>
<section class="w3-card w3-padding">
+1 -3
View File
@@ -9,9 +9,7 @@
</style>
</head>
<body>
<header>
{{template "header" .}}
</header>
{{template "header" .}}
<main>
<h2><a href="index">Instances</a> / {{.config.Name}} / Backups</h2>
<section class="w3-card w3-padding">
+1 -3
View File
@@ -19,9 +19,7 @@
</style>
</head>
<body>
<header>
{{template "header" .}}
</header>
{{template "header" .}}
<main>
<section>
<h2><a href="index">Instances</a> / {{.config.Name}} / Config</h2>
+1 -3
View File
@@ -65,9 +65,7 @@
</style>
</head>
<body>
<header>
{{template "header" .}}
</header>
{{template "header" .}}
<main>
<section>
<h2>Instances</h2>
+1 -3
View File
@@ -7,9 +7,7 @@
<link rel="modulepreload" href="scripts/dialog.js">
</head>
<body>
<header>
{{template "header" .}}
</header>
{{template "header" .}}
<main class="flex" style="justify-content: center; align-items: center;">
<div class="w3-container w3-card w3-margin w3-padding" style="height: fit-content;">
<h2 class="w3-center">{{.global.Organization}} Login</h2>
+3 -3
View File
@@ -26,9 +26,7 @@
</style>
</head>
<body>
<header>
{{template "header" .}}
</header>
{{template "header" .}}
<main>
<h2>Settings</h2>
<form id="settings">
@@ -42,6 +40,8 @@
<p>App will periodically check for updates and synchronize only if needed. Medium resource usage.</p>
<label><input class="w3-radio" type="radio" id="sync-interrupt" name="sync-scheme" value="interrupt" required>Sync When Needed</label>
<p>App will react to changes and synchronize when changes are made. Low resource usage.</p>
<label><input class="w3-radio" type="radio" id="sync-never" name="sync-scheme" value="never" required>Never Sync</label>
<p>App will never automatically sync. Reload the page to sync the latest cluster state.</p>
</fieldset>
<fieldset>
<legend>App Sync Frequency</legend>