annotate rhodecode/templates/settings/repo_settings.html @ 2607:7ae36df760ce beta

removed deprecated ui-button
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 15 Jul 2012 02:01:38 +0200
parents bf17b1e4a19c
children d5e42c00f3c1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
320
05b212954275 Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 ## -*- coding: utf-8 -*-
05b212954275 Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 <%inherit file="/base/base.html"/>
05b212954275 Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
3
05b212954275 Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
4 <%def name="title()">
2417
76d156bef5a2 Better i18n for page titles.
Vincent Duvert <vincent@duvert.net>
parents: 2314
diff changeset
5 ${_('%s Settings') % c.repo_name} - ${c.rhodecode_name}
320
05b212954275 Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
6 </%def>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
7
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
8 <%def name="breadcrumbs_links()">
2492
79818f546538 i18n 'Home' in breadcrumbs
Takumi IINO <trot.thunder@gmail.com>
parents: 2417
diff changeset
9 ${h.link_to(_(u'Home'),h.url('/'))}
1084
17721a2dfadb fixed breadcrumbs in few pages
Marcin Kuzminski <marcin@python-works.com>
parents: 1015
diff changeset
10 &raquo;
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1594
diff changeset
11 ${h.link_to(c.repo_info.repo_name,h.url('summary_home',repo_name=c.repo_info.repo_name))}
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1594
diff changeset
12 &raquo;
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1594
diff changeset
13 ${_('Settings')}
320
05b212954275 Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
14 </%def>
579
6d0474c7e645 more templates updates
Marcin Kuzminski <marcin@python-works.com>
parents: 562
diff changeset
15
320
05b212954275 Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
16 <%def name="page_nav()">
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
17 ${self.menu('settings')}
320
05b212954275 Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
18 </%def>
05b212954275 Implemented owner settings, as separete posibility to edit repositry by non administrative owner of repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
19 <%def name="main()">
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
20 <div class="box">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
21 <!-- box / title -->
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
22 <div class="title">
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1594
diff changeset
23 ${self.breadcrumbs()}
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
24 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
25 ${h.form(url('repo_settings_update', repo_name=c.repo_info.repo_name),method='put')}
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
26 <div class="form">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
27 <!-- fields -->
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
28 <div class="fields">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
29 <div class="field">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
30 <div class="label">
366
0f35fa0f4eb8 fixed some html and styles, added owner into admin repo list
Marcin Kuzminski <marcin@python-works.com>
parents: 362
diff changeset
31 <label for="repo_name">${_('Name')}:</label>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
32 </div>
366
0f35fa0f4eb8 fixed some html and styles, added owner into admin repo list
Marcin Kuzminski <marcin@python-works.com>
parents: 362
diff changeset
33 <div class="input input-medium">
562
1a77a0c350f5 extended size of some input fields
Marcin Kuzminski <marcin@python-works.com>
parents: 547
diff changeset
34 ${h.text('repo_name',class_="small")}
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
35 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
36 </div>
2103
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
37 <div class="field">
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
38 <div class="label">
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
39 <label for="clone_uri">${_('Clone uri')}:</label>
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
40 </div>
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
41 <div class="input">
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
42 ${h.text('clone_uri',class_="medium")}
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
43 <span class="help-block">${_('Optional http[s] url from which repository should be cloned.')}</span>
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
44 </div>
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
45 </div>
1594
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
46 <div class="field">
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
47 <div class="label">
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
48 <label for="repo_group">${_('Repository group')}:</label>
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
49 </div>
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
50 <div class="input">
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
51 ${h.select('repo_group','',c.repo_groups,class_="medium")}
2103
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
52 <span class="help-block">${_('Optional select a group to put this repository into.')}</span>
1594
9dae92a65e40 fixes #288
Marcin Kuzminski <marcin@python-works.com>
parents: 1455
diff changeset
53 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1594
diff changeset
54 </div>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
55 <div class="field">
2596
bf17b1e4a19c fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents: 2492
diff changeset
56 <div class="label">
bf17b1e4a19c fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents: 2492
diff changeset
57 <label for="landing_rev">${_('Landing revision')}:</label>
bf17b1e4a19c fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents: 2492
diff changeset
58 </div>
bf17b1e4a19c fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents: 2492
diff changeset
59 <div class="input">
bf17b1e4a19c fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents: 2492
diff changeset
60 ${h.select('landing_rev','',c.landing_revs,class_="medium")}
bf17b1e4a19c fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents: 2492
diff changeset
61 <span class="help-block">${_('Default revision for files page, downloads, whoosh and readme')}</span>
bf17b1e4a19c fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents: 2492
diff changeset
62 </div>
bf17b1e4a19c fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents: 2492
diff changeset
63 </div>
bf17b1e4a19c fixed issue #497 missing landing rev on second edit repo page
Marcin Kuzminski <marcin@python-works.com>
parents: 2492
diff changeset
64 <div class="field">
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
65 <div class="label label-textarea">
366
0f35fa0f4eb8 fixed some html and styles, added owner into admin repo list
Marcin Kuzminski <marcin@python-works.com>
parents: 362
diff changeset
66 <label for="description">${_('Description')}:</label>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
67 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
68 <div class="textarea text-area editor">
2103
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
69 ${h.textarea('description')}
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
70 <span class="help-block">${_('Keep it short and to the point. Use a README file for longer descriptions.')}</span>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
71 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
72 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1594
diff changeset
73
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
74 <div class="field">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
75 <div class="label label-checkbox">
2103
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
76 <label for="private">${_('Private repository')}:</label>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
77 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
78 <div class="checkboxes">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
79 ${h.checkbox('private',value="True")}
2103
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
80 <span class="help-block">${_('Private repositories are only visible to people explicitly added as collaborators.')}</span>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
81 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
82 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1594
diff changeset
83
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
84 <div class="field">
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
85 <div class="label">
366
0f35fa0f4eb8 fixed some html and styles, added owner into admin repo list
Marcin Kuzminski <marcin@python-works.com>
parents: 362
diff changeset
86 <label for="">${_('Permissions')}:</label>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
87 </div>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
88 <div class="input">
1015
65129c332d37 #56 added ajax removal of users groups,
Marcin Kuzminski <marcin@python-works.com>
parents: 888
diff changeset
89 <%include file="../admin/repos/repo_edit_perms.html"/>
65129c332d37 #56 added ajax removal of users groups,
Marcin Kuzminski <marcin@python-works.com>
parents: 888
diff changeset
90 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1594
diff changeset
91
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
92 <div class="buttons">
2607
7ae36df760ce removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents: 2596
diff changeset
93 ${h.submit('save',_('Save'),class_="ui-btn large")}
7ae36df760ce removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents: 2596
diff changeset
94 ${h.reset('reset',_('Reset'),class_="ui-btn large")}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1594
diff changeset
95 </div>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
96 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1594
diff changeset
97 </div>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
98 ${h.end_form()}
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 320
diff changeset
99 </div>
579
6d0474c7e645 more templates updates
Marcin Kuzminski <marcin@python-works.com>
parents: 562
diff changeset
100 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1594
diff changeset
101 </%def>