Added show/hide for kick and modes
This commit is contained in:
parent
87d1883eda
commit
d6b7a5331a
@ -105,14 +105,18 @@ h2 {
|
|||||||
#chat .join,
|
#chat .join,
|
||||||
#chat .part,
|
#chat .part,
|
||||||
#chat .nick,
|
#chat .nick,
|
||||||
#chat .quit {
|
#chat .quit,
|
||||||
|
#chat .mode,
|
||||||
|
#chat .kick {
|
||||||
/* Hidden by default */
|
/* Hidden by default */
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#chat.show-join .join,
|
#chat.show-join .join,
|
||||||
#chat.show-part .part,
|
#chat.show-part .part,
|
||||||
#chat.show-nick .nick,
|
#chat.show-nick .nick,
|
||||||
#chat.show-quit .quit {
|
#chat.show-quit .quit,
|
||||||
|
#chat.show-mode .mode,
|
||||||
|
#chat.show-kick .kick {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
#chat .window {
|
#chat .window {
|
||||||
|
@ -38,6 +38,8 @@
|
|||||||
<input type="checkbox" value="part"/>
|
<input type="checkbox" value="part"/>
|
||||||
<input type="checkbox" value="nick"/>
|
<input type="checkbox" value="nick"/>
|
||||||
<input type="checkbox" value="quit"/>
|
<input type="checkbox" value="quit"/>
|
||||||
|
<input type="checkbox" value="mode"/>
|
||||||
|
<input type="checkbox" value="kick"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,10 +25,10 @@ $(function() {
|
|||||||
event(type, json);
|
event(type, json);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
var chat = $("#chat");
|
var chat = $("#chat");
|
||||||
var sidebar = $("#sidebar");
|
var sidebar = $("#sidebar");
|
||||||
|
|
||||||
var tpl = [];
|
var tpl = [];
|
||||||
function render(id, json, partials) {
|
function render(id, json, partials) {
|
||||||
tpl[id] = tpl[id] || $(id).html();
|
tpl[id] = tpl[id] || $(id).html();
|
||||||
|
Loading…
Reference in New Issue
Block a user