summaryrefslogtreecommitdiff
path: root/utab/data/site.html
blob: 20b0900f5d690e61a1ef48cd34c37d9cfcd65950 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<!--Routes using this template:
/new/<url>
/edit/<url>
-->
<head>
  <title>utab - edit site</title>
</head>
<body>
  <h2>%site_heading%</h2>
  <form action="/%action%" method="GET">
    <label for="url">URL:</label>
    <input class="form-input" name="url" type="text" value="%url%" autofocus />
    <br />
    <label for="title">Title:</label>
    <input class="form-input" name="title" type="text" value="%title%" />
    <br />
    <label for="favicon">Favicon:</label>
    <input
      class="form-input"
      name="favicon"
      type="text"
      value="%favicon_src%"
      placeholder="%favicon_placeholder%"
    />
    <br />
    <input class="form-button" type="submit" />
  </form>
  <footer class="ctrl">
    <a href="/">
      <img class="ctrl-icon" src="/icons/home.svg" />
    </a>
    <a href="/edit">
      <img class="ctrl-icon" src="/icons/arrow-thick-left.svg" />
    </a>
    <a href="/delete/%url_esc%" style="visibility: %delete_button_visibility%;">
      <img class="ctrl-icon" src="/icons/trash.svg" />
    </a>
  </footer>
  <link rel="stylesheet" type="text/css" href="/css/index.css" />
</body>