Mercurial > kallithea
annotate rhodecode/templates/admin/settings/settings.html @ 3904:fe053a42c4ce beta
added dashboard items config in visual settings
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 28 May 2013 16:57:24 +0200 |
parents | 1e5bb8ed77d6 |
children | 36f7562a5919 |
rev | line source |
---|---|
346
51362853ac3b
added settings rest controllers for admin, updated routes with easier submodule handling
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
51362853ac3b
added settings rest controllers for admin, updated routes with easier submodule handling
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 <%inherit file="/base/base.html"/> |
51362853ac3b
added settings rest controllers for admin, updated routes with easier submodule handling
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 |
51362853ac3b
added settings rest controllers for admin, updated routes with easier submodule handling
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 <%def name="title()"> |
3582
1f334a68d057
improved title consistency
Marcin Kuzminski <marcin@python-works.com>
parents:
3572
diff
changeset
|
5 ${_('Settings administration')} · ${c.rhodecode_name} |
346
51362853ac3b
added settings rest controllers for admin, updated routes with easier submodule handling
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:
350
diff
changeset
|
7 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
8 <%def name="breadcrumbs_links()"> |
3392
f74be3359044
unified breadcrumbs display
Marcin Kuzminski <marcin@python-works.com>
parents:
3315
diff
changeset
|
9 ${h.link_to(_('Admin'),h.url('admin_home'))} |
f74be3359044
unified breadcrumbs display
Marcin Kuzminski <marcin@python-works.com>
parents:
3315
diff
changeset
|
10 » |
3654
ec6354949623
Fix a lot of casings - use standard casing in most places
Mads Kiilerich <madski@unity3d.com>
parents:
3582
diff
changeset
|
11 ${_('Settings')} |
346
51362853ac3b
added settings rest controllers for admin, updated routes with easier submodule handling
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 </%def> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
13 |
346
51362853ac3b
added settings rest controllers for admin, updated routes with easier submodule handling
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 <%def name="page_nav()"> |
3197 | 15 ${self.menu('admin')} |
346
51362853ac3b
added settings rest controllers for admin, updated routes with easier submodule handling
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 </%def> |
348
e8fc875467bd
implemented manual repo rescann and remapping
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
17 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
18 <%def name="main()"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
19 <div class="box"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
20 <!-- box / title --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
21 <div class="title"> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
22 ${self.breadcrumbs()} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
23 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
24 <!-- end box / title --> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
25 |
383
04f8fd55e6bc
fixed settings template
Marcin Kuzminski <marcin@python-works.com>
parents:
381
diff
changeset
|
26 <h3>${_('Remap and rescan repositories')}</h3> |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
27 ${h.form(url('admin_setting', setting_id='mapping'),method='put')} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
28 <div class="form"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
29 <!-- fields --> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
30 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
31 <div class="fields"> |
3197 | 32 <div class="field"> |
33 <div class="label label-checkbox"> | |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
34 <label for="destroy">${_('Rescan option')}:</label> |
3197 | 35 </div> |
36 <div class="checkboxes"> | |
37 <div class="checkbox"> | |
38 ${h.checkbox('destroy',True)} | |
39 <label for="destroy"> | |
40 <span class="tooltip" title="${h.tooltip(_('In case a repository was deleted from filesystem and there are leftovers in the database check this option to scan obsolete data in database and remove it.'))}"> | |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
41 ${_('Destroy old data')}</span> </label> |
3197 | 42 </div> |
2669
64bb1c46c861
Added some help text into settings page
Marcin Kuzminski <marcin@python-works.com>
parents:
2668
diff
changeset
|
43 <span class="help-block">${_('Rescan repositories location for new repositories. Also deletes obsolete if `destroy` flag is checked ')}</span> |
3197 | 44 </div> |
45 </div> | |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
46 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
47 <div class="buttons"> |
2607
7ae36df760ce
removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents:
2407
diff
changeset
|
48 ${h.submit('rescan',_('Rescan repositories'),class_="ui-btn large")} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
49 </div> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
50 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
51 </div> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
52 ${h.end_form()} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
53 |
467
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
54 <h3>${_('Whoosh indexing')}</h3> |
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
55 ${h.form(url('admin_setting', setting_id='whoosh'),method='put')} |
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
56 <div class="form"> |
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
57 <!-- fields --> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
58 |
467
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
59 <div class="fields"> |
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
60 <div class="field"> |
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
61 <div class="label label-checkbox"> |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
62 <label>${_('Index build option')}:</label> |
467
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
63 </div> |
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
64 <div class="checkboxes"> |
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
65 <div class="checkbox"> |
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
66 ${h.checkbox('full_index',True)} |
3408
a61ac64c6d43
settings ui: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3392
diff
changeset
|
67 <label for="full_index">${_('Build from scratch')}</label> |
467
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
68 </div> |
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
69 </div> |
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
70 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
71 |
467
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
72 <div class="buttons"> |
2607
7ae36df760ce
removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents:
2407
diff
changeset
|
73 ${h.submit('reindex',_('Reindex'),class_="ui-btn large")} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
74 </div> |
467
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
75 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
76 </div> |
467
3fc3ce53659b
starting celery branch
Marcin Kuzminski <marcin@python-works.com>
parents:
409
diff
changeset
|
77 ${h.end_form()} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
78 |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
79 <h3>${_('Global application settings')}</h3> |
371
5cd6616b8673
routes python 2.5 compatible
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
80 ${h.form(url('admin_setting', setting_id='global'),method='put')} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
81 <div class="form"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
82 <!-- fields --> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
83 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
84 <div class="fields"> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
85 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
86 <div class="field"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
87 <div class="label"> |
3408
a61ac64c6d43
settings ui: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3392
diff
changeset
|
88 <label for="rhodecode_title">${_('Site branding')}:</label> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
89 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
90 <div class="input"> |
548
b75b77ef649d
renamed hg_app to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
91 ${h.text('rhodecode_title',size=30)} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
92 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
93 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
94 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
95 <div class="field"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
96 <div class="label"> |
3408
a61ac64c6d43
settings ui: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3392
diff
changeset
|
97 <label for="rhodecode_realm">${_('HTTP authentication realm')}:</label> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
98 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
99 <div class="input"> |
548
b75b77ef649d
renamed hg_app to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
100 ${h.text('rhodecode_realm',size=30)} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
101 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
102 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
103 |
890
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
104 <div class="field"> |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
105 <div class="label"> |
3408
a61ac64c6d43
settings ui: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3392
diff
changeset
|
106 <label for="rhodecode_ga_code">${_('Google Analytics code')}:</label> |
890
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
107 </div> |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
108 <div class="input"> |
891
cca7286401b3
fixes for #89 ga code
Marcin Kuzminski <marcin@python-works.com>
parents:
890
diff
changeset
|
109 ${h.text('rhodecode_ga_code',size=30)} |
890
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
110 </div> |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
111 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
112 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
113 <div class="buttons"> |
2607
7ae36df760ce
removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents:
2407
diff
changeset
|
114 ${h.submit('save',_('Save settings'),class_="ui-btn large")} |
7ae36df760ce
removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents:
2407
diff
changeset
|
115 ${h.reset('reset',_('Reset'),class_="ui-btn large")} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
116 </div> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
117 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
118 </div> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
119 ${h.end_form()} |
388
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
120 |
2674
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
121 <h3>${_('Visualisation settings')}</h3> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
122 ${h.form(url('admin_setting', setting_id='visual'),method='put')} |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
123 <div class="form"> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
124 <!-- fields --> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
125 |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
126 <div class="fields"> |
2936
62e493c7f436
Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents:
2821
diff
changeset
|
127 <div class="field"> |
62e493c7f436
Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents:
2821
diff
changeset
|
128 <div class="label label-checkbox"> |
62e493c7f436
Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents:
2821
diff
changeset
|
129 <label>${_('General')}:</label> |
62e493c7f436
Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents:
2821
diff
changeset
|
130 </div> |
62e493c7f436
Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents:
2821
diff
changeset
|
131 <div class="checkboxes"> |
62e493c7f436
Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents:
2821
diff
changeset
|
132 <div class="checkbox"> |
3308
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3198
diff
changeset
|
133 ${h.checkbox('rhodecode_repository_fields','True')} |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3198
diff
changeset
|
134 <label for="rhodecode_repository_fields">${_('Use repository extra fields')}</label> |
72a91632b731
repository extra fields implementation
Marcin Kuzminski <marcin@python-works.com>
parents:
3198
diff
changeset
|
135 </div> |
3904
fe053a42c4ce
added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents:
3752
diff
changeset
|
136 <span class="help-block">${_('Allows storing additional customized fields per repository.')}</span> |
3315
fc08484c5bf3
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
3308
diff
changeset
|
137 </div> |
2936
62e493c7f436
Added lightweight dashboard option. ref #500
Marcin Kuzminski <marcin@python-works.com>
parents:
2821
diff
changeset
|
138 </div> |
3904
fe053a42c4ce
added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents:
3752
diff
changeset
|
139 <div class="field"> |
fe053a42c4ce
added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents:
3752
diff
changeset
|
140 <div class="label"> |
fe053a42c4ce
added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents:
3752
diff
changeset
|
141 <label for="rhodecode_realm">${_('Dashboard items')}:</label> |
fe053a42c4ce
added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents:
3752
diff
changeset
|
142 </div> |
fe053a42c4ce
added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents:
3752
diff
changeset
|
143 <div class="input"> |
fe053a42c4ce
added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents:
3752
diff
changeset
|
144 ${h.text('rhodecode_dashboard_items',size=5)} |
fe053a42c4ce
added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents:
3752
diff
changeset
|
145 <span class="help-block">${_('Number of items displayed in lightweight dashboard before pagination is shown.')}</span> |
fe053a42c4ce
added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents:
3752
diff
changeset
|
146 </div> |
fe053a42c4ce
added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents:
3752
diff
changeset
|
147 </div> |
2674
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
148 <div class="field"> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
149 <div class="label label-checkbox"> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
150 <label>${_('Icons')}:</label> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
151 </div> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
152 <div class="checkboxes"> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
153 <div class="checkbox"> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
154 ${h.checkbox('rhodecode_show_public_icon','True')} |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
155 <label for="rhodecode_show_public_icon">${_('Show public repo icon on repositories')}</label> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
156 </div> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
157 <div class="checkbox"> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
158 ${h.checkbox('rhodecode_show_private_icon','True')} |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
159 <label for="rhodecode_show_private_icon">${_('Show private repo icon on repositories')}</label> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
160 </div> |
3904
fe053a42c4ce
added dashboard items config in visual settings
Marcin Kuzminski <marcin@python-works.com>
parents:
3752
diff
changeset
|
161 <span class="help-block">${_('Show public/private icons next to repositories names')}</span> |
2674
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
162 </div> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
163 </div> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
164 |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
165 <div class="field"> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
166 <div class="label label-checkbox"> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
167 <label>${_('Meta-Tagging')}:</label> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
168 </div> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
169 <div class="checkboxes"> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
170 <div class="checkbox"> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
171 ${h.checkbox('rhodecode_stylify_metatags','True')} |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
172 <label for="rhodecode_stylify_metatags">${_('Stylify recognised metatags:')}</label> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
173 </div> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
174 <div style="padding-left: 20px;"> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
175 <ul> <!-- Fix style here --> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
176 <li>[featured] <span class="metatag" tag="featured">featured</span></li> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
177 <li>[stale] <span class="metatag" tag="stale">stale</span></li> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
178 <li>[dead] <span class="metatag" tag="dead">dead</span></li> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
179 <li>[lang => lang] <span class="metatag" tag="lang" >lang</span></li> |
2815
acc05c33cc0c
White space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2726
diff
changeset
|
180 <li>[license => License] <span class="metatag" tag="license"><a href="http://www.opensource.org/licenses/License" >License</a></span></li> |
2674
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
181 <li>[requires => Repo] <span class="metatag" tag="requires" >requires => <a href="#" >Repo</a></span></li> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
182 <li>[recommends => Repo] <span class="metatag" tag="recommends" >recommends => <a href="#" >Repo</a></span></li> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
183 <li>[see => URI] <span class="metatag" tag="see">see => <a href="#">URI</a> </span></li> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
184 </ul> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
185 </div> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
186 </div> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
187 </div> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
188 |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
189 <div class="buttons"> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
190 ${h.submit('save',_('Save settings'),class_="ui-btn large")} |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
191 ${h.reset('reset',_('Reset'),class_="ui-btn large")} |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
192 </div> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
193 |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
194 </div> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
195 </div> |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
196 ${h.end_form()} |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
197 |
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2669
diff
changeset
|
198 |
2662
91c442a489bb
sqlalchemy sessions cleanup in admin
Marcin Kuzminski <marcin@python-works.com>
parents:
2607
diff
changeset
|
199 <h3>${_('VCS settings')}</h3> |
91c442a489bb
sqlalchemy sessions cleanup in admin
Marcin Kuzminski <marcin@python-works.com>
parents:
2607
diff
changeset
|
200 ${h.form(url('admin_setting', setting_id='vcs'),method='put')} |
388
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
201 <div class="form"> |
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
202 <!-- fields --> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
203 |
388
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
204 <div class="fields"> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
205 |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
206 <div class="field"> |
388
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
207 <div class="label label-checkbox"> |
1575
e0b069468de0
Corrected some label-input linking in templates
Augusto Herrmann <augusto.herrmann@planejamento.gov.br>
parents:
1472
diff
changeset
|
208 <label>${_('Web')}:</label> |
388
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
209 </div> |
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
210 <div class="checkboxes"> |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
211 <div class="checkbox"> |
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
212 ${h.checkbox('web_push_ssl', 'True')} |
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
213 <label for="web_push_ssl">${_('Require SSL for vcs operations')}</label> |
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
214 </div> |
2669
64bb1c46c861
Added some help text into settings page
Marcin Kuzminski <marcin@python-works.com>
parents:
2668
diff
changeset
|
215 <span class="help-block">${_('RhodeCode will require SSL for pushing or pulling. If SSL is missing it will return HTTP Error 406: Not Acceptable')}</span> |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
216 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
217 </div> |
395
e8af467b5a60
Added hooks managment into application settings
Marcin Kuzminski <marcin@python-works.com>
parents:
388
diff
changeset
|
218 |
e8af467b5a60
Added hooks managment into application settings
Marcin Kuzminski <marcin@python-works.com>
parents:
388
diff
changeset
|
219 <div class="field"> |
e8af467b5a60
Added hooks managment into application settings
Marcin Kuzminski <marcin@python-works.com>
parents:
388
diff
changeset
|
220 <div class="label label-checkbox"> |
1575
e0b069468de0
Corrected some label-input linking in templates
Augusto Herrmann <augusto.herrmann@planejamento.gov.br>
parents:
1472
diff
changeset
|
221 <label>${_('Hooks')}:</label> |
395
e8af467b5a60
Added hooks managment into application settings
Marcin Kuzminski <marcin@python-works.com>
parents:
388
diff
changeset
|
222 </div> |
e8af467b5a60
Added hooks managment into application settings
Marcin Kuzminski <marcin@python-works.com>
parents:
388
diff
changeset
|
223 <div class="checkboxes"> |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
224 <div class="checkbox"> |
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
225 ${h.checkbox('hooks_changegroup_update','True')} |
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
226 <label for="hooks_changegroup_update">${_('Update repository after push (hg update)')}</label> |
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
227 </div> |
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
228 <div class="checkbox"> |
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
229 ${h.checkbox('hooks_changegroup_repo_size','True')} |
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
230 <label for="hooks_changegroup_repo_size">${_('Show repository size after push')}</label> |
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
231 </div> |
661
673de12e6bf6
added option to enable/disable of logger hooks from admin panel.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
232 <div class="checkbox"> |
2407
8a68e0292232
Change git & hg hooks to post. They shouldn't block as they are used just for logging actions. Futhermore post hooks have access to changesets, so it's much better flexible
Marcin Kuzminski <marcin@python-works.com>
parents:
2223
diff
changeset
|
233 ${h.checkbox('hooks_changegroup_push_logger','True')} |
8a68e0292232
Change git & hg hooks to post. They shouldn't block as they are used just for logging actions. Futhermore post hooks have access to changesets, so it's much better flexible
Marcin Kuzminski <marcin@python-works.com>
parents:
2223
diff
changeset
|
234 <label for="hooks_changegroup_push_logger">${_('Log user push commands')}</label> |
661
673de12e6bf6
added option to enable/disable of logger hooks from admin panel.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
235 </div> |
673de12e6bf6
added option to enable/disable of logger hooks from admin panel.
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
236 <div class="checkbox"> |
2726
aa17c7a1b8a5
Implemented basic locking functionality.
Marcin Kuzminski <marcin@python-works.com>
parents:
2708
diff
changeset
|
237 ${h.checkbox('hooks_outgoing_pull_logger','True')} |
aa17c7a1b8a5
Implemented basic locking functionality.
Marcin Kuzminski <marcin@python-works.com>
parents:
2708
diff
changeset
|
238 <label for="hooks_outgoing_pull_logger">${_('Log user pull commands')}</label> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
239 </div> |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
240 </div> |
1706 | 241 <div class="input" style="margin-top:10px"> |
3572
db62c05837e5
settings: 'Advanced setup' is a link to another form, it shouldn't look like a submit button
Mads Kiilerich <madski@unity3d.com>
parents:
3569
diff
changeset
|
242 ${h.link_to(_('Advanced setup'),url('admin_edit_setting',setting_id='hooks'))} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
243 </div> |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
244 </div> |
2708
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
245 <div class="field"> |
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
246 <div class="label label-checkbox"> |
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
247 <label>${_('Mercurial Extensions')}:</label> |
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
248 </div> |
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
249 <div class="checkboxes"> |
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
250 <div class="checkbox"> |
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
251 ${h.checkbox('extensions_largefiles','True')} |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
252 <label for="extensions_largefiles">${_('Enable largefiles extension')}</label> |
2708
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
253 </div> |
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
254 <div class="checkbox"> |
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
255 ${h.checkbox('extensions_hgsubversion','True')} |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
256 <label for="extensions_hgsubversion">${_('Enable hgsubversion extension')}</label> |
2708
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
257 </div> |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
258 <span class="help-block">${_('Requires hgsubversion library installed. Allows cloning from svn remote locations')}</span> |
2708
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
259 ##<div class="checkbox"> |
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
260 ## ${h.checkbox('extensions_hggit','True')} |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
261 ## <label for="extensions_hggit">${_('Enable hg-git extension')}</label> |
2708
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
262 ##</div> |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
263 ##<span class="help-block">${_('Requires hg-git library installed. Allows cloning from git remote locations')}</span> |
2708
9bce679a3f49
Added form for controlling mercurial extensions
Marcin Kuzminski <marcin@python-works.com>
parents:
2674
diff
changeset
|
264 </div> |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
265 </div> |
388
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
266 <div class="field"> |
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
267 <div class="label"> |
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
268 <label for="paths_root_path">${_('Repositories location')}:</label> |
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
269 </div> |
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
270 <div class="input"> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
271 ${h.text('paths_root_path',size=30,readonly="readonly")} |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
272 <span id="path_unlock" class="tooltip" |
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
273 title="${h.tooltip(_('This a crucial application setting. If you are really sure you need to change this, you must restart application in order to make this setting take effect. Click this label to unlock.'))}"> |
3654
ec6354949623
Fix a lot of casings - use standard casing in most places
Mads Kiilerich <madski@unity3d.com>
parents:
3582
diff
changeset
|
274 ${_('Unlock')} |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
275 </span> |
2669
64bb1c46c861
Added some help text into settings page
Marcin Kuzminski <marcin@python-works.com>
parents:
2668
diff
changeset
|
276 <span class="help-block">${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}</span> |
388
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
277 </div> |
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
278 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
279 |
388
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
280 <div class="buttons"> |
2607
7ae36df760ce
removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents:
2407
diff
changeset
|
281 ${h.submit('save',_('Save settings'),class_="ui-btn large")} |
7ae36df760ce
removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents:
2407
diff
changeset
|
282 ${h.reset('reset',_('Reset'),class_="ui-btn large")} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
283 </div> |
388
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
284 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
285 </div> |
388
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
286 ${h.end_form()} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
287 |
388
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
288 <script type="text/javascript"> |
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
289 YAHOO.util.Event.onDOMReady(function(){ |
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
290 YAHOO.util.Event.addListener('path_unlock','click',function(){ |
409
9b6c1de4ce9e
some small template fixes
Marcin Kuzminski <marcin@python-works.com>
parents:
395
diff
changeset
|
291 YAHOO.util.Dom.get('paths_root_path').removeAttribute('readonly'); |
388
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
292 }); |
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
293 }); |
3bcf9529d221
Added new application settings,Push ssl and repositories path
Marcin Kuzminski <marcin@python-works.com>
parents:
383
diff
changeset
|
294 </script> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
295 |
1673
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
296 <h3>${_('Test Email')}</h3> |
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
297 ${h.form(url('admin_setting', setting_id='email'),method='put')} |
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
298 <div class="form"> |
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
299 <!-- fields --> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
300 |
1673
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
301 <div class="fields"> |
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
302 <div class="field"> |
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
303 <div class="label"> |
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
304 <label for="test_email">${_('Email to')}:</label> |
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
305 </div> |
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
306 <div class="input"> |
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
307 ${h.text('test_email',size=30)} |
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
308 </div> |
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
309 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
310 |
1673
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
311 <div class="buttons"> |
2607
7ae36df760ce
removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents:
2407
diff
changeset
|
312 ${h.submit('send',_('Send'),class_="ui-btn large")} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
313 </div> |
1673
333b3e7c991f
Added email sending test site
Marcin Kuzminski <marcin@python-works.com>
parents:
1575
diff
changeset
|
314 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
315 </div> |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
316 ${h.end_form()} |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
317 |
2192
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
318 <h3>${_('System Info and Packages')}</h3> |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
319 <div class="form"> |
3569
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
320 <div> |
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
321 <h5 id="expand_modules" style="cursor: pointer">↓ ${_('Show')} ↓</h5> |
aa8ec270178b
settings: improve texts
Mads Kiilerich <madski@unity3d.com>
parents:
3408
diff
changeset
|
322 </div> |
2192
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
323 <div id="expand_modules_table" style="display:none"> |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
324 <h5>Python - ${c.py_version}</h5> |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
325 <h5>System - ${c.platform}</h5> |
2207
17ff5693566b
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2192
diff
changeset
|
326 |
2192
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
327 <table class="table" style="margin:0px 0px 0px 20px"> |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
328 <colgroup> |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
329 <col style="width:220px"> |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
330 </colgroup> |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
331 <tbody> |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
332 %for key, value in c.modules: |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
333 <tr> |
2223
528f987f2459
fix ordering of system packages info
Marcin Kuzminski <marcin@python-works.com>
parents:
2207
diff
changeset
|
334 <th style="text-align: right;padding-right:5px;">${key}</th> |
2192
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
335 <td>${value}</td> |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
336 </tr> |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
337 %endfor |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
338 </tbody> |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
339 </table> |
2207
17ff5693566b
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2192
diff
changeset
|
340 </div> |
2192
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
341 </div> |
2207
17ff5693566b
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2192
diff
changeset
|
342 |
2192
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
343 <script type="text/javascript"> |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
344 YUE.on('expand_modules','click',function(e){ |
3198
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
345 YUD.setStyle('expand_modules_table','display',''); |
c20adbaf16af
html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents:
3197
diff
changeset
|
346 YUD.setStyle('expand_modules','display','none'); |
2192
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
347 }) |
a801c4542f48
added useful system info + packages to settings page.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
348 </script> |
2207
17ff5693566b
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2192
diff
changeset
|
349 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
350
diff
changeset
|
350 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
351 </%def> |