Ignore:
Timestamp:
05/27/15 16:57:59 (9 years ago)
Author:
nanardon
Message:

Menu and CSS fixes

Location:
trunk/LATMOS-Accounts-Web/root/html/includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/root/html/includes/filter.tt

    r1081 r1338  
    77</form> 
    88 
    9 <span style="display:none" id="list_objects_ind">Searching...</span> 
    10 [% c.prototype.observe_field('q', { 
    11     url => c.uri_for('/ajax', 'list_objects', ofilter.otype), 
    12     with   => "'q='+value", 
    13     update => 'list_objects', 
    14     frequency => 1, 
    15     before => "document.getElementById('list_objects_ind').style.display='block';", 
    16     loaded => "document.getElementById('list_objects_ind').style.display='none';", 
    17 }) %] 
    189[% END %] 
  • trunk/LATMOS-Accounts-Web/root/html/includes/sidebar.tt

    r1334 r1338  
     1[% IF c.user.username %] 
    12<form action="[% c.uri_for('/search') %]"> 
    23<input name="q" value="[% c.req.param('q') | html %]"> 
    34<input type="image" name="" src="[% c.uri_for('/static', 'images', 'gtk-find.png') %]" height="16" width="16"> 
    45</form> 
    5 [% IF c.user.username %] 
    66<ul id="menu"> 
    77 
     
    1818    </ul> 
    1919</li> 
    20 [% END %] 
    2120 
    2221<li><a href="[% c.uri_for('/search', 'adv') %]">Recherche avancée</a></li> 
     
    5453}); 
    5554</script> 
     55[% END %] 
  • trunk/LATMOS-Accounts-Web/root/html/includes/wrapper.tt

    r1329 r1338  
    1212<link rel="stylesheet" href="[% c.uri_for('/static/js/jquery/jquery-ui.css') %]" type="text/css"> 
    1313 
     14[% IF page.error %] 
    1415<script type="text/javascript" language="JavaScript"> 
    15  
    16 function resetmenu() { 
    17     document.getElementById('menui').innerHTML = '[% page.title | html %]'; 
    18 } 
    19  
    20 [% IF page.error %] 
    2116window.onload = analert; 
    22  
    2317function analert () { 
    2418    alert('[% page.error | replace('\'', '\\\'') %]'); 
    2519} 
     20</script> 
    2621[% END %] 
    27 </script> 
    2822</head> 
    2923 
     
    4236</div><!-- #header --> 
    4337 
     38[% IF c.user.username %] 
    4439<div id="sidebar"> 
    4540    [% INCLUDE 'includes/sidebar.tt' %] 
    46     [% tpl = c.namespace _ '/side_menu.tt' %] 
    47     <!-- [% tpl | html %] -->  
    48     [% TRY %] 
    49     [% INCLUDE $tpl %] 
    50     [% CATCH %] 
    51     [% END %] 
    5241</div> 
     42[% END %] 
    5343 
    5444<div id="mainbox"> 
Note: See TracChangeset for help on using the changeset viewer.