This repository was archived by the owner on Sep 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathhostList.html
More file actions
29 lines (29 loc) · 1.45 KB
/
hostList.html
File metadata and controls
29 lines (29 loc) · 1.45 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
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1 class="display-4">Wake On LAN Service</h1>
<p class="lead"></p>
</div>
</div>
<div class="container">
<div class="row">
<div ng-repeat="host in vm.hosts" class="col-12 col-sm-12 col-md-6 col-xl-4" style="margin-bottom:20px;">
<div class="card">
<div class="card-body" style="padding-bottom:0px;">
<div class="d-flex flex-row">
<i class="card-title fa fa-desktop" style="font-size:30px;"></i>
<h5 class="card-title" ng-bind="host.hostName" style="margin-left:10px;"></h5>
</div>
<div class="d-flex justify-content-end">
<button type="button" ng-click="vm.sendWake(host);" ng-disabled="host.alert" class="btn btn-primary btn-block" style="margin-bottom:20px;">Wake</a>
</div>
<div ng-if="host.alert;" class="alert-dismissible" ng-class="{'alert': true,'alert-success': host.alertSuccess, 'alert-danger': host.alertFailure}" role="alert" style="margin-top:0px;margin-bottom:20px;">
<span ng-bind="host.alertMessage"></span>
<button type="button" class="close" data-dismiss="alert" aria-label="Close" ng-click="host.alert = false;">
<span aria-hidden="true">×</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>