From 4f923b809b4e38e0639e253f428fb6c4df03ee67 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 27 Nov 2014 15:55:25 +0100 Subject: More structured + better UI --- linkshorter/view/templ-head.php | 5 ++++- linkshorter/view/templ-index.php | 17 ++++++++++++----- linkshorter/view/templ-notfound.php | 14 ++++++++++++++ 3 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 linkshorter/view/templ-notfound.php (limited to 'linkshorter/view') diff --git a/linkshorter/view/templ-head.php b/linkshorter/view/templ-head.php index 2eee43c..4dd76d5 100644 --- a/linkshorter/view/templ-head.php +++ b/linkshorter/view/templ-head.php @@ -1,3 +1,6 @@ + @@ -9,7 +12,7 @@ .grey { color: #737373;} - + diff --git a/linkshorter/view/templ-index.php b/linkshorter/view/templ-index.php index 17b042e..46ff6a8 100644 --- a/linkshorter/view/templ-index.php +++ b/linkshorter/view/templ-index.php @@ -1,6 +1,9 @@
@@ -13,27 +16,31 @@
- +
- +

Options:

+
+ +
+
- +
- +
- +
Choose how long the shortlink should be valid. (In seconds) diff --git a/linkshorter/view/templ-notfound.php b/linkshorter/view/templ-notfound.php new file mode 100644 index 0000000..66d654b --- /dev/null +++ b/linkshorter/view/templ-notfound.php @@ -0,0 +1,14 @@ + +
+
+

Failure - Not Found

+
+

The requested URL ('') wasn't found on this server.

+
+
+ -- cgit v1.2.3