Progress on Issue #78: If nick is taken, show a box somewhere to change it
[KiwiIRC.git] / client_backbone / index.html
old mode 100644 (file)
new mode 100755 (executable)
index d390366..07f01bd
@@ -5,7 +5,7 @@
 
 <title> KiwiIRC </title>
 
-<link rel="stylesheet" type="text/css" href="style.css" />
+<link rel="stylesheet" type="text/css" href="css/style.css" />
 
 </head>
 <body>
             <a class="info">Info</a>
         </div>
     </script>
+    
+    <script type="text/x-jquery-tmpl" id="tmpl_nickchange">
+        <div class="nickchange">
+            <label for="nickchange">New nick:</label> <input id="nickchange" type="text" mozactionhint="done" autocomplete="off" spellcheck="false"/> <input type="button" class="btn_nickchange" value="Change Nick" />
+        </div>
+    </script>
 
     <script type="text/x-jquery-tmpl" id="tmpl_server_select">
         <div class="server_select">
             <select class="theme">
                 <option value="default">Default</option>
                 <option value="relaxed">Relaxed</option>
+                <option value="cli">CLI</option>
             </select>
             <button class="save">Save</button>
         </div>
     </script>
 
 
+    <script type="text/x=x-jquery-tmpl" id="tmpl_channel_list">
+        <table style="margin:1em 2em;">
+            <thead style="font-weight: bold;">
+                <tr>
+                    <td>Channel Name</td>
+                    <td>Users</td>
+                    <td style="padding-left: 2em;">Topic</td>
+                </tr>
+            </thead>
+            <tbody style="vertical-align: top;">
+            </tbody>
+        </table>
+    </script>
+
+
 <script>
 /* Script loader (https://github.com/ded/script.js) */
 (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)
                 container: $('#kiwi'),
 
                 // Override the kiwi_server to use. (Think: running on standalone client..)
-                kiwi_server: 'http://192.168.1.13:7778'
+                kiwi_server: 'https://192.168.1.10:7777'
             };
 
             // Start the app by either the dev or closed environment