2014-08-16 00:05:37 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
|
|
|
|
<meta charset="utf-8">
|
2014-09-28 22:46:32 +00:00
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no">
|
2014-08-16 00:05:37 +00:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2014-10-13 10:04:56 +00:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
2014-09-28 22:46:32 +00:00
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2015-07-22 23:48:49 +00:00
|
|
|
<meta name="referrer" content="no-referrer">
|
2014-08-16 00:05:37 +00:00
|
|
|
|
2016-02-10 05:45:21 +00:00
|
|
|
<title>The Lounge</title>
|
2014-08-16 00:05:37 +00:00
|
|
|
|
|
|
|
<link rel="stylesheet" href="css/bootstrap.css">
|
|
|
|
<link rel="stylesheet" href="css/style.css">
|
2014-09-15 21:54:01 +00:00
|
|
|
<link id="theme" rel="stylesheet" href="<%= theme %>">
|
2014-08-16 00:05:37 +00:00
|
|
|
|
2016-02-24 17:19:05 +00:00
|
|
|
<link rel="shortcut icon" href="img/favicon.png" data-other="img/favicon-notification.png" data-toggled="false" id="favicon">
|
2016-02-13 21:24:43 +00:00
|
|
|
<link rel="apple-touch-icon" sizes="120x120" href="img/apple-touch-icon-120x120.png">
|
2014-08-16 00:05:37 +00:00
|
|
|
|
|
|
|
</head>
|
|
|
|
<body class="<%= public ? "public" : "" %>">
|
|
|
|
|
|
|
|
<div id="wrap">
|
|
|
|
<div id="viewport">
|
2014-09-19 23:12:17 +00:00
|
|
|
<aside id="sidebar" class="tse-scrollable">
|
|
|
|
<div class="tse-content">
|
|
|
|
<div class="networks"></div>
|
|
|
|
<div class="empty">
|
|
|
|
You're not connected to any networks yet.
|
|
|
|
</div>
|
2014-08-16 00:05:37 +00:00
|
|
|
</div>
|
|
|
|
</aside>
|
2014-09-19 23:12:17 +00:00
|
|
|
<footer id="footer">
|
2016-02-20 14:33:47 +00:00
|
|
|
<span class="tooltipped tooltipped-n" aria-label="Sign in to The Lounge"><button class="icon sign-in" data-target="#sign-in"></button></span>
|
|
|
|
<span class="tooltipped tooltipped-n" aria-label="Connect to network"><button class="icon connect" data-target="#connect"></button></span>
|
|
|
|
<span class="tooltipped tooltipped-n" aria-label="Client settings"><button class="icon settings" data-target="#settings"></button></span>
|
|
|
|
<span class="tooltipped tooltipped-n" aria-label="Sign out"><button class="icon sign-out" id="sign-out"></button></span>
|
2014-09-19 23:12:17 +00:00
|
|
|
</footer>
|
2014-08-16 00:05:37 +00:00
|
|
|
<div id="main">
|
|
|
|
<div id="windows">
|
2014-09-30 18:00:23 +00:00
|
|
|
<div id="chat" class="no-colors"></div>
|
2016-02-20 14:33:47 +00:00
|
|
|
<div id="sign-in" class="window">
|
2014-09-13 01:03:16 +00:00
|
|
|
<div class="header">
|
|
|
|
<button class="lt"></button>
|
|
|
|
</div>
|
2016-02-11 05:40:44 +00:00
|
|
|
<form class="container" method="post" action="">
|
2014-08-16 00:05:37 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<h1 class="title">Sign in</h1>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<label>
|
|
|
|
Username
|
|
|
|
<input class="input" name="user">
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<label class="port">
|
|
|
|
Password
|
|
|
|
<input class="input" type="password" name="password">
|
|
|
|
</label>
|
|
|
|
</div>
|
2014-09-15 21:13:03 +00:00
|
|
|
<div class="col-xs-12">
|
|
|
|
<label class="remember">
|
|
|
|
<input type="checkbox" name="remember" checked="checked">
|
|
|
|
Stay signed in
|
|
|
|
</label>
|
|
|
|
</div>
|
2014-08-16 00:05:37 +00:00
|
|
|
<div class="col-xs-12 error" style="display: none;">
|
|
|
|
Authentication failed.
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<button type="submit" class="btn">
|
|
|
|
Sign in
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2016-02-20 14:33:47 +00:00
|
|
|
<div id="connect" class="window">
|
2014-09-13 01:03:16 +00:00
|
|
|
<div class="header">
|
|
|
|
<button class="lt"></button>
|
|
|
|
</div>
|
2016-02-11 05:40:44 +00:00
|
|
|
<form class="container" method="post" action="">
|
2014-08-16 00:05:37 +00:00
|
|
|
<div class="row">
|
2014-09-13 01:03:16 +00:00
|
|
|
<div class="col-sm-12">
|
2014-08-16 00:05:37 +00:00
|
|
|
<h1 class="title">Connect</h1>
|
|
|
|
</div>
|
2015-04-16 08:14:37 +00:00
|
|
|
<div <%= typeof(displayNetwork) !== "undefined" && !displayNetwork ? 'style="display: none;"' : ''%>>
|
2015-03-22 13:32:01 +00:00
|
|
|
<div class="col-sm-12">
|
|
|
|
<h2>Network settings</h2>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-3">
|
2014-09-14 21:26:22 +00:00
|
|
|
<label>Name</label>
|
2015-03-22 13:32:01 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-9">
|
|
|
|
<input class="input" name="name" value="<%= defaults.name %>">
|
2014-09-13 01:03:16 +00:00
|
|
|
</div>
|
2015-03-22 13:32:01 +00:00
|
|
|
<div class="col-sm-3">
|
|
|
|
<label>Server</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6 col-xs-8">
|
|
|
|
<input class="input" name="host" value="<%= defaults.host %>">
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-3 col-xs-4">
|
|
|
|
<div class="port">
|
|
|
|
<input class="input" name="port" value="<%= defaults.port %>">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
<div class="col-sm-3">
|
|
|
|
<label>Password</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-9">
|
|
|
|
<input class="input" type="password" name="password" value="<%= defaults.password %>">
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-3"></div>
|
|
|
|
<div class="col-sm-9">
|
|
|
|
<label class="tls">
|
|
|
|
<input type="checkbox" name="tls" <%= defaults.tls ? 'checked="checked"' : '' %>>
|
|
|
|
Enable TLS/SSL
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
2014-08-16 00:05:37 +00:00
|
|
|
</div>
|
2014-09-13 01:03:16 +00:00
|
|
|
<div class="col-sm-12">
|
|
|
|
<h2>User preferences</h2>
|
2014-09-10 15:56:19 +00:00
|
|
|
</div>
|
2014-09-13 01:03:16 +00:00
|
|
|
<div class="col-sm-3">
|
|
|
|
<label>Nick</label>
|
|
|
|
</div>
|
2014-09-14 21:26:22 +00:00
|
|
|
<div class="col-sm-5">
|
2014-11-06 12:00:14 +00:00
|
|
|
<input class="input nick" name="nick" value="<%= defaults.nick %>">
|
2014-08-16 00:05:37 +00:00
|
|
|
</div>
|
2014-09-14 21:26:22 +00:00
|
|
|
<div class="clearfix"></div>
|
2014-11-02 15:44:52 +00:00
|
|
|
<div class="col-sm-3">
|
2014-11-06 12:00:14 +00:00
|
|
|
<label>Username</label>
|
2014-11-02 15:44:52 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-5">
|
2014-11-06 12:00:14 +00:00
|
|
|
<input class="input username" name="username" value="<%= defaults.username %>">
|
2014-11-02 15:44:52 +00:00
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
2014-09-13 01:03:16 +00:00
|
|
|
<div class="col-sm-3">
|
2014-11-05 22:19:29 +00:00
|
|
|
<label>Real name</label>
|
2014-09-13 01:03:16 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-9">
|
2014-09-15 21:54:01 +00:00
|
|
|
<input class="input" name="realname" class="input" value="<%= defaults.realname %>">
|
2014-08-16 00:05:37 +00:00
|
|
|
</div>
|
2014-09-13 01:03:16 +00:00
|
|
|
<div class="col-sm-3">
|
|
|
|
<label>Channels</label>
|
2014-08-16 00:05:37 +00:00
|
|
|
</div>
|
2014-09-13 01:03:16 +00:00
|
|
|
<div class="col-sm-9">
|
2014-09-15 21:54:01 +00:00
|
|
|
<input class="input" name="join" class="input" value="<%= defaults.join %>">
|
2014-09-13 01:03:16 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-3 clearfix"></div>
|
|
|
|
<div class="col-sm-9">
|
2014-08-16 00:05:37 +00:00
|
|
|
<button type="submit" class="btn">
|
|
|
|
Connect
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2016-02-20 14:33:47 +00:00
|
|
|
<div id="settings" class="window">
|
2014-09-13 01:03:16 +00:00
|
|
|
<div class="header">
|
|
|
|
<button class="lt"></button>
|
|
|
|
</div>
|
2014-08-16 00:05:37 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<h1 class="title">Settings</h1>
|
|
|
|
</div>
|
2014-09-10 20:08:32 +00:00
|
|
|
<div class="col-sm-12">
|
|
|
|
<h2>Messages</h2>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
|
|
|
<label class="opt">
|
|
|
|
<input type="checkbox" name="join">
|
|
|
|
Show joins
|
|
|
|
</label>
|
|
|
|
</div>
|
2014-09-11 17:24:32 +00:00
|
|
|
<div class="col-sm-6">
|
|
|
|
<label class="opt">
|
|
|
|
<input type="checkbox" name="motd">
|
|
|
|
Show motd
|
|
|
|
</label>
|
|
|
|
</div>
|
2014-09-10 20:08:32 +00:00
|
|
|
<div class="col-sm-6">
|
|
|
|
<label class="opt">
|
2014-09-11 18:05:33 +00:00
|
|
|
<input type="checkbox" name="part">
|
|
|
|
Show parts
|
2014-09-10 20:08:32 +00:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
|
|
|
<label class="opt">
|
2014-09-11 18:05:33 +00:00
|
|
|
<input type="checkbox" name="nick">
|
|
|
|
Show nick changes
|
2014-09-10 20:08:32 +00:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
|
|
|
<label class="opt">
|
|
|
|
<input type="checkbox" name="mode">
|
|
|
|
Show mode
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
|
|
|
<label class="opt">
|
|
|
|
<input type="checkbox" name="quit">
|
|
|
|
Show quits
|
|
|
|
</label>
|
|
|
|
</div>
|
2014-09-30 18:00:23 +00:00
|
|
|
<div class="col-sm-12">
|
|
|
|
<h2>Visual Aids</h2>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<label class="opt">
|
|
|
|
<input type="checkbox" name="colors">
|
|
|
|
Enable colored nicknames
|
|
|
|
</label>
|
|
|
|
</div>
|
2014-10-10 21:12:01 +00:00
|
|
|
<% if (typeof prefetch === "undefined" || prefetch !== false) { %>
|
2014-09-27 23:22:34 +00:00
|
|
|
<div class="col-sm-12">
|
|
|
|
<h2>Links and URLs</h2>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
|
|
|
<label class="opt">
|
|
|
|
<input type="checkbox" name="thumbnails">
|
2014-09-30 18:00:23 +00:00
|
|
|
Auto-expand thumbnails
|
2014-09-27 23:22:34 +00:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
|
|
|
<label class="opt">
|
|
|
|
<input type="checkbox" name="links">
|
2014-09-30 18:00:23 +00:00
|
|
|
Auto-expand links
|
2014-09-27 23:22:34 +00:00
|
|
|
</label>
|
|
|
|
</div>
|
2014-10-10 21:12:01 +00:00
|
|
|
<% } %>
|
2014-08-16 00:05:37 +00:00
|
|
|
<div class="col-sm-12">
|
2014-09-15 18:16:45 +00:00
|
|
|
<h2>Notifications</h2>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<label class="opt">
|
|
|
|
<input id="badge" type="checkbox" name="badge">
|
|
|
|
Enable badge
|
|
|
|
</label>
|
2014-08-16 00:05:37 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<label class="opt">
|
|
|
|
<input type="checkbox" name="notification">
|
|
|
|
Enable notification sound
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<div class="opt">
|
|
|
|
<button id="play">Play sound</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-11-14 16:57:19 +00:00
|
|
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<label class="opt">
|
|
|
|
<input type="checkbox" name="notifyAllMessages">
|
|
|
|
Enable notification for all messages
|
|
|
|
</label>
|
|
|
|
</div>
|
2016-02-17 00:14:43 +00:00
|
|
|
<% if (!public) { %>
|
|
|
|
<div id="change-password">
|
|
|
|
<form action="" method="post">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<h2>Change password</h2>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<label for="old_password" class="sr-only">Enter current password</label>
|
|
|
|
<input type="password" name="old_password" class="input" placeholder="Enter current password">
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<label for="new_password" class="sr-only">Enter desired new password</label>
|
|
|
|
<input type="password" name="new_password" class="input" placeholder="Enter desired new password">
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<label for="verify_password" class="sr-only">Repeat new password</label>
|
|
|
|
<input type="password" name="verify_password" class="input" placeholder="Repeat new password">
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-12 feedback"></div>
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<button type="submit" class="btn">Change password</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
2014-08-16 00:05:37 +00:00
|
|
|
<div class="col-sm-12">
|
2016-02-10 05:45:21 +00:00
|
|
|
<h2>About The Lounge</h2>
|
2014-08-16 00:05:37 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<p class="about">
|
2014-09-15 21:54:01 +00:00
|
|
|
You're currently running version <small><%= version %></small><br>
|
2016-02-10 06:31:26 +00:00
|
|
|
<a href="https://github.com/thelounge/lounge/blob/master/CHANGELOG.md#readme" target="_blank">View the changelog</a>
|
2014-08-16 00:05:37 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-02-11 05:40:44 +00:00
|
|
|
<form id="form" method="post" action="">
|
2014-08-16 00:05:37 +00:00
|
|
|
<div class="inner">
|
2014-09-21 15:21:26 +00:00
|
|
|
<button id="submit" type="submit">
|
|
|
|
Send
|
|
|
|
</button>
|
|
|
|
<div class="input">
|
2014-09-25 23:51:53 +00:00
|
|
|
<label for="input" id="nick"></label>
|
2015-10-06 08:40:25 +00:00
|
|
|
<input id="input" class="mousetrap">
|
2014-09-21 15:21:26 +00:00
|
|
|
</div>
|
2014-08-16 00:05:37 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-09-11 18:23:19 +00:00
|
|
|
<script src="js/libs.min.js"></script>
|
2016-02-10 05:37:35 +00:00
|
|
|
<script src="js/lounge.templates.js"></script>
|
|
|
|
<script src="js/lounge.js"></script>
|
2014-08-16 00:05:37 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|