-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIndex.cshtml
133 lines (78 loc) · 3.18 KB
/
Index.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
@*Batch Creation Page*@
@model iDCS_Model_UI.Models.BatchFieldViewModel;
@{
ViewData["Title"] = "Batch Creation Page";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@if(TempData["success"]!= null)
{
<script type="text/javascript">
toastr.success('@TempData["success"]');
</script>
}
@if(TempData["error"]!= null)
{
<script type="text/javascript">
toastr.error('@TempData["error"]');
</script>
}
@section Styles
{
<style>
.Drop{
position:relative;
}
</style>
}
<div>
<p class="font-weight-bold text-primary font-italic">Create Annotation Batch</p>
<form id="myform" asp-action="BatchListPage" asp-controller="Batch" method="post" class="form-floating modal-dialog-scrollable">
<div class="row">
<div class="form-group col-md-2 d-inline">
<label class="form-label" asp-for="TagName" >Tag Name</label>
</div>
<div class="form-group col-md-4 d-inline">
<input class="form-control" asp-for="TagName" name="TagName" type="text" placeholder="Please Enter Tag Name"/>
</div>
</div>
<div class="row">
<div class="form-group col-md-2 d-inline">
<label class="form-label" asp-for="FolderPath" >Folder Path</label>
</div>
<div class="form-group col-md-4 d-inline">
<input class="form-control" asp-for="FolderPath" name="FolderPath" type="text" placeholder="Please Enter Folder Path" required/>
</div>
</div>
<div class="row">
<div class="form-group col-md-2 d-inline">
<label class="form-label " >Choose Field Group</label>
</div>
<div class="form-group col-md-4 d-inline" >
<select class="form-control" name="Groupid" >
<option>Select Option..</option>
@foreach(var item in Model.tblFieldGroups){
<option value="@item.FieldGroupId" >
@item.FieldGroupName
</option>
}
</select>
</div>
</div>
</form>
<div class="modal-footer">
@*<button type="button" class="btn btn-primary" data-save="modal">Save</button> *@
@* <button type="button" class="btn btn-primary" data-dismiss="modal">Close</button> *@
<input class="btn btn-primary small" type="submit" form="myform" value="Submit" />
</div>
</div>
@section scripts
{
<script>
$(window).on('load',function() {
$('body').removeClass('preload')
$('#loading').removeClass('loader-wrapper');
$('#loading1').removeClass('loader');
$('#loading2').removeClass('loader-inner');
});
</script>
}