This repository was archived by the owner on Feb 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathcheckMk.template.html
More file actions
executable file
·105 lines (105 loc) · 4.09 KB
/
Copy pathcheckMk.template.html
File metadata and controls
executable file
·105 lines (105 loc) · 4.09 KB
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
<div class="form_item_block">
<label>CheckMK server:<span class="asterisk">*</span>
</label>
<textarea ng-model="Server" ng-required="true"></textarea>
<div role="alert">
<span class="error" color="red" ng-show="GOINPUTNAME[Server].$error.required" >Required!</span>
</div>
</div>
<div class="form_item_block">
<label>Username:<span class="asterisk">*</span>
</label>
<input type="text" ng-model="Username" ng-required="true">
<div role="alert">
<span class="error" color="red" ng-show="GOINPUTNAME[Username].$error.required" >Required!</span>
</div>
</div>
<div class="form_item_block">
<label>Password:<span class="asterisk">*</span>
</label>
<input type="password" name="password" ng-model="Password" ng-required="true">
<div role="alert">
<span class="error" color="red" ng-show="GOINPUTNAME[Password].$error.required" >Required!</span>
</div>
</div>
<select ng-init="SelectedAction='default'" ng-model="SelectedAction" >
<option selected disabled value="default">Select action</option>
<option value="add">Add Host</option>
<option value="edit">Edit Host</option>
<option value="remove">Remove Host</option>
</select>
</br>
</br>
<div ng-switch="SelectedAction">
<div ng-switch-when="add">
<div class="form_item_block">
<label>Hostname:<span class="asterisk">*</span>
</label>
<input type="text" ng-model="Hostname" ng-required="true">
</input>
<div role="alert">
<span class="error" color="red" ng-show="GOINPUTNAME[Hostname].$error.required" >Required!</span>
</div>
</div>
<div class="form_item_block">
<label>Host ip:<span class="asterisk">*</span>
</label>
<input type="text" ng-model="HostIp" ng-required="true">
</input>
<div role="alert">
<span class="error" color="red" ng-show="GOINPUTNAME[HostIp].$error.required" >Required!</span>
</div>
</div>
<div class="form_item_block">
<label>Folder path:<span class="asterisk">*</span>
</label>
<input type="text" ng-model="FolderPath" ng-required="true">
</input>
<div role="alert">
<span class="error" color="red" ng-show="GOINPUTNAME[FolderPath].$error.required" >Required!</span>
</div>
</div>
</div>
<div ng-switch-when="edit">
<div class="form_item_block">
<label>Hostname:<span class="asterisk">*</span>
</label>
<input type="text" ng-model="Hostname" ng-required="true">
</input>
<div role="alert">
<span class="error" color="red" ng-show="GOINPUTNAME[Hostname].$error.required" >Required!</span>
</div>
</div>
<div class="form_item_block">
<label>New Host ip:<span class="asterisk">*</span>
</label>
<input type="text" ng-model="HostIp" ng-required="true">
</input>
<div role="alert">
<span class="error" color="red" ng-show="GOINPUTNAME[HostIp].$error.required" >Required!</span>
</div>
</div>
<div class="form_item_block">
<label>New Folder path:<span class="asterisk">*</span>
</label>
<input type="text" ng-model="FolderPath" ng-required="true">
</input>
<div role="alert">
<span class="error" color="red" ng-show="GOINPUTNAME[FolderPath].$error.required" >Required!</span>
</div>
</div>
</div>
<div ng-switch-when="remove">
<div class="form_item_block">
<label>Hostname:<span class="asterisk">*</span>
</label>
<input type="text" ng-model="Hostname" ng-required="true">
</input>
<div role="alert">
<span class="error" color="red" ng-show="GOINPUTNAME[Hostname].$error.required" >Required!</span>
</div>
</div>
</div>
<div ng-switch-when="default">
</div>
</div>