myaac/system/templates/admin.login.html.twig
Lee 876b1b988a Code clean up + datatables (#64)
* Reformat Code

Reformat Code
- spaces + tabs

* Code cleanup

removed duplicated datatables code

* Datatables

replace spells, monsters tables with JavaScript Sortable Tables (DataTables?)
2018-12-02 06:30:36 +01:00

39 lines
1.3 KiB
Twig
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="login-box">
{% if logout %}
<div class="alert alert-success alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h4><i class="icon fa fa-check"></i> Status</h4>
{{ logout }}
</div>
{% endif %}
<form method="post">
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Please login.</h3>
</div>
<div class="box-body">
<div class="form-group">
<div class="form-group input-group">
<span class="input-group-addon"><i class="fa fa-lock"></i></span>
<input type="password" class="form-control" id="account-name-input" name="account_login"
placeholder="Account {{ account }}" required autofocus>
</div>
<div class="form-group input-group">
<span class="input-group-addon"><i class="fa fa-key"></i></span>
<input type="password" class="form-control" placeholder="Password" name="password_login"
placeholder="Password" required>
</div>
</div>
</div>
<div class="box-footer">
<label>
<input type="checkbox" id="remember_me" name="remember_me" value="true"> Remember me
</label>
<input type="hidden" name="admin" value="1"/>
<button type="submit" class="btn btn-info pull-right">Sign in</button>
</div>
</div>
</form>
</div>