From 672c6f88af04075ab148f6a8b190d015220639b7 Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 27 Apr 2015 20:07:18 +0000 Subject: [PATCH] admin interface with tab layout --- templates/admin_create.html | 60 ++++++++++++++++++++ templates/admin_edit.html | 57 +++++++++++++++++++ templates/admin_show_entries.html | 94 ------------------------------- templates/display.html | 10 +++- templates/help.html | 17 ++++++ tycker.py | 12 +++- 6 files changed, 153 insertions(+), 97 deletions(-) create mode 100644 templates/admin_create.html create mode 100644 templates/admin_edit.html delete mode 100644 templates/admin_show_entries.html create mode 100644 templates/help.html diff --git a/templates/admin_create.html b/templates/admin_create.html new file mode 100644 index 0000000..e954a95 --- /dev/null +++ b/templates/admin_create.html @@ -0,0 +1,60 @@ + + + + Admin Ticker + + + + + + +
+

Tycker Administration

+ + + + + + +
+
+

 

+
+
+ +
+
+
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+ + +
+
+
+
+ +
+
+ + + diff --git a/templates/admin_show_entries.html b/templates/admin_show_entries.html deleted file mode 100644 index bdbf10b..0000000 --- a/templates/admin_show_entries.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - Admin Ticker - - - - - - - -
- -

Tycker Administration

- - - - - - -

Show frontpage of this tycker

- -
- -

The content may be written in wikicreole syntax. Here are some examples:

-
-
Emphasis
-
//italics//; **bold**
-
Links
-
[[URL]]; [[URL|linkname]]
-
Headings
-
== Large heading; === Medium heading; ==== Small heading
-
Lists
-
* Bullet list; ** Sub item of bullet list; # Numbered list; ## Sub item of numbered list
-
Line break
-
Force\\Linebreak
-
Howto
-
1. Press "Generate current timestamp" button to insert the current timestamp
2. Choose a title
3. Create some content
4. Press "Create" button to publish to frontpage
-
-
- -
-
- -
-
- -
-
- - -
-
- - -
-
- - -
- -
-
-
- - -
-
- - - - diff --git a/templates/display.html b/templates/display.html index aa5a682..421423e 100644 --- a/templates/display.html +++ b/templates/display.html @@ -40,7 +40,15 @@ ${nav_links(prev_link, next_link)} -
+
+
+
+
+
+
+ +
+