Mercurial > kallithea
comparison rhodecode/templates/admin/repos/repo_add.html @ 547:1e757ac98988
renamed project to rhodecode
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 06 Oct 2010 03:18:16 +0200 |
parents | pylons_app/templates/admin/repos/repo_add.html@63212fea2471 |
children | 1a77a0c350f5 |
comparison
equal
deleted
inserted
replaced
546:7c2f5e4d7bbf | 547:1e757ac98988 |
---|---|
1 ## -*- coding: utf-8 -*- | |
2 <%inherit file="/base/base.html"/> | |
3 | |
4 <%def name="title()"> | |
5 ${_('Add new repository')} | |
6 </%def> | |
7 | |
8 <%def name="breadcrumbs_links()"> | |
9 ${h.link_to(_('Admin'),h.url('admin_home'))} | |
10 » | |
11 ${h.link_to(_('Repositories'),h.url('repos'))} | |
12 » | |
13 ${_('add new')} | |
14 </%def> | |
15 | |
16 <%def name="page_nav()"> | |
17 ${self.menu('admin')} | |
18 </%def> | |
19 <%def name="main()"> | |
20 <div class="box"> | |
21 <!-- box / title --> | |
22 <div class="title"> | |
23 ${self.breadcrumbs()} | |
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> | |
60 </%def> |