#kiwi.theme_relaxed #toolbar .panellist li .part:before { content:"\f00d"; }
#kiwi.theme_relaxed #toolbar .panellist li.server span { padding-left: 5px; }
-#kiwi.theme_relaxed #toolbar .panellist li.server:before { content: "\f0ec"; }
+#kiwi.connected.theme_relaxed #toolbar .panellist li.server:before { content: "\f0ec"; }
+#kiwi.theme_relaxed #toolbar .panellist li.server:before { content: "\f06a"; }
/* Tab texts are within a span */
#kiwi.theme_relaxed #toolbar .panellist li span { line-height:20px; vertical-align:middle; display:inline-block; }
#kiwi.theme_mini #toolbar .panellist li .part:before { content:"\f00d"; }
#kiwi.theme_mini #toolbar .panellist li.server span { padding-left:5px; }
-#kiwi.theme_mini #toolbar .panellist li.server:before { content: "\f0ec"; }
+#kiwi.connected.theme_mini #toolbar .panellist li.server:before { content: "\f0ec"; }
+#kiwi.theme_mini #toolbar .panellist li.server:before { content: "\f06a"; }
/* Tab texts are within a span */
#kiwi.theme_mini #toolbar .panellist li span { line-height:20px; vertical-align:middle; display:inline-block; }
#kiwi.theme_cli #toolbar .panellist li .part:before { content:"\f00d"; }
#kiwi.theme_cli #toolbar .panellist li.server span { padding-left:5px; }
-#kiwi.theme_cli #toolbar .panellist li.server:before { content: "\f0ec"; }
+#kiwi.connected.theme_cli #toolbar .panellist li.server:before { content: "\f0ec"; }
+#kiwi.theme_cli #toolbar .panellist li.server:before { content: "\f06a"; }
/* Tab texts are within a span */
#kiwi.theme_cli #toolbar .panellist li span { line-height:20px; vertical-align:middle; display:inline-block; }
var msg = 'You have been disconnected. Attempting to reconnect for you..';\r
that.message.text(msg, {timeout: 10000});\r
\r
+ that.view.$el.removeClass('connected');\r
+\r
// Mention the disconnection on every channel\r
$.each(_kiwi.app.panels.models, function (idx, panel) {\r
if (!panel || !panel.isChannel()) return;\r
msg = 'You have been disconnected. Attempting to reconnect again in ' + (event.delay/1000) + ' seconds..';\r
_kiwi.app.panels.server.addMsg('', msg, 'action quit');\r
});\r
- gw.on('connect', function (event) {\r
+ gw.on('onconnect', function (event) {\r
+ that.view.$el.addClass('connected');\r
if (gw_stat !== 1) return;\r
\r
var msg = 'It\'s OK, you\'re connected again :)';\r