hardlounge/client/index.html

224 lines
5.1 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
2014-03-14 19:03:25 +00:00
<meta charset="utf-8">
2014-05-31 14:03:58 +00:00
<meta name="viewport" content="width=device-width, user-scalable=no, minimal-ui">
2014-06-03 00:27:03 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Shout</title>
2014-04-07 21:19:20 +00:00
2014-05-02 17:46:18 +00:00
<link rel="stylesheet" href="/css/normalize.css">
2014-06-22 20:11:03 +00:00
<link rel="stylesheet" href="/css/icons/octicons.css">
2014-05-02 17:46:18 +00:00
<link rel="stylesheet" href="/css/style.css">
2014-06-17 16:34:13 +00:00
<link rel="stylesheet" href="<%= typeof theme !== "undefined" ? theme : "" %>">
2014-04-07 21:19:20 +00:00
2014-06-16 19:28:53 +00:00
<link rel="apple-touch-icon" sizes="144x144" href="/img/apple-icon-144x144.png" />
2014-06-17 21:08:54 +00:00
<link rel="shortcut icon" href="/img/favicon.png">
2014-06-16 19:28:53 +00:00
2014-03-05 13:46:16 +00:00
</head>
2014-06-15 16:10:20 +00:00
<body class="preload">
2014-03-17 00:54:58 +00:00
2014-05-28 20:57:39 +00:00
<div id="wrap">
2014-05-30 00:23:23 +00:00
<div id="viewport">
2014-05-02 17:46:18 +00:00
<aside id="sidebar">
2014-05-28 20:57:39 +00:00
<section>
<h1>Shout</h1>
2014-06-22 21:54:15 +00:00
<a id="settings-link" href="#settings" data-name="Settings">
2014-06-22 20:11:03 +00:00
<i class="octicon octicon-clippy"></i>
Settings
</a>
2014-06-22 21:54:15 +00:00
<a id="login" href="#sign-in" data-name="Sign in">
2014-06-22 20:11:03 +00:00
<i class="octicon octicon-sign-in"></i>
Sign in
</a>
2014-06-23 17:28:36 +00:00
<a id="logout" href="" class="hidden">
2014-06-22 20:11:03 +00:00
<i class="octicon octicon-sign-out"></i>
Sign out
</a>
2014-05-28 20:57:39 +00:00
</section>
2014-06-21 19:39:51 +00:00
<div id="networks"></div>
<footer class="footer">
<small>
Shout <%= version %>
</small>
</footer>
2014-05-02 17:46:18 +00:00
</aside>
<div id="main">
2014-06-23 19:01:28 +00:00
<header id="header">
<button id="lt" class="mega-octicon octicon-three-bars"></button>
<button id="rt" class="mega-octicon octicon-three-bars"></button>
<h1></h1>
</header>
2014-05-02 17:46:18 +00:00
<div id="windows">
2014-06-22 20:11:03 +00:00
<div id="settings" class="window">
<div class="wrap">
<h1>Settings</h1>
2014-06-22 21:54:15 +00:00
<section>
2014-06-23 08:40:39 +00:00
<h3>Messages</h3>
2014-06-22 21:54:15 +00:00
<div class="options">
<label class="opt">
<input type="checkbox" name="join">
Show joins
</label>
<label class="opt">
<input type="checkbox" name="nick">
Show nick changes
</label>
<label class="opt">
<input type="checkbox" name="part">
Show parts
</label>
<label class="opt">
<input type="checkbox" name="mode">
Show modes
</label>
<label class="opt">
<input type="checkbox" name="quit">
Show quits
</label>
</div>
</section>
<section>
2014-06-23 08:40:39 +00:00
<h3>Sound</h3>
2014-06-22 21:54:15 +00:00
<div class="options">
<label class="opt wide">
<input type="checkbox" name="notification">
Enable notification sound
</label>
<label class="opt wide">
<button id="notification">
<i class="octicon octicon-unmute"></i>
Play sound
</button>
</label>
</div>
</section>
2014-06-22 20:11:03 +00:00
</div>
</div>
2014-06-15 17:26:05 +00:00
<div id="sign-in" class="window">
<div class="wrap">
2014-06-23 17:28:36 +00:00
<h1>Sign in</h1>
2014-06-15 17:26:05 +00:00
<form id="sign-in-form" method="post">
2014-06-23 17:28:36 +00:00
<h4>Username:</h4>
<input name="user" class="name input" autocomplete="off">
2014-06-23 08:40:39 +00:00
<h4>Password:</h4>
2014-06-23 17:28:36 +00:00
<input name="password" class="password input" type="password">
2014-06-15 17:26:05 +00:00
<button type="submit" class="btn">
Sign in
</button>
</form>
2014-06-15 16:10:20 +00:00
</div>
2014-05-22 23:14:01 +00:00
</div>
2014-06-15 17:26:05 +00:00
</div>
2014-05-22 23:14:01 +00:00
<div id="chat">
2014-05-02 17:46:18 +00:00
</div>
</div>
</div>
2014-05-28 20:57:39 +00:00
</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}}
2014-05-28 20:57:39 +00:00
<section id="network-{{id}}" class="network">
2014-05-02 17:46:18 +00:00
{{partial "channels"}}
2014-05-28 20:57:39 +00:00
</section>
2014-05-02 17:46:18 +00:00
{{/each}}
</script>
<script type="text/html" class="channels">
{{#each channels}}
2014-06-21 20:37:21 +00:00
<a href="#window-{{id}}" id="channel-{{id}}" class="{{type}}" data-name="{{name}}">
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}}
2014-05-28 20:57:39 +00:00
</a>
2014-05-02 17:46:18 +00:00
{{/each}}
</script>
<script type="text/html" class="windows">
{{#each windows}}
2014-06-02 21:08:03 +00:00
<div id="window-{{id}}" class="window {{type}}" data-id="{{id}}">
2014-05-30 00:23:23 +00:00
<div class="sidebar">
2014-06-09 19:39:19 +00:00
{{partial "meta"}}
2014-05-30 00:23:23 +00:00
<ul class="users">
{{partial "users"}}
</ul>
</div>
<div class="chat">
2014-06-16 13:13:43 +00:00
{{#equal 100 messages.length}}
2014-06-02 21:08:03 +00:00
<button class="show-more" data-id="{{id}}">
Show more
</button>
2014-06-14 20:28:17 +00:00
{{/equal}}
2014-05-30 00:23:23 +00:00
<div class="messages">
{{partial "messages"}}
</div>
2014-04-26 19:56:04 +00:00
</div>
2014-05-28 20:57:39 +00:00
<form class="form" data-target="{{id}}">
<input class="submit" tabindex="-1" type="submit" >
2014-05-04 00:33:05 +00:00
<input class="input">
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>
2014-06-09 19:39:19 +00: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 17:46:18 +00:00
<script type="text/html" class="users">
{{#each users}}
2014-05-04 00:33:05 +00:00
<li>
2014-05-28 20:57:39 +00:00
<a href="#{{name}}" class="user">
2014-05-04 00:33:05 +00:00
{{mode}}{{name}}
2014-05-28 20:57:39 +00:00
</a>
2014-05-04 00:33:05 +00:00
</li>
2014-05-02 17:46:18 +00:00
{{/each}}
</script>
<script type="text/html" class="messages">
2014-05-28 20:57:39 +00:00
{{#each messages}}
2014-05-30 00:23:23 +00:00
<div class="row {{type}}">
2014-06-19 23:11:53 +00:00
<span class="time">
{{time}}
</span>
2014-05-30 00:23:23 +00:00
<span class="from">
2014-06-03 00:27:03 +00:00
<a href="#{{from}}" class="user">{{from}}</a>
2014-05-30 00:23:23 +00:00
</span>
<span class="text">
2014-06-20 00:26:48 +00:00
{{#contains type "toggle"}}
<button class="toggle" data-type="{{type}}">
<i class="tri"></i>
</button>
{{/contains}}
2014-05-04 00:33:05 +00:00
<em class="type">
{{type}}
</em>
2014-05-02 17:46:18 +00:00
{{{uri text}}}
2014-05-30 00:23:23 +00:00
</span>
</div>
2014-05-28 20:57:39 +00:00
{{/each}}
2014-05-02 17:46:18 +00:00
</script>
2014-03-05 13:46:16 +00:00
</div>
2014-06-17 16:20:22 +00:00
<script src="/js/components.min.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>