thelounge/client/index.html

146 lines
2.9 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
2014-03-14 20:03:25 +01:00
<meta charset="utf-8">
2014-05-31 16:03:58 +02:00
<meta name="viewport" content="width=device-width, user-scalable=no, minimal-ui">
2014-06-03 02:27:03 +02:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Shout</title>
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-28 22:57:39 +02:00
<div id="wrap">
2014-05-30 02:23:23 +02:00
<div id="viewport">
2014-05-02 19:46:18 +02:00
<aside id="sidebar">
2014-05-28 22:57:39 +02:00
<section>
<h1>Shout</h1>
</section>
<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-05-28 22:57:39 +02:00
</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}}
2014-05-28 22:57:39 +02:00
<section id="network-{{id}}" class="network">
2014-05-02 19:46:18 +02:00
<h2>{{name}}</h2>
{{partial "channels"}}
2014-05-28 22:57:39 +02:00
</section>
2014-05-02 19:46:18 +02:00
{{/each}}
</script>
<script type="text/html" class="channels">
{{#each channels}}
2014-05-28 22:57:39 +02:00
<a href="#window-{{id}}" id="channel-{{id}}" class="{{type}}">
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}}
2014-05-28 22:57:39 +02:00
</a>
2014-05-02 19:46:18 +02:00
{{/each}}
</script>
<script type="text/html" class="windows">
{{#each windows}}
2014-06-02 23:08:03 +02:00
<div id="window-{{id}}" class="window {{type}}" data-id="{{id}}">
2014-05-30 02:23:23 +02:00
<div class="sidebar">
2014-06-09 21:39:19 +02:00
{{partial "meta"}}
2014-05-30 02:23:23 +02:00
<ul class="users">
{{partial "users"}}
</ul>
</div>
<div class="chat">
2014-06-02 23:08:03 +02:00
<button class="show-more" data-id="{{id}}">
Show more
</button>
2014-05-30 02:23:23 +02:00
<div class="messages">
{{partial "messages"}}
</div>
2014-04-26 21:56:04 +02:00
</div>
2014-05-30 02:23:23 +02:00
<header class="header">
<button class="lt"></button>
<button class="rt"></button>
2014-06-09 21:39:19 +02:00
{{partial "meta"}}
2014-05-30 02:23:23 +02:00
</header>
2014-05-28 22:57:39 +02:00
<form class="form" data-target="{{id}}">
<input class="submit" tabindex="-1" type="submit" >
2014-05-04 02:33:05 +02:00
<input class="input">
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>
2014-06-09 21:39:19 +02:00
<script type="text/html" class="meta">
<div class="meta">
<h1>
{{name}}
</h1>
{{#if users}}
<span class="count">
{{users.length}}
users
</span>
{{else}}
<span class="type">
{{type}}
</span>
{{/if}}
</div>
</script>
2014-05-02 19:46:18 +02:00
<script type="text/html" class="users">
{{#each users}}
2014-05-04 02:33:05 +02:00
<li>
2014-05-28 22:57:39 +02:00
<a href="#{{name}}" class="user">
2014-05-04 02:33:05 +02:00
{{mode}}{{name}}
2014-05-28 22:57:39 +02:00
</a>
2014-05-04 02:33:05 +02:00
</li>
2014-05-02 19:46:18 +02:00
{{/each}}
</script>
<script type="text/html" class="messages">
2014-05-28 22:57:39 +02:00
{{#each messages}}
2014-05-30 02:23:23 +02:00
<div class="row {{type}}">
<span class="from">
2014-06-03 02:27:03 +02:00
<a href="#{{from}}" class="user">{{from}}</a>
2014-05-30 02:23:23 +02:00
</span>
<span class="text">
2014-05-02 19:46:18 +02:00
{{#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}}}
2014-05-30 02:23:23 +02:00
</span>
<span class="time">
2014-05-03 01:35:51 +02:00
{{time}}
2014-05-30 02:23:23 +02:00
</span>
</div>
2014-05-28 22:57:39 +02:00
{{/each}}
2014-05-02 19:46:18 +02:00
</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-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>