From 01e9a34952bd6ddd383680b0ca2312e476ad07a6 Mon Sep 17 00:00:00 2001 From: horus_arch Date: Sun, 19 Apr 2015 22:09:52 +0200 Subject: Initial commit. --- templates/404.html | 27 ++++++++++++++++ templates/api.html | 1 + templates/cli.html | 16 ++++++++++ templates/file.html | 35 ++++++++++++++++++++ templates/footer.html | 21 ++++++++++++ templates/header.html | 18 +++++++++++ templates/index.html | 74 +++++++++++++++++++++++++++++++++++++++++++ templates/modal_error.html | 16 ++++++++++ templates/modal_uploaded.html | 16 ++++++++++ templates/navbar.html | 45 ++++++++++++++++++++++++++ templates/navbar.html.bak | 42 ++++++++++++++++++++++++ templates/navbar.html.full | 31 ++++++++++++++++++ 12 files changed, 342 insertions(+) create mode 100644 templates/404.html create mode 120000 templates/api.html create mode 100644 templates/cli.html create mode 100644 templates/file.html create mode 100644 templates/footer.html create mode 100644 templates/header.html create mode 100644 templates/index.html create mode 100644 templates/modal_error.html create mode 100644 templates/modal_uploaded.html create mode 100644 templates/navbar.html create mode 100644 templates/navbar.html.bak create mode 100644 templates/navbar.html.full (limited to 'templates') diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..0be97a5 --- /dev/null +++ b/templates/404.html @@ -0,0 +1,27 @@ +{{template "header.html" "Not Found"}} +{{template "navbar.html"}} + +
+
+

+ + Oooops, not found :(

+

+ The url {{.}} wasn't found on this server. +
+ Maybe try again at the start page? +

+ +
+
+
+
+
+
+
+
+{{template "footer.html"}} diff --git a/templates/api.html b/templates/api.html new file mode 120000 index 0000000..7b03479 --- /dev/null +++ b/templates/api.html @@ -0,0 +1 @@ +cli.html \ No newline at end of file diff --git a/templates/cli.html b/templates/cli.html new file mode 100644 index 0000000..d6dfa84 --- /dev/null +++ b/templates/cli.html @@ -0,0 +1,16 @@ +{{template "header.html" "Upload images from file!"}} +{{template "navbar.html"}} +{{template "modal_uploaded.html"}} +{{template "modal_error.html"}} + +
+
+
+ +

TODO!

+ +
+
+
+ +{{template "footer.html"}} diff --git a/templates/file.html b/templates/file.html new file mode 100644 index 0000000..a3beae9 --- /dev/null +++ b/templates/file.html @@ -0,0 +1,35 @@ +{{template "header.html" "Upload images from file!"}} +{{template "navbar.html"}} +{{template "modal_uploaded.html"}} +{{template "modal_error.html"}} + +
+
+
+ +
+
+ +

File Upload

+

Search for a file locally to upload.

+
+
+
+
+ +
+
+
+
+ Upload! +
+
+
+
+
+ +
+
+
+ +{{template "footer.html"}} diff --git a/templates/footer.html b/templates/footer.html new file mode 100644 index 0000000..1d1d9a8 --- /dev/null +++ b/templates/footer.html @@ -0,0 +1,21 @@ + + + + + + + + + + + diff --git a/templates/header.html b/templates/header.html new file mode 100644 index 0000000..2e0b604 --- /dev/null +++ b/templates/header.html @@ -0,0 +1,18 @@ + + + + + + + + {{.}} + + + + + + + + + + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..21180b7 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,74 @@ +{{template "header.html" "Image uploader"}} +{{template "navbar.html"}} +{{template "modal_uploaded.html"}} +{{template "modal_error.html"}} + +
+
+

+ + Image Uploader

+

+ Quick, reliable image uploading. +

+
+
+
+
+
+

+ + From File +

+

+

+ +
+ +
+

+
+
+

+ + From URL +

+

+

+ +
+ +
+

+
+
+
+
+

+ + From Data URI +

+

+

+ +
+ +
+

+
+
+

+ + + REST-Like API

+

TODO: Read the documentation here.

+
+
+
+
+

CLI Program

+

TODO: Use the image hoster direct from the command line.

+
+
+
+{{template "footer.html"}} diff --git a/templates/modal_error.html b/templates/modal_error.html new file mode 100644 index 0000000..3e022e0 --- /dev/null +++ b/templates/modal_error.html @@ -0,0 +1,16 @@ + diff --git a/templates/modal_uploaded.html b/templates/modal_uploaded.html new file mode 100644 index 0000000..71ef1aa --- /dev/null +++ b/templates/modal_uploaded.html @@ -0,0 +1,16 @@ + diff --git a/templates/navbar.html b/templates/navbar.html new file mode 100644 index 0000000..653faca --- /dev/null +++ b/templates/navbar.html @@ -0,0 +1,45 @@ + diff --git a/templates/navbar.html.bak b/templates/navbar.html.bak new file mode 100644 index 0000000..d8832e6 --- /dev/null +++ b/templates/navbar.html.bak @@ -0,0 +1,42 @@ + diff --git a/templates/navbar.html.full b/templates/navbar.html.full new file mode 100644 index 0000000..54482bd --- /dev/null +++ b/templates/navbar.html.full @@ -0,0 +1,31 @@ + -- cgit v1.2.3