Not logged in
Check-in [6d1df717e3]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:fixed(?) favicon loading. Trying to fix daemon mode.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:6d1df717e3a23789595df99fe931eb5569bbb689
User & Date: petr 2010-11-11 21:44:34
Context
2010-11-12
14:40
Converting html generation from strings to et. check-in: deb87d550f user: petr tags: trunk
2010-11-11
21:44
fixed(?) favicon loading. Trying to fix daemon mode. check-in: 6d1df717e3 user: petr tags: trunk
16:22
Added TODO check-in: 32e789e18a user: petr tags: trunk
Changes

Changes to templates/global.tpl.

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
    <head>
        <title>Nortel 1535 Management Interface - $title</title>
        <link rel="stylesheet" type="text/css" href="/static/reset-min.css">
        <link rel="stylesheet" type="text/css" href="/static/base-min.css">
        <link rel="stylesheet" type="text/css" href="/static/fonts-min.css">
        <link rel="stylesheet" type="text/css" href="/static/grids-min.css">
        <link rel="stylesheet" type="text/css" href="/static/general.css">
        <link rel="shortcut icon" href="favicon.ico">
    </head>
    <body>
        <div class="yui3-g" id="main">
            <div class="yui3-u-1">
                <div class="yui3-g" id="header">
                    <div class="yui3-u-1">
                        <h1>Nortel 1535 Management Interface - $title</h1>







|







3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
    <head>
        <title>Nortel 1535 Management Interface - $title</title>
        <link rel="stylesheet" type="text/css" href="/static/reset-min.css">
        <link rel="stylesheet" type="text/css" href="/static/base-min.css">
        <link rel="stylesheet" type="text/css" href="/static/fonts-min.css">
        <link rel="stylesheet" type="text/css" href="/static/grids-min.css">
        <link rel="stylesheet" type="text/css" href="/static/general.css">
        <link rel="shortcut icon" href="/favicon.ico">
    </head>
    <body>
        <div class="yui3-g" id="main">
            <div class="yui3-u-1">
                <div class="yui3-g" id="header">
                    <div class="yui3-u-1">
                        <h1>Nortel 1535 Management Interface - $title</h1>

Changes to web.py.

237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
    if (not options.debug) and (len(args) != 1):
        print "Incorrect number of arguments.\n"
        print parser.print_help()
        sys.exit(2)
    elif options.debug:
        runmain(options)
    else:
        daemon = NortelDaemon("web.pid")
        if args[0] == "start":
            daemon.start()
        elif args[0] == "stop":
            daemon.stop()
        elif args[0] == "restart":
            daemon.restart()
        else:
            print "Unknown command.\n"
            print parser.print_help()
            sys.exit(2)








|











237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
    if (not options.debug) and (len(args) != 1):
        print "Incorrect number of arguments.\n"
        print parser.print_help()
        sys.exit(2)
    elif options.debug:
        runmain(options)
    else:
        daemon = NortelDaemon("/tmp/web.pid")
        if args[0] == "start":
            daemon.start()
        elif args[0] == "stop":
            daemon.stop()
        elif args[0] == "restart":
            daemon.restart()
        else:
            print "Unknown command.\n"
            print parser.print_help()
            sys.exit(2)