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

« back to all changes in this revision

Viewing changes to www/dispatch/html.py

  • Committer: mattgiuca
  • Date: 2008-02-03 01:43:50 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:379
Updated doc/dependencies.txt to reflect new Postgres dependencies and a notice
about Ubuntu vs other unices.
(Essentially this is an "official recommendation" to use Ubuntu with a note
about what would be required to get it working on other Unices).

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
        req.write('  <link rel="stylesheet" type="text/css" href="%s" />\n'
74
74
            % cgi.escape(util.make_path(style)))
75
75
    for script in req.scripts:
76
 
        req.write('  <script type="text/javascript" src="%s"></script>\n'
 
76
        req.write('  <script type="text/javascript" src="%s" />\n'
77
77
            % cgi.escape(util.make_path(script)))
78
78
 
79
79
    req.write("</head>\n\n")
100
100
    else:
101
101
        req.write('  <p class="userhello">Not logged in.</p>')
102
102
 
103
 
    # ivleheader_tabs is a separate div, so it can be positioned absolutely
104
 
    req.write('</div>\n<div id="ivleheader_tabs">\n')
105
 
 
106
103
    # If the "debuginfo" app is installed, display a warning to the admin to
107
104
    # make sure it is removed in production.
108
105
    if "debuginfo" in conf.apps.app_url:
109
106
        req.write("  <p><small>Warning: debuginfo is enabled. Remove this "
110
107
            "app from conf.apps.app_url when placed into production."
111
108
            "</small></p>\n")
 
109
    # ivleheader_tabs is a separate div, so it can be positioned absolutely
 
110
    req.write('</div>\n<div id="ivleheader_tabs">\n')
112
111
 
113
112
    if req.username:
114
113
        # Only print app tabs if logged in