fix(deploy): polish subdomain field UI
- Remove "Automatikusan generálva" badge from domain field (it's not generated, it's the customer's configured domain) - Shrink subdomain input width (8rem) so the .domain suffix appears directly next to it on the same line - Suppress redundant "Az alkalmazás aldomainje" description hint for subdomain fields (the warning hint is sufficient) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -240,7 +240,7 @@
|
||||
{{range .AutoFields}}
|
||||
{{$val := index $autoValues .EnvVar}}
|
||||
<div class="form-group form-group-auto">
|
||||
<label>{{.Label}} <span class="auto-generated-badge">✓ Automatikusan generálva</span></label>
|
||||
<label>{{.Label}} {{if eq .Type "secret"}}<span class="auto-generated-badge">✓ Automatikusan generálva</span>{{end}}</label>
|
||||
{{if $val}}
|
||||
{{if eq .Type "secret"}}
|
||||
<div class="input-with-button">
|
||||
@@ -340,7 +340,7 @@
|
||||
{{if $.AlreadyDeployed}}disabled{{end}}>
|
||||
{{end}}
|
||||
|
||||
{{if .Description}}
|
||||
{{if and .Description (ne .Type "subdomain")}}
|
||||
<span class="form-hint">{{.Description}}</span>
|
||||
{{end}}
|
||||
</div>
|
||||
|
||||
@@ -575,7 +575,7 @@ select.form-control option { background: var(--bg-secondary); color: var(--text-
|
||||
.input-with-button { display: flex; gap: .5rem; }
|
||||
.input-with-button .form-control { flex: 1; }
|
||||
.subdomain-input-group { display: flex; align-items: center; }
|
||||
.subdomain-input-group .subdomain-input { max-width: 14rem; border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: none; }
|
||||
.subdomain-input-group .subdomain-input { width: 8rem; border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: none; }
|
||||
.subdomain-input-group .subdomain-suffix {
|
||||
padding: .55rem .75rem; background: var(--bg-primary); border: 1px solid var(--border-color);
|
||||
border-left: none; border-radius: 0 8px 8px 0; color: var(--text-secondary);
|
||||
|
||||
Reference in New Issue
Block a user