Shuo/client/index.html

131 lines
2.7 KiB
HTML
Raw Normal View History

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