remove: login card style dropdown and subtitle setting, glass effect now always active
This commit is contained in:
@@ -40,37 +40,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<hr class="my-4">
|
||||
|
||||
<!-- Login Theme Settings -->
|
||||
<h4 class="mb-3"><i class="ti ti-brush"></i> Login Theme</h4>
|
||||
<form action="/admin/settings" method="post">
|
||||
<input type="hidden" name="form_type" value="branding_settings">
|
||||
<div class="row">
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label">Card Style</label>
|
||||
<select name="login_card_style" class="form-select">
|
||||
<option value="default" {{if eq (loginCardStyle) "default"}}selected{{end}}>Default (Solid)</option>
|
||||
<option value="glass" {{if eq (loginCardStyle) "glass"}}selected{{end}}>Glass (Transparent)</option>
|
||||
</select>
|
||||
<small class="form-hint">Visual style of the login form.</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-8 mb-3">
|
||||
<label class="form-label">Subtitle</label>
|
||||
<input type="text" name="login_subtitle" class="form-control"
|
||||
value="{{loginSubtitle}}" placeholder="Centralized SSH Key Management and Deployment">
|
||||
<small class="form-hint">Text shown below the application name on the login page. Leave empty for default.</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-footer">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
<i class="ti ti-device-floppy"></i> Save Login Theme
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -55,8 +55,7 @@
|
||||
.login-footer.text-secondary a.text-secondary { color: rgba(255,255,255,0.90) !important; }
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{if eq (loginCardStyle) "glass"}}
|
||||
/* Glass card effect */
|
||||
/* Glass card effect (always active) */
|
||||
.card {
|
||||
background: rgba(255, 255, 255, 0.15) !important;
|
||||
backdrop-filter: blur(16px) saturate(180%);
|
||||
@@ -72,7 +71,6 @@
|
||||
.card .form-control { background: rgba(255,255,255,0.55); }
|
||||
[data-bs-theme="dark"] .card .form-control { background: rgba(0,0,0,0.3); }
|
||||
.card .form-label, .card .h2, .card h2 { text-shadow: none; }
|
||||
{{end}}
|
||||
</style>
|
||||
<!-- Tabler CSS (self-hosted to prevent FOUC) -->
|
||||
<link rel="stylesheet" href="/static/css/tabler.min.css">
|
||||
@@ -83,7 +81,7 @@
|
||||
<div class="container container-tight py-4">
|
||||
<div class="text-center mb-4">
|
||||
<h1 class="login-heading"><i class="ti ti-key"></i> {{appName}}</h1>
|
||||
<p class="text-secondary login-subtitle">{{if loginSubtitle}}{{loginSubtitle}}{{else}}Centralized SSH Key Management and Deployment{{end}}</p>
|
||||
<p class="text-secondary login-subtitle">Centralized SSH Key Management and Deployment</p>
|
||||
</div>
|
||||
<div class="card card-md">
|
||||
<div class="card-body">
|
||||
|
||||
Reference in New Issue
Block a user