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