Changeset 213


Ignore:
Timestamp:
12/29/10 04:19:14 (13 years ago)
Author:
nanardon
Message:
  • add login/logout to header
Location:
server/trunk/web
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/lib/Sophie/Controller/Login.pm

    r211 r213  
    4747} 
    4848 
     49sub invit_login : Local { 
     50    my ($self, $c) = @_; 
     51 
     52} 
     53 
     54sub logout :Local { 
     55    my ($self, $c) = @_; 
     56 
     57    $c->logout; 
     58} 
     59 
    4960sub create :Local { 
    5061    my ($self, $c) = @_; 
  • server/trunk/web/root/templates/includes/header.tt

    r195 r213  
    2222    <img src="[% c.uri_for('/static', 'sophie.png') -%]" alt="Sophie" style="float:left"> 
    2323    </a> 
     24    <span id="header_login" style="float: right"> 
     25        [% INCLUDE 'login/invit_login.tt' %] 
     26    </span> 
    2427    <div style="float:left; padding: 0.5em;"> 
    2528        <p id="sitename">Sophie</p> 
Note: See TracChangeset for help on using the changeset viewer.