~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/security/__init__.py

  • Committer: William Grant
  • Date: 2009-12-08 03:50:24 UTC
  • mfrom: (1294.2.143 ui-the-third)
  • Revision ID: grantw@unimelb.edu.au-20091208035024-wjx8zp54gth15ph8
Merge ui-the-third. This is another UI revamp.

The header is now thin! Thin! The yellow bar is gone. The tabs are gone.
Breadcrumbs are here. Routes is replaced (with an object publishing
mechanism). Views are less repetitive. etc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import ivle.database
21
21
from ivle.webapp.base.plugins import ViewPlugin
22
22
from ivle.webapp.security.views import LoginView, LogoutView
 
23
from ivle.webapp import ApplicationRoot
23
24
 
24
25
def get_user_details(req):
25
26
    """Gets the name of the logged in user, without presenting a login box
43
44
    """
44
45
    The Plugin class for the security plugin.
45
46
    """
46
 
    urls = [
47
 
        ('+login', LoginView),
48
 
        ('+logout', LogoutView),
49
 
    ]
 
47
    views = [(ApplicationRoot, '+login', LoginView),
 
48
             (ApplicationRoot, '+logout', LogoutView),
 
49
             ]