diff options
author | Aaron Williamson <aaron@copiesofcopies.org> | 2013-03-06 09:37:45 -0500 |
---|---|---|
committer | Aaron Williamson <aaron@copiesofcopies.org> | 2013-03-06 09:37:45 -0500 |
commit | 7b0d82539e2d8a451b8ea9ee54baab0f308a4d8a (patch) | |
tree | 677e5e8f5ec032f9403175b1bc78f378bd0d2d5c /stashbox/templates | |
parent | 673b5ffc0f4fe267901d2acef5212bc158b7885e (diff) |
Added license notices, rebranded.
Diffstat (limited to 'stashbox/templates')
-rw-r--r-- | stashbox/templates/admin_users.html | 32 | ||||
-rw-r--r-- | stashbox/templates/base.html | 55 | ||||
-rw-r--r-- | stashbox/templates/folder_edit.html | 12 | ||||
-rw-r--r-- | stashbox/templates/index.html | 40 | ||||
-rw-r--r-- | stashbox/templates/user_edit.html | 10 |
5 files changed, 0 insertions, 149 deletions
diff --git a/stashbox/templates/admin_users.html b/stashbox/templates/admin_users.html deleted file mode 100644 index d51602b..0000000 --- a/stashbox/templates/admin_users.html +++ /dev/null @@ -1,32 +0,0 @@ -$def with (users, form) - -<div class="span8"> - <h2>Users</h2> - <table class="table"> - <tr> - <th>User</th> - <th>Password</th> - <th></th> - </tr> - $for user in users: - <tr> - <td><a href="/user/$user.id/edit/">$user.username</a></td> - <td>$user.password</td> - <td> - <form action="/user/$user.id/delete/" method="POST"> - <input type="submit" class="btn" value="Delete" /> - </form> - </td> - </tr> - </table> - -</div> - -<div class="span4"> - <h2>Add a user</h2> - - <form action="" method="post"> - $:form.render_css() - </form> - -</div> diff --git a/stashbox/templates/base.html b/stashbox/templates/base.html deleted file mode 100644 index 8ee5a62..0000000 --- a/stashbox/templates/base.html +++ /dev/null @@ -1,55 +0,0 @@ -$def with (page) - -<!DOCTYPE html> -<html lang="en"> -<head> - <title>Mustache</title> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link href="/static/css/bootstrap.min.css" rel="stylesheet" media="screen"> - <link href="/static/css/bootstrap-responsive.css" rel="stylesheet"> - <link href="/static/css/stashbox.css" rel="stylesheet"> -</head> -<body> - - <div class="navbar navbar-inverse navbar-fixed-top"> - <div class="navbar-inner"> - <div class="container-fluid"> - <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - <a class="brand" href="/">Mustache</a> - <div class="nav-collapse collapse"> - <ul class="nav nav-tabs"> - <li><a href="/admin/users/">Users Admin</a></li> - </ul> - </div><!--/.nav-collapse --> - </div> - </div> - </div> - - <div class="container-fluid"> - - $if context['messages']: - <div id="messageBox" class="row-fluid"> - <div class="span9"> - $for message in context['messages']: - <div class="alert"> - <button type="button" class="close" data-dismiss="alert">×</button> - $message - </div> - </div> - $ context['messages'] = [] - </div> - - <div class="row-fluid"> - $:page - </div> - - </div> <!-- /container --> - - <script src="http://code.jquery.com/jquery.js"></script> - <script src="/static/js/bootstrap.min.js"></script> -</body> -</html> diff --git a/stashbox/templates/folder_edit.html b/stashbox/templates/folder_edit.html deleted file mode 100644 index 997cb8b..0000000 --- a/stashbox/templates/folder_edit.html +++ /dev/null @@ -1,12 +0,0 @@ -$def with (users, form_update) - -<div class="span4"> - <header> - <h2>Update folder</h2> - </header> - - <form action="" method="post"> - $:form_update.render_css() - </form> - -</div> diff --git a/stashbox/templates/index.html b/stashbox/templates/index.html deleted file mode 100644 index e219959..0000000 --- a/stashbox/templates/index.html +++ /dev/null @@ -1,40 +0,0 @@ -$def with (folders, form) - -<div class="span8"> - <header> - <h2>Existing folders</h2> - </header> - - <table class="table"> - <tr> - <th>Folder</th> - <th>Owner</th> - <th>Users</th> - <th></th> - </tr> - $for folder in folders: - <tr> - <td><a href="/folder/$folder['id']/edit/">$folder['name']</a></td> - <td>$folder['owner']</td> - <td> - ${", ".join(folder['users'])} - </td> - <td> - $ folder_id = folder['id'] - <form id="delete_folder_$folder_id" action="/folder/$folder_id/delete/" method="POST"> - <input type="submit" class="btn" value="Delete" /> - </form> - </td> - </tr> - </table> -</div> - -<div class="span4"> - <header> - <h2>Add a folder</h2> - </header> - - <form id="add_folder" action="" method="POST"> - $:form.render_css() - </form> -</div> diff --git a/stashbox/templates/user_edit.html b/stashbox/templates/user_edit.html deleted file mode 100644 index da41862..0000000 --- a/stashbox/templates/user_edit.html +++ /dev/null @@ -1,10 +0,0 @@ -$def with (form) - -<div class="span4"> - <h2>Edit user</h2> - - <form action="" method="post"> - $:form.render_css() - </form> - -</div> |