oficina / alta Public

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

Plain git — no account needed to clone.

Download

Download this file

1{{define "layout"}}<!doctype html>
2{{/* layout — every page: estilo's bar and <main>. data-theme comes from
3 the Appearance cookie, read server-side, so nothing flashes. The
4 only script is estilo's busy.js (the 650 ms submit rule). */}}
5<html lang="en" dir="ltr"{{with .Frame.Theme}} data-theme="{{.}}"{{end}}>
6<head>
7<meta charset="utf-8">
8<meta name="viewport" content="width=device-width, initial-scale=1">
9<meta name="robots" content="noindex, nofollow">
10<title>{{with .Title}}{{.}} · {{end}}Alta</title>
11<link rel="icon" type="image/svg+xml" href="{{asset "static/oficina.svg"}}">
12<link rel="stylesheet" href="{{asset "static/tokens.css"}}">
13<link rel="stylesheet" href="{{busyCSS}}">
14<link rel="stylesheet" href="{{asset "static/theme.css"}}">
15<link rel="stylesheet" href="{{asset "static/estilo/base.css"}}">
16<link rel="stylesheet" href="{{asset "static/estilo/menu.css"}}">
17<link rel="stylesheet" href="{{asset "static/estilo/chrome.css"}}">
18<link rel="stylesheet" href="{{asset "static/alta.css"}}">
19<script defer src="{{busyJS}}"></script>
20</head>
21<body>
22<div estilo-shell>
23<a rst-skip href="#main">{{.Frame.Chrome.Labels.Skip}}</a>
24{{template "estilo-bar" .Frame.Chrome}}
25<main rst-page id="main">
26{{with .Error}}<p rst-callout="negative" role="alert">{{.}}</p>{{end}}
27{{with .Notice}}<p rst-callout role="status">{{.}}</p>{{end}}
28{{template "content" .}}
29</main>
30</div>
31</body>
32</html>
33{{end}}
34{{define "run-options"}}
35{{/* run-options — a provisioning run's profile and samples choice
36 (Paul, 2026-11-12): recorded on the run, shown with its plan. */}}
37<fieldset class="alta-profile">
38 <legend>Profile</legend>
39 {{range .Choices}}<label class="alta-check"><input type="radio" name="profile" value="{{.Value}}"{{if .Checked}} checked{{end}} required> <strong>{{.Name}}</strong><br><small class="alta-quiet">{{.Says}}</small></label>{{end}}
40</fieldset>
41<label class="alta-check"><input type="checkbox" name="samples" value="1"{{if .Samples}} checked{{end}}> Docs sample documents: each new person's Docs starts with the sample documents</label>
42{{end}}
43