Post-deploy fixes (v0.12.7a)
This commit is contained in:
@@ -598,10 +598,10 @@ func (s *Server) buildAppBackupRows(
|
||||
cfg, hasCfg := crossConfigs[app.StackName]
|
||||
|
||||
if !hasCfg || cfg == nil || !cfg.Enabled {
|
||||
// HDD data but no cross-drive configured → RED
|
||||
// HDD data backed up via nightly restic (mandatory), but no second copy
|
||||
row.UserDataConfigured = false
|
||||
row.Status = "red"
|
||||
row.StatusText = "Felhasználói adatokról nincs mentés"
|
||||
row.Status = "yellow"
|
||||
row.StatusText = "Nincs második másolat (csak helyi mentés)"
|
||||
} else {
|
||||
row.UserDataConfigured = true
|
||||
row.UserDataMethod = cfg.Method
|
||||
|
||||
@@ -312,7 +312,8 @@
|
||||
Futtatás most</button>
|
||||
</div>
|
||||
{{else}}
|
||||
<span class="layer-unconfigured">⚠ Nincs beállítva</span>
|
||||
<span class="layer-auto-ok">✓ Helyi mentés auto</span>
|
||||
<span class="layer-unconfigured">⚠ Nincs 2. másolat</span>
|
||||
<a href="/stacks/{{.StackName}}/deploy" class="btn btn-xs">Beállítás →</a>
|
||||
{{end}}
|
||||
{{else}}
|
||||
|
||||
@@ -2561,6 +2561,11 @@ a.stat-card:hover {
|
||||
font-size: .8rem;
|
||||
margin-left: .25rem;
|
||||
}
|
||||
.layer-auto-ok {
|
||||
color: var(--green);
|
||||
font-size: .85rem;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
.layer-unconfigured {
|
||||
color: var(--yellow);
|
||||
font-weight: 500;
|
||||
|
||||
Reference in New Issue
Block a user