You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cryptpad/www/user/index.html

60 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<script data-main="main" src="/bower_components/requirejs/require.js"></script>
<link rel="stylesheet" href="/customize/main.css" />
<style>
html, body{
padding: 0px;
margin: 0px;
height: 100%;
width: 100%;
box-sizing: border-box;
}
body {
width: 80vw;
min-width: 1000px;
margin: auto;
padding-top: 50px;
}
div#login-box, div#logout-box {
width: 50%;
margin: auto;
border: 1px solid black;
padding: 15px;
display: none;
background-color: #333;
border-radius: 5px;
}
input[type="text"], input[type="password"] {
width: 80%;
}
#confirm { display: none; }
</style>
</head>
<body>
<div id="login-box">
<div id="warning" data-localization="login_warning"></div>
<input type="text" name="username" id="username" data-localization-placeholder="login_username" autofocus><br />
<input type="password" name="password" id="password" data-localization-placeholder="login_password"><br />
<label for="register" data-localization="login_register"></label>
<input type="checkbox" name="register" id="register"><br />
<input type="password" name="confirm" id="confirm" data-localization-placeholder="login_confirm">
<br />
<hr />
<button id="login" data-localization="login_login"></button>
<input type="checkbox" name="remember" id="remember"><label for="remember" data-localization="login_remember"></label>
</div>
<div id="logout-box">
<div data-localization="login_logout"></div>
<button id="logout">logout</button>
</div>