This repository has been archived by the owner on Aug 7, 2021. It is now read-only.
forked from VahidN/DNTCaptcha.Core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_LoginFormBody.cshtml
63 lines (62 loc) · 3.09 KB
/
_LoginFormBody.cshtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
@using DNTCaptcha.TestWebApp.Models
@model AccountViewModel
<div asp-validation-summary="All" class="text-danger alert alert-block"></div>
<div class="panel panel-default top30">
<div class="panel-heading">
<h3 class="panel-title">Login</h3>
</div>
<div class="panel-body form-horizontal">
<div class="form-group">
<label asp-for="Username" class="col col-md-2 control-label"></label>
<div class="controls col col-md-10">
<div class="input-group col-md-4">
<span class="input-group-addon">
<span class="glyphicon glyphicon-user"></span>
</span>
<input asp-for="Username" class="form-control col-md-4" dir="ltr" AutoCompleteType="Disabled" />
</div>
<span asp-validation-for="Username" class="text-danger"></span>
</div>
</div>
<div class="form-group">
<label asp-for="Password" class="col col-md-2 control-label"></label>
<div class="controls col col-md-10">
<div class="input-group col-md-4">
<span class="input-group-addon">
<span class="glyphicon glyphicon-asterisk"></span>
</span>
<input asp-for="Password" class="form-control col-md-4" dir="ltr" />
</div>
<span asp-validation-for="Password" class="text-danger"></span>
</div>
</div>
<div class="form-group">
<label class="col col-md-2 control-label">
Security code
</label>
<div class="controls col col-md-10">
<dnt-captcha asp-captcha-generator-max="30"
asp-captcha-generator-min="1"
asp-captcha-generator-language="English"
asp-captcha-generator-display-mode="SumOfTwoNumbersToWords"
asp-use-relative-urls="true"
asp-placeholder="Security code as a number"
asp-validation-error-message="Please enter the security code as a number."
asp-font-name="Tahoma"
asp-font-size="60"
asp-fore-color="#333333"
asp-back-color="#ccc"
asp-text-box-class="text-box single-line form-control col-md-4"
asp-text-box-template="<div class='input-group col-md-4'><span class='input-group-addon'><span class='glyphicon glyphicon-lock'></span></span>{0}</div>"
asp-validation-message-class="text-danger"
asp-refresh-button-class="glyphicon glyphicon-refresh btn-sm"
asp-use-noise="true"
asp-dir="ltr"
/>
</div>
</div>
</div>
<footer class="panel-footer">
<input type="submit" class="btn btn-info" value="Login" />
</footer>
</div>