##// END OF EJS Templates
fixed admin log tooltips
marcink -
r997:b79e720b beta
parent child Browse files
Show More
@@ -20,6 +20,15 b''
20 </div>
20 </div>
21 <!-- end box / title -->
21 <!-- end box / title -->
22 <div class="table">
22 <div class="table">
23 <script type="text/javascript">
24 function show_more_event(){
25 YUE.on(YUD.getElementsByClassName('show_more'),'click',function(e){
26 var el = e.target;
27 YUD.setStyle(YUD.get(el.id.substring(1)),'display','');
28 YUD.setStyle(el.parentNode,'display','none');
29 });
30 }
31 </script>
23 <div id="user_log">
32 <div id="user_log">
24 ${c.log_data}
33 ${c.log_data}
25 </div>
34 </div>
@@ -45,19 +45,19 b''
45 ${c.users_log.pager('$link_previous ~2~ $link_next',
45 ${c.users_log.pager('$link_previous ~2~ $link_next',
46 onclick="""YAHOO.util.Connect.asyncRequest('GET','$partial_url',{
46 onclick="""YAHOO.util.Connect.asyncRequest('GET','$partial_url',{
47 success:function(o){
47 success:function(o){
48 YUD.get(data_div).innerHTML=o.responseText;
48 YUD.get(data_div).innerHTML=o.responseText;
49 YUE.on(YUD.getElementsByClassName('pager_link'),"click",function(){
49 show_more_event();
50 YUD.setStyle(data_div,'opacity','0.3');
50 tooltip_activate();
51 });
51 YUE.on(YUD.getElementsByClassName('pager_link'),"click",function(){
52 YUE.on(YUD.getElementsByClassName('show_more'),'click',function(e){
52 YUD.setStyle(data_div,'opacity','0.3');
53 var el = e.target;
53 });
54 YUD.setStyle(YUD.get(el.id.substring(1)),'display','');
54 YUD.setStyle(data_div,'opacity','1');}
55 YUD.setStyle(el.parentNode,'display','none');
56 });
57 YUD.setStyle(data_div,'opacity','1');}
58
59 },null); return false;""")}
55 },null); return false;""")}
60 </div>
56 </div>
61 %else:
57 %else:
62 ${_('No actions yet')}
58 ${_('No actions yet')}
63 %endif
59 %endif
60
61 <script type="text/javascript">
62 show_more_event();
63 </script> No newline at end of file
@@ -47,4 +47,6 b" YAHOO.util.Dom.setStyle(data_div,'opacit"
47 ${_('No entries yet')}
47 ${_('No entries yet')}
48 %endif
48 %endif
49
49
50 <script type="text/javascript">show_more_event();</script> No newline at end of file
50 <script type="text/javascript">
51 show_more_event();
52 </script> No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now