Changeset 452

Show
Ignore:
Timestamp:
11/14/08 17:17:10 (2 months ago)
Author:
nicolas
Message:

Amélioration page d'accueil

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/apps/intranet/modules/homepage/templates/indexSuccess.php

    r451 r452  
     1<div style="float:left; margin-right:50px;"> 
     2<h2 style="margin-top:0px;"><?php echo image_tag('tpl_02/icones/stats_56.gif') ?> actualités</h2> 
     3</div> 
     4 
    15<?php if(count($users)>1): ?> 
     6<div style="float:left; margin-top:30px;"> 
    27<strong><?php echo ucfirst(__('show information')) ?> :</strong>  
    38<?php echo select_tag('user_show_id',  
    49                      options_for_select($users, $user_show_id),  
    510                      array('onchange' => "window.location.href='".url_for('@homepage')."?user_show_id=' + this.value")) ?> 
    6 <hr /> 
     11 
     12</div> 
    713<?php endif; ?> 
    814 
    9 <h2><?php echo image_tag('tpl_02/icones/stats_56.gif') ?> actualités</h2
     15<hr class="clear" /
    1016<table class="homepage_table"> 
    1117<thead> 
     
    271277<h3>Rendez-vous à venir</h3> 
    272278<?php if(count($calendars)>0): ?> 
    273 <table class="list"> 
    274 <tr> 
    275   <th>&nbsp;</th> 
     279<table class="list homepage_table"> 
     280<tr> 
     281  <th width="40">&nbsp;</th> 
     282  <th width="260">Date</th> 
    276283  <th>Objet</th> 
    277   <th>Date début</th> 
    278   <th>Date fin</th> 
    279284  <th>Lieu</th> 
    280285  <th>Description</th> 
     
    284289<tr> 
    285290  <td><?php echo link_to(image_tag('tpl_02/button/view_inline_little.png'), 'calendar/edit?id='.$calendar->getId()) ?></td> 
     291  <td><?php echo ucfirst(substr(format_datetime($calendar->getDateStart(), 'dddd'), 0, 4)) ?>. <?php echo format_datetime($calendar->getDateStart(), 'dd MMMM HH:mm') ?> - <?php echo format_datetime($calendar->getDateEnd(), 'HH:mm') ?></td> 
    286292  <td><?php echo $calendar->getCalendar_group() ?></td> 
    287   <td><?php echo format_datetime($calendar->getDateStart(), 'dd/MM/yy HH:mm') ?></td> 
    288   <td><?php echo format_datetime($calendar->getDateEnd(), 'dd/MM/yy HH:mm') ?></td> 
    289293  <td><?php echo $calendar->getLocation() ?></td> 
    290294  <td><?php echo $calendar->getDescription() ?></td> 
  • trunk/web/css/tpl_02.css

    r437 r452  
    158158#pictures_thumb                         { } 
    159159#pictures_thumb img                     { float:left; padding:1px; margin-right:10px; margin-bottom:10px; border:1px solid #DDD; width:100px; height:75px; } 
     160 
     161/* HOMEPAGE */ 
     162.homepage_table th, 
     163.homepage_table td                      { height:20px; font-size:14px; font-weight:bold; } 
     164.homepage_table td                      { color:#666; } 
     165.homepage_table td a                    { color:#83b817; text-decoration:none; } 
     166.homepage_table td a:hover              { text-decoration:underline; } 
     167.homepage_table .highlight a            { color:#db001b; }