29:8d134e4f876c
Anton Shestakov <av6@dwimlabs.net>, Mon, 21 Mar 2016 21:46:23 +0800
index: report client version on request

next change 46:e3696f4866fc
previous change 21:e43ed046f909

register.html

Permissions: -rw-r--r--

Other formats: Feeds:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Registration</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.25.0/css/uikit.min.css">
<link rel="stylesheet" href="/css/tram-im.css">
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.2.3/backbone-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.25.0/js/uikit.min.js"></script>
<script src="/vendor/strophejs/strophe.min.js"></script>
<script src="/vendor/strophejs-plugins/register/strophe.register.js"></script>
<script src="/vendor/strophejs-plugins/vcard/strophe.vcard.js"></script>
</head>
<body>
<div class="smart-container">
<div class="uk-alert" data-step="noscript">
<p class="uk-text-center">This page needs JavaScript to work.</p>
<hr>
<small>It uses resources from code.jquery.com and cdnjs.cloudflare.com.</small>
</div>
<script>
$('[data-step="noscript"]').addClass('uk-hidden');
</script>
<div class="uk-alert uk-alert-danger uk-hidden" data-msg="registration-closed">Registration is closed at the moment.</div>
<div class="uk-form uk-form-horizontal uk-hidden" data-step="registration" data-form="registration">
<div class="uk-form-row">
<label for="username" class="uk-form-label">Username</label>
<div class="uk-form-controls">
<input id="username" type="text" class="uk-width-1-1" value="" required autofocus>
</div>
</div>
<div class="uk-form-row">
<label for="password1" class="uk-form-label">Password</label>
<div class="uk-form-controls">
<input id="password1" type="password" class="uk-width-1-1" value="" required>
</div>
</div>
<div class="uk-form-row">
<label for="password2" class="uk-form-label">Confirmation</label>
<div class="uk-form-controls">
<input id="password2" type="password" class="uk-width-1-1" value="" required>
</div>
</div>
<div class="uk-form-row">
<div class="uk-form-controls">
<div class="uk-alert uk-alert-danger uk-hidden" data-msg="registration-failed">Unspecified error, sorry.</div>
<button type="button" class="uk-button uk-button-primary">Register</button>
<a class="uk-float-right uk-button uk-button-link" href="/">Log in</a>
</div>
</div>
</div>
<div class="uk-form uk-form-horizontal uk-hidden" data-step="vcard" data-form="vcard">
<div class="uk-form-row">
<label for="fullname" class="uk-form-label">Full Name</label>
<div class="uk-form-controls">
<input id="fullname" class="uk-width-1-1" type="text" value="">
</div>
</div>
<div class="uk-form-row">
<label for="nickname" class="uk-form-label">Nickname</label>
<div class="uk-form-controls">
<input id="nickname" class="uk-width-1-1" type="text" value="">
</div>
</div>
<div class="uk-form-row">
<label for="avatar" class="uk-form-label">Avatar</label>
<div class="uk-form-controls">
<input id="avatar" type="file" accept="image/*" value="">
</div>
</div>
<div class="uk-form-row">
<div class="uk-form-controls">
<button class="uk-button uk-button-primary">Save</button>
</div>
</div>
</div>
<div class="uk-alert uk-alert-danger uk-hidden" data-msg="save-failed">Couldn't save the vCard.</div>
</div>
<script src='/js/tram.js'></script>
<script src='/js/validation.js'></script>
<script src='/js/xmpp.js'></script>
<script src='/config.js'></script>
<script src='/js/register.js'></script>
</body>
</html>