oficina / equipo Public

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

Plain git — no account needed to clone.

Download

Download this file

1{{define "up"}}/tasks/{{.Placement.Task.ID}}{{end}}
2{{define "up-label"}}{{copy "placement.back"}}{{end}}
3{{define "title"}}{{copy "placement.title"}}{{end}}
4{{define "content"}}{{with .Placement}}<section equipo-placement-page rst-stack>
5<a href="/tasks/{{.Task.ID}}">{{copy "placement.back"}}</a>
6<h1>{{copy "placement.title"}}</h1><p>{{.Task.Title}}</p>
7{{if .Task.Moving}}<div data-placement-pending>{{template "placement-abandon" .Task}}</div>
8{{else if .Merging}}<p>{{copy "placement.merging"}}</p>
9{{else if .Ended}}<p>{{copy "placement.finished"}}</p>
10{{else}}<p>{{copy "placement.restart_note"}}</p>
11<form method="post" action="/tasks/{{.Task.ID}}/move"><input type="hidden" name="revision" value="{{.Task.Revision}}">
12{{if .New}}<input type="hidden" name="new" value="1"><label>{{copy "placement.repo"}}<input rst-input name="repo" required maxlength="100" pattern="[A-Za-z0-9_.-]+/[a-z0-9][a-z0-9.-]{1,38}" aria-describedby="placement-hint"></label><p id="placement-hint" equipo-quiet>{{copy "placement.repo_hint"}}</p>
13{{else}}<label>{{copy "placement.destination"}}<select rst-input name="repo" required>{{range .Repos}}<option value="{{.}}">{{.}}</option>{{end}}</select></label>{{end}}
14<button rst-btn="primary" type="submit">{{if .New}}{{copy "placement.new_confirm"}}{{else if .Restart}}{{copy "placement.restart"}}{{else}}{{copy "placement.confirm"}}{{end}}</button>
15</form>{{end}}</section>{{end}}{{end}}
16