38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>{{.Title}}</title>
|
||
|
<meta charset="utf-8" />
|
||
|
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
|
||
|
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet">
|
||
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
|
||
|
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js" type="text/javascript"></script>
|
||
|
<script src="/assets/app.js" type="text/javascript" charset="utf-8"></script>
|
||
|
<link rel="stylesheet" type="text/css" href="/assets/app.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="panel panel-default">
|
||
|
<!-- Default panel contents -->
|
||
|
<div class="panel-heading">{{.Title}}</div>
|
||
|
<table class="table" id="nodeTable">
|
||
|
<tr>
|
||
|
<th>Host</th>
|
||
|
<th>Status</th>
|
||
|
<th>Ping</th>
|
||
|
</tr>
|
||
|
{{range $node := .Nodes}}
|
||
|
<tr data-node="{{$node}}">
|
||
|
<td class="host">{{$node}}</td>
|
||
|
<td>
|
||
|
<span class="loading"><i class="icon-spinner icon-spin"></i>Loading...</span>
|
||
|
<span class="status label"></span>
|
||
|
</td>
|
||
|
<td class="ping">
|
||
|
-
|
||
|
</td>
|
||
|
</tr>
|
||
|
{{end}}
|
||
|
</table>
|
||
|
</div>
|
||
|
</body>
|