forked from community/device-mgt-plugins
parent
a4817b6037
commit
e80b8db1bd
@ -1,44 +1,5 @@
|
||||
<div class="container col-md-12 col-lg-3 col-centered wr-content wr-login col-centered">
|
||||
|
||||
<p class="page-sub-title">Login</p>
|
||||
<hr/>
|
||||
<!-- validation -->
|
||||
<span class="wr-validation-summary hidden">
|
||||
<p>Login failed. Check your credentials and try again.</p>
|
||||
</span>
|
||||
<div class="panel-body">
|
||||
<form id="signInForm" method="POST"
|
||||
class="{{defineZone "signInForm-class" scope="protected"}}"
|
||||
action="{{@app.context}}/api/user/login">
|
||||
<div class="wr-input-control">
|
||||
<label class="wr-input-label">Username *</label>
|
||||
<input type="text" name="username" class="form-control" placeholder="User Name"
|
||||
id="username" autofocus="autofocus" />
|
||||
{{#zone "signInForm-below"}}
|
||||
<div id="register-link-wrapper" style="float: right; padding-top: 10px;">
|
||||
<a href="{{@app.context}}/register" class="pull-right create-account">Create an account</a>
|
||||
</div>
|
||||
<div class="wr-input-control">
|
||||
<label class="wr-input-label">Password *</label>
|
||||
<input type="password" name="password" class="form-control"
|
||||
id="password" placeholder="Password" />
|
||||
</div>
|
||||
<div class="wr-input-control wr-btn-grp">
|
||||
<button class="wr-btn btn-download-agent" id="signIn"> Login </button>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
{{#if showRememberMe}}
|
||||
<span class="pull-left">
|
||||
<input type="checkbox" name="rememberMe" value="remember"> Remember me
|
||||
</span>
|
||||
{{/if}}
|
||||
{{#if showCreateAccount}}
|
||||
<a id="createAccount"
|
||||
href="{{@app.context}}/register"
|
||||
class="pull-right create-account">Create an account</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{#zone "bottomLoginJs"}}
|
||||
{{js "js/login.js" }}
|
||||
{{/zone}}
|
||||
|
Loading…
Reference in new issue