rgb(209,209,209) 68%
);
}
+
#toolbar .panellist .active { padding-right:23px; }
#toolbar .panellist .alert_highlight {
background: #990000;
#toolbar .panellist .alert_activity { font-weight: bold; background: #009900; }
#toolbar .panellist .alert_action { font-weight: bold; }
-#toolbar .panellist li img { width:1em; height:1em; top:7px; right:5px; position:absolute; }
+#toolbar .panellist li .part { top:8px; right:5px; position:absolute; background:url('../img/redcross.png'); width:14px; height:14px; }
#toolbar .panellist li img.icon { left:5px; top:2px; height:auto; width:auto; }
#toolbar .panellist li.server span { background:url(../img/server_tab.png) no-repeat; padding-left:23px; }
kiwi.view.Tabs = Backbone.View.extend({\r
events: {\r
'click li': 'tabClick',\r
- 'click li img': 'partClick'\r
+ 'click li .part': 'partClick'\r
},\r
\r
initialize: function () {\r
\r
panelActive: function (panel) {\r
// Remove any existing tabs or part images\r
- $('img', this.$el).remove();\r
+ $('.part', this.$el).remove();\r
this.tabs_applets.children().removeClass('active');\r
this.tabs_msg.children().removeClass('active');\r
\r
\r
// Only show the part image on non-server tabs\r
if (!panel.isServer()) {\r
- panel.tab.append('<img src="img/redcross.png" />');\r
+ panel.tab.append('<span class="part"></span>');\r
}\r
},\r
\r
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-<base href="/" target="_blank">
+<base target="_blank">
<title> KiwiIRC </title>
-<link rel="stylesheet" type="text/css" href="css/style.css" />
+<link rel="stylesheet" type="text/css" href="/css/style.css" />
</head>
<body>
<div id="kiwi">
<div id="toolbar">
<a class="kiwi_logo" href="http://www.kiwiirc.com/" target="_blank">
- <h2><img src="img/ico.png" alt="KiwiIRC Logo" title="Kiwi IRC" /> Powered by Kiwi IRC</h2>
+ <h2><img src="/img/ico.png" alt="KiwiIRC Logo" title="Kiwi IRC" /> Powered by Kiwi IRC</h2>
</a>
<div id="tabs">
<div style="position:relative;float:left;width:320px;margin-left:3em;color:#555555;">
<a class="kiwi_logo" href="http://www.kiwiirc.com/" target="_blank">
- <img src="img/ico.png" alt="KiwiIRC Logo" title="Kiwi IRC" /> <br />
+ <img src="/img/ico.png" alt="KiwiIRC Logo" title="Kiwi IRC" /> <br />
<h1>Powered by Kiwi IRC</h1>
</a>
// Common dependancies that are required at all times
var scripts = [
- ['jquery-1.7.1.min.js', 'underscore-min.js'],
- 'backbone-git.js'
+ ['/jquery-1.7.1.min.js', '/underscore-min.js'],
+ '/backbone-git.js'
];
// If in debug mode, load each development script
if (getQueryVariable('debug')) {
console.log('Loading debugging scripts');
scripts = scripts.concat([
- 'dev/app.js',
+ '/dev/app.js',
[
- 'dev/model_application.js',
- 'dev/model_gateway.js'
+ '/dev/model_application.js',
+ '/dev/model_gateway.js'
],
[
- 'dev/model_panellist.js',
- 'dev/model_panel.js',
- 'dev/model_member.js',
- 'dev/model_memberlist.js'
+ '/dev/model_panellist.js',
+ '/dev/model_panel.js',
+ '/dev/model_member.js',
+ '/dev/model_memberlist.js'
],
[
- 'dev/model_channel.js',
- 'dev/model_server.js',
- 'dev/model_applet.js'
+ '/dev/model_channel.js',
+ '/dev/model_server.js',
+ '/dev/model_applet.js'
],
[
- 'dev/applet_settings.js',
- 'dev/applet_nickserv.js',
- 'dev/applet_chanlist.js'
+ '/dev/applet_settings.js',
+ '/dev/applet_nickserv.js',
+ '/dev/applet_chanlist.js'
],
[
- 'dev/utils.js',
- 'dev/view.js'
+ '/dev/utils.js',
+ '/dev/view.js'
]
]);
} else {
- scripts.push('kiwi.js');
+ scripts.push('/kiwi.js');
}