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

« back to all changes in this revision

Viewing changes to lib/conf/apps.py

  • Committer: chadnickbok
  • Date: 2009-01-13 03:13:59 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1104
Created a new app, logout, which when given a GET
request opens a new page, with a button asking for
confirmation to logout.

When given a POST request, logs the user out.

Fixes issue #65

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
                    icon = "home.png",
163
163
                    requireauth = True,
164
164
                    hashelp = False)
165
 
 
 
165
                    
 
166
app_logout = App(dir = "logout",
 
167
                    name = "Logout",
 
168
                    requireauth = True,
 
169
                    hashelp = False)
166
170
# Mapping URL names to apps
167
171
 
168
172
app_url = {
184
188
    "svnlog" : app_svnlog,
185
189
    "subjects" : app_subjects,
186
190
    "home" : app_home,
 
191
    "logout" : app_logout,
187
192
}
188
193
if enable_debuginfo:
189
194
    app_url["debuginfo"] = app_debuginfo