hardlounge/client/index.html

122 lines
2.6 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">
<div id="menu">
<h2>Shout Client</h2>
<button data-target="#settings">Settings</button>
</div>
<div id="networks">
</div>
<footer id="footer">
<a href="<%= homepage %>" target="_blank" class="btn">
<strong><%= name %></strong>
<%= version %>
</a>
</footer>
</aside>
<div id="main">
<div id="windows">
<div id="settings" class="window">
</div>
</div>
<div id="chat">
</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}}
<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">
<div class="messages">
<div class="show-more">
<button class="btn">Show more</button>
</div>
{{partial "messages"}}
</div>
<div class="users">
{{partial "users"}}
</div>
2014-04-26 19:56:04 +00:00
</div>
2014-05-02 17:46:18 +00:00
<form class="form" onSubmit="return false" data-target="{{id}}">
<input type="text" class="input">
</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">
<div class="count">
Users: {{users.length}}
</div>
{{#each users}}
2014-04-22 17:57:16 +00:00
<button class="user">
2014-05-02 17:46:18 +00:00
{{mode}}{{name}}
2014-04-22 17:57:16 +00:00
</button>
2014-05-02 17:46:18 +00:00
{{/each}}
</script>
<script type="text/html" class="messages">
{{#slice messages limit=100}}
<div class="msg {{type}}">
<span class="time">
{{time}}
</span>
<button class="user">
{{from}}
</button>
<span class="text">
{{#if type}}
<em class="type">{{type}}</em>
{{/if}}
{{{uri text}}}
</span>
</div>
{{/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>