Packages

N2O Sample Application

Current section

Files

Jump to
review login.htm
Raw

login.htm

<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='synrc.css?v=103' type='text/css' rel='stylesheet'>
<title>Login</title>
</head>
<body class="login">
<header>
<a href="/index.htm">
<img src="S.svg?v=100" style="margin-bottom:40px;"></a>
</header>
<form>
<label for="user">Choose Nickname:</label>
<input type="text" id="user" autofocus>
<label for="pass">Join or Create Channel:</label>
<input type="text" id="pass">
<button id="loginButton">login</button>
</form>
<footer>Brought to you with ♡ by N2O developers.</footer>
<script src="//cdnjs.cloudflare.com/ajax/libs/paho-mqtt/1.0.1/mqttws31.js"></script>
<script src='/n2o/utf8.js?v=1'></script>
<script src='/n2o/bert.js?v=1'></script>
<script src='/n2o/bullet.js?v=1'></script>
<script src='/n2o/n2o.js?v=2'></script>
<script>host = location.hostname; port = 8000; </script>
<script>host = 'ns.synrc.com'; port = 8000; </script>
<script src='/n2o/ftp.js?v=1'></script>
<script src='/n2o/nitrogen.js?v=1'></script>
<script src='/n2o/mq.js?v=2'></script>
<script> qi('pass').value = module == "login" ? "" : module; </script>
</body>
</html>