hardlounge/client/index.html

138 lines
3.1 KiB
HTML
Raw Normal View History

2014-06-26 16:14:45 +00:00
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimal-ui">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Shout</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
<link rel="apple-touch-icon" sizes="144x144" href="/img/apple-icon-144x144.png" />
<link rel="shortcut icon" href="/img/favicon.png">
</head>
<body>
<aside id="sidebar">
2014-07-07 12:42:46 +00:00
<div class="networks"></div>
2014-06-26 16:14:45 +00:00
<footer id="footer">
2014-07-07 00:44:31 +00:00
<button id="btn-1" data-target="#connect"></button>
<button id="btn-2" data-target="#settings"></button>
2014-06-26 16:14:45 +00:00
</footer>
</aside>
<div id="main">
<header id="header">
<button id="lt"></button>
<button id="rt"></button>
<h1>#channel</h1>
</header>
<div id="windows">
2014-06-30 01:20:54 +00:00
<div id="chat"></div>
2014-07-07 12:42:46 +00:00
<div id="connect">
<div class="container">
2014-07-07 00:44:31 +00:00
<div class="row">
<div class="col-sm-12">
<h1>Connect</h1>
</div>
</div>
2014-07-07 12:42:46 +00:00
</div>
2014-07-07 00:44:31 +00:00
</div>
2014-07-07 12:42:46 +00:00
<div id="settings">
<div class="container">
2014-07-07 00:44:31 +00:00
<div class="row">
<div class="col-sm-12">
<h1>Settings</h1>
</div>
</div>
2014-07-07 12:42:46 +00:00
</div>
2014-07-07 00:44:31 +00:00
</div>
2014-06-26 16:14:45 +00:00
</div>
2014-07-07 00:44:31 +00:00
<form id="form" action="">
<input id="submit" tabindex="-1" type="submit">
<input id="input">
</form>
2014-06-26 16:14:45 +00:00
</div>
2014-06-27 00:47:36 +00:00
<div id="templates">
<script type="text/html" class="networks">
{{#each networks}}
2014-07-07 00:44:31 +00:00
<section id="network-{{id}}" class="network">
2014-06-27 00:47:36 +00:00
{{partial "channels"}}
</section>
{{/each}}
</script>
<script type="text/html" class="channels">
{{#each channels}}
2014-07-07 12:42:46 +00:00
<button data-id="{{id}}" data-target="#chan-{{id}}" class="chan">
2014-06-27 00:47:36 +00:00
<span class="badge"></span>
2014-06-30 01:20:54 +00:00
{{name}}
2014-06-27 00:47:36 +00:00
</button>
{{/each}}
</script>
2014-06-30 01:20:54 +00:00
<script type="text/html" class="chat">
2014-07-07 12:42:46 +00:00
{{#each channels}}
<div id="chan-{{id}}" data-type="{{type}}" class="chan">
<div class="chat">
<div class="messages">
2014-06-30 01:20:54 +00:00
{{partial "messages"}}
</div>
</div>
<aside class="sidebar">
2014-07-07 12:42:46 +00:00
<div class="meta">
<h1>{{name}}</h1>
<span class="type">{{type}}</span>
</div>
<div class="users">
{{partial "users"}}
</div>
2014-06-30 01:20:54 +00:00
</aside>
2014-07-07 12:42:46 +00:00
</div>
{{/each}}
2014-06-30 01:20:54 +00:00
</script>
2014-06-27 00:47:36 +00:00
<script type="text/html" class="users">
2014-07-04 23:32:40 +00:00
{{#if users.length}}
2014-07-07 12:42:46 +00:00
<div class="count">
<input class="search" placeholder="{{users.length}} users">
2014-07-04 23:32:40 +00:00
</div>
{{/if}}
2014-07-07 12:42:46 +00:00
<div class="names">
2014-06-27 00:47:36 +00:00
{{#each users}}
2014-07-07 00:44:31 +00:00
<button class="user">{{mode}}{{name}}</button>
2014-06-27 00:47:36 +00:00
{{/each}}
</div>
</script>
<script type="text/html" class="messages">
{{#each messages}}
2014-06-30 01:20:54 +00:00
<div class="msg {{type}}">
2014-06-27 00:47:36 +00:00
<span class="time">
{{time}}
</span>
<span class="from">
2014-06-30 01:20:54 +00:00
{{#if from}}
2014-07-07 00:44:31 +00:00
<button class="user">{{from}}</button>
2014-06-30 01:20:54 +00:00
{{else}}
//
{{/if}}
2014-06-27 00:47:36 +00:00
</span>
<span class="text">
<em class="type">{{type}}</em>
{{{uri text}}}
</span>
</div>
{{/each}}
</script>
</div>
2014-06-26 16:14:45 +00:00
<script src="js/components.min.js"></script>
2014-06-30 01:20:54 +00:00
<script src="js/chat.js"></script>
2014-06-26 16:14:45 +00:00
</body>
</html>