oficina / mapa Public

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

Plain git — no account needed to clone.

Download

Download this file

1{{define "content"}}
2{{template "page-header" dict "Title" "Pages" "Sub" "The team's pages. Everyone in the team can open and edit them." "ActionHref" "/new" "ActionLabel" "New page" "ActionIcon" "plus"}}
3{{template "notice" .Data.Notice}}
4{{with .Data.Pages}}
5<ul mapa-list>
6{{range .}}<li><a href="{{.Href}}" mapa-looked>{{pageIcon .Look "file-text"}}<span>{{.Label}}</span></a> <span mapa-meta>edited <time datetime="{{.Edited.Format "2006-01-02T15:04:05Z07:00"}}" title="{{stamp .Edited}}">{{ago .Edited}}</time></span></li>
7{{end}}</ul>
8{{else}}
9{{template "empty-state" dict "Title" "No pages yet" "Body" "A page holds what the team knows about one thing: a customer, a project, a decision. Link pages with [[their title]]." "ActionHref" "/new" "ActionLabel" "New page"}}
10{{end}}
11<p mapa-meta><a href="/deleted">Deleted pages</a></p>
12{{end}}
13