Changeset - 713315371e03
[Not reviewed]
beta
0 3 0
Marcin Kuzminski - 14 years ago 2011-11-04 20:27:53
marcin@python-works.com
added quick filters into branches and tags
3 files changed with 26 insertions and 11 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/css/style.css
Show inline comments
 
@@ -3009,15 +3009,12 @@ div#legend_container table td,div#legend
 
	-webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset;
 
	-webkit-border-radius: 4px;
 
	-moz-border-radius: 4px;
 
	border-radius: 4px;	
 
}
 
 
#q_filter {
 
	border: 0 none;
 
	color: #AAAAAA;
 
	margin-bottom: -4px;
 
	margin-top: -4px;
 
	padding-left: 3px;
 
	border-radius: 4px;
 
    border: 0 none;
 
    color: #AAAAAA;
 
    margin-bottom: -4px;
 
    margin-top: -4px;
 
    padding-left: 3px;		
 
}
 
 
#node_filter {
rhodecode/templates/branches/branches.html
Show inline comments
 
@@ -6,6 +6,7 @@
 
</%def>
 

	
 
<%def name="breadcrumbs_links()">
 
    <input class="q_filter_box" id="q_filter_branches" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
 
    ${h.link_to(u'Home',h.url('/'))}
 
    &raquo; 
 
    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
 
@@ -27,5 +28,13 @@
 
    <div class="table">
 
        <%include file='branches_data.html'/>
 
    </div>
 
</div>    
 
</div>
 
<script type="text/javascript">
 
var nodes = YUQ('div.table tr td .logtags .branchtag a');
 
var target = 'q_filter_branches';
 
var func = function(node){
 
    return node.parentNode.parentNode.parentNode.parentNode;
 
}
 
q_filter(target,nodes,func);
 
</script>
 
</%def>     
 
\ No newline at end of file
rhodecode/templates/tags/tags.html
Show inline comments
 
@@ -7,6 +7,7 @@
 

	
 

	
 
<%def name="breadcrumbs_links()">
 
    <input class="q_filter_box" id="q_filter_tags" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
 
    ${h.link_to(u'Home',h.url('/'))}
 
    &raquo; 
 
    ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
 
@@ -27,5 +28,13 @@
 
    <div class="table">
 
        <%include file='tags_data.html'/>
 
    </div>
 
</div>    
 
</div>
 
<script type="text/javascript">
 
var nodes = YUQ('div.table tr td .logtags .tagtag a');
 
var target = 'q_filter_tags';
 
var func = function(node){
 
    return node.parentNode.parentNode.parentNode.parentNode;
 
}
 
q_filter(target,nodes,func);
 
</script>
 
</%def> 
 
\ No newline at end of file
0 comments (0 inline, 0 general)