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

« back to all changes in this revision

Viewing changes to www/conf/apps.py

  • Committer: mattgiuca
  • Date: 2008-01-12 12:02:45 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:193
Apps: Added stubs for the 3 new apps, Editor, Console and Tutorial.
All of these apps currently just print stub messages, and so do their help
pages.
Note: Editor will eventually be integrated with file browser.
conf.apps: Added the 3 new apps to the tabs and apps list. Removed "dummy"
    from the apps lists (but did not delete its source).

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
# Application definitions
20
20
 
21
 
app_dummy =     App(dir = "dummy",
22
 
                    name = "My Dummy App",
23
 
                    requireauth = True,
24
 
                    hashelp = True)
25
 
 
26
21
app_browser =   App(dir = "browser",
27
22
                    name = "File Browser",
28
23
                    requireauth = True,
29
24
                    hashelp = True)
30
25
 
 
26
app_editor =   App(dir = "editor",
 
27
                    name = "Text Editor",
 
28
                    requireauth = True,
 
29
                    hashelp = True)
 
30
 
31
31
app_fileservice = App(dir = "fileservice",
32
32
                    name = "File Service (AJAX server)",
33
33
                    requireauth = True,
34
34
                    hashelp = False)
35
35
 
 
36
app_console =     App(dir = "console",
 
37
                    name = "Console",
 
38
                    requireauth = True,
 
39
                    hashelp = True)
 
40
 
 
41
app_tutorial =     App(dir = "tutorial",
 
42
                    name = "Tutorial",
 
43
                    requireauth = True,
 
44
                    hashelp = True)
 
45
 
36
46
app_server =    App(dir = "server",
37
47
                    name = "Server",
38
48
                    requireauth = False,
56
66
# Mapping URL names to apps
57
67
 
58
68
app_url = {
59
 
    "dummy" : app_dummy,
60
69
    "files" : app_browser,
 
70
    "edit" : app_editor,
61
71
    "fileservice" : app_fileservice,
 
72
    "console" : app_console,
 
73
    "tutorial" : app_tutorial,
62
74
    "serve" : app_server,
63
75
    "download" : app_download,
64
76
    "help" : app_help,
69
81
# (The others are hidden unless they are linked to)
70
82
# Note: The values in this list are the URL names as seen in app_url.
71
83
 
72
 
apps_in_tabs = ["dummy", "files", "help"]
 
84
apps_in_tabs = ["files", "edit", "console", "tutorial", "help"]