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

90 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html class="cp">
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Cryptpad: login</title>
<script data-main="main" src="/bower_components/requirejs/require.js"></script>
8 years ago
<link rel="stylesheet" href="/customize/main.css" />
<style>
html, body{
padding: 0px;
margin: 0px;
height: 100%;
width: 100%;
box-sizing: border-box;
}
body {
8 years ago
padding-top: 50px;
}
8 years ago
div.box {
width: 70%;
8 years ago
margin: auto;
border: 1px solid black;
padding: 15px;
display: none;
8 years ago
background-color: #333;
border-radius: 5px;
}
@media (max-width: 1000px) {
div.box { width: 90%; }
}
input[type="text"], input[type="password"] {
width: 80%;
}
hr.choice {
margin-top: 45px;
margin-bottom: 45px;
}
#notice-box {
text-align: center;
font-size: 25px;
}
</style>
</head>
<body>
8 years ago
<div id="login-box" class="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 />
<button id="login" data-localization="login_login"></button>
8 years ago
<input type="checkbox" name="remember" id="remember" checked="true"><label for="remember" data-localization="login_remember"></label>
</div>
8 years ago
<div id="notice-box" class="box">
<p id="notice"></p>
</div>
<div id="confirm-box" class="box">
<p data-localization="login_no_user"></p>
<p data-localization="login_confirm_password"></p>
<input type="password" name="confirm" id="confirm" data-localization-placeholder="login_confirm">
<button id="register" data-localization="login_register"></button>
<hr class="choice"/>
<p data-localization="login_cancel_prompt"></p>
<button id="cancel-register" data-localization="cancel"></button>
</div>
8 years ago
<div id="logout-box" class="box">
<div data-localization="login_logout"></div>
<button id="logout" data-localization="logoutButton"></button>
</div>
8 years ago
<div id="user-box" class="box">
<div>
<p><span data-localization="displayname_label"></span>
<strong id="display-name" class="display"></strong></p>
<p><span data-localization="username_label"></span>
<strong id="user-name" class="display"></strong></p>
<p>View your <a href="/file" target="_blank">file manager</a>.</p>
</div>
8 years ago
</div>