##// END OF EJS Templates
added quick filters into branches and tags
marcink -
r1654:71331537 beta
parent child Browse files
Show More
@@ -3009,15 +3009,12 b' div#legend_container table td,div#legend'
3009 -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset;
3009 -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset;
3010 -webkit-border-radius: 4px;
3010 -webkit-border-radius: 4px;
3011 -moz-border-radius: 4px;
3011 -moz-border-radius: 4px;
3012 border-radius: 4px;
3012 border-radius: 4px;
3013 }
3013 border: 0 none;
3014
3014 color: #AAAAAA;
3015 #q_filter {
3015 margin-bottom: -4px;
3016 border: 0 none;
3016 margin-top: -4px;
3017 color: #AAAAAA;
3017 padding-left: 3px;
3018 margin-bottom: -4px;
3019 margin-top: -4px;
3020 padding-left: 3px;
3021 }
3018 }
3022
3019
3023 #node_filter {
3020 #node_filter {
@@ -6,6 +6,7 b''
6 </%def>
6 </%def>
7
7
8 <%def name="breadcrumbs_links()">
8 <%def name="breadcrumbs_links()">
9 <input class="q_filter_box" id="q_filter_branches" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
9 ${h.link_to(u'Home',h.url('/'))}
10 ${h.link_to(u'Home',h.url('/'))}
10 &raquo;
11 &raquo;
11 ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
12 ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
@@ -27,5 +28,13 b''
27 <div class="table">
28 <div class="table">
28 <%include file='branches_data.html'/>
29 <%include file='branches_data.html'/>
29 </div>
30 </div>
30 </div>
31 </div>
32 <script type="text/javascript">
33 var nodes = YUQ('div.table tr td .logtags .branchtag a');
34 var target = 'q_filter_branches';
35 var func = function(node){
36 return node.parentNode.parentNode.parentNode.parentNode;
37 }
38 q_filter(target,nodes,func);
39 </script>
31 </%def> No newline at end of file
40 </%def>
@@ -7,6 +7,7 b''
7
7
8
8
9 <%def name="breadcrumbs_links()">
9 <%def name="breadcrumbs_links()">
10 <input class="q_filter_box" id="q_filter_tags" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
10 ${h.link_to(u'Home',h.url('/'))}
11 ${h.link_to(u'Home',h.url('/'))}
11 &raquo;
12 &raquo;
12 ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
13 ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
@@ -27,5 +28,13 b''
27 <div class="table">
28 <div class="table">
28 <%include file='tags_data.html'/>
29 <%include file='tags_data.html'/>
29 </div>
30 </div>
30 </div>
31 </div>
32 <script type="text/javascript">
33 var nodes = YUQ('div.table tr td .logtags .tagtag a');
34 var target = 'q_filter_tags';
35 var func = function(node){
36 return node.parentNode.parentNode.parentNode.parentNode;
37 }
38 q_filter(target,nodes,func);
39 </script>
31 </%def> No newline at end of file
40 </%def>
General Comments 0
You need to be logged in to leave comments. Login now