##// END OF EJS Templates
Stylistic cleanup - mostly formatting
Mads Kiilerich -
r3552:7967d00e beta
parent child Browse files
Show More
@@ -314,7 +314,6 b' class BaseRepoController(BaseController)'
314 c.repository_followers: number of followers
314 c.repository_followers: number of followers
315 c.repository_forks: number of forks
315 c.repository_forks: number of forks
316 c.repository_following: weather the current user is following the current repo
316 c.repository_following: weather the current user is following the current repo
317
318 """
317 """
319
318
320 def __before__(self):
319 def __before__(self):
@@ -355,7 +355,6 b' def age(prevdate, show_short_version=Fal'
355 If show_short_version is True, then it will generate a not so accurate but shorter string,
355 If show_short_version is True, then it will generate a not so accurate but shorter string,
356 example: 2days ago, instead of 2 days and 23 hours ago.
356 example: 2days ago, instead of 2 days and 23 hours ago.
357
357
358
359 :param prevdate: datetime object
358 :param prevdate: datetime object
360 :param show_short_version: if it should aproximate the date and return a shorter string
359 :param show_short_version: if it should aproximate the date and return a shorter string
361 :rtype: unicode
360 :rtype: unicode
@@ -162,6 +162,7 b' ul#context-actions {'
162 border-radius: 4px;
162 border-radius: 4px;
163 background-image: linear-gradient(top, #4574a2 0%, #2f5d8b 100%);
163 background-image: linear-gradient(top, #4574a2 0%, #2f5d8b 100%);
164 }
164 }
165
165 #content ul#context-actions li {
166 #content ul#context-actions li {
166 padding: 0px;
167 padding: 0px;
167 border-right: 1px solid rgba(0,0,0,0.1);
168 border-right: 1px solid rgba(0,0,0,0.1);
@@ -252,7 +253,7 b' ul#context-actions {'
252 border-left: 1px solid rgba(0,0,0,0.1);
253 border-left: 1px solid rgba(0,0,0,0.1);
253 }
254 }
254
255
255 #context-pages li.curreasdnt {
256 #context-pages li.current {
256 background: #535353; /* Old browsers */
257 background: #535353; /* Old browsers */
257 background: -moz-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* FF3.6+ */
258 background: -moz-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* FF3.6+ */
258 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5d5d5d), color-stop(100%,#484848)); /* Chrome,Safari4+ */
259 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5d5d5d), color-stop(100%,#484848)); /* Chrome,Safari4+ */
@@ -421,7 +421,6 b' div:hover > a.permalink {'
421 }
421 }
422
422
423 #header #header-inner #quick li span.icon {
423 #header #header-inner #quick li span.icon {
424
425 border-left: none;
424 border-left: none;
426 padding-left: 10px ;
425 padding-left: 10px;
427 }
426 }
@@ -1725,7 +1724,6 b' div.form div.fields div.field div.button'
1725 padding-right: 10px;
1724 padding-right: 10px;
1726 }
1725 }
1727
1726
1728
1729 #repo_size_2 {
1727 #repo_size_2 {
1730 margin-left: 30px;
1728 margin-left: 30px;
1731 display: block;
1729 display: block;
@@ -2514,10 +2512,6 b' h3.files_location {'
2514 border-color: #cdcdcd;
2512 border-color: #cdcdcd;
2515 }
2513 }
2516
2514
2517 #graph_content .container {
2518
2519 }
2520
2521 #graph_content #changesets td {
2515 #graph_content #changesets td {
2522 overflow: hidden;
2516 overflow: hidden;
2523 text-overflow: ellipsis;
2517 text-overflow: ellipsis;
@@ -576,7 +576,6 b' var showRepoSize = function(target, repo'
576 return false;
576 return false;
577 }
577 }
578
578
579
580 /**
579 /**
581 * TOOLTIP IMPL.
580 * TOOLTIP IMPL.
582 */
581 */
@@ -83,7 +83,7 b''
83
83
84 <%def name="admin_menu_simple()">
84 <%def name="admin_menu_simple()">
85 <ul>
85 <ul>
86 <li>${h.link_to(_('repositories groups'),h.url('repos_groups'),class_='repos_groups')}</li>
86 <li>${h.link_to(_('repository groups'),h.url('repos_groups'),class_='repos_groups')}</li>
87 </ul>
87 </ul>
88 </%def>
88 </%def>
89
89
@@ -129,10 +129,6 b''
129 %endif
129 %endif
130 </div>
130 </div>
131 <div id="context-state">
131 <div id="context-state">
132 <!--button id="revision-changer">
133 <span class="branch-name">graphics/shader-move</span>
134 <span class="revision">@73318:8d3d6ee94072</span>
135 </button-->
136 <ul id="context-pages" class="horizontal-list">
132 <ul id="context-pages" class="horizontal-list">
137 <li ${is_current('summary')}><a href="${h.url('summary_home', repo_name=c.repo_name)}" class="summary">${_('Summary')}</a></li>
133 <li ${is_current('summary')}><a href="${h.url('summary_home', repo_name=c.repo_name)}" class="summary">${_('Summary')}</a></li>
138 <li ${is_current('changelog')}><a href="${h.url('changelog_home', repo_name=c.repo_name)}" class="changelogs">${_('Changelog')}</a></li>
134 <li ${is_current('changelog')}><a href="${h.url('changelog_home', repo_name=c.repo_name)}" class="changelogs">${_('Changelog')}</a></li>
@@ -11,7 +11,6 b''
11 <%def name="css()">
11 <%def name="css()">
12 <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css', ver=c.rhodecode_version)}" media="screen"/>
12 <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css', ver=c.rhodecode_version)}" media="screen"/>
13 <link rel="stylesheet" type="text/css" href="${h.url('/css/pygments.css', ver=c.rhodecode_version)}"/>
13 <link rel="stylesheet" type="text/css" href="${h.url('/css/pygments.css', ver=c.rhodecode_version)}"/>
14
15 <link rel="stylesheet" type="text/css" href="${h.url('/css/contextbar.css', ver=c.rhodecode_version)}"/>
14 <link rel="stylesheet" type="text/css" href="${h.url('/css/contextbar.css', ver=c.rhodecode_version)}"/>
16 ## EXTRA FOR CSS
15 ## EXTRA FOR CSS
17 ${self.css_extra()}
16 ${self.css_extra()}
@@ -110,7 +110,6 b''
110 </tbody>
110 </tbody>
111 </table>
111 </table>
112
112
113
114 <div class="pagination-wh pagination-left">
113 <div class="pagination-wh pagination-left">
115 ${c.pagination.pager('$link_previous ~2~ $link_next')}
114 ${c.pagination.pager('$link_previous ~2~ $link_next')}
116 </div>
115 </div>
@@ -234,9 +233,7 b''
234 var t = document.getElementById('graph_content');
233 var t = document.getElementById('graph_content');
235 canvas = document.getElementById('graph_canvas');
234 canvas = document.getElementById('graph_canvas');
236 var div_h = t.clientHeight;
235 var div_h = t.clientHeight;
237 //c.style.height=div_h+'px';
238 canvas.setAttribute('height',div_h);
236 canvas.setAttribute('height',div_h);
239 //c.style.height=width+'px';
240 canvas.setAttribute('width',width);
237 canvas.setAttribute('width',width);
241 };
238 };
242 var heads = 1;
239 var heads = 1;
General Comments 0
You need to be logged in to leave comments. Login now