2017-10-15 11:31:44 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2018-11-06 22:53:23 +08:00
|
|
|
<meta charset="utf-8">
|
2017-10-15 11:31:44 +08:00
|
|
|
<title>Login</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
2018-11-06 21:54:22 +08:00
|
|
|
<div style="width: 400px; margin: auto; padding-top: 30px;">
|
2018-11-06 22:53:23 +08:00
|
|
|
<h1>Trilium login</h1>
|
2017-10-15 11:31:44 +08:00
|
|
|
|
2018-11-06 22:53:23 +08:00
|
|
|
<% if (failedAuth) { %>
|
|
|
|
<div class="alert alert-warning">
|
|
|
|
Username and / or password are incorrect. Please try again.
|
|
|
|
</div>
|
|
|
|
<% } %>
|
2017-10-15 11:31:44 +08:00
|
|
|
|
2018-11-06 22:53:23 +08:00
|
|
|
<form action="login" method="POST">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="username">Username</label>
|
|
|
|
<div class="controls">
|
|
|
|
<input id="username" name="username" placeholder="" class="form-control" type="text">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password">Password</label>
|
|
|
|
<div class="controls">
|
|
|
|
<input id="password" name="password" placeholder="" class="form-control" type="password">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="checkbox">
|
|
|
|
<label>
|
|
|
|
<input id="remember-me" name="remember_me" value="1" type="checkbox"> Remember me
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<button class="btn btn-success">Login</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
2017-10-15 11:31:44 +08:00
|
|
|
</div>
|
2017-10-21 11:43:20 +08:00
|
|
|
|
|
|
|
<!-- Required for correct loading of scripts in Electron -->
|
|
|
|
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
|
|
|
|
|
2018-11-07 02:35:42 +08:00
|
|
|
<link href="/libraries/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
2017-10-15 11:31:44 +08:00
|
|
|
</body>
|
|
|
|
</html>
|