From efc395dfbec772d09703b4cfbeead17c3f38a2cb Mon Sep 17 00:00:00 2001 From: Aaron Williamson Date: Fri, 1 Jul 2011 14:47:02 -0400 Subject: Added interface code --- stashbox/templates/base.html | 14 ++++++++++++++ stashbox/templates/index.html | 37 +++++++++++++++++++++++++++++++++++++ stashbox/templates/useradd.html | 25 +++++++++++++++++++++++++ stashbox/templates/usersadmin.html | 25 +++++++++++++++++++++++++ 4 files changed, 101 insertions(+) create mode 100644 stashbox/templates/base.html create mode 100644 stashbox/templates/index.html create mode 100644 stashbox/templates/useradd.html create mode 100644 stashbox/templates/usersadmin.html (limited to 'stashbox/templates') diff --git a/stashbox/templates/base.html b/stashbox/templates/base.html new file mode 100644 index 0000000..7171658 --- /dev/null +++ b/stashbox/templates/base.html @@ -0,0 +1,14 @@ +$def with (page) + + + + + Shareguard + + + + +$:page + + + diff --git a/stashbox/templates/index.html b/stashbox/templates/index.html new file mode 100644 index 0000000..9c59de9 --- /dev/null +++ b/stashbox/templates/index.html @@ -0,0 +1,37 @@ +$def with (boxes, form) + +
+
+

Existing folders

+
+ +
+ + + + + + + + $for box in boxes: + + + + + +
FolderOwnerUsers
$box['name']$box['owner'] + ${", ".join(box['users'])} +
+ +
+ +
+
+

Add a folder

+
+ + + $:form.render() + + +
diff --git a/stashbox/templates/useradd.html b/stashbox/templates/useradd.html new file mode 100644 index 0000000..a916386 --- /dev/null +++ b/stashbox/templates/useradd.html @@ -0,0 +1,25 @@ +$def with (users, form) + +
+ + + + + + + $for user in users: + + + + +
UserPassword
$user.username$user.password
+ +
+ +
+ +
+ $:form.render() +
+ +
diff --git a/stashbox/templates/usersadmin.html b/stashbox/templates/usersadmin.html new file mode 100644 index 0000000..a916386 --- /dev/null +++ b/stashbox/templates/usersadmin.html @@ -0,0 +1,25 @@ +$def with (users, form) + +
+ + + + + + + $for user in users: + + + + +
UserPassword
$user.username$user.password
+ +
+ +
+ +
+ $:form.render() +
+ +
-- cgit v1.2.3