mirror of
https://github.com/thelounge/thelounge
synced 2024-11-27 06:20:26 +00:00
130 lines
2.7 KiB
HTML
130 lines
2.7 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
|
|
<title>Shout — The modern IRC client</title>
|
|
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, user-scalable=no">
|
|
|
|
<link rel="stylesheet" href="/css/normalize.css">
|
|
<link rel="stylesheet" href="/css/style.css">
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div id="wrap" class="table">
|
|
<aside id="sidebar">
|
|
<div id="networks"></div>
|
|
</aside>
|
|
<div id="main">
|
|
<div id="windows">
|
|
<div id="shout" class="window"></div>
|
|
</div>
|
|
<div id="chat">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="templates">
|
|
<script type="text/html" class="networks">
|
|
{{#each networks}}
|
|
<div id="network-{{id}}" class="network">
|
|
<h2>{{name}}</h2>
|
|
{{partial "channels"}}
|
|
</div>
|
|
{{/each}}
|
|
</script>
|
|
|
|
<script type="text/html" class="channels">
|
|
{{#each channels}}
|
|
<button id="channel-{{id}}" class="channel {{type}}" data-target="#window-{{id}}">
|
|
<span class="badge"></span>
|
|
<span class="close"></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="main">
|
|
<div class="title">
|
|
<h1>
|
|
{{type}}:
|
|
<strong>{{name}}</strong>
|
|
</h1>
|
|
</div>
|
|
<ul class="messages">
|
|
<li class="show-more">
|
|
<button class="btn">Show more</button>
|
|
</li>
|
|
{{partial "messages"}}
|
|
</ul>
|
|
</div>
|
|
<aside class="sidebar">
|
|
<div class="title">
|
|
<span>
|
|
Users:
|
|
{{users.length}}
|
|
</span>
|
|
</div>
|
|
<ul class="users">
|
|
{{partial "users"}}
|
|
</ul>
|
|
</aside>
|
|
</div>
|
|
<form class="form" onSubmit="return false" data-target="{{id}}">
|
|
<input class="input">
|
|
<input type="submit" style="display: none">
|
|
</form>
|
|
</div>
|
|
{{/each}}
|
|
</script>
|
|
|
|
<script type="text/html" class="users">
|
|
{{#each users}}
|
|
<li>
|
|
<button class="user">
|
|
{{mode}}{{name}}
|
|
</button>
|
|
</li>
|
|
{{/each}}
|
|
</script>
|
|
|
|
<script type="text/html" class="messages">
|
|
{{#slice messages limit=100}}
|
|
<li class="msg {{type}}">
|
|
<span class="from">
|
|
<button class="user">
|
|
{{from}}
|
|
</button>
|
|
</span>
|
|
<span class="text">
|
|
{{#if type}}
|
|
<em class="type">
|
|
{{type}}
|
|
</em>
|
|
{{/if}}
|
|
{{{uri text}}}
|
|
</span>
|
|
<span class="time">
|
|
{{time}}
|
|
</span>
|
|
</li>
|
|
{{/slice}}
|
|
</script>
|
|
</div>
|
|
|
|
<script src="/socket.io/socket.io.js"></script>
|
|
<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>
|
|
<script src="/js/handlebars.helpers.js"></script>
|
|
<script src="/js/chat.js"></script>
|
|
|
|
</body>
|
|
</html>
|