mirror of
https://github.com/zadam/trilium.git
synced 2025-01-17 20:48:12 +08:00
responsive login page
This commit is contained in:
parent
d0d24f0f4a
commit
f7a670ec24
1 changed files with 30 additions and 28 deletions
|
@ -5,39 +5,41 @@
|
|||
<title>Login</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="width: 400px; margin: auto; padding-top: 30px;">
|
||||
<h1>Trilium login</h1>
|
||||
<div class="container">
|
||||
<div class="col-md-5 offset-md-3">
|
||||
<h1>Trilium login</h1>
|
||||
|
||||
<% if (failedAuth) { %>
|
||||
<div class="alert alert-warning">
|
||||
Username and / or password are incorrect. Please try again.
|
||||
</div>
|
||||
<% } %>
|
||||
<% if (failedAuth) { %>
|
||||
<div class="alert alert-warning">
|
||||
Username and / or password are incorrect. Please try again.
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<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">
|
||||
<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>
|
||||
<div class="form-group">
|
||||
<label for="password">Password</label>
|
||||
<div class="controls">
|
||||
<input id="password" name="password" placeholder="" class="form-control" type="password">
|
||||
<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>
|
||||
<div class="form-group">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input id="remember-me" name="remember_me" value="1" type="checkbox"> Remember me
|
||||
</label>
|
||||
<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>
|
||||
<div class="form-group">
|
||||
<button class="btn btn-success">Login</button>
|
||||
</div>
|
||||
</form>
|
||||
<div class="form-group">
|
||||
<button class="btn btn-success">Login</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Required for correct loading of scripts in Electron -->
|
||||
|
|
Loading…
Reference in a new issue