Show More
@@ -4,15 +4,15 b'' | |||||
4 | <h3>Support RhodeCode development.</h3> |
|
4 | <h3>Support RhodeCode development.</h3> | |
5 | <div style="text-align:center"> |
|
5 | <div style="text-align:center"> | |
6 | <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> |
|
6 | <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> | |
7 | <input type="hidden" name="cmd" value="_s-xclick"> |
|
7 | <input type="hidden" name="cmd" value="_s-xclick"> | |
8 | <input type="hidden" name="hosted_button_id" value="8U2LLRPLBKWDU"> |
|
8 | <input type="hidden" name="hosted_button_id" value="8U2LLRPLBKWDU"> | |
9 | <input style="border:0px !important" type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" |
|
9 | <input style="border:0px !important" type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" | |
10 | border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> |
|
10 | border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> | |
11 | <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> |
|
11 | <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> | |
12 | </form> |
|
12 | </form> | |
13 | <div style="padding:5px"> |
|
13 | <div style="padding:5px"> | |
14 | <a href="http://flattr.com/thing/167489/RhodeCode" target="_blank"> |
|
14 | <a href="http://flattr.com/thing/167489/RhodeCode" target="_blank"> | |
15 | <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a> |
|
15 | <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a> | |
16 | </div> |
|
16 | </div> | |
17 | </div> |
|
17 | </div> | |
18 | {% endblock %}} |
|
18 | {% endblock %}} |
@@ -19,16 +19,16 b'' | |||||
19 | %endif |
|
19 | %endif | |
20 | </td> |
|
20 | </td> | |
21 | <td>${h.action_parser(l)[0]()} |
|
21 | <td>${h.action_parser(l)[0]()} | |
22 | <div class="journal_action_params"> |
|
22 | <div class="journal_action_params"> | |
23 | ${h.literal(h.action_parser(l)[1]())} |
|
23 | ${h.literal(h.action_parser(l)[1]())} | |
24 | </div> |
|
24 | </div> | |
25 | </td> |
|
25 | </td> | |
26 | <td> |
|
26 | <td> | |
27 | %if l.repository is not None: |
|
27 | %if l.repository is not None: | |
28 | ${h.link_to(l.repository.repo_name,h.url('summary_home',repo_name=l.repository.repo_name))} |
|
28 | ${h.link_to(l.repository.repo_name,h.url('summary_home',repo_name=l.repository.repo_name))} | |
29 | %else: |
|
29 | %else: | |
30 | ${l.repository_name} |
|
30 | ${l.repository_name} | |
31 | %endif |
|
31 | %endif | |
32 | </td> |
|
32 | </td> | |
33 |
|
33 | |||
34 | <td>${h.fmt_date(l.action_date)}</td> |
|
34 | <td>${h.fmt_date(l.action_date)}</td> |
@@ -25,7 +25,7 b'' | |||||
25 | <div class="form"> |
|
25 | <div class="form"> | |
26 | <div class="fields"> |
|
26 | <div class="fields"> | |
27 |
|
27 | |||
28 | <h3>${_('Connection settings')}</h3> |
|
28 | <h3>${_('Connection settings')}</h3> | |
29 | <div class="field"> |
|
29 | <div class="field"> | |
30 | <div class="label label-checkbox"><label for="ldap_active">${_('Enable LDAP')}</label></div> |
|
30 | <div class="label label-checkbox"><label for="ldap_active">${_('Enable LDAP')}</label></div> | |
31 | <div class="checkboxes"><div class="checkbox">${h.checkbox('ldap_active',True,class_='small')}</div></div> |
|
31 | <div class="checkboxes"><div class="checkbox">${h.checkbox('ldap_active',True,class_='small')}</div></div> | |
@@ -54,7 +54,7 b'' | |||||
54 | <div class="label"><label for="ldap_tls_reqcert">${_('Certificate Checks')}</label></div> |
|
54 | <div class="label"><label for="ldap_tls_reqcert">${_('Certificate Checks')}</label></div> | |
55 | <div class="select">${h.select('ldap_tls_reqcert',c.tls_reqcert_cur,c.tls_reqcert_choices,class_='small')}</div> |
|
55 | <div class="select">${h.select('ldap_tls_reqcert',c.tls_reqcert_cur,c.tls_reqcert_choices,class_='small')}</div> | |
56 | </div> |
|
56 | </div> | |
57 | <h3>${_('Search settings')}</h3> |
|
57 | <h3>${_('Search settings')}</h3> | |
58 | <div class="field"> |
|
58 | <div class="field"> | |
59 | <div class="label"><label for="ldap_base_dn">${_('Base DN')}</label></div> |
|
59 | <div class="label"><label for="ldap_base_dn">${_('Base DN')}</label></div> | |
60 | <div class="input">${h.text('ldap_base_dn',class_='small')}</div> |
|
60 | <div class="input">${h.text('ldap_base_dn',class_='small')}</div> | |
@@ -67,7 +67,7 b'' | |||||
67 | <div class="label"><label for="ldap_search_scope">${_('LDAP Search Scope')}</label></div> |
|
67 | <div class="label"><label for="ldap_search_scope">${_('LDAP Search Scope')}</label></div> | |
68 | <div class="select">${h.select('ldap_search_scope',c.search_scope_cur,c.search_scope_choices,class_='small')}</div> |
|
68 | <div class="select">${h.select('ldap_search_scope',c.search_scope_cur,c.search_scope_choices,class_='small')}</div> | |
69 | </div> |
|
69 | </div> | |
70 | <h3>${_('Attribute mappings')}</h3> |
|
70 | <h3>${_('Attribute mappings')}</h3> | |
71 | <div class="field"> |
|
71 | <div class="field"> | |
72 | <div class="label"><label for="ldap_attr_login">${_('Login Attribute')}</label></div> |
|
72 | <div class="label"><label for="ldap_attr_login">${_('Login Attribute')}</label></div> | |
73 | <div class="input">${h.text('ldap_attr_login',class_='small')}</div> |
|
73 | <div class="input">${h.text('ldap_attr_login',class_='small')}</div> |
@@ -32,14 +32,14 b'' | |||||
32 | <div class="form"> |
|
32 | <div class="form"> | |
33 | <!-- fields --> |
|
33 | <!-- fields --> | |
34 | <div class="fields"> |
|
34 | <div class="fields"> | |
35 |
|
|
35 | <div class="field"> | |
36 | <div class="label"> |
|
36 | <div class="label"> | |
37 | <label for="group_name">${_('Group name')}:</label> |
|
37 | <label for="group_name">${_('Group name')}:</label> | |
38 | </div> |
|
38 | </div> | |
39 | <div class="input"> |
|
39 | <div class="input"> | |
40 | ${h.text('group_name',class_='medium')} |
|
40 | ${h.text('group_name',class_='medium')} | |
41 | </div> |
|
41 | </div> | |
42 |
|
|
42 | </div> | |
43 |
|
43 | |||
44 | <div class="field"> |
|
44 | <div class="field"> | |
45 | <div class="label label-textarea"> |
|
45 | <div class="label label-textarea"> | |
@@ -48,16 +48,16 b'' | |||||
48 | <div class="textarea text-area editor"> |
|
48 | <div class="textarea text-area editor"> | |
49 | ${h.textarea('group_description',cols=23,rows=5,class_="medium")} |
|
49 | ${h.textarea('group_description',cols=23,rows=5,class_="medium")} | |
50 | </div> |
|
50 | </div> | |
51 |
|
|
51 | </div> | |
52 |
|
52 | |||
53 |
|
|
53 | <div class="field"> | |
54 |
|
|
54 | <div class="label"> | |
55 |
|
|
55 | <label for="group_parent_id">${_('Group parent')}:</label> | |
56 |
|
|
56 | </div> | |
57 |
|
|
57 | <div class="input"> | |
58 |
|
|
58 | ${h.select('group_parent_id','',c.repo_groups,class_="medium")} | |
59 |
|
|
59 | </div> | |
60 |
|
|
60 | </div> | |
61 | <div class="field"> |
|
61 | <div class="field"> | |
62 | <div class="label"> |
|
62 | <div class="label"> | |
63 | <label for="input">${_('Permissions')}:</label> |
|
63 | <label for="input">${_('Permissions')}:</label> |
@@ -25,14 +25,14 b'' | |||||
25 | <div class="form"> |
|
25 | <div class="form"> | |
26 | <div class="fields"> |
|
26 | <div class="fields"> | |
27 | % for hook in c.hooks: |
|
27 | % for hook in c.hooks: | |
28 | <div class="field"> |
|
28 | <div class="field"> | |
29 | <div class="label label"> |
|
29 | <div class="label label"> | |
30 | <label for="${hook.ui_key}">${hook.ui_key}</label> |
|
30 | <label for="${hook.ui_key}">${hook.ui_key}</label> | |
|
31 | </div> | |||
|
32 | <div class="input" style="margin-left:280px"> | |||
|
33 | ${h.text(hook.ui_key,hook.ui_value,size=60,readonly="readonly")} | |||
|
34 | </div> | |||
31 | </div> |
|
35 | </div> | |
32 | <div class="input" style="margin-left:280px"> |
|
|||
33 | ${h.text(hook.ui_key,hook.ui_value,size=60,readonly="readonly")} |
|
|||
34 | </div> |
|
|||
35 | </div> |
|
|||
36 | % endfor |
|
36 | % endfor | |
37 | </div> |
|
37 | </div> | |
38 | </div> |
|
38 | </div> |
@@ -196,12 +196,12 b'' | |||||
196 | <label>${_('Web')}:</label> |
|
196 | <label>${_('Web')}:</label> | |
197 | </div> |
|
197 | </div> | |
198 | <div class="checkboxes"> |
|
198 | <div class="checkboxes"> | |
199 | <div class="checkbox"> |
|
199 | <div class="checkbox"> | |
200 | ${h.checkbox('web_push_ssl', 'True')} |
|
200 | ${h.checkbox('web_push_ssl', 'True')} | |
201 | <label for="web_push_ssl">${_('require ssl for vcs operations')}</label> |
|
201 | <label for="web_push_ssl">${_('require ssl for vcs operations')}</label> | |
202 | </div> |
|
202 | </div> | |
203 | <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> |
|
203 | <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> | |
204 | </div> |
|
204 | </div> | |
205 | </div> |
|
205 | </div> | |
206 |
|
206 | |||
207 | <div class="field"> |
|
207 | <div class="field"> | |
@@ -209,14 +209,14 b'' | |||||
209 | <label>${_('Hooks')}:</label> |
|
209 | <label>${_('Hooks')}:</label> | |
210 | </div> |
|
210 | </div> | |
211 | <div class="checkboxes"> |
|
211 | <div class="checkboxes"> | |
212 | <div class="checkbox"> |
|
212 | <div class="checkbox"> | |
213 | ${h.checkbox('hooks_changegroup_update','True')} |
|
213 | ${h.checkbox('hooks_changegroup_update','True')} | |
214 | <label for="hooks_changegroup_update">${_('Update repository after push (hg update)')}</label> |
|
214 | <label for="hooks_changegroup_update">${_('Update repository after push (hg update)')}</label> | |
215 | </div> |
|
215 | </div> | |
216 | <div class="checkbox"> |
|
216 | <div class="checkbox"> | |
217 | ${h.checkbox('hooks_changegroup_repo_size','True')} |
|
217 | ${h.checkbox('hooks_changegroup_repo_size','True')} | |
218 | <label for="hooks_changegroup_repo_size">${_('Show repository size after push')}</label> |
|
218 | <label for="hooks_changegroup_repo_size">${_('Show repository size after push')}</label> | |
219 | </div> |
|
219 | </div> | |
220 | <div class="checkbox"> |
|
220 | <div class="checkbox"> | |
221 | ${h.checkbox('hooks_changegroup_push_logger','True')} |
|
221 | ${h.checkbox('hooks_changegroup_push_logger','True')} | |
222 | <label for="hooks_changegroup_push_logger">${_('Log user push commands')}</label> |
|
222 | <label for="hooks_changegroup_push_logger">${_('Log user push commands')}</label> | |
@@ -225,7 +225,7 b'' | |||||
225 | ${h.checkbox('hooks_outgoing_pull_logger','True')} |
|
225 | ${h.checkbox('hooks_outgoing_pull_logger','True')} | |
226 | <label for="hooks_outgoing_pull_logger">${_('Log user pull commands')}</label> |
|
226 | <label for="hooks_outgoing_pull_logger">${_('Log user pull commands')}</label> | |
227 | </div> |
|
227 | </div> | |
228 | </div> |
|
228 | </div> | |
229 | <div class="input" style="margin-top:10px"> |
|
229 | <div class="input" style="margin-top:10px"> | |
230 | ${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")} |
|
230 | ${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")} | |
231 | </div> |
|
231 | </div> | |
@@ -257,9 +257,9 b'' | |||||
257 | </div> |
|
257 | </div> | |
258 | <div class="input"> |
|
258 | <div class="input"> | |
259 | ${h.text('paths_root_path',size=30,readonly="readonly")} |
|
259 | ${h.text('paths_root_path',size=30,readonly="readonly")} | |
260 | <span id="path_unlock" class="tooltip" |
|
260 | <span id="path_unlock" class="tooltip" | |
261 | 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.'))}"> |
|
261 | 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.'))}"> | |
262 | ${_('unlock')}</span> |
|
262 | ${_('unlock')}</span> | |
263 | <span class="help-block">${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}</span> |
|
263 | <span class="help-block">${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}</span> | |
264 | </div> |
|
264 | </div> | |
265 | </div> |
|
265 | </div> | |
@@ -329,8 +329,8 b'' | |||||
329 |
|
329 | |||
330 | <script type="text/javascript"> |
|
330 | <script type="text/javascript"> | |
331 | YUE.on('expand_modules','click',function(e){ |
|
331 | YUE.on('expand_modules','click',function(e){ | |
332 | YUD.setStyle('expand_modules_table','display',''); |
|
332 | YUD.setStyle('expand_modules_table','display',''); | |
333 | YUD.setStyle('expand_modules','display','none'); |
|
333 | YUD.setStyle('expand_modules','display','none'); | |
334 | }) |
|
334 | }) | |
335 | </script> |
|
335 | </script> | |
336 |
|
336 |
@@ -173,37 +173,37 b' if (url[1]) {' | |||||
173 | } |
|
173 | } | |
174 |
|
174 | |||
175 | function table_renderer(data){ |
|
175 | function table_renderer(data){ | |
176 |
|
|
176 | var myDataSource = new YAHOO.util.DataSource(data); | |
177 |
|
|
177 | myDataSource.responseType = YAHOO.util.DataSource.TYPE_JSON; | |
178 |
|
178 | |||
179 |
|
|
179 | myDataSource.responseSchema = { | |
180 |
|
|
180 | resultsList: "records", | |
181 |
|
|
181 | fields: [ | |
182 |
|
|
182 | {key:"menu"}, | |
183 |
|
|
183 | {key:"raw_name"}, | |
184 |
|
|
184 | {key:"name"}, | |
185 |
|
|
185 | {key:"last_changeset"}, | |
186 |
|
|
186 | {key:"action"}, | |
187 | ] |
|
187 | ] | |
188 | }; |
|
188 | }; | |
189 |
|
|
189 | myDataSource.doBeforeCallback = function(req,raw,res,cb) { | |
190 |
|
|
190 | // This is the filter function | |
191 |
|
|
191 | var data = res.results || [], | |
192 |
|
|
192 | filtered = [], | |
193 |
|
|
193 | i,l; | |
194 |
|
194 | |||
195 |
|
|
195 | if (req) { | |
196 |
|
|
196 | req = req.toLowerCase(); | |
197 |
|
|
197 | for (i = 0; i<data.length; i++) { | |
198 |
|
|
198 | var pos = data[i].raw_name.toLowerCase().indexOf(req) | |
199 |
|
|
199 | if (pos != -1) { | |
200 |
|
|
200 | filtered.push(data[i]); | |
201 |
|
|
201 | } | |
202 |
|
|
202 | } | |
203 |
|
|
203 | res.results = filtered; | |
204 |
|
|
204 | } | |
205 |
|
|
205 | return res; | |
206 |
|
|
206 | } | |
207 |
|
207 | |||
208 | // main table sorting |
|
208 | // main table sorting | |
209 | var myColumnDefs = [ |
|
209 | var myColumnDefs = [ |
@@ -137,7 +137,7 b'' | |||||
137 | return h.literal('class="current"') |
|
137 | return h.literal('class="current"') | |
138 | %> |
|
138 | %> | |
139 | %if current not in ['home','admin']: |
|
139 | %if current not in ['home','admin']: | |
140 | ##REGULAR MENU |
|
140 | ##REGULAR MENU | |
141 | <ul id="quick"> |
|
141 | <ul id="quick"> | |
142 | <!-- repo switcher --> |
|
142 | <!-- repo switcher --> | |
143 | <li> |
|
143 | <li> | |
@@ -207,14 +207,14 b'' | |||||
207 | %endif |
|
207 | %endif | |
208 | %endif |
|
208 | %endif | |
209 |
|
209 | |||
210 |
|
|
210 | <li>${h.link_to(_('fork'),h.url('repo_fork_home',repo_name=c.repo_name),class_='fork')}</li> | |
211 | %if h.is_hg(c.rhodecode_repo): |
|
211 | %if h.is_hg(c.rhodecode_repo): | |
212 | <li>${h.link_to(_('open new pull request'),h.url('pullrequest_home',repo_name=c.repo_name),class_='pull_request')}</li> |
|
212 | <li>${h.link_to(_('open new pull request'),h.url('pullrequest_home',repo_name=c.repo_name),class_='pull_request')}</li> | |
213 | %endif |
|
213 | %endif | |
214 | %if c.rhodecode_db_repo.fork: |
|
214 | %if c.rhodecode_db_repo.fork: | |
215 | <li>${h.link_to(_('compare fork'),h.url('compare_url',repo_name=c.repo_name,org_ref_type='branch',org_ref=request.GET.get('branch') or 'default',other_ref_type='branch',other_ref='default',repo=c.rhodecode_db_repo.fork.repo_name),class_='compare_request')}</li> |
|
215 | <li>${h.link_to(_('compare fork'),h.url('compare_url',repo_name=c.repo_name,org_ref_type='branch',org_ref=request.GET.get('branch') or 'default',other_ref_type='branch',other_ref='default',repo=c.rhodecode_db_repo.fork.repo_name),class_='compare_request')}</li> | |
216 | %endif |
|
216 | %endif | |
217 |
|
|
217 | <li>${h.link_to(_('search'),h.url('search_repo',search_repo=c.repo_name),class_='search')}</li> | |
218 |
|
218 | |||
219 | %if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name) and c.rhodecode_db_repo.enable_locking: |
|
219 | %if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name) and c.rhodecode_db_repo.enable_locking: | |
220 | %if c.rhodecode_db_repo.locked[0]: |
|
220 | %if c.rhodecode_db_repo.locked[0]: |
@@ -21,17 +21,17 b'' | |||||
21 |
|
21 | |||
22 | %if c.ga_code: |
|
22 | %if c.ga_code: | |
23 | <!-- Analytics --> |
|
23 | <!-- Analytics --> | |
24 |
|
|
24 | <script type="text/javascript"> | |
25 | var _gaq = _gaq || []; |
|
25 | var _gaq = _gaq || []; | |
26 | _gaq.push(['_setAccount', '${c.ga_code}']); |
|
26 | _gaq.push(['_setAccount', '${c.ga_code}']); | |
27 | _gaq.push(['_trackPageview']); |
|
27 | _gaq.push(['_trackPageview']); | |
28 |
|
28 | |||
29 | (function() { |
|
29 | (function() { | |
30 | var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
|
30 | var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
31 | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
|
31 | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
32 | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
|
32 | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
33 | })(); |
|
33 | })(); | |
34 |
|
|
34 | </script> | |
35 | %endif |
|
35 | %endif | |
36 |
|
36 | |||
37 | ## JAVASCRIPT ## |
|
37 | ## JAVASCRIPT ## |
@@ -1,15 +1,15 b'' | |||||
1 | %if c.repo_bookmarks: |
|
1 | %if c.repo_bookmarks: | |
2 | <div id="table_wrap" class="yui-skin-sam"> |
|
2 | <div id="table_wrap" class="yui-skin-sam"> | |
3 | <table id="bookmarks_data"> |
|
3 | <table id="bookmarks_data"> | |
4 |
|
|
4 | <thead> | |
5 | <tr> |
|
5 | <tr> | |
6 | <th class="left">${_('Name')}</th> |
|
6 | <th class="left">${_('Name')}</th> | |
7 | <th class="left">${_('Date')}</th> |
|
7 | <th class="left">${_('Date')}</th> | |
8 | <th class="left">${_('Author')}</th> |
|
8 | <th class="left">${_('Author')}</th> | |
9 | <th class="left">${_('Revision')}</th> |
|
9 | <th class="left">${_('Revision')}</th> | |
10 | </tr> |
|
10 | </tr> | |
11 |
|
|
11 | </thead> | |
12 |
|
|
12 | %for cnt,book in enumerate(c.repo_bookmarks.items()): | |
13 | <tr class="parity${cnt%2}"> |
|
13 | <tr class="parity${cnt%2}"> | |
14 | <td> |
|
14 | <td> | |
15 | <span class="logbooks"> |
|
15 | <span class="logbooks"> | |
@@ -25,7 +25,7 b'' | |||||
25 | </div> |
|
25 | </div> | |
26 | </td> |
|
26 | </td> | |
27 | </tr> |
|
27 | </tr> | |
28 |
|
|
28 | %endfor | |
29 | </table> |
|
29 | </table> | |
30 | </div> |
|
30 | </div> | |
31 | %else: |
|
31 | %else: |
@@ -20,7 +20,7 b'' | |||||
20 | </%def> |
|
20 | </%def> | |
21 |
|
21 | |||
22 | <%def name="page_nav()"> |
|
22 | <%def name="page_nav()"> | |
23 |
|
|
23 | ${self.menu('files')} | |
24 | </%def> |
|
24 | </%def> | |
25 | <%def name="main()"> |
|
25 | <%def name="main()"> | |
26 | <div class="box"> |
|
26 | <div class="box"> |
@@ -42,30 +42,30 b'' | |||||
42 |
|
42 | |||
43 | <div class="browser-body"> |
|
43 | <div class="browser-body"> | |
44 | <table class="code-browser"> |
|
44 | <table class="code-browser"> | |
45 |
|
|
45 | <thead> | |
46 |
|
|
46 | <tr> | |
47 |
|
|
47 | <th>${_('Name')}</th> | |
48 |
|
|
48 | <th>${_('Size')}</th> | |
49 |
|
|
49 | <th>${_('Mimetype')}</th> | |
50 |
|
|
50 | <th>${_('Last Revision')}</th> | |
51 |
|
|
51 | <th>${_('Last modified')}</th> | |
52 |
|
|
52 | <th>${_('Last commiter')}</th> | |
53 |
|
|
53 | </tr> | |
54 |
|
|
54 | </thead> | |
55 |
|
55 | |||
56 |
|
|
56 | <tbody id="tbody"> | |
57 |
|
|
57 | %if c.file.parent: | |
58 |
|
|
58 | <tr class="parity0"> | |
59 |
|
|
59 | <td> | |
60 |
|
|
60 | ${h.link_to('..',h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.file.parent.path),class_="browser-dir ypjax-link")} | |
61 |
|
|
61 | </td> | |
62 |
|
|
62 | <td></td> | |
63 |
|
|
63 | <td></td> | |
64 |
|
|
64 | <td></td> | |
65 |
|
|
65 | <td></td> | |
66 |
|
|
66 | <td></td> | |
67 | </tr> |
|
67 | </tr> | |
68 |
|
|
68 | %endif | |
69 |
|
69 | |||
70 | %for cnt,node in enumerate(c.file): |
|
70 | %for cnt,node in enumerate(c.file): | |
71 | <tr class="parity${cnt%2}"> |
|
71 | <tr class="parity${cnt%2}"> | |
@@ -108,9 +108,9 b'' | |||||
108 | </td> |
|
108 | </td> | |
109 | </tr> |
|
109 | </tr> | |
110 | %endfor |
|
110 | %endfor | |
111 |
|
|
111 | </tbody> | |
112 |
|
|
112 | <tbody id="tbody_filtered" style="display:none"> | |
113 |
|
|
113 | </tbody> | |
114 | </table> |
|
114 | </table> | |
115 | </div> |
|
115 | </div> | |
116 | </div> |
|
116 | </div> |
@@ -20,7 +20,7 b'' | |||||
20 | </%def> |
|
20 | </%def> | |
21 |
|
21 | |||
22 | <%def name="page_nav()"> |
|
22 | <%def name="page_nav()"> | |
23 |
|
|
23 | ${self.menu('files')} | |
24 | </%def> |
|
24 | </%def> | |
25 | <%def name="main()"> |
|
25 | <%def name="main()"> | |
26 | <div class="box"> |
|
26 | <div class="box"> |
@@ -89,9 +89,9 b'' | |||||
89 | ${h.checkbox('update_after_clone',value="True")} |
|
89 | ${h.checkbox('update_after_clone',value="True")} | |
90 | <span class="help-block">${_('Checkout source after making a clone')}</span> |
|
90 | <span class="help-block">${_('Checkout source after making a clone')}</span> | |
91 | </div> |
|
91 | </div> | |
92 |
|
|
92 | </div> | |
93 | <div class="buttons"> |
|
93 | <div class="buttons"> | |
94 | ${h.submit('',_('fork this repository'),class_="ui-btn large")} |
|
94 | ${h.submit('',_('fork this repository'),class_="ui-btn large")} | |
95 | </div> |
|
95 | </div> | |
96 | </div> |
|
96 | </div> | |
97 | </div> |
|
97 | </div> |
@@ -10,16 +10,16 b'' | |||||
10 | <span style="font-size: 20px"> |
|
10 | <span style="font-size: 20px"> | |
11 | <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname}) / |
|
11 | <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname}) / | |
12 | ${h.link_to(f.repo_name,h.url('summary_home',repo_name=f.repo_name))} |
|
12 | ${h.link_to(f.repo_name,h.url('summary_home',repo_name=f.repo_name))} | |
13 |
|
|
13 | </span> | |
14 |
|
|
14 | <div style="padding:5px 3px 3px 42px;">${f.description}</div> | |
15 | </div> |
|
15 | </div> | |
16 | <div style="clear:both;padding-top: 10px"></div> |
|
16 | <div style="clear:both;padding-top: 10px"></div> | |
17 | <div class="follower_date">${_('forked')} - |
|
17 | <div class="follower_date">${_('forked')} - | |
18 | <span class="tooltip" title="${h.tooltip(h.fmt_date(f.created_on))}"> ${h.age(f.created_on)}</span> |
|
18 | <span class="tooltip" title="${h.tooltip(h.fmt_date(f.created_on))}"> ${h.age(f.created_on)}</span> | |
19 | <a title="${_('compare fork with %s' % c.repo_name)}" |
|
19 | <a title="${_('compare fork with %s' % c.repo_name)}" | |
20 | href="${h.url('compare_url',repo_name=f.repo_name,org_ref_type='branch',org_ref='default',other_ref_type='branch',other_ref='default', repo=c.repo_name)}" |
|
20 | href="${h.url('compare_url',repo_name=f.repo_name,org_ref_type='branch',org_ref='default',other_ref_type='branch',other_ref='default', repo=c.repo_name)}" | |
21 | class="ui-btn small">${_('Compare fork')}</a> |
|
21 | class="ui-btn small">${_('Compare fork')}</a> | |
22 |
|
|
22 | </div> | |
23 | <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div> |
|
23 | <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div> | |
24 | </div> |
|
24 | </div> | |
25 | % endfor |
|
25 | % endfor |
@@ -15,59 +15,59 b'' | |||||
15 | <div class="form"> |
|
15 | <div class="form"> | |
16 | <!-- fields --> |
|
16 | <!-- fields --> | |
17 | <div class="fields"> |
|
17 | <div class="fields"> | |
18 |
|
|
18 | <div class="field"> | |
19 | <div class="label"> |
|
19 | <div class="label"> | |
20 | <label for="username">${_('Username')}:</label> |
|
20 | <label for="username">${_('Username')}:</label> | |
21 | </div> |
|
21 | </div> | |
22 | <div class="input"> |
|
22 | <div class="input"> | |
23 | ${h.text('username',class_="medium")} |
|
23 | ${h.text('username',class_="medium")} | |
24 | </div> |
|
24 | </div> | |
25 |
|
|
25 | </div> | |
26 |
|
26 | |||
27 |
|
|
27 | <div class="field"> | |
28 | <div class="label"> |
|
28 | <div class="label"> | |
29 | <label for="password">${_('Password')}:</label> |
|
29 | <label for="password">${_('Password')}:</label> | |
30 | </div> |
|
30 | </div> | |
31 | <div class="input"> |
|
31 | <div class="input"> | |
32 | ${h.password('password',class_="medium")} |
|
32 | ${h.password('password',class_="medium")} | |
33 | </div> |
|
33 | </div> | |
34 |
|
|
34 | </div> | |
35 |
|
35 | |||
36 |
|
|
36 | <div class="field"> | |
37 |
|
|
37 | <div class="label"> | |
38 |
|
|
38 | <label for="password">${_('Re-enter password')}:</label> | |
39 |
|
|
39 | </div> | |
40 |
|
|
40 | <div class="input"> | |
41 |
|
|
41 | ${h.password('password_confirmation',class_="medium")} | |
42 |
|
|
42 | </div> | |
43 |
|
|
43 | </div> | |
44 |
|
44 | |||
45 |
|
|
45 | <div class="field"> | |
46 | <div class="label"> |
|
46 | <div class="label"> | |
47 | <label for="firstname">${_('First Name')}:</label> |
|
47 | <label for="firstname">${_('First Name')}:</label> | |
48 | </div> |
|
48 | </div> | |
49 | <div class="input"> |
|
49 | <div class="input"> | |
50 | ${h.text('firstname',class_="medium")} |
|
50 | ${h.text('firstname',class_="medium")} | |
51 | </div> |
|
51 | </div> | |
52 |
|
|
52 | </div> | |
53 |
|
53 | |||
54 |
|
|
54 | <div class="field"> | |
55 | <div class="label"> |
|
55 | <div class="label"> | |
56 | <label for="lastname">${_('Last Name')}:</label> |
|
56 | <label for="lastname">${_('Last Name')}:</label> | |
57 | </div> |
|
57 | </div> | |
58 | <div class="input"> |
|
58 | <div class="input"> | |
59 | ${h.text('lastname',class_="medium")} |
|
59 | ${h.text('lastname',class_="medium")} | |
60 | </div> |
|
60 | </div> | |
61 |
|
|
61 | </div> | |
62 |
|
62 | |||
63 |
|
|
63 | <div class="field"> | |
64 | <div class="label"> |
|
64 | <div class="label"> | |
65 | <label for="email">${_('Email')}:</label> |
|
65 | <label for="email">${_('Email')}:</label> | |
66 | </div> |
|
66 | </div> | |
67 | <div class="input"> |
|
67 | <div class="input"> | |
68 | ${h.text('email',class_="medium")} |
|
68 | ${h.text('email',class_="medium")} | |
69 | </div> |
|
69 | </div> | |
70 |
|
|
70 | </div> | |
71 |
|
71 | |||
72 | <div class="buttons"> |
|
72 | <div class="buttons"> | |
73 | <div class="nohighlight"> |
|
73 | <div class="nohighlight"> |
General Comments 0
You need to be logged in to leave comments.
Login now