thelounge/client/index.html

139 lines
2.9 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-07 22:30:33 +00:00
<div id="logo">
<a href="<%= homepage %>" target="_blank">
2014-05-08 22:12:16 +00:00
<img src="/img/play.svg" title="Work in progress" width="122" height="122">
2014-05-07 22:30:33 +00:00
</a>
</div>
2014-05-02 17:46:18 +00:00
<div id="menu">
2014-05-08 22:12:16 +00:00
<button class="btn">
Menu
</button>
<div class="options">
<button class="opt" data-target="#settings">
Settings
</button>
<hr/>
<button class="opt" data-target="#sign-out">
Sign out
</button>
</div>
2014-05-02 17:46:18 +00:00
</div>
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-02 21:54:31 +00:00
<div id="settings" class="window"></div>
2014-05-08 22:12:16 +00:00
<div id="sign-out" class="window"></div>
2014-05-02 17:46:18 +00:00
</div>
2014-05-02 21:54:31 +00:00
<div id="chat"></div>
2014-05-02 17:46:18 +00:00
</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}}
<button id="channel-{{id}}" class="channel" data-target="#window-{{id}}">
<span class="badge"></span>
{{name}}
</button>
{{/each}}
</script>
<script type="text/html" class="windows">
{{#each windows}}
<div id="window-{{id}}" class="window {{type}}">
<div class="chat">
2014-05-04 00:33:05 +00:00
<ul class="messages">
<li class="show-more">
2014-05-02 17:46:18 +00:00
<button class="btn">Show more</button>
2014-05-04 00:33:05 +00:00
</li>
2014-05-02 17:46:18 +00:00
{{partial "messages"}}
2014-05-04 00:33:05 +00:00
</ul>
<ul class="users">
2014-05-02 17:46:18 +00:00
{{partial "users"}}
2014-05-04 00:33:05 +00:00
</ul>
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">
2014-05-04 00:33:05 +00:00
<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>