Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (45 sloc) 1.6 KB
<h3>Sign In using credentials</h3>
<form action="/auth/credentials" method="post">
<div class="form-row">
<div class="form-group" data-validation-summary="userName,password"></div>
</div>
<div class="form-row">
<div class="form-group">
<input class="form-control form-control-lg" name="userName" type="text" placeholder="UserName">
</div>
</div>
<div class="form-row">
<div class="form-group">
<input class="form-control form-control-lg" name="password" type="password" placeholder="Password">
</div>
<div class="form-group col-md-4">
<button type="submit" class="btn btn-lg btn-primary">Login</button>
</div>
</div>
<div class="form-row">
<div class="form-group">
<input type="checkbox" id="rememberMe" name="rememberMe" value="true">
<label for="rememberMe">Remember Me</label>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-4">
<a class="lnk" href="/client-ts/register">Register New User</a>
</div>
</div>
</form>
<div>
<b>Quick Login:</b>
<div class="quicklist">
<span data-click="switchUser:admin@email.com">admin@email.com</span>
<span data-click="switchUser:new@user.com">new@user.com</span>
</div>
</div>
{{#capture appendTo scripts}}
<script>var CONTINUE = '{{qs.redirect ?? "/client-ts/"}}';</script>
<script src="login.js"></script>
{{/capture}}
{{ 'showcode' | partial({
link: {'/client-ts/login.html': 'https://github.com/NetCoreApps/Validation/blob/master/world/wwwroot/client-ts/login.html'},
gist: 'https://gist.github.com/gistlyn/ccf2f176ddc0bb3cfd17def8a3de5595.js'
}) }}
You can’t perform that action at this time.