From 7b0d82539e2d8a451b8ea9ee54baab0f308a4d8a Mon Sep 17 00:00:00 2001 From: Aaron Williamson Date: Wed, 6 Mar 2013 09:37:45 -0500 Subject: Added license notices, rebranded. --- mustash/templates/admin_users.html | 32 ++++++++++++++++++++++ mustash/templates/base.html | 55 ++++++++++++++++++++++++++++++++++++++ mustash/templates/folder_edit.html | 12 +++++++++ mustash/templates/index.html | 40 +++++++++++++++++++++++++++ mustash/templates/user_edit.html | 10 +++++++ 5 files changed, 149 insertions(+) create mode 100644 mustash/templates/admin_users.html create mode 100644 mustash/templates/base.html create mode 100644 mustash/templates/folder_edit.html create mode 100644 mustash/templates/index.html create mode 100644 mustash/templates/user_edit.html (limited to 'mustash/templates') diff --git a/mustash/templates/admin_users.html b/mustash/templates/admin_users.html new file mode 100644 index 0000000..d51602b --- /dev/null +++ b/mustash/templates/admin_users.html @@ -0,0 +1,32 @@ +$def with (users, form) + +
+

Users

+ + + + + + + $for user in users: + + + + + +
UserPassword
$user.username$user.password +
+ +
+
+ +
+ +
+

Add a user

+ +
+ $:form.render_css() +
+ +
diff --git a/mustash/templates/base.html b/mustash/templates/base.html new file mode 100644 index 0000000..b73af89 --- /dev/null +++ b/mustash/templates/base.html @@ -0,0 +1,55 @@ +$def with (page) + + + + + μstash + + + + + + + + + +
+ + $if context['messages']: +
+
+ $for message in context['messages']: +
+ + $message +
+
+ $ context['messages'] = [] +
+ +
+ $:page +
+ +
+ + + + + diff --git a/mustash/templates/folder_edit.html b/mustash/templates/folder_edit.html new file mode 100644 index 0000000..997cb8b --- /dev/null +++ b/mustash/templates/folder_edit.html @@ -0,0 +1,12 @@ +$def with (users, form_update) + +
+
+

Update folder

+
+ +
+ $:form_update.render_css() +
+ +
diff --git a/mustash/templates/index.html b/mustash/templates/index.html new file mode 100644 index 0000000..e219959 --- /dev/null +++ b/mustash/templates/index.html @@ -0,0 +1,40 @@ +$def with (folders, form) + +
+
+

Existing folders

+
+ + + + + + + + + $for folder in folders: + + + + + + +
FolderOwnerUsers
$folder['name']$folder['owner'] + ${", ".join(folder['users'])} + + $ folder_id = folder['id'] +
+ +
+
+
+ +
+
+

Add a folder

+
+ +
+ $:form.render_css() +
+
diff --git a/mustash/templates/user_edit.html b/mustash/templates/user_edit.html new file mode 100644 index 0000000..da41862 --- /dev/null +++ b/mustash/templates/user_edit.html @@ -0,0 +1,10 @@ +$def with (form) + +
+

Edit user

+ +
+ $:form.render_css() +
+ +
-- cgit v1.2.3