forked from AppStateESS/systemsinventory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEdit_Profile.html
156 lines (154 loc) · 8.21 KB
/
Edit_Profile.html
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!-- BEGIN message -->
<div class="alert alert-success" style="<?=$display?>"><?=$message?></div>
<!-- END message -->
<ul class="nav nav-tabs" style="margin-top:1em">
<li role="presentation" class="systems-pc-tab systems-tab"><a style="cursor:pointer">PC/Server</a></li>
<li role="presentation" class="printer-tab systems-tab"><a style="cursor:pointer">Printer</a></li>
</ul>
<div class="systems-pc-section systems-section">
<form action="<?=$form_action?>" method="post" class="phpws-form">
<input id="device-id" name="device_id" type="hidden">
<input id="specific-device-id" name="specific_device_id" type="hidden">
<input id="device-type-id" name="device_type" type="hidden" value=<?=PC?> />
<div class="row">
<legend>System Profile</legend>
<div class="form-group">
<label for="system_profile">System Profile</label>
<select id="system-profile" name="system-profile">
<?=$profiles?>
</select>
</div>
<div class="col-sm-6">
<fieldset>
<div class="form-group">
<label for="profile-name">Profile Name <i title="Required input" class="required fa fa-asterisk"></i></label>
<input id="profile-name" name="profile_name" type="text" class="form-control" required=""/>
</div>
<div class="form-group">
<label for="model">Model <i title="Required input" class="required fa fa-asterisk"></i></label>
<input required name="model" id="model" type="text" class="form-control" value="" />
</div>
<div class="form-group">
<label for="processor">Processor</label>
<input id="processor" type="text" name="processor" class="form-control" placeholder="Intel core i5 ect..." value="" />
</div>
<div class="form-group">
<label for="ram">RAM</label>
<input id="ram" name="ram" type="text" class="form-control" placeholder="Amount of RAM in GB" value="" />
</div>
<div class="col-sm-6" style="margin-left:-15px;">
<!-- <div>
<label for="vlan">VLAN</label>
<select name="vlan">
<option value="0">Select VLAN</option>
<option value="1">Admin</option>
<option value="2">Closed</option>
<option value="3">Public</option>
<option value="4">VOIP</option>
</select>
</div> -->
<div>
<label for="touch_screen">Touch Screen?</label>
<input id="touch-screen" name="touch_screen" type="checkbox"/>
</div>
<div>
<label for="stand">Docking Stand?</label>
<input id="stand" name="stand" type="checkbox"/>
</div>
</div>
<div class="col-sm-6" style="margin-left:-15px;">
<div>
<label for="smart_room">Smart Room?</label>
<input id="smart-room" name="smart_room" type="checkbox" value="" />
</div>
<div>
<label for="dual_monitor">Dual Monitor?</label>
<input id="dual-monitor" name="dual_monitor" type="checkbox"/>
</div>
</div>
</fieldset>
</div>
<div class="col-sm-6">
<fieldset>
<div class="form-group">
<label for="hd">Hard Drive</label>
<input id="hd" name="hd" type="text" class="form-control" value="" />
</div>
<div class="form-group">
<label for="video_card">Video Card</label>
<input id="video-card" name="video_card" type="text" class="form-control" value="" />
</div>
<div class="form-group">
<label for="os">Operating System</label>
<input id="os" name="os" type="text" class="form-control" value="" />
</div>
<div class="form-group">
<label for="manufacturer">Manufacturer</label>
<input id="manufacturer" name="manufacturer" type="text" class="form-control" value="" />
</div>
</fieldset>
</div>
</div>
<br />
<input class="btn btn-primary" type="submit" value="Save Profile" />
</form>
</div>
<div class="printer-section systems-section">
<form action="<?=$form_action?>" method="post" class="phpws-form">
<input id="printer-device-id" name="device_id" type="hidden">
<input id="printer-specific-device-id" name="specific_device_id" type="hidden">
<input id="printer-device-type-id" name="device_type" type="hidden">
<input name="device_type" type="hidden" value=<?=PRINTER?> />
<div class="row">
<legend>Printer Profile</legend>
<div class="form-group">
<label for="system_profile">System Profile</label>
<select id="printer-profile" name="system-profile">
<?=$printer_profiles?>
</select>
</div>
<div class="col-sm-6">
<fieldset>
<div class="form-group">
<label for="profile-name">Profile Name <i title="Required input" class="required fa fa-asterisk"></i></label>
<input id="printer-profile-name" name="profile_name" type="text" class="form-control" required=""/>
</div>
<div class="form-group">
<label for="model">Model <i title="Required input" class="required fa fa-asterisk"></i></label>
<input required name="model" id="printer-model" type="text" class="form-control" value="" />
</div>
<div class="col-sm-6" style="margin-left:-15px;">
<div>
<label for="color">Color?</label>
<input id="printer-color" name="color" type="checkbox"/>
</div>
</div>
<div class="col-sm-6" style="margin-left:-15px;">
<div>
<label for="duplex">Duplex?</label>
<input id="printer-duplex" name="duplex" type="checkbox"/>
</div>
</div>
</fieldset>
</div>
<div class="col-sm-6">
<fieldset>
<div class="form-group">
<label for="manufacturer">Manufacturer</label> <i title="Required input" class="required fa fa-asterisk"></i>
<input id="printer-manufacturer" required name="manufacturer" type="text" class="form-control" value="" />
</div>
<div class="form-group">
<label for="toner_cartridge">Toner</label>
<input id="printer-toner-cartridge" name="toner_cartridge" type="text" class="form-control" value="" />
</div>
<div>
<label for="network">Network?</label>
<input id="printer-network" name="network" type="checkbox" onclick="toggleNetwork(this.checked)"/>
</div>
</fieldset>
</div>
</div>
<br />
<input class="btn btn-primary" type="submit" value="Save Profile" />
</form>
</div>