##// END OF EJS Templates
UI !
marcink -
r1756:60a00fd7 beta
parent child Browse files
Show More
@@ -22,6 +22,7 b' news'
22 22 alternative clone url.
23 23 - enabled largefiles extension by default
24 24 - optimized summary file pages and saved a lot of unused space in them
25 - #239 option to manually mark repository as fork
25 26
26 27 fixes
27 28 -----
@@ -52,7 +52,7 b' def get_version():'
52 52
53 53 BACKENDS = {
54 54 'hg': 'Mercurial repository',
55 #'git': 'Git repository',
55 'git': 'Git repository',
56 56 }
57 57
58 58 CELERY_ON = False
@@ -2718,69 +2718,94 b' div.gravatar img {'
2718 2718 border: 1px solid #316293;
2719 2719 }
2720 2720
2721 input.ui-button-small,
2722 .ui-button-small {
2723 background-color: #eedc94;
2721 .ui-btn{
2722 color: #515151;
2723 background-color: #DADADA;
2724 2724 background-repeat: repeat-x;
2725 background-image: -khtml-gradient(linear, left top, left bottom, from(#F4F4F4),to(#ECECEC) );
2726 background-image: -moz-linear-gradient(top, #F4F4F4, #ECECEC);
2727 background-image: -ms-linear-gradient(top, #F4F4F4, #ECECEC);
2728 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F4F4F4),color-stop(100%, #F4F4F4) );
2729 background-image: -webkit-linear-gradient(top, #F4F4F4, #ECECEC) );
2730 background-image: -o-linear-gradient(top, #F4F4F4, #ECECEC) );
2731 background-image: linear-gradient(top, #F4F4F4, #ECECEC);
2732
2733 border-top: 1px solid #DDD !important;
2734 border-left: 1px solid #c6c6c6 !important;
2735 border-right: 1px solid #DDD !important;
2736 border-bottom: 1px solid #c6c6c6 !important;
2737 color: #515151 !important;
2738 outline: none !important;
2739 margin: 0 !important;
2740 -webkit-border-radius: 4px 4px 4px 4px !important;
2741 -khtml-border-radius: 4px 4px 4px 4px !important;
2742 -moz-border-radius: 4px 4px 4px 4px !important;
2743 border-radius: 4px 4px 4px 4px !important;
2744 box-shadow: 0 1px 0 #ececec !important;
2745 cursor: pointer !important;
2746 padding: 3px 3px 3px 3px;
2747 }
2748
2749 input.ui-button-small.xsmall,
2750 .ui-button-small.xsmall{
2725 background-image: -khtml-gradient(linear, left top, left bottom, from(#F4F4F4),to(#DADADA) );
2726 background-image: -moz-linear-gradient(top, #F4F4F4, #DADADA);
2727 background-image: -ms-linear-gradient(top, #F4F4F4, #DADADA);
2728 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F4F4F4),color-stop(100%, #DADADA) );
2729 background-image: -webkit-linear-gradient(top, #F4F4F4, #DADADA) );
2730 background-image: -o-linear-gradient(top, #F4F4F4, #DADADA) );
2731 background-image: linear-gradient(top, #F4F4F4, #DADADA);
2732 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F4F4F4', endColorstr='#DADADA', GradientType=0);
2733
2734 border-top: 1px solid #DDD;
2735 border-left: 1px solid #c6c6c6;
2736 border-right: 1px solid #DDD;
2737 border-bottom: 1px solid #c6c6c6;
2738 color: #515151;
2739 outline: none;
2740 margin: 0px 3px 3px 0px;
2741 -webkit-border-radius: 4px 4px 4px 4px !important;
2742 -khtml-border-radius: 4px 4px 4px 4px !important;
2743 -moz-border-radius: 4px 4px 4px 4px !important;
2744 border-radius: 4px 4px 4px 4px !important;
2745 box-shadow: 0 1px 0 #DADADA !important;
2746 cursor: pointer !important;
2747 padding: 3px 3px 3px 3px;
2748
2749 }
2750 .ui-btn.xsmall{
2751 2751 padding: 1px 2px 1px 1px;
2752 2752 }
2753 2753
2754 input.ui-button-small:hover,
2755 .ui-button-small:hover,
2756 .ui-button-small.xsmall:hover
2757 {
2758 background: #b4b4b4 url("../images/button_selected.png") repeat-x !important;
2759 border-top: 1px solid #ccc !important;
2760 border-left: 1px solid #bebebe !important;
2761 border-right: 1px solid #b1b1b1 !important;
2762 border-bottom: 1px solid #afafaf !important;
2763 text-decoration: none;
2764 }
2765
2766 input.ui-button-small-blue,.ui-button-small-blue {
2767 background: #4e85bb url("../images/button_highlight.png") repeat-x;
2768 border-top: 1px solid #5c91a4;
2769 border-left: 1px solid #2a6f89;
2770 border-right: 1px solid #2b7089;
2771 border-bottom: 1px solid #1a6480;
2772 color: #fff;
2773 -webkit-border-radius: 4px 4px 4px 4px;
2774 -khtml-border-radius: 4px 4px 4px 4px;
2775 -moz-border-radius: 4px 4px 4px 4px;
2776 border-radius: 4px 4px 4px 4px;
2777 box-shadow: 0 1px 0 #ececec;
2778 cursor: pointer;
2779 padding: 0px 2px 1px 2px;
2780 }
2781
2782 input.ui-button-small-blue:hover {
2783
2754 .ui-btn:focus {
2755 outline: none;
2756 }
2757 .ui-btn:hover{
2758 background-position: 0 -15px;
2759 text-decoration: none;
2760 color: #515151;
2761 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 3px #FFFFFF !important;
2762 }
2763
2764 .ui-btn.red{
2765 color:#fff;
2766 background-color: #c43c35;
2767 background-repeat: repeat-x;
2768 background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
2769 background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
2770 background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
2771 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35));
2772 background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
2773 background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
2774 background-image: linear-gradient(top, #ee5f5b, #c43c35);
2775 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
2776 border-color: #c43c35 #c43c35 #882a25;
2777 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
2778 }
2779
2780
2781 .ui-btn.blue{
2782 background-color: #339bb9;
2783 background-repeat: repeat-x;
2784 background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9));
2785 background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
2786 background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
2787 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9));
2788 background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
2789 background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
2790 background-image: linear-gradient(top, #5bc0de, #339bb9);
2791 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
2792 border-color: #339bb9 #339bb9 #22697d;
2793 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
2794 }
2795
2796 .ui-btn.green{
2797 background-color: #57a957;
2798 background-repeat: repeat-x;
2799 background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957));
2800 background-image: -moz-linear-gradient(top, #62c462, #57a957);
2801 background-image: -ms-linear-gradient(top, #62c462, #57a957);
2802 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957));
2803 background-image: -webkit-linear-gradient(top, #62c462, #57a957);
2804 background-image: -o-linear-gradient(top, #62c462, #57a957);
2805 background-image: linear-gradient(top, #62c462, #57a957);
2806 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
2807 border-color: #57a957 #57a957 #3d773d;
2808 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
2784 2809 }
2785 2810
2786 2811 ins,div.options a:hover {
@@ -157,7 +157,7 b''
157 157 </div>
158 158 </div>
159 159 <div class="input" style="margin-top:10px">
160 ${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-button-small")}
160 ${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")}
161 161 </div>
162 162 </div>
163 163 <div class="field">
@@ -171,7 +171,7 b''
171 171 <div style="padding:5px 0px 10px 0px;">
172 172 ${_('No repositories yet')}
173 173 %if h.HasPermissionAny('hg.admin','hg.create.repository')():
174 ${h.link_to(_('create one now'),h.url('admin_settings_create_repository'),class_="ui-button-small")}
174 ${h.link_to(_('create one now'),h.url('admin_settings_create_repository'),class_="ui-btn")}
175 175 %endif
176 176 </div>
177 177 %endif
@@ -21,9 +21,9 b''
21 21 <td title="${book[1].author}">${h.person(book[1].author)}</td>
22 22 <td>r${book[1].revision}:${h.short_id(book[1].raw_id)}</td>
23 23 <td class="nowrap">
24 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-button-small xsmall")}
24 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-btn xsmall")}
25 25 <span style="color:#515151">|</span>
26 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-button-small xsmall")}
26 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-btn xsmall")}
27 27 </td>
28 28 </tr>
29 29 %endfor
@@ -20,9 +20,9 b''
20 20 <td title="${branch[1].author}">${h.person(branch[1].author)}</td>
21 21 <td>r${branch[1].revision}:${h.short_id(branch[1].raw_id)}</td>
22 22 <td class="nowrap">
23 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-button-small xsmall")}
23 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-btn xsmall")}
24 24 <span style="color:#515151">|</span>
25 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-button-small xsmall")}
25 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-btn xsmall")}
26 26 </td>
27 27 </tr>
28 28 %endfor
@@ -40,9 +40,9 b''
40 40 <td title="${branch[1].author}">${h.person(branch[1].author)}</td>
41 41 <td>r${branch[1].revision}:${h.short_id(branch[1].raw_id)}</td>
42 42 <td class="nowrap">
43 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-button-small xsmall")}
43 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-btn xsmall")}
44 44 <span style="color:#515151">|</span>
45 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-button-small xsmall")}
45 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-btn xsmall")}
46 46 </td>
47 47 </tr>
48 48 %endfor
@@ -34,7 +34,7 b''
34 34 <div class="container_header">
35 35 ${h.form(h.url.current(),method='get')}
36 36 <div class="info_box" style="float:left">
37 ${h.submit('set',_('Show'),class_="ui-button-small")}
37 ${h.submit('set',_('Show'),class_="ui-btn")}
38 38 ${h.text('size',size=1,value=c.size)}
39 39 <span class="rev">${_('revisions')}</span>
40 40 </div>
@@ -22,7 +22,7 b''
22 22 <div class="text">
23 23 %if h.HasPermissionAny('hg.admin', 'repository.admin')() or co.author.user_id == c.rhodecode_user.user_id:
24 24 <div class="buttons">
25 <span onClick="deleteComment(${co.comment_id})" class="delete-comment ui-button-small">${_('Delete')}</span>
25 <span onClick="deleteComment(${co.comment_id})" class="delete-comment ui-btn">${_('Delete')}</span>
26 26 </div>
27 27 %endif
28 28 ${h.rst(co.text)|n}
@@ -45,8 +45,8 b''
45 45 <div class="comment-button">
46 46 <input type="hidden" name="f_path" value="{0}">
47 47 <input type="hidden" name="line" value="{1}">
48 ${h.submit('save', _('Comment'), class_='ui-button-small')}
49 ${h.reset('hide-inline-form', _('Hide'), class_='ui-button-small hide-inline-form')}
48 ${h.submit('save', _('Comment'), class_='ui-btn')}
49 ${h.reset('hide-inline-form', _('Hide'), class_='ui-btn hide-inline-form')}
50 50 </div>
51 51 ${h.end_form()}
52 52 %else:
@@ -57,7 +57,7 b''
57 57 </div>
58 58 </div>
59 59 <div class="comment-button">
60 ${h.reset('hide-inline-form', _('Hide'), class_='ui-button-small hide-inline-form')}
60 ${h.reset('hide-inline-form', _('Hide'), class_='ui-btn hide-inline-form')}
61 61 </div>
62 62 ${h.end_form()}
63 63 %endif
@@ -46,7 +46,7 b''
46 46 </div>
47 47 <div class="input">
48 48 <input type="text" value="" size="30" name="filename" id="filename">
49 <input type="button" class="ui-button-small" value="upload file" id="upload_file_enable">
49 ${_('or')} <span class="ui-btn" id="upload_file_enable">${_('Upload file')}</span>
50 50 </div>
51 51 </div>
52 52 <div id="upload_file_container" class="field" style="display:none">
@@ -55,7 +55,7 b''
55 55 </div>
56 56 <div class="file">
57 57 <input type="file" size="30" name="upload_file" id="upload_file">
58 <input type="button" class="ui-button-small" value="create file" id="file_enable">
58 ${_('or')} <span class="ui-btn" id="file_enable">${_('Create new file')}</span>
59 59 </div>
60 60 </div>
61 61 <div class="field">
@@ -78,8 +78,8 b''
78 78 <textarea id="commit" name="message" style="height: 100px;width: 99%;margin-left:4px"></textarea>
79 79 </div>
80 80 <div style="text-align: l;padding-top: 5px">
81 ${h.submit('commit',_('Commit changes'),class_="ui-button-small")}
82 ${h.reset('reset',_('Reset'),class_="ui-button-small")}
81 ${h.submit('commit',_('Commit changes'),class_="ui-btn")}
82 ${h.reset('reset',_('Reset'),class_="ui-btn")}
83 83 </div>
84 84 ${h.end_form()}
85 85 <script type="text/javascript">
@@ -36,8 +36,8 b''
36 36 ${h.form(h.url('files_diff_home',repo_name=c.repo_name,f_path=c.f_path),method='get')}
37 37 ${h.hidden('diff2',c.file.last_changeset.raw_id)}
38 38 ${h.select('diff1',c.file.last_changeset.raw_id,c.file_history)}
39 ${h.submit('diff','diff to revision',class_="ui-button-small")}
40 ${h.submit('show_rev','show at revision',class_="ui-button-small")}
39 ${h.submit('diff','diff to revision',class_="ui-btn")}
40 ${h.submit('show_rev','show at revision',class_="ui-btn")}
41 41 ${h.end_form()}
42 42 </div>
43 43 </dd>
@@ -50,12 +50,12 b''
50 50 <div class="left item">${h.format_byte_size(c.file.size,binary=True)}</div>
51 51 <div class="left item last">${c.file.mimetype}</div>
52 52 <div class="buttons">
53 ${h.link_to(_('show source'),h.url('files_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-button-small")}
54 ${h.link_to(_('show as raw'),h.url('files_raw_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-button-small")}
55 ${h.link_to(_('download as raw'),h.url('files_rawfile_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-button-small")}
53 ${h.link_to(_('show source'),h.url('files_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")}
54 ${h.link_to(_('show as raw'),h.url('files_raw_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")}
55 ${h.link_to(_('download as raw'),h.url('files_rawfile_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")}
56 56 % if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name):
57 57 % if not c.file.is_binary:
58 ${h.link_to(_('edit'),h.url('files_edit_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-button-small")}
58 ${h.link_to(_('edit'),h.url('files_edit_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")}
59 59 % endif
60 60 % endif
61 61 </div>
@@ -11,10 +11,10 b''
11 11 ${h.form(h.url.current())}
12 12 <div class="info_box">
13 13 <span class="rev">${_('view')}@rev</span>
14 <a class="ui-button-small" href="${c.url_prev}" title="${_('previous revision')}">&laquo;</a>
14 <a class="ui-btn" href="${c.url_prev}" title="${_('previous revision')}">&laquo;</a>
15 15 ${h.text('at_rev',value=c.changeset.revision,size=5)}
16 <a class="ui-button-small" href="${c.url_next}" title="${_('next revision')}">&raquo;</a>
17 ## ${h.submit('view',_('view'),class_="ui-button-small")}
16 <a class="ui-btn" href="${c.url_next}" title="${_('next revision')}">&raquo;</a>
17 ## ${h.submit('view',_('view'),class_="ui-btn")}
18 18 </div>
19 19 ${h.end_form()}
20 20 </div>
@@ -24,11 +24,11 b''
24 24 </div>
25 25 <div class="browser-search">
26 26 <div id="search_activate_id" class="search_activate">
27 <a class="ui-button-small" id="filter_activate" href="#">${_('search file list')}</a>
27 <a class="ui-btn" id="filter_activate" href="#">${_('search file list')}</a>
28 28 </div>
29 29 % if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name):
30 30 <div id="add_node_id" class="add_node">
31 <a class="ui-button-small" href="${h.url('files_add_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path)}">${_('add new file')}</a>
31 <a class="ui-btn" href="${h.url('files_add_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path)}">${_('add new file')}</a>
32 32 </div>
33 33 % endif
34 34 <div>
@@ -46,12 +46,12 b''
46 46 <div class="left item">${h.format_byte_size(c.file.size,binary=True)}</div>
47 47 <div class="left item last">${c.file.mimetype}</div>
48 48 <div class="buttons">
49 ${h.link_to(_('show annotation'),h.url('files_annotate_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-button-small")}
50 ${h.link_to(_('show as raw'),h.url('files_raw_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-button-small")}
51 ${h.link_to(_('download as raw'),h.url('files_rawfile_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-button-small")}
49 ${h.link_to(_('show annotation'),h.url('files_annotate_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")}
50 ${h.link_to(_('show as raw'),h.url('files_raw_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")}
51 ${h.link_to(_('download as raw'),h.url('files_rawfile_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")}
52 52 % if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name):
53 53 % if not c.file.is_binary:
54 ${h.link_to(_('source'),h.url('files_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-button-small")}
54 ${h.link_to(_('source'),h.url('files_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")}
55 55 % endif
56 56 % endif
57 57 </div>
@@ -64,8 +64,8 b''
64 64 <textarea id="commit" name="message" style="height: 60px;width: 99%;margin-left:4px"></textarea>
65 65 </div>
66 66 <div style="text-align: left;padding-top: 5px">
67 ${h.submit('commit',_('Commit changes'),class_="ui-button-small")}
68 ${h.reset('reset',_('Reset'),class_="ui-button-small")}
67 ${h.submit('commit',_('Commit changes'),class_="ui-btn")}
68 ${h.reset('reset',_('Reset'),class_="ui-btn")}
69 69 </div>
70 70 ${h.end_form()}
71 71 <script type="text/javascript">
@@ -5,8 +5,8 b''
5 5 ${h.form(h.url('files_diff_home',repo_name=c.repo_name,f_path=c.f_path),method='get')}
6 6 ${h.hidden('diff2',c.file.last_changeset.raw_id)}
7 7 ${h.select('diff1',c.file.last_changeset.raw_id,c.file_history)}
8 ${h.submit('diff','diff to revision',class_="ui-button-small")}
9 ${h.submit('show_rev','show at revision',class_="ui-button-small")}
8 ${h.submit('diff','diff to revision',class_="ui-btn")}
9 ${h.submit('show_rev','show at revision',class_="ui-btn")}
10 10 ${h.end_form()}
11 11 </div>
12 12 </dd>
@@ -21,12 +21,12 b''
21 21 <div class="left item">${h.format_byte_size(c.file.size,binary=True)}</div>
22 22 <div class="left item last">${c.file.mimetype}</div>
23 23 <div class="buttons">
24 ${h.link_to(_('show annotation'),h.url('files_annotate_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path),class_="ui-button-small")}
25 ${h.link_to(_('show as raw'),h.url('files_raw_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path),class_="ui-button-small")}
26 ${h.link_to(_('download as raw'),h.url('files_rawfile_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path),class_="ui-button-small")}
24 ${h.link_to(_('show annotation'),h.url('files_annotate_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path),class_="ui-btn")}
25 ${h.link_to(_('show as raw'),h.url('files_raw_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path),class_="ui-btn")}
26 ${h.link_to(_('download as raw'),h.url('files_rawfile_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path),class_="ui-btn")}
27 27 % if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name):
28 28 % if not c.file.is_binary:
29 ${h.link_to(_('edit'),h.url('files_edit_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path),class_="ui-button-small")}
29 ${h.link_to(_('edit'),h.url('files_edit_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path),class_="ui-btn")}
30 30 % endif
31 31 % endif
32 32 </div>
@@ -89,7 +89,7 b''
89 89 <div style="padding:5px 0px 10px 0px;">
90 90 ${_('No repositories yet')}
91 91 %if h.HasPermissionAny('hg.admin','hg.create.repository')():
92 ${h.link_to(_('create one now'),h.url('admin_settings_create_repository'),class_="ui-button-small")}
92 ${h.link_to(_('create one now'),h.url('admin_settings_create_repository'),class_="ui-btn")}
93 93 %endif
94 94 </div>
95 95 %endif
@@ -8,8 +8,6 b''
8 8 <th class="left">${_('revision')}</th>
9 9 <th class="left">${_('branch')}</th>
10 10 <th class="left">${_('tags')}</th>
11 <th class="left">${_('links')}</th>
12
13 11 </tr>
14 12 %for cnt,cs in enumerate(c.repo_changesets):
15 13 <tr class="parity${cnt%2}">
@@ -22,7 +20,7 b''
22 20 ${h.age(cs.date)}</span>
23 21 </td>
24 22 <td title="${cs.author}">${h.person(cs.author)}</td>
25 <td>r${cs.revision}:${h.short_id(cs.raw_id)}</td>
23 <td><a href="${h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id)}">r${cs.revision}:${h.short_id(cs.raw_id)}</a></td>
26 24 <td>
27 25 <span class="logtags">
28 26 <span class="branchtag">${cs.branch}</span>
@@ -35,11 +33,6 b''
35 33 %endfor
36 34 </span>
37 35 </td>
38 <td class="nowrap">
39 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id),class_="ui-button-small xsmall")}
40 <span style="color:#515151">|</span>
41 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id),class_="ui-button-small xsmall")}
42 </td>
43 36 </tr>
44 37 %endfor
45 38
@@ -63,7 +56,7 b''
63 56 <h4>${_('Add or upload files directly via RhodeCode')}</h4>
64 57 <div style="margin: 20px 30px;">
65 58 <div id="add_node_id" class="add_node">
66 <a class="ui-button-small" href="${h.url('files_add_home',repo_name=c.repo_name,revision=0,f_path='')}">${_('add new file')}</a>
59 <a class="ui-btn" href="${h.url('files_add_home',repo_name=c.repo_name,revision=0,f_path='')}">${_('add new file')}</a>
67 60 </div>
68 61 </div>
69 62 %endif
@@ -135,7 +135,7 b''
135 135 %else:
136 136 ${_('Statistics are disabled for this repository')}
137 137 %if h.HasPermissionAll('hg.admin')('enable stats on from summary'):
138 ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-button-small")}
138 ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-btn")}
139 139 %endif
140 140 %endif
141 141 </div>
@@ -151,11 +151,11 b''
151 151 %elif c.enable_downloads is False:
152 152 ${_('Downloads are disabled for this repository')}
153 153 %if h.HasPermissionAll('hg.admin')('enable downloads on from summary'):
154 ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-button-small")}
154 ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-btn")}
155 155 %endif
156 156 %else:
157 157 ${h.select('download_options',c.rhodecode_repo.get_changeset().raw_id,c.download_options)}
158 <span id="${'zip_link'}">${h.link_to('Download as zip',h.url('files_archive_home',repo_name=c.dbrepo.repo_name,fname='tip.zip'),class_="archive_icon ui-button-small")}</span>
158 <span id="${'zip_link'}">${h.link_to('Download as zip',h.url('files_archive_home',repo_name=c.dbrepo.repo_name,fname='tip.zip'),class_="archive_icon ui-btn")}</span>
159 159 <span style="vertical-align: bottom">
160 160 <input id="archive_subrepos" type="checkbox" name="subrepos"/> <span class="tooltip" title="${_('Check this to download archive with subrepos')}" >${_('with subrepos')}</span>
161 161 </span>
@@ -178,7 +178,7 b''
178 178 %if c.no_data:
179 179 ${c.no_data_msg}
180 180 %if h.HasPermissionAll('hg.admin')('enable stats on from summary'):
181 ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-button-small")}
181 ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-btn")}
182 182 %endif
183 183 %else:
184 184 ${_('Loaded in')} ${c.stats_percentage} %
@@ -242,7 +242,7 b" YUE.on(clone_url,'click',function(e){"
242 242
243 243 var tmpl_links = {};
244 244 %for cnt,archive in enumerate(c.rhodecode_repo._get_archives()):
245 tmpl_links["${archive['type']}"] = '${h.link_to('__NAME__', h.url('files_archive_home',repo_name=c.dbrepo.repo_name, fname='__CS__'+archive['extension'],subrepos='__SUB__'),class_='archive_icon ui-button-small')}';
245 tmpl_links["${archive['type']}"] = '${h.link_to('__NAME__', h.url('files_archive_home',repo_name=c.dbrepo.repo_name, fname='__CS__'+archive['extension'],subrepos='__SUB__'),class_='archive_icon ui-btn')}';
246 246 %endfor
247 247
248 248 YUE.on(['download_options','archive_subrepos'],'change',function(e){
@@ -21,9 +21,9 b''
21 21 <td title="${tag[1].author}">${h.person(tag[1].author)}</td>
22 22 <td>r${tag[1].revision}:${h.short_id(tag[1].raw_id)}</td>
23 23 <td class="nowrap">
24 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag[1].raw_id),class_="ui-button-small xsmall")}
24 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag[1].raw_id),class_="ui-btn xsmall")}
25 25 <span style="color:#515151">|</span>
26 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag[1].raw_id),class_="ui-button-small xsmall")}
26 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag[1].raw_id),class_="ui-btn xsmall")}
27 27 </td>
28 28 </tr>
29 29 %endfor
General Comments 0
You need to be logged in to leave comments. Login now