summaryrefslogtreecommitdiff
path: root/utab/data/site.html
diff options
context:
space:
mode:
Diffstat (limited to 'utab/data/site.html')
-rw-r--r--utab/data/site.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/utab/data/site.html b/utab/data/site.html
new file mode 100644
index 0000000..1406af9
--- /dev/null
+++ b/utab/data/site.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<!--Routes using this template:
+/new/<url>
+/edit/<url>
+-->
+<head>
+ <title>utab - add new</title>
+</head>
+<body>
+ <h2>%site_heading%</h2>
+ <form action="/%action%" method="GET">
+ <label for="url">URL:</label>
+ <input class="form-input" name="url" type="url" 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="url"
+ value="%favicon_src%"
+ placeholder="%favicon_placeholder%"
+ />
+ <br />
+ <input class="form-button" type="submit" />
+ <a href="/"><button class="form-button">Cancel</button></a>
+ </form>
+ <link rel="stylesheet" type="text/css" href="/css/index.css" />
+</body>