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

« back to all changes in this revision

Viewing changes to ivle/dispatch/html.py

setup: Removed 'config' mode. It's now standalone.
setup.configure: Renamed to setup/ivle-config.
    Made executable and standalone Python script (with a Main function).

You now run ./setup/ivle-config as a standalone script, not 'setup.py config'.
This will eventually get moved out but can't right now due to having to
generate the Trampoline conf.h file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
        req.write("""  <link rel="shortcut icon" href="%s" />
70
70
""" % cgi.escape(iconurl))
71
71
    req.write("""  <link rel="stylesheet" type="text/css" href="%s" />
72
 
""" % cgi.escape(util.make_path('media/common/ivle.css')))
 
72
""" % cgi.escape(util.make_path('+media/ivle.webapp.core/ivle.css')))
73
73
 
74
74
    # Write any app-specific style and script links
75
75
    for style in req.styles:
106
106
            '    <a href="%s">Sign out</a>\n'
107
107
            '  </p>\n' %
108
108
            (cgi.escape(nickname), cgi.escape(req.user.login),
109
 
             cgi.escape(util.make_path('settings')),
 
109
             cgi.escape(util.make_path(
 
110
                        os.path.join('~' + req.user.login, '+settings'))),
110
111
             cgi.escape(get_help_url(req)),
111
112
             cgi.escape(util.make_path('logout'))))
112
113
    else: