Changeset - c65b440540da
[Not reviewed]
beta
0 5 0
Leonardo Carneiro - 13 years ago 2013-03-11 16:43:41
leonardo@unity3d.com
Style clean up, and comments removal.
3 files changed with 3 insertions and 221 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/css/contextbar.css
Show inline comments
 
@@ -55,7 +55,6 @@
 
#content #context-bar a:hover,
 
#content #context-bar button:hover {
 
 	text-decoration: none;
 
/* 	color: #bfe3ff;*/
 
}
 

	
 
#content #context-bar .icon {
 
@@ -67,7 +66,6 @@
 

	
 
ul.horizontal-list {
 
	display: block;
 
/*	overflow: hidden;*/
 
}
 

	
 
ul.horizontal-list > li {
 
@@ -130,12 +128,10 @@ ul.horizontal-list li a {
 
	padding: 5px;
 
}
 

	
 
/*#quick,*/
 
#header #header-inner #quick ul,
 
#revision-changer,
 
#context-pages,
 
#context-pages ul /*,
 
ul#context-actions */{
 
#context-pages ul {
 
	background: #3b6998; /* Old browsers */
 
	background: -moz-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* FF3.6+ */
 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4574a2), color-stop(100%,#2f5d8b)); /* Chrome,Safari4+ */
 
@@ -143,6 +139,7 @@ ul#context-actions */{
 
	background: -o-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* Opera 11.10+ */
 
	background: -ms-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* IE10+ */
 
	background: linear-gradient(to bottom, #4574a2 0%, #2f5d8b 100%); /* W3C */
 
    /*Filter on IE will also use overflow:hidden implicitly, and that would clip our inner menus.*/
 
	/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4574a2', endColorstr='#2f5d8b',GradientType=0 ); /* IE6-9 */*/
 
}
 

	
 
@@ -163,9 +160,7 @@ ul#context-actions {
 
	display: inline-block;
 
	float: right;
 
	border-radius: 4px;
 
	/*background-color:#3b6998;*/
 
	background-image: linear-gradient(top, #4574a2 0%, #2f5d8b 100%);
 
/*	padding: 5px;*/
 
}
 
#content ul#context-actions li {
 
	padding: 0px;
 
@@ -185,17 +180,12 @@ ul#context-actions {
 
	background-repeat: no-repeat;
 
	background-position: 10px 50%;
 
	font-size: 1em;
 
	/*padding-top: 24px;*/
 
}
 

	
 
#context-actions a {
 
	padding: 11px 10px 12px 30px;
 
}
 

	
 
/*#context-actions button{
 
	padding-top: 22px;
 
	height: 40px;
 
}*/
 
#header #header-inner #quick li:hover,
 
#revision-changer:hover,
 
#context-pages li:hover,
 
@@ -203,7 +193,6 @@ ul#context-actions {
 
#content #context-actions li:hover,
 
#header #header-inner #quick li.current,
 
#context-pages li.current {
 
	/*background: rgba(255,255,255,0.2);*/
 
	background: #6388ad; /* Old browsers */
 
	background: -moz-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* FF3.6+ */
 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
 
@@ -212,10 +201,6 @@ ul#context-actions {
 
	background: -ms-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* IE10+ */
 
	background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* W3C */
 
	/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88bfe8', endColorstr='#70b0e0',GradientType=0 ); /* IE6-9 */*/
 

	
 
	background-image: -webkit-gradient(linear, left top, left bottom, rgb(255,255,255) 0%, rgb(255,255,255) 100%);
 
	
 
	/*border-radius: 4px;*/
 
}
 

	
 

	
 
@@ -260,13 +245,11 @@ ul#context-actions {
 
	background-color: #336699;
 
	border-top: 1px solid #517da8;
 
	min-height: 36px;
 
/*	overflow: hidden;*/
 
}
 

	
 
#context-pages {
 
	float: right;
 
	border-left: 1px solid rgba(0,0,0,0.1);
 
/*	overflow: hidden;*/
 
}
 

	
 
#context-pages li.curreasdnt{
rhodecode/public/css/style.css
Show inline comments
 
@@ -405,44 +405,14 @@ div:hover > a.permalink {
 
    padding: 0;
 
    border-radius: 4px;
 
}
 
/*
 
#header #header-inner #quick > li {
 
    position: relative;
 
    float: left;
 
    margin: 0 5px 0 0;
 
    padding: 0;
 
}
 

	
 
#header #header-inner #quick li a.menu_link {
 
    top: 0;
 
    left: 0;
 
    height: 1%;
 
    display: block;
 
    clear: both;
 
    overflow: hidden;
 
    color: #FFF;
 
    font-weight: 700;
 
    text-decoration: none;
 
    background: #369;
 
    padding: 0;
 
    -webkit-border-radius: 4px 4px 4px 4px;
 
    -khtml-border-radius: 4px 4px 4px 4px;
 
    border-radius: 4px 4px 4px 4px;
 
}
 
*/
 

	
 
#header #header-inner #quick li span.short {
 
    padding: 9px 6px 8px 6px;
 
}
 

	
 
#header #header-inner #quick li span {
 
    /*top: 0;
 
    right: 0;
 
    height: 1%;*/
 
    display: inline;
 
    /*float: left;*/
 
    /*border-left: 1px solid #3f6f9f;*/
 
    margin: 0;
 
    /*padding: 10px 12px 8px 10px;*/
 
}
 

	
 
#header #header-inner #quick li span.normal {
 
@@ -469,25 +439,6 @@ div:hover > a.permalink {
 
    margin-bottom: 2px;
 
}
 

	
 
/*#header #header-inner #quick > li.current > a,
 
#header #header-inner #quick > li > a:hover*/ {
 
    background-color: #4e4e4e;
 
}
 
/*
 
#header #header-inner #quick li.current a span,
 
#header #header-inner #quick li a:hover span {
 
    border-left: 1px solid #545454;
 
}
 
*/
 
/*
 
#header #header-inner #quick li.current a span.icon,
 
#header #header-inner #quick li.current a span.icon_short,
 
#header #header-inner #quick li a:hover span.icon,
 
#header #header-inner #quick li a:hover span.icon_short {
 
    border-left: none;
 
    border-right: 1px solid #464646;
 
}
 
*/
 
#header #header-inner #quick ul.repo_switcher {
 
    max-height: 275px;
 
    overflow-x: hidden;
 
@@ -955,7 +906,6 @@ tbody .yui-dt-editable { cursor: pointer
 

	
 
#content div.box {
 
    clear: both;
 
/*    overflow: hidden;*/
 
    background: #fff;
 
    margin: 0 0 10px;
 
    padding: 0 0 10px;
 
@@ -1726,8 +1676,6 @@ div.form div.fields div.field div.button
 
}
 

	
 
#content div.box #summary {
 
    /*float: left;*/
 
    /*width: 80%;*/
 
    margin-right: 200px;
 
}
 

	
 
@@ -1768,7 +1716,6 @@ div.form div.fields div.field div.button
 

	
 
#summary-menu-stats a {
 
    display: block;
 
    /*color: #000000;*/
 
    padding: 12px 30px;
 
    background-repeat: no-repeat;
 
    background-position: 10px 50%;
 
@@ -2590,11 +2537,6 @@ h3.files_location {
 
    position: relative;
 
}
 

	
 
/*
 
#graph_content .container .column3 {
 
    width: 12%
 
}
 
*/
 
#graph_content .container .mid {
 
    padding: 0;
 
}
 
@@ -2647,7 +2589,6 @@ h3.files_location {
 
}
 

	
 
#graph_content .comments-container {
 
    /*width: 40px;*/
 
    margin: 0.8em 0;
 
    margin-right: 0.5em;
 
}
 
@@ -2696,16 +2637,6 @@ h3.files_location {
 
    text-decoration: none;
 
}
 

	
 
/*
 
 * Stuff we might want to remove from the changelog, or reposition in a tooltip
 
 */
 
#graph_content .container .changeset_id,
 
#graph_content .container .changes,
 
#graph_content .container .changed_total,
 
#graph_content .container .parent {
 
    display: none;
 
}
 

	
 
.revision-link {
 
    color:#3F6F9F;
 
    font-weight: bold !important;
 
@@ -2810,7 +2741,6 @@ h3.files_location {
 
    clear:both;
 
}
 
.right .logtags {
 
    /*padding: 2px 2px 2px 2px;*/
 
    line-height: 2.2em;
 
}
 
.branchtag, .logtags .tagtag, .logtags .booktag {
 
@@ -2848,9 +2778,7 @@ h3.files_location {
 
.logtags .tagtag,
 
.right .merge {
 
    float: right;
 
    /*height: 1em;*/
 
    line-height: 1em;
 
    /*padding: 0px 0px !important;*/
 
    margin: 1px 1px !important;
 
    display: block;
 
}
 
@@ -3572,7 +3500,6 @@ div.gravatar img {
 

	
 
#content {
 
    clear: both;
 
    /*overflow: hidden;*/
 
    padding: 10px 10px 14px 10px;
 
}
 

	
 
@@ -3720,7 +3647,6 @@ ins, div.options a:hover {
 

	
 
img,
 
#header #header-inner #quick li a:hover span.normal,
 
/*#header #header-inner #quick li ul li.last,*/
 
#content div.box div.form div.fields div.field div.textarea table td table td a,
 
#clone_url,
 
#clone_url_id
 
@@ -3857,7 +3783,6 @@ div.form div.fields div.field div.button
 
#content div.box div.form div.fields div.buttons input
 
div.form div.fields div.buttons input,
 
#content div.box div.action div.button input {
 
    /*color: #000;*/
 
    font-size: 11px;
 
    font-weight: 700;
 
    margin: 0;
 
@@ -4451,21 +4376,6 @@ div.comment-inline-form {
 
    padding:4px 0px 6px 0px;
 
}
 

	
 

	
 
tr.hl-comment {
 
/*
 
    background-color: #FFFFCC !important;
 
*/
 
}
 

	
 
/*
 
tr.hl-comment pre {
 
    border-top: 2px solid #FFEE33;
 
    border-left: 2px solid #FFEE33;
 
    border-right: 2px solid #FFEE33;
 
}
 
*/
 

	
 
.comment-inline-form strong {
 
    display: block;
 
    margin-bottom: 15px;
 
@@ -4571,17 +4481,11 @@ form.comment-inline-form {
 
    float: left;
 
}
 

	
 
.menu_link_user {
 
    /*padding: 10px 8px 8px 8px !important;*/
 
}
 

	
 
#context-pages .pull-request span,
 
.menu_link_notifications {
 
    padding: 4px 4px !important;
 
    /*margin: 7px 4px 0px 0px !important;*/
 
    text-align: center;
 
    color:#888 !important;
 
    /*font-size: 10px;*/
 
    background-color: #DEDEDE !important;
 
    border-radius: 4px !important;
 
    -webkit-border-radius: 4px !important;
rhodecode/templates/changelog/changelog.html
Show inline comments
 
@@ -64,7 +64,6 @@ ${self.context_bar('changelog')}
 
                        </td>
 
                        <td class="hash">
 
                            <a href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id)}">
 
                                <span class="changeset_id">${cs.revision} :</span>
 
                                <span class="changeset_hash">${h.short_id(cs.raw_id)}</span>
 
                            </a>
 
                        </td>
 
@@ -101,105 +100,9 @@ ${self.context_bar('changelog')}
 
                                            ${h.link_to(h.shorter(cs.branch),h.url('changelog_home',repo_name=c.repo_name,branch=cs.branch))}
 
                                        </div>
 
                                    %endif
 
                                   
 
                                    <%doc>
 
                                    %if (h.is_hg(c.rhodecode_repo) and cs.bookmarks) or cs.tags:
 
                                        <div class="tagcontainer">
 
                                            %if h.is_hg(c.rhodecode_repo):
 
                                                <ul class="logtags">
 
                                                    ##%if len(cs.parents)>1:
 
                                                    ##    <span class="merge">${_('merge')}</span>
 
                                                    ##%endif
 
                                                    
 
                                                   
 
                                                    %for book in cs.bookmarks:
 
                                                        <li class="bookbook" title="${'%s %s' % (_('bookmark'),book)}">
 
                                                            ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
 
                                                        </li>
 
                                                    %endfor
 
                                                   
 
                                                </ul>
 
                                            %endif
 
                                            <ul class="logtags tags">
 
                                                %for tag in cs.tags:
 
                                                    <li class="tagtag"  title="${'%s %s' % (_('tag'),tag)}">
 
                                                        ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
 
                                                    </li>
 
                                                %endfor
 
                                            </ul>
 
                                        </div>
 
                                    %endif
 
                                    </%doc>
 
                                </div>
 
                            </div>
 
                        </td>
 
                       <%doc>
 
                        <td class="right">
 
                            <div class="changes">
 
                                <div id="changed_total_${cs.raw_id}" style="float:right;" class="changed_total tooltip" title="${h.tooltip(_('Affected number of files, click to show more details'))}">
 
                                    ${len(cs.affected_files)}
 
                                </div>
 
                                
 
                                <div class="changeset-status-container">
 
                                    %if c.statuses.get(cs.raw_id):
 
                                        <div title="${_('Changeset status')}" class="changeset-status-lbl">${c.statuses.get(cs.raw_id)[1]}</div>
 
                                        <div class="changeset-status-ico">
 
                                        %if c.statuses.get(cs.raw_id)[2]:
 
                                            <a class="tooltip" title="${_('Click to open associated pull request #%s' % c.statuses.get(cs.raw_id)[2])}" href="${h.url('pullrequest_show',repo_name=c.statuses.get(cs.raw_id)[3],pull_request_id=c.statuses.get(cs.raw_id)[2])}"><img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses.get(cs.raw_id)[0])}" /></a>
 
                                        %else:
 
                                            <img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses.get(cs.raw_id)[0])}" />
 
                                        %endif
 
                                      </div>
 
                                    %endif
 
                                </div>
 
                            </div>
 
                            %if cs.parents:
 
                                %for p_cs in reversed(cs.parents):
 
                                    <div class="parent">${_('Parent')}
 
                                        <span class="changeset_id">${p_cs.revision}:<span class="changeset_hash">${h.link_to(h.short_id(p_cs.raw_id),
 
                                    h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)}</span></span>
 
                                    </div>
 
                                %endfor
 
                            %else:
 
                                <div class="parent">${_('No parents')}</div>
 
                            %endif
 
                            %if len(c.comments.get(cs.raw_id,[])) > 0:
 
                                <div class="comments-container">
 
                                    <div class="comments-cnt" title="${('comments')}">
 
                                        <a href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id,anchor='comment-%s' % c.comments[cs.raw_id][0].comment_id)}">
 
                                            ${len(c.comments[cs.raw_id])}
 
                                        </a>
 
                                    </div>
 
                                </div>
 
                            %endif
 
                            %if (h.is_hg(c.rhodecode_repo) and cs.bookmarks) or cs.tags:
 
                                <div class="tagcontainer">
 
                                    %if h.is_hg(c.rhodecode_repo):
 
                                        <ul class="logtags">
 
                                            ##%if len(cs.parents)>1:
 
                                            ##    <span class="merge">${_('merge')}</span>
 
                                            ##%endif
 
                                            
 
                                           
 
                                            %for book in cs.bookmarks:
 
                                                <li class="bookbook" title="${'%s %s' % (_('bookmark'),book)}">
 
                                                    ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
 
                                                </li>
 
                                            %endfor
 
                                           
 
                                        </ul>
 
                                    %endif
 
                                    <ul class="logtags tags">
 
                                        %for tag in cs.tags:
 
                                            <li class="tagtag"  title="${'%s %s' % (_('tag'),tag)}">
 
                                                ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
 
                                            </li>
 
                                        %endfor
 
                                    </ul>
 
                                </div>
 
                            %endif
 
                        </td>
 
                        </%doc>
 
                    </tr>
 
                %endfor
 
                </tbody>
 
@@ -302,14 +205,6 @@ ${self.context_bar('changelog')}
 

	
 
                });
 

	
 
                // Fetch changeset details
 
                YUE.on(YUD.getElementsByClassName('changed_total'),'click',function(e){
 
                    var id = e.currentTarget.id;
 
                    var url = "${h.url('changelog_details',repo_name=c.repo_name,cs='__CS__')}";
 
                    var url = url.replace('__CS__',id.replace('changed_total_',''));
 
                    ypjax(url,id,function(){tooltip_activate()});
 
                });
 

	
 
                // change branch filter
 
                YUE.on(YUD.get('branch_filter'),'change',function(e){
 
                    var selected_branch = e.currentTarget.options[e.currentTarget.selectedIndex].value;
0 comments (0 inline, 0 general)