Mercurial > kallithea
annotate rhodecode/templates/admin/repos/repo_add.html @ 1051:90eadff2c2a8 beta
changed all urls for IMAGES files to use pylons url function
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 15 Feb 2011 19:09:29 +0100 |
parents | 6b40654afa1e |
children | 4b62d2fea08a |
rev | line source |
---|---|
20
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
2 <%inherit file="/base/base.html"/> |
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
3 |
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
4 <%def name="title()"> |
619
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
562
diff
changeset
|
5 ${_('Add repository')} - ${c.rhodecode_name} |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
6 </%def> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
7 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
8 <%def name="breadcrumbs_links()"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
9 ${h.link_to(_('Admin'),h.url('admin_home'))} |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
10 » |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
11 ${h.link_to(_('Repositories'),h.url('repos'))} |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
12 » |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
13 ${_('add new')} |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
14 </%def> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
15 |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
16 <%def name="page_nav()"> |
182
11e8eb5a92e3
new way of menu generation for base, and all admin pages
Marcin Kuzminski <marcin@python-works.com>
parents:
174
diff
changeset
|
17 ${self.menu('admin')} |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
18 </%def> |
216
c8162373f214
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
Marcin Kuzminski <marcin@python-works.com>
parents:
182
diff
changeset
|
19 <%def name="main()"> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
20 <div class="box"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
21 <!-- box / title --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
22 <div class="title"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
23 ${self.breadcrumbs()} |
216
c8162373f214
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
Marcin Kuzminski <marcin@python-works.com>
parents:
182
diff
changeset
|
24 </div> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
25 ${h.form(url('repos'))} |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
26 <div class="form"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
27 <!-- fields --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
28 <div class="fields"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
29 <div class="field"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
30 <div class="label"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
31 <label for="repo_name">${_('Name')}:</label> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
32 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
33 <div class="input"> |
562
1a77a0c350f5
extended size of some input fields
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
34 ${h.text('repo_name',c.new_repo,class_="small")} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
35 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
36 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
37 <div class="field"> |
659
758f64f3fbda
extended repo creation by repo type. fixed fork creation to maintain repo type.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
38 <div class="label"> |
758f64f3fbda
extended repo creation by repo type. fixed fork creation to maintain repo type.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
39 <label for="repo_type">${_('Type')}:</label> |
758f64f3fbda
extended repo creation by repo type. fixed fork creation to maintain repo type.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
40 </div> |
758f64f3fbda
extended repo creation by repo type. fixed fork creation to maintain repo type.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
41 <div class="input"> |
758f64f3fbda
extended repo creation by repo type. fixed fork creation to maintain repo type.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
42 ${h.select('repo_type','hg',c.backends,class_="small")} |
758f64f3fbda
extended repo creation by repo type. fixed fork creation to maintain repo type.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
43 </div> |
758f64f3fbda
extended repo creation by repo type. fixed fork creation to maintain repo type.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
44 </div> |
758f64f3fbda
extended repo creation by repo type. fixed fork creation to maintain repo type.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
45 <div class="field"> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
46 <div class="label label-textarea"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
47 <label for="description">${_('Description')}:</label> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
48 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
49 <div class="textarea text-area editor"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
50 ${h.textarea('description',cols=23,rows=5)} |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
51 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
52 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
53 <div class="field"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
54 <div class="label label-checkbox"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
55 <label for="private">${_('Private')}:</label> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
56 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
57 <div class="checkboxes"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
58 ${h.checkbox('private',value="True")} |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
59 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
60 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
61 <div class="buttons"> |
888
6b40654afa1e
css optimizations
Marcin Kuzminski <marcin@python-works.com>
parents:
659
diff
changeset
|
62 ${h.submit('add','add',class_="ui-button")} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
63 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
64 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
65 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
66 ${h.end_form()} |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
67 </div> |
216
c8162373f214
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
Marcin Kuzminski <marcin@python-works.com>
parents:
182
diff
changeset
|
68 </%def> |