blob: bfcb593a606e0bfb888686944aacfed95ea907c6 (
plain) (
tree)
|
|
<check if="{{ @message }}!=''">
<div class="jumbotron">
<p class="bg-danger">{{ message }}</p>
</div>
</check>
<div class="jumbotron">
<check if="{{ @loggedin }}">
<true>
<h1>Already logged in.</h1>
</true>
<false>
<form class="form-signin" action="{{ @hostname }}do/login" method="post">
<h2 class="form-signin-heading">Login</h2>
<input type="text" name="user" class="form-control" placeholder="Username" autofocus>
<input type="password" name="pass" class="form-control" placeholder="Password">
<label class="checkbox">
<input type="checkbox" name="remember" value="remember-me">Remember me</input>
</label>
<button class="btn btn-lg btn-primary btn-block" type="submit">Login</button>
</form>
</false>
</check>
</div>
|