diff options
author | Frederick Yin <fkfd@macaw.me> | 2020-07-04 22:12:11 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@macaw.me> | 2020-07-04 22:12:11 +0800 |
commit | 9527f0b05945871190e1592086e1d48e134dbaa5 (patch) | |
tree | 49a4bef40b10d9bf44b19ee3e7c05c885c1d154b /utab/data/site.html | |
parent | 0be69d4b5db18b1e0794fd3dc3297da0a16b1ccf (diff) |
Add or edit site
Diffstat (limited to 'utab/data/site.html')
-rw-r--r-- | utab/data/site.html | 31 |
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> |