myaac/system/templates/admin.login.html.twig
Lee eaa11c68f3 Admin Panel Updates
- Updated Admin Panel to Bootstrap 4.
- Code cleanup
- Rewrote menu generation code
- Added top 10 coins, top 10 premium points, last 10 logins to modules page.
- Added full account list to Account editor
- Added load outfits from XML to player editor and lists all enabled outfits in editor (will default to textbox if array of outfits do not exist)
- Added tabs to account editor - account, characters,store history, bans(this is based off the bans.php page so will not work on TFS 0.2/1.0)
- Updated datepickers to display the actual date rather than unix time.
- Added last 10 posts to player editor
2020-03-31 02:03:16 +01:00

48 lines
1.5 KiB
Twig

<div class="login-page">
<div class="login-box">
<div class="login-logo"><b>My</b>AAC</div>
{% if logout %}
<div class="toast bg-success fade show">
<div class="toast-header"><strong class="mr-auto">Status</strong></div>
<div class="toast-body">{{ logout }}</div>
</div>
{% endif %}
<div class="card">
<div class="card-body">
<p class="login-box-msg">Please login.</p>
<form method="post">
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lock"></i></span>
</div>
<input type="text" class="form-control" id="account-name-input" name="account_login"
placeholder="Account {{ account }}" required autofocus>
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-key"></i></span>
</div>
<input type="password" class="form-control" placeholder="Password" name="password_login"
placeholder="Password" required>
</div>
<div class="row">
<div class="col-8">
<div class="icheck-primary">
<input type="checkbox" id="remember_me" name="remember_me" value="true">
<label for="remember">Remember Me</label>
</div>
</div>
<div class="col-4">
<input type="hidden" name="admin" value="1"/>
<button type="submit" class="btn btn-info btn-block">Sign In</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>