hardlounge/client/index.html

146 lines
2.9 KiB
HTML
Raw Normal View History

2014-03-04 12:22:06 -05:00
<!doctype html>
<html>
2014-03-05 08:46:16 -05:00
<head>
2014-04-07 17:19:20 -04:00
2014-03-14 15:03:25 -04:00
<meta charset="utf-8">
2014-05-31 10:03:58 -04:00
<meta name="viewport" content="width=device-width, user-scalable=no, minimal-ui">
2014-06-02 20:27:03 -04:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Shout</title>
2014-04-07 17:19:20 -04:00
2014-05-02 13:46:18 -04:00
<link rel="stylesheet" href="/css/normalize.css">
<link rel="stylesheet" href="/css/style.css">
2014-04-07 17:19:20 -04:00
2014-03-05 08:46:16 -05:00
</head>
2014-03-04 12:22:06 -05:00
<body>
2014-03-16 20:54:58 -04:00
2014-05-28 16:57:39 -04:00
<div id="wrap">
2014-05-29 20:23:23 -04:00
<div id="viewport">
2014-05-02 13:46:18 -04:00
<aside id="sidebar">
2014-05-28 16:57:39 -04:00
<section>
<h1>Shout</h1>
</section>
<div id="networks">
</div>
2014-05-02 13:46:18 -04:00
</aside>
<div id="main">
<div id="windows">
2014-05-22 19:14:01 -04:00
<div id="shout" class="window"></div>
</div>
<div id="chat">
2014-05-02 13:46:18 -04:00
</div>
</div>
</div>
2014-05-28 16:57:39 -04:00
</div>
2014-04-20 17:48:05 -04:00
2014-05-02 13:46:18 -04:00
<div id="templates">
<script type="text/html" class="networks">
{{#each networks}}
2014-05-28 16:57:39 -04:00
<section id="network-{{id}}" class="network">
2014-05-02 13:46:18 -04:00
<h2>{{name}}</h2>
{{partial "channels"}}
2014-05-28 16:57:39 -04:00
</section>
2014-05-02 13:46:18 -04:00
{{/each}}
</script>
<script type="text/html" class="channels">
{{#each channels}}
2014-05-28 16:57:39 -04:00
<a href="#window-{{id}}" id="channel-{{id}}" class="{{type}}">
2014-05-02 13:46:18 -04:00
<span class="badge"></span>
2014-05-24 17:56:28 -04:00
<span class="close"></span>
2014-05-02 13:46:18 -04:00
{{name}}
2014-05-28 16:57:39 -04:00
</a>
2014-05-02 13:46:18 -04:00
{{/each}}
</script>
<script type="text/html" class="windows">
{{#each windows}}
2014-06-02 17:08:03 -04:00
<div id="window-{{id}}" class="window {{type}}" data-id="{{id}}">
2014-05-29 20:23:23 -04:00
<div class="sidebar">
2014-06-09 15:39:19 -04:00
{{partial "meta"}}
2014-05-29 20:23:23 -04:00
<ul class="users">
{{partial "users"}}
</ul>
</div>
<div class="chat">
2014-06-02 17:08:03 -04:00
<button class="show-more" data-id="{{id}}">
Show more
</button>
2014-05-29 20:23:23 -04:00
<div class="messages">
{{partial "messages"}}
</div>
2014-04-26 15:56:04 -04:00
</div>
2014-05-29 20:23:23 -04:00
<header class="header">
<button class="lt"></button>
<button class="rt"></button>
2014-06-09 15:39:19 -04:00
{{partial "meta"}}
2014-05-29 20:23:23 -04:00
</header>
2014-05-28 16:57:39 -04:00
<form class="form" data-target="{{id}}">
<input class="submit" tabindex="-1" type="submit" >
2014-05-03 20:33:05 -04:00
<input class="input">
2014-05-02 13:46:18 -04:00
</form>
2014-03-05 08:46:16 -05:00
</div>
2014-05-02 13:46:18 -04:00
{{/each}}
</script>
2014-06-09 15:39:19 -04: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 13:46:18 -04:00
<script type="text/html" class="users">
{{#each users}}
2014-05-03 20:33:05 -04:00
<li>
2014-05-28 16:57:39 -04:00
<a href="#{{name}}" class="user">
2014-05-03 20:33:05 -04:00
{{mode}}{{name}}
2014-05-28 16:57:39 -04:00
</a>
2014-05-03 20:33:05 -04:00
</li>
2014-05-02 13:46:18 -04:00
{{/each}}
</script>
<script type="text/html" class="messages">
2014-05-28 16:57:39 -04:00
{{#each messages}}
2014-05-29 20:23:23 -04:00
<div class="row {{type}}">
<span class="from">
2014-06-02 20:27:03 -04:00
<a href="#{{from}}" class="user">{{from}}</a>
2014-05-29 20:23:23 -04:00
</span>
<span class="text">
2014-05-02 13:46:18 -04:00
{{#if type}}
2014-05-03 20:33:05 -04:00
<em class="type">
{{type}}
</em>
2014-05-02 13:46:18 -04:00
{{/if}}
{{{uri text}}}
2014-05-29 20:23:23 -04:00
</span>
<span class="time">
2014-05-02 19:35:51 -04:00
{{time}}
2014-05-29 20:23:23 -04:00
</span>
</div>
2014-05-28 16:57:39 -04:00
{{/each}}
2014-05-02 13:46:18 -04:00
</script>
2014-03-05 08:46:16 -05:00
</div>
2014-05-02 13:46:18 -04:00
<script src="/socket.io/socket.io.js"></script>
2014-04-22 10:48:13 -04: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 10:11:25 -05:00
<script src="/js/chat.js"></script>
2014-04-07 17:19:20 -04:00
2014-03-04 12:22:06 -05:00
</body>
</html>