diff options
Diffstat (limited to 'utab/data')
-rw-r--r-- | utab/data/icons/arrow-thick-left.svg | 3 | ||||
-rw-r--r-- | utab/data/icons/trash.svg | 3 | ||||
-rw-r--r-- | utab/data/site.html | 18 |
3 files changed, 20 insertions, 4 deletions
diff --git a/utab/data/icons/arrow-thick-left.svg b/utab/data/icons/arrow-thick-left.svg new file mode 100644 index 0000000..26d3bbe --- /dev/null +++ b/utab/data/icons/arrow-thick-left.svg @@ -0,0 +1,3 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> + <path style="fill:#ffffff;fill-opacity:1" d="M3 0l-3 3.03 3 2.97v-2h5v-2h-5v-2z" transform="translate(0 1)" /> +</svg> diff --git a/utab/data/icons/trash.svg b/utab/data/icons/trash.svg new file mode 100644 index 0000000..a960240 --- /dev/null +++ b/utab/data/icons/trash.svg @@ -0,0 +1,3 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> + <path style="fill:#ffffff;fill-opacity:1" d="M3 0c-.55 0-1 .45-1 1h-1c-.55 0-1 .45-1 1h7c0-.55-.45-1-1-1h-1c0-.55-.45-1-1-1h-1zm-2 3v4.81c0 .11.08.19.19.19h4.63c.11 0 .19-.08.19-.19v-4.81h-1v3.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5v-3.5h-1v3.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5v-3.5h-1z" /> +</svg> diff --git a/utab/data/site.html b/utab/data/site.html index 1406af9..20b0900 100644 --- a/utab/data/site.html +++ b/utab/data/site.html @@ -4,13 +4,13 @@ /edit/<url> --> <head> - <title>utab - add new</title> + <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="url" value="%url%" autofocus /> + <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%" /> @@ -19,13 +19,23 @@ <input class="form-input" name="favicon" - type="url" + type="text" value="%favicon_src%" placeholder="%favicon_placeholder%" /> <br /> <input class="form-button" type="submit" /> - <a href="/"><button class="form-button">Cancel</button></a> </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> |