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.
96 lines
3.0 KiB
HTML
96 lines
3.0 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>
|
|
<link rel="stylesheet" href="/customize/main.css" />
|
|
<style>
|
|
html, body{
|
|
padding: 0px;
|
|
margin: 0px;
|
|
height: 100% !important;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
padding: 45px;
|
|
}
|
|
div.panel{
|
|
width: 70%;
|
|
margin: auto;
|
|
border: 1px solid black;
|
|
padding: 15px;
|
|
display: none;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.register {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
div.panel { width: 90%; }
|
|
}
|
|
input[type="text"], input[type="password"] {
|
|
width: 80%;
|
|
}
|
|
|
|
hr.choice {
|
|
margin-top: 45px;
|
|
margin-bottom: 45px;
|
|
}
|
|
|
|
#notice-panel {
|
|
text-align: center;
|
|
font-size: 25px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body id="main">
|
|
|
|
<div id="login-panel" class="panel">
|
|
<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 />
|
|
<input type="password" class="register" name="confirm" id="confirm_register" data-localization-placeholder="login_confirm"><br />
|
|
|
|
<button id="login" data-localization="login_login"></button>
|
|
<div style="display: none;"><input type="checkbox" name="remember" id="remember" checked="true"><label for="remember" data-localization="login_remember"></label></div>
|
|
</div>
|
|
|
|
<div id="notice-panel" class="panel">
|
|
<p id="notice"></p>
|
|
</div>
|
|
|
|
<div id="confirm-panel" class="panel">
|
|
<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>
|
|
|
|
<div id="logout-panel" class="panel">
|
|
<div data-localization="login_logout"></div>
|
|
<button id="logout" data-localization="logoutButton"></button>
|
|
</div>
|
|
|
|
<div id="user-panel" class="panel">
|
|
<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="/drive" target="_blank">CryptDrive</a>.</p>
|
|
</div>
|
|
</div>
|
|
|