Mercurial > kallithea
comparison pylons_app/templates/admin/repos/repo_add.html @ 362:558eb7c5028f rhodecode-0.0.0.8.0
version bump to 0.8
hg app 0.8 new template.
Add yui flot and graph into summary page.
+ various tweeks and patches into look of application
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 24 Jul 2010 02:17:48 +0200 |
parents | d303aacb3349 |
children | 63212fea2471 |
comparison
equal
deleted
inserted
replaced
361:3581656180b7 | 362:558eb7c5028f |
---|---|
2 <%inherit file="/base/base.html"/> | 2 <%inherit file="/base/base.html"/> |
3 | 3 |
4 <%def name="title()"> | 4 <%def name="title()"> |
5 ${_('Repositories administration')} | 5 ${_('Repositories administration')} |
6 </%def> | 6 </%def> |
7 <%def name="breadcrumbs()"> | 7 |
8 ${h.link_to(u'Admin',h.url('admin_home'))} | 8 <%def name="breadcrumbs_links()"> |
9 / | 9 ${h.link_to(_('Admin'),h.url('admin_home'))} |
10 ${_('Repos')} | 10 » |
11 ${h.link_to(_('Repositories'),h.url('repos'))} | |
12 » | |
13 ${_('add new')} | |
11 </%def> | 14 </%def> |
15 | |
12 <%def name="page_nav()"> | 16 <%def name="page_nav()"> |
13 ${self.menu('admin')} | 17 ${self.menu('admin')} |
14 ${self.submenu('repos')} | |
15 </%def> | 18 </%def> |
16 <%def name="main()"> | 19 <%def name="main()"> |
17 <div> | 20 <div class="box"> |
18 <h2>${_('Repositories')} - ${_('add new')}</h2> | 21 <!-- box / title --> |
19 ${h.form(url('repos'))} | 22 <div class="title"> |
20 <table> | 23 ${self.breadcrumbs()} |
21 <tr> | |
22 <td>${_('Name')}</td> | |
23 <td>${h.text('repo_name',c.new_repo)}</td> | |
24 <td>${self.get_form_error('repo_name')}</td> | |
25 </tr> | |
26 <tr> | |
27 <td>${_('Description')}</td> | |
28 <td>${h.textarea('description',cols=23,rows=5)}</td> | |
29 <td>${self.get_form_error('description')}</td> | |
30 </tr> | |
31 <tr> | |
32 <td>${_('Private')}</td> | |
33 <td>${h.checkbox('private',value="True")}</td> | |
34 <td>${self.get_form_error('private')}</td> | |
35 </tr> | |
36 <tr> | |
37 <td></td> | |
38 <td>${h.submit('add','add')}</td> | |
39 </tr> | |
40 | |
41 </table> | |
42 ${h.end_form()} | |
43 </div> | 24 </div> |
25 ${h.form(url('repos'))} | |
26 <div class="form"> | |
27 <!-- fields --> | |
28 <div class="fields"> | |
29 <div class="field"> | |
30 <div class="label"> | |
31 <label for="repo_name">${_('Name')}:</label> | |
32 </div> | |
33 <div class="input"> | |
34 ${h.text('repo_name',c.new_repo)} | |
35 </div> | |
36 </div> | |
37 <div class="field"> | |
38 <div class="label label-textarea"> | |
39 <label for="description">${_('Description')}:</label> | |
40 </div> | |
41 <div class="textarea text-area editor"> | |
42 ${h.textarea('description',cols=23,rows=5)} | |
43 </div> | |
44 </div> | |
45 <div class="field"> | |
46 <div class="label label-checkbox"> | |
47 <label for="private">${_('Private')}:</label> | |
48 </div> | |
49 <div class="checkboxes"> | |
50 ${h.checkbox('private',value="True")} | |
51 </div> | |
52 </div> | |
53 <div class="buttons"> | |
54 ${h.submit('add','add',class_="ui-button ui-widget ui-state-default ui-corner-all")} | |
55 </div> | |
56 </div> | |
57 </div> | |
58 ${h.end_form()} | |
59 </div> | |
44 </%def> | 60 </%def> |