Changeset 580

Show
Ignore:
Timestamp:
04/26/05 14:33:25 (8 years ago)
Author:
fproulx
Message:

2005-04-26 Fran�ois Proulx <francois.proulx@…>

  • stylesheet rework
Location:
trunk/wifidog-auth
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/ChangeLog

    r579 r580  
     12005-04-26 François Proulx <francois.proulx@gmail.com> 
     2        * stylesheet rework 
    132005-04-26 François Proulx <francois.proulx@gmail.com> 
    24        * Fixed wrong location for change password link 
  • trunk/wifidog-auth/wifidog/classes/Content.php

    r578 r580  
    412412                } 
    413413 
     414        $html .= "<table><tr>\n"; 
    414415        if (!empty ($this->content_row['description'])) 
    415416        { 
     417            $html .= "<td>\n"; 
    416418            $html .= "<div class='user_ui_description'>\n"; 
    417419            $title = self :: getObject($this->content_row['description']); 
    418420            $html .= $title->getUserUI(); 
    419421            $html .= "</div>\n"; 
     422            $html .= "</td>\n"; 
    420423        } 
    421424         
    422         $html .= $subclass_user_interface; 
     425        $html .= "<td>\n$subclass_user_interface</td>\n"; 
     426        $html .= "</tr></table>\n"; 
    423427                 
    424428        if(!empty ($this->content_row['project_info']) || !empty ($this->content_row['sponsor_info'])) 
    425         { 
    426             $html .= "<div class='user_ui_footer'>"; 
     429        {  
     430            $html .= "<table class='user_ui_footer'><tr>\n"; 
    427431                if (!empty ($this->content_row['project_info'])) 
    428432                { 
    429                         $html .= "<div class='user_ui_projet_info'>\n"; 
     433                        $html .= "<td><div class='user_ui_projet_info'>\n"; 
    430434                        $html .= _("Project information:"); 
    431435                        $project_info = self :: getObject($this->content_row['project_info']); 
    432436                        $html .= $project_info->getUserUI(); 
    433                         $html .= "</div>\n"; 
     437                        $html .= "</div></td>\n"; 
    434438                } 
    435439                 
    436440                if (!empty ($this->content_row['sponsor_info'])) 
    437441                { 
    438                         $html .= "<div class='user_ui_sponsor_info'>\n"; 
     442                        $html .= "<td><div class='user_ui_sponsor_info'>\n"; 
    439443                                                $html .= _("Project sponsor:"); 
    440444                        $sponsor_info = self :: getObject($this->content_row['sponsor_info']); 
    441445                        $html .= $sponsor_info->getUserUI(); 
    442                         $html .= "</div>\n"; 
     446                        $html .= "</div></td>\n"; 
    443447                } 
    444             $html .= "</div>"; 
     448            $html .= "</tr></table>\n"; 
    445449        } 
    446450 
  • trunk/wifidog-auth/wifidog/classes/Content/FlickrPhotostream.php

    r578 r580  
    609609                                                        { 
    610610                                                                $html .= '<div class="flickr_title"><h3>'.$photo->getTitle().'</h3></div>'."\n"; 
    611                                                                 $size = $this->getPreferredSize(); 
    612                                                                 if (empty ($size)) 
    613                                                                         $size = null; 
    614                                                                 $html .= '<div class="flickr_photo"><a href="'.$photo->buildUrl().'"><img src="'.$photo->buildImgUrl($size).'"></a></div>'."\n"; 
    615611                                                        } 
    616612                                                } 
     613                                                $size = $this->getPreferredSize(); 
     614                                                if (empty ($size)) 
     615                                                        $size = null; 
     616                                                $html .= '<div class="flickr_photo"><a href="'.$photo->buildUrl().'"><img src="'.$photo->buildImgUrl($size).'"></a></div>'."\n"; 
     617 
    617618                                                if ($this->shouldDisplayTags()) 
    618619                                                { 
     
    638639                                                                $html .= '<div class="flickr_description">'.$description.'</div>'."\n"; 
    639640                                                } 
    640                         $author = new Phlickr_User($this->getFlickrApi(), $photo->getOwnerId()); 
    641                         $html .= '<div class="flickr_description"><a href="'.$author->buildUrl().'">'.$author->getName().'</a></div>'."\n"; 
     641 
     642                                                $author = new Phlickr_User($this->getFlickrApi(), $photo->getOwnerId()); 
     643                                                $html .= '<div class="flickr_description"><a href="'.$author->buildUrl().'">'.$author->getName().'</a></div>'."\n"; 
    642644                                                $html .= '</div>'."\n"; 
    643645                                        } 
  • trunk/wifidog-auth/wifidog/local_content/default/stylesheet.css

    r578 r580  
    214214} 
    215215.user_ui_title { 
    216         padding: 5px; 
    217         margin-bottom: 5px; 
    218         background-color: rgb(213, 219, 225); 
     216        font-size: medium; 
     217        font-weight: bold; 
     218        color: white; 
     219        padding: 5px; 
     220/*      background-color: rgb(213, 219, 225);*/ 
     221        background-color: #9d9d9d; 
    219222} 
    220223.user_ui_authors { 
    221224        padding: 5px; 
    222         margin-bottom: 5px; 
    223         background-color: rgb(213, 219, 225); 
     225        font-weight: bold; 
     226        background-color: rgb(235, 235, 235); 
    224227} 
    225228.user_ui_description { 
    226         float: left; 
    227         width: 33%; 
    228229        margin: 0; 
    229230        margin-right: 5px; 
    230231        padding: 5px; 
     232        text-align: justify; 
    231233        background-color: rgb(235, 235, 235); 
    232234} 
    233235.user_ui_footer { 
    234 /*      clear: both;*/ 
    235         padding: 5px; 
    236         margin-top: 5px; 
    237         background-color: rgb(213, 219, 225); 
     236        padding: 5px; 
     237        background-color: #9d9d9d; 
    238238} 
    239239.user_ui_picture { 
    240240        height: 250px; 
    241241} 
    242 .user_ui_projet_info {} 
    243 .user_ui_sponsor_info {} 
     242.user_ui_projet_info { 
     243        color: white; 
     244} 
     245.user_ui_sponsor_info { 
     246        color: white; 
     247} 
    244248 
    245249.list_ui_container {  
     
    284288} 
    285289.flickr_title { 
     290        color: white; 
    286291    visibility: hidden; 
    287292    width: 200px; 
    288293    background: #696969; 
     294} 
     295.flickr_title a { 
     296        color: white; 
    289297} 
    290298.flickr_title h3 {