hivedav

A curlable free/busy scheduler with CalDAV integration
git clone https://git.in0rdr.ch/hivedav.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

listcubicles.html (1018B)


      1 <html>
      2 	<head>
      3 		<title>HiveDAV - ListCubicles {{ .Week }}, Year {{ .Year }}</title>
      4 		<link rel="stylesheet" href="/css/index.css">
      5 		<link rel="stylesheet" href="/css/style.css">
      6 	</head>
      7 	<body>
      8 		<p>
      9 		Serving week <i>{{ .Week }}</i> of year <i>{{ .Year }}</i>
     10 		</p>
     11 		<p>
     12 		This site is curlable, try <code>`curl {{ .HiveDavHost }}/list/{{ .Year }}/{{ .Week }}`</code>
     13 		</p>
     14 		<nav>
     15 			<ul>
     16 				<li><a href="/week/{{ .Year }}/{{ .Week }}">Show calendar</a></li>
     17 				<li><a href="/list/{{ .Year }}/{{ prev .Week }}">Prev week</a></li>
     18 				<li><a href="/list/{{ .Year }}/{{ next .Week }}">Next week</a></li>
     19 			</ul>
     20 		</nav>
     21 		<table>
     22 			<tr>
     23 			{{ range $i, $h := .TableHead }}
     24 				<th>{{ $h }}</th>
     25 			{{ end }}
     26 			</tr>
     27 			{{ range $i, $r := .Rows }}
     28 			<tr>
     29 				<td>{{ index $r 0 }}</td>
     30 				<td><a href="/book/{{ index $r 1 }}">book </a></td>
     31 			</tr>
     32 			{{ end }}
     33 		</table>
     34 		<footer>
     35 			HiveDAV <a href="https://code.in0rdr.ch/hivedav/refs.html">{{ .Version }}</a> &#127855;
     36 		</footer>
     37 	</body>
     38 </html>