Mercurial > kallithea
comparison pylons_app/templates/repos_manage.html @ 44:d924b931b488
Added managment pages.
+ fixed routing bug
done a lot in templates
author | marcink |
---|---|
date | Wed, 07 Apr 2010 16:42:11 +0200 |
parents | |
children | f6ac79182600 |
comparison
equal
deleted
inserted
replaced
43:2e1247e62c5b | 44:d924b931b488 |
---|---|
1 <%inherit file="base/base.html"/> | |
2 <%def name="title()"> | |
3 ${_('Repository managment')} | |
4 </%def> | |
5 <%def name="breadcrumbs()"> | |
6 ${h.link_to(u'Home',h.url('/'))} | |
7 / | |
8 ${h.link_to(u'Admin',h.url('admin_home'))} | |
9 / | |
10 ${h.link_to(u'Repos managment',h.url('admin_repos_manage'))} | |
11 </%def> | |
12 <%def name="page_nav()"> | |
13 <li>${h.link_to(u'Home',h.url('/'))}</li> | |
14 <li class="current">${_('Admin')}</li> | |
15 </%def> | |
16 <%def name="main()"> | |
17 | |
18 | |
19 <div class="twocol-form"> | |
20 <h2>Create new repository</h2> | |
21 <form method="post" action="/repo/create/"> | |
22 <table> | |
23 <tbody><tr><th><label for="id_name">Name:</label></th><td><input type="text" maxlength="255" name="name" id="id_name"></td></tr> | |
24 <tr><th><label for="id_description">Description:</label></th><td><textarea name="description" cols="40" rows="10" id="id_description"></textarea></td></tr> | |
25 <tr><th><label for="id_website">Website:</label></th><td><input type="text" maxlength="128" name="website" id="id_website"></td></tr> | |
26 <tr><th><label for="id_is_private">Private:</label></th><td><input type="checkbox" id="id_is_private" name="is_private"></td></tr> | |
27 <tr><th><label for="id_has_issues">Issue tracking:</label></th><td><input type="checkbox" id="id_has_issues" name="has_issues" checked="checked"></td></tr> | |
28 <tr><th><label for="id_has_wiki">Wiki:</label></th><td><input type="checkbox" id="id_has_wiki" name="has_wiki" checked="checked"></td></tr> | |
29 | |
30 | |
31 <tr><td colspan="2"> </td></tr> | |
32 <tr> | |
33 <td colspan="2"> | |
34 <input type="submit" class="primary-button" value="Create repository"> <input type="reset" onclick="document.location='http://bitbucket.org/';" class="secondary-button secondary-button-darkbg" value="Cancel"> | |
35 </td> | |
36 </tr> | |
37 </tbody></table> | |
38 </form> | |
39 </div> | |
40 </%def> |