
- Split into 4 files referenced by the first - Using MLFE and page-wide color definitions - Improved consistency and reduced markup complexity - Hinted more user actions - Improved visual parsability of tables and logs - Improved visibility of counter units - TODO: - Add text selection to important fields - Improve button placement - Reindent templates
38 lines
No EOL
792 B
Cheetah
38 lines
No EOL
792 B
Cheetah
{{template "head"}}
|
|
<h2>Libraries</h2>
|
|
<table>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Name</th>
|
|
<th>Path</th>
|
|
<th>Enabled</th>
|
|
</tr>
|
|
{{range $l := .Libraries}}
|
|
<tr onclick="window.location='/libraries/{{ $l.ID }}';">
|
|
<td>
|
|
{{ $l.ID }}
|
|
</td>
|
|
<td>
|
|
{{ $l.Name }}
|
|
</td>
|
|
<td>
|
|
{{ $l.Path }}
|
|
</td>
|
|
<td>
|
|
{{ $l.Enable }}
|
|
</td>
|
|
</tr>
|
|
{{end}}
|
|
</table>
|
|
|
|
<h2>New Library</h2>
|
|
<form method="POST">
|
|
<label>Name:</label>
|
|
<input type="text" name="name">
|
|
<label>Path:</label>
|
|
<input type="text" name="path">
|
|
<label>Enable:</label>
|
|
<input type="checkbox" name="enable">
|
|
<input type="submit" value="Submit">
|
|
</form>
|
|
{{template "tail"}} |