Changeset 1338 for trunk


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

Menu and CSS fixes

Location:
trunk/LATMOS-Accounts-Web/root
Files:
3 deleted
6 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"> 
  • trunk/LATMOS-Accounts-Web/root/static/js/jquery/jquery-ui.css

    r1329 r1338  
    911911.ui-state-active a:link, 
    912912.ui-state-active a:visited { 
    913         color: #ffffff; 
     913        //color: #ffffff; 
    914914        text-decoration: none; 
    915915} 
  • trunk/LATMOS-Accounts-Web/root/static/struct.css

    r1211 r1338  
    1515    width: 78%; 
    1616    padding: 0em; 
    17     float: right; 
     17    float: left; 
    1818} 
    1919 
  • trunk/LATMOS-Accounts-Web/root/static/style.css

    r1329 r1338  
    106106    margin-top:    0.2em; 
    107107    margin-bottom: 0.2em; 
    108 } 
    109  
    110 #sidebar { 
    111     border: solid; 
    112     border-color: #437ba1; 
    113 } 
    114 #sidebar ul { 
    115     list-style-type: none; 
    116     padding-top: 0.2em; 
    117     padding-left: 0em; 
    118 } 
    119 #sidebar li { 
    120     font-size: 0.8em; 
    121 } 
    122 #sidebar a:hover { 
    123     background-color: #7DB4D8; 
    124108} 
    125109 
Note: See TracChangeset for help on using the changeset viewer.