Move user setting mocks to real settings

This commit is contained in:
Eli Ribble 2026-02-16 20:25:57 +00:00
parent 0b97c2cecc
commit b786c88f52
No known key found for this signature in database
4 changed files with 18 additions and 16 deletions

View file

@ -1,4 +1,4 @@
{{ template "sync/layout/base.html" . }}
{{ template "sync/layout/authenticated.html" . }}
{{ define "title" }}Dash{{ end }}
{{ define "extraheader" }}
@ -21,12 +21,6 @@
<div class="card-header bg-white">
<div class="d-flex justify-content-between align-items-center">
<h3 class="mb-0">Add New User</h3>
<a
href="user-management.html"
class="btn btn-outline-secondary btn-sm"
>
<i class="bi bi-arrow-left me-1"></i> Back to Users
</a>
</div>
</div>
<div class="card-body">
@ -145,7 +139,7 @@
<!-- Form actions -->
<div class="d-flex justify-content-end gap-2">
<a href="user-management.html" class="btn btn-secondary">
<a href="{{ .URL.SettingUser }}" class="btn btn-secondary">
Cancel
</a>
<button type="submit" class="btn btn-primary">

View file

@ -1,6 +1,6 @@
{{ template "sync/layout/base.html" . }}
{{ template "sync/layout/authenticated.html" . }}
{{ define "title" }}Dash{{ end }}
{{ define "title" }}Setting - Users{{ end }}
{{ define "extraheader" }}
<style>
.form-check-input.switch-lg {
@ -17,7 +17,7 @@
<div class="d-flex justify-content-between align-items-center mb-4">
<h1 class="mb-0">User Management</h1>
<a
href="{{ .URLs.SettingUserAdd }}"
href="{{ .URL.SettingUserAdd }}"
class="btn btn-primary"
id="addUserBtn"
>