oficina / alta Public

Clone
git clone https://amadan.net/oficina/alta

Plain git — no account needed to clone.

Download

Download this file

1{{define "content"}}
2{{$t := .Data.Team}}
3{{template "page-header" dict "Title" (printf "Retire apps from %s" $t.Name) "Sub" "Disable at the directory, retire at the credential origin, detach the hostname, delete the instance."}}
4<form rst-form method="post" action="/teams/{{$t.Label}}/retire">
5 <fieldset class="alta-apps"><legend>Apps to retire</legend>
6 {{range .Data.Apps}}<label><input type="checkbox" name="app" value="{{.Slug}}"> {{.Name}} — {{.Host}}</label>{{end}}
7 </fieldset>
8 <p><strong>What survives:</strong> each instance's parked database replica (only a CARLOS operator purges it, and the host cannot be re-created until then), the owned environment (there is no delete verb), and the Home team, its roster and label.</p>
9 <p><strong>Never again:</strong> the label and every retired hostname are never reused; a retired app cannot be re-added to this team.</p>
10 {{template "field" dict "ID" "label" "Name" "label" "Label" (printf "Type %s to confirm" $t.Label) "Required" true "Autocomplete" "off"}}
11 <div rst-form-foot><button type="submit" rst-btn="danger">Submit the retire plan to Home</button> <a rst-btn href="/teams/{{$t.Label}}">Cancel</a></div>
12</form>
13{{end}}
14