Changeset 427


Ignore:
Timestamp:
10/07/10 02:29:01 (14 years ago)
Author:
misc
Message:
  • move the date/time to the bottom of the page, so the upper corner is

free to place something else

Location:
trunk/root
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/root/static/vote.css

    r262 r427  
    7878/* The ID used in epoll */ 
    7979 
    80 #now { 
    81     font-size: 0.8em; 
    82     padding: 0.4em; 
    83     top: 1em; 
    84     right: 2em; 
    85     position: absolute; 
    86 } 
    87  
    8880#header { 
    8981    background-color:#CCFF99; 
     
    10193 
    10294#footer { 
    103     padding-top: 1em; 
    104     margin-top: 1em; 
     95    bottom: 0em; 
     96    margin-top: 2em; 
     97    width: 100%; 
     98    float: left; 
     99    position: relative; 
     100} 
     101 
     102#now { 
     103    font-size: 0.8em; 
     104    float: left; 
     105    text-align: left; 
     106    position: absolute; 
     107    bottom: 0em; 
     108} 
     109 
     110#catalyst_logo { 
     111    bottom: 1em; 
     112    right: 1em; 
    105113    text-align: right; 
     114    float: right; 
    106115} 
    107116 
  • trunk/root/templates/includes/footer.tt

    r344 r427  
    11<!-- $Id$ --> 
    2 <div id="footer" style="clear: both"> 
     2<div id="footer"> 
     3<div id="now">[% l('Page generated the [_1]', c.model('Vote').dbtime) | html %]</div> 
     4<div id="catalyst_logo"> 
    35<a href="http://forge.ipsl.jussieu.fr/epoll"> Epoll [% Vote.VERSION | html %]</a> 
    46<a href="http://www.catalystframework.org/"><img alt="Powered by Catalyst" src="[% c.uri_for('/static', 'images', 'btn_88x31_powered_shadow.png') %]"></a> 
    57</div> 
     8</div> 
    69</body> 
    710</html> 
  • trunk/root/templates/includes/header.tt

    r422 r427  
    2222<div id="header"> 
    2323    <p id="title"><b>Epoll:</b> [% l('Web voting system') %]</p> 
    24     <p id="now" style="float: right">[% l('Page generated the [_1]', c.model('Vote').dbtime) | html %]</p> 
    2524        <form style="float: right" action="[% c.uri_for('/', c.req.path) %]" method="POST"> 
    2625        [% INCLUDE 'includes/locale_select.tt' %] 
Note: See TracChangeset for help on using the changeset viewer.