4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8"/>
5 <base href=
"/" target=
"_blank">
7 <title> KiwiIRC
</title>
9 <link rel=
"stylesheet" type=
"text/css" href=
"css/style.css" />
15 <a class=
"kiwi_logo" href=
"http://www.kiwiirc.com/" target=
"_blank">
16 <h2><img src=
"img/ico.png" alt=
"KiwiIRC Logo" title=
"Kiwi IRC" /> Powered by Kiwi IRC
</h2>
20 <ul class=
"panellist channels"></ul>
21 <ul class=
"panellist applets"></ul>
28 <div id=
"status_message"></div>
31 <div id=
"memberlists_resize_handle"></div>
34 <div class=
"panel_container container1"></div>
37 <div id=
"memberlists"></div>
41 <span class=
"nick"> </span>
42 <div class=
"input_wrap"><input type=
"text" class=
"inp" /></div>
47 <script type=
"text/x-jquery-tmpl" id=
"tmpl_userbox">
49 <a class=
"query">Message
</a>
50 <a class=
"info">Info
</a>
54 <script type=
"text/x-jquery-tmpl" id=
"tmpl_nickchange">
55 <form class=
"nickchange">
56 <label for=
"nickchange">New nick:
</label> <input type=
"text" mozactionhint=
"done" autocomplete=
"off" spellcheck=
"false"/> <button>Change
</button> <a class=
"cancel">Cancel
</a>
60 <script type=
"text/x-jquery-tmpl" id=
"tmpl_server_select">
61 <div class=
"server_select">
63 <div style=
"position:relative;float:left;width:320px;padding-right:3em;margin-top:50px;">
64 <div class=
"status">Think of a nickname..
</div>
68 <label for=
"server_select_nick">Nickname
</label>
69 <input type=
"text" class=
"nick" id=
"server_select_nick"> <br />
71 <button type=
"submit">Start..
</button> <br />
72 <a href=
"" onclick=
"return false;" class=
"show_more">More
</a>
76 <label for=
"server_select_server">Server
</label>
77 <input type=
"text" class=
"server" id=
"server_select_server"> <br />
78 <label for=
"server_select_channel">Channel
</label>
79 <input type=
"text" class=
"channel" id=
"server_select_channel"> <br />
81 <label for=
"server_select_port">Port
</label>
82 <input type=
"text" class=
"port" id=
"server_select_port"> <br />
83 <label for=
"server_select_password">Password
</label>
84 <input type=
"text" class=
"password" id=
"server_select_password"> <br />
85 <label for=
"server_select_ssl">SSL
</label>
86 <input type=
"checkbox" class=
"ssl" id=
"server_select_ssl">
90 <div class=
"divider-verticle"></div>
93 <div style=
"position:relative;float:left;width:320px;margin-left:3em;color:#555555;">
94 <a class=
"kiwi_logo" href=
"http://www.kiwiirc.com/" target=
"_blank">
95 <img src=
"img/ico.png" alt=
"KiwiIRC Logo" title=
"Kiwi IRC" /> <br />
96 <h1>Powered by Kiwi IRC
</h1>
99 <p style=
"font-style:italic;">A
<strong>hand-crafted IRC client
</strong> that you can enjoy. Designed to be used
<strong>easily
</strong> and
<strong>freely
</strong>.
</p>
101 <p style=
"font-size:0.9em;margin-top:2em;">This network of people may not be associated with Kiwi IRC itself. Peek at the
<a href=
"http://www.kiwiirc.com/">Kiwi IRC homepage
</a> for more information or to find out how to use on your own website. Looking for open source? Try the
<a href=
"http://github.com/prawnsalad/KiwiIRC/">GitHub
</a> page.
</p>
106 <script type=
"text/x-jquery-tmpl" id=
"tmpl_applet_settings">
108 <select class=
"theme">
109 <option value=
"default">Default
</option>
110 <option value=
"relaxed">Relaxed
</option>
111 <option value=
"cli">CLI
</option>
113 <button class=
"save">Save
</button>
118 <script type=
"text/x=x-jquery-tmpl" id=
"tmpl_channel_list">
119 <table style=
"margin:1em 2em;">
120 <thead style=
"font-weight: bold;">
122 <td>Channel Name
</td>
124 <td style=
"padding-left: 2em;">Topic
</td>
127 <tbody style=
"vertical-align: top;">
134 /* Script loader (https://github.com/ded/script.js) */
135 (function(a,b,c){typeof c[
"module"]!=
"undefined"&&c.module.exports?c.module.exports=b():typeof c[
"define"]!=
"undefined"&&c[
"define"]==
"function"&&c.define.amd?define(a,b):c[a]=b()})(
"$script",function(){function p(a,b){for(var c=
0,d=a.length;c
<d;++c)if(!b(a[c]))return j;return
1}function q(a,b){p(a,function(a){return!b(a)})}function r(a,b,i){function o(a){return a.call?a():d[a]}function t(){if(!--n){d[m]=
1,l&&l();for(var a in f)p(a.split(
"|"),o)&&!q(f[a],o)&&(f[a]=[])}}a=a[k]?a:[a];var j=b&&b.call,l=j?b:i,m=j?a.join(
""):b,n=a.length;return setTimeout(function(){q(a,function(a){if(h[a])return m&&(e[m]=
1),h[a]==
2&&t();h[a]=
1,m&&(e[m]=
1),s(!c.test(a)&&g?g+a+
".js":a,t)})},
0),r}function s(c,d){var e=a.createElement(
"script"),f=j;e.onload=e.onerror=e[o]=function(){if(e[m]&&!/^c|loade/.test(e[m])||f)return;e.onload=e[o]=null,f=
1,h[c]=
2,d()},e.async=
1,e.src=c,b.insertBefore(e,b.firstChild)}var a=document,b=a.getElementsByTagName(
"head")[
0],c=/^https?:\/\//,d={},e={},f={},g,h={},
i=
"string",j=!
1,
k=
"push",
l=
"DOMContentLoaded",
m=
"readyState",
n=
"addEventListener",
o=
"onreadystatechange";return!a[m]&&a[n]&&(a[n](l,function t(){a.removeEventListener(l,t,j),a[m]=
"complete"},j),a[m]=
"loading"),r.get=s,r.order=function(a,b,c){(function d(e){e=a.shift(),a.length?r(e,d):r(e,b,c)})()},r.path=function(a){g=a},r.ready=function(a,b,c){a=a[k]?a:[a];var e=[];return!q(a,function(a){d[a]||e[k](a)})&&p(a,function(a){return d[a]})?b():!function(a){f[a]=f[a]||[],f[a][k](b),c&&c(e)}(a.join(
"|")),r},r},this)
140 function getQueryVariable(variable) {
141 var query = window.location.search.substring(
1);
142 var vars = query.split('&');
143 for (var i =
0; i < vars.length; i++) {
144 var pair = vars[i].split('=');
145 if (decodeURIComponent(pair[
0]) == variable) {
146 return decodeURIComponent(pair[
1]);
151 window.onload = function () {
153 // Common dependancies that are required at all times
155 ['jquery-
1.7.1.min.js', 'underscore-min.js'],
159 // If in debug mode, load each development script
160 if (getQueryVariable('debug')) {
161 console.log('Loading debugging scripts');
162 scripts = scripts.concat([
165 'dev/model_application.js',
166 'dev/model_gateway.js'
169 'dev/model_panellist.js',
170 'dev/model_panel.js',
171 'dev/model_member.js',
172 'dev/model_memberlist.js'
176 'dev/model_channel.js',
177 'dev/model_server.js',
178 'dev/model_applet.js'
182 'dev/applet_settings.js',
183 'dev/applet_nickserv.js'
192 scripts.push('kiwi.js');
196 // Run after all dependancies have been loaded
197 function startApp () {
199 container: $('#kiwi'),
201 // Override the kiwi_server to use. (Think: running on standalone client..)
202 //kiwi_server: 'http://kiwiirc.com:
80'
205 // Start the app by either the dev or closed environment
206 (kiwi && kiwi.global && kiwi.global.start(opts)) || (kiwi && kiwi.start(opts));
212 function loadNextScript () {
213 // Start the kiwi app if all scripts have been loaded
214 if (cur_script === scripts.length) {
219 $script(scripts[cur_script], loadNextScript);
224 // Start loading scripts