thelounge/client/index.html

131 lines
2.7 KiB
HTML
Raw Normal View History

2014-03-04 18:22:06 +01:00
<!doctype html>
<html>
2014-03-05 14:46:16 +01:00
<head>
2014-04-07 23:19:20 +02:00
<title>Shout — The modern IRC client</title>
2014-04-07 23:19:20 +02:00
2014-03-14 20:03:25 +01:00
<meta charset="utf-8">
2014-03-17 01:54:58 +01:00
<meta name="viewport" content="width=device-width, user-scalable=no">
2014-04-07 23:19:20 +02:00
2014-05-02 19:46:18 +02:00
<link rel="stylesheet" href="/css/normalize.css">
<link rel="stylesheet" href="/css/style.css">
2014-04-07 23:19:20 +02:00
2014-03-05 14:46:16 +01:00
</head>
2014-03-04 18:22:06 +01:00
<body>
2014-03-17 01:54:58 +01:00
2014-05-02 19:46:18 +02:00
<div id="wrap" class="table">
<aside id="sidebar">
2014-05-02 23:54:31 +02:00
<div id="networks"></div>
2014-05-02 19:46:18 +02:00
</aside>
<div id="main">
<div id="windows">
2014-05-23 01:14:01 +02:00
<div id="shout" class="window"></div>
</div>
<div id="chat">
2014-05-02 19:46:18 +02:00
</div>
</div>
</div>
2014-04-20 23:48:05 +02:00
2014-05-02 19:46:18 +02:00
<div id="templates">
<script type="text/html" class="networks">
{{#each networks}}
<div id="network-{{id}}" class="network">
<h2>{{name}}</h2>
{{partial "channels"}}
2014-03-05 14:46:16 +01:00
</div>
2014-05-02 19:46:18 +02:00
{{/each}}
</script>
<script type="text/html" class="channels">
{{#each channels}}
2014-05-25 21:39:17 +02:00
<button id="channel-{{id}}" class="channel {{type}}" data-target="#window-{{id}}">
2014-05-02 19:46:18 +02:00
<span class="badge"></span>
2014-05-24 23:56:28 +02:00
<span class="close"></span>
2014-05-02 19:46:18 +02:00
{{name}}
</button>
{{/each}}
</script>
<script type="text/html" class="windows">
{{#each windows}}
<div id="window-{{id}}" class="window {{type}}">
<div class="chat">
2014-05-25 22:46:54 +02:00
<div class="main">
<div class="title">
<h1>
{{type}}:
<strong>{{name}}</strong>
</h1>
</div>
<ul class="messages">
<li class="show-more">
<button class="btn">Show more</button>
</li>
{{partial "messages"}}
</ul>
</div>
<aside class="sidebar">
<div class="title">
<span>
Users:
{{users.length}}
</span>
</div>
<ul class="users">
{{partial "users"}}
</ul>
</aside>
2014-04-26 21:56:04 +02:00
</div>
2014-05-07 21:30:14 +02:00
<form class="form" onSubmit="return false" data-target="{{id}}">
2014-05-04 02:33:05 +02:00
<input class="input">
2014-05-14 00:47:35 +02:00
<input type="submit" style="display: none">
2014-05-02 19:46:18 +02:00
</form>
2014-03-05 14:46:16 +01:00
</div>
2014-05-02 19:46:18 +02:00
{{/each}}
</script>
<script type="text/html" class="users">
{{#each users}}
2014-05-04 02:33:05 +02:00
<li>
<button class="user">
{{mode}}{{name}}
</button>
</li>
2014-05-02 19:46:18 +02:00
{{/each}}
</script>
<script type="text/html" class="messages">
{{#slice messages limit=100}}
2014-05-04 02:33:05 +02:00
<li class="msg {{type}}">
2014-05-02 23:54:31 +02:00
<span class="from">
2014-05-04 02:33:05 +02:00
<button class="user">
{{from}}
</button>
2014-05-02 23:54:31 +02:00
</span>
2014-05-02 19:46:18 +02:00
<span class="text">
{{#if type}}
2014-05-04 02:33:05 +02:00
<em class="type">
{{type}}
</em>
2014-05-02 19:46:18 +02:00
{{/if}}
{{{uri text}}}
</span>
2014-05-03 01:35:51 +02:00
<span class="time">
{{time}}
</span>
2014-05-04 02:33:05 +02:00
</li>
2014-05-02 19:46:18 +02:00
{{/slice}}
</script>
2014-03-05 14:46:16 +01:00
</div>
2014-05-02 19:46:18 +02:00
<script src="/socket.io/socket.io.js"></script>
2014-04-22 16:48:13 +02:00
<script src="/js/jquery.js"></script>
<script src="/js/jquery.plugins.js"></script>
<script src="/js/uri.js"></script>
<script src="/js/handlebars.js"></script>
2014-05-02 19:46:18 +02:00
<script src="/js/handlebars.helpers.js"></script>
2014-03-06 16:11:25 +01:00
<script src="/js/chat.js"></script>
2014-04-07 23:19:20 +02:00
2014-03-04 18:22:06 +01:00
</body>
</html>