import os, sys
-IRC_BASE = ["ircconnection", "irclib", "numerics", "baseircclient", "irctracker", "commandparser", "ircclient", "commandhistory"]
-UI_BASE = ["baseui", "baseuiwindow", "colour", "url", "theme", "genericlogin", "embedwizard", "hilightcontroller"]
+IRC_BASE = ["ircconnection", "irclib", "numerics", "baseircclient", "irctracker", "commandparser", "commands", "ircclient", "commandhistory"]
+UI_BASE = ["baseui", "baseuiwindow", "colour", "url", "theme", "hilightcontroller", "menuitems", "tabcompleter", "panes/connect", "panes/embed", "panes/options", "panes/about", "panes/privacypolicy", "panes/feedback"]
-DEBUG_BASE = ["qwebirc", "version", "jslib", ["irc/%s" % x for x in IRC_BASE], ["ui/%s" % x for x in UI_BASE], "qwebircinterface"]
+DEBUG_BASE = ["qwebirc", "version", "jslib", ["irc/%s" % x for x in IRC_BASE], ["ui/%s" % x for x in UI_BASE], "qwebircinterface", "auth", "sound"]
BUILD_BASE = ["qwebirc"]
-JS_BASE = ["mootools-1.2-core"]
+JS_BASE = ["mootools-1.2.1-core"]
UIs = {
"qui": {
"class": "QUI",
"uifiles": ["qui"],
+ "extra": ["mootools-1.2-more"],
+ "buildextra": ["mootools-1.2-more"],
"doctype": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"" + "\n" \
" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"
},
def jslist(name, debug):
ui = UIs[name]
if debug:
- x = [JS_BASE, ui.get("extra", []), DEBUG, ["debug/ui/%s" % y for y in ui["uifiles"]]]
+ x = [JS_BASE, ui.get("extra", []), DEBUG, ["debug/ui/frontends/%s" % y for y in ui["uifiles"]]]
else:
x = [JS_BASE, ui.get("buildextra", ui.get("extra", [])), BUILD_BASE, name]
def csslist(name):
ui = UIs[name]
- return list("css/%s.css" % x for x in flatten(["colours", ui.get("extracss", []), "%s" % name]))
+ return list("css/%s.css" % x for x in flatten([ui.get("extracss", []), "colours", "dialogs", "%s" % name]))
def producehtml(name, debug):
ui = UIs[name]
</script>
</head>
<body>
- <div id="ircui">%s
+ <div id="ircui">
+ <noscript>
+ <div id="noscript">Javascript is required to use IRC.</div>
+ </noscript>%s
</div>
</body>
</html>