2018-06-10 01:31:13 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2018-06-26 07:01:41 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1.0, user-scalable=0">
|
2018-07-07 05:02:47 +00:00
|
|
|
{{if USE_CDN}}
|
|
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
|
|
|
|
<link rel="stylesheet" href="https://assets.statup.io/base.css">
|
|
|
|
{{ else }}
|
2018-06-10 01:31:13 +00:00
|
|
|
<link rel="stylesheet" href="/css/bootstrap.min.css">
|
|
|
|
<link rel="stylesheet" href="/css/base.css">
|
2018-07-07 05:02:47 +00:00
|
|
|
{{end}}
|
2018-06-10 01:31:13 +00:00
|
|
|
|
2018-06-10 03:44:47 +00:00
|
|
|
<title>Statup | Dashboard</title>
|
2018-06-10 01:31:13 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
2018-06-24 11:51:07 +00:00
|
|
|
<div class="container col-md-7 col-sm-12 mt-md-5 bg-light">
|
2018-06-10 01:31:13 +00:00
|
|
|
|
2018-08-21 03:11:40 +00:00
|
|
|
{{template "nav" }}
|
2018-06-11 03:41:02 +00:00
|
|
|
|
2018-08-22 05:41:15 +00:00
|
|
|
<div class="col-12 mt-3">
|
2018-06-22 04:02:57 +00:00
|
|
|
|
2018-06-26 07:01:41 +00:00
|
|
|
<div class="row stats_area mb-5">
|
2018-06-10 01:31:13 +00:00
|
|
|
|
|
|
|
<div class="col-4">
|
2018-09-10 09:01:04 +00:00
|
|
|
<span class="lg_number">{{ CoreApp.ServicesCount }}</span>
|
2018-06-11 00:20:42 +00:00
|
|
|
Total Services
|
2018-06-10 01:31:13 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-4">
|
2018-09-10 09:01:04 +00:00
|
|
|
<span class="lg_number">{{ CoreApp.Count24HFailures }}</span>
|
2018-06-11 00:20:42 +00:00
|
|
|
Failures last 24 Hours
|
2018-06-10 01:31:13 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-4">
|
2018-09-10 09:01:04 +00:00
|
|
|
<span class="lg_number">{{ CoreApp.CountOnline }}</span>
|
2018-06-11 00:20:42 +00:00
|
|
|
Online Services
|
2018-06-10 01:31:13 +00:00
|
|
|
</div>
|
2018-06-11 03:41:02 +00:00
|
|
|
</div>
|
|
|
|
|
2018-06-26 07:01:41 +00:00
|
|
|
<div class="row mt-4">
|
2018-06-11 03:41:02 +00:00
|
|
|
|
|
|
|
<div class="col-12">
|
|
|
|
|
2018-06-26 07:01:41 +00:00
|
|
|
<h3>Services</h3>
|
|
|
|
|
|
|
|
<div class="list-group mb-5 mt-3">
|
2018-09-08 22:16:26 +00:00
|
|
|
{{ range Services }}
|
2018-06-26 07:01:41 +00:00
|
|
|
<a href="#" class="list-group-item list-group-item-action flex-column align-items-start">
|
|
|
|
<div class="d-flex w-100 justify-content-between">
|
2018-08-20 07:20:05 +00:00
|
|
|
<h5 class="mb-1">{{.Name}}</h5>
|
|
|
|
<small>{{if .Online}} <span class="badge badge-success">ONLINE</span> {{else}} <span class="badge badge-danger">OFFLINE</span> {{end}}</small>
|
2018-06-26 07:01:41 +00:00
|
|
|
</div>
|
2018-06-30 05:08:08 +00:00
|
|
|
<p class="mb-1">{{.SmallText}}</p>
|
2018-06-26 07:01:41 +00:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|
2018-09-08 22:16:26 +00:00
|
|
|
{{ range Services }}
|
2018-06-24 22:53:48 +00:00
|
|
|
{{ if .LimitedFailures }}
|
2018-08-22 05:41:15 +00:00
|
|
|
<h4 class="text-truncate">{{.Name}} Failures</h4>
|
2018-07-17 09:18:20 +00:00
|
|
|
<div class="list-group mt-3 mb-4">
|
2018-06-24 22:53:48 +00:00
|
|
|
{{ range .LimitedFailures }}
|
2018-06-22 06:56:44 +00:00
|
|
|
<a href="#" class="list-group-item list-group-item-action flex-column align-items-start">
|
|
|
|
<div class="d-flex w-100 justify-content-between">
|
|
|
|
<h5 class="mb-1">{{.ParseError}}</h5>
|
2018-08-23 07:28:48 +00:00
|
|
|
<small>{{.Ago}}</small>
|
2018-06-22 06:56:44 +00:00
|
|
|
</div>
|
2018-08-20 07:20:05 +00:00
|
|
|
<p class="mb-1">{{.Issue}}</p>
|
2018-06-22 06:56:44 +00:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2018-06-11 03:41:02 +00:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2018-06-30 22:25:45 +00:00
|
|
|
|
2018-06-11 03:41:02 +00:00
|
|
|
|
|
|
|
</div>
|
2018-06-22 04:02:57 +00:00
|
|
|
</div>
|
2018-06-11 03:41:02 +00:00
|
|
|
</div>
|
2018-06-15 04:30:10 +00:00
|
|
|
</div>
|
2018-06-10 01:31:13 +00:00
|
|
|
|
2018-06-22 04:02:57 +00:00
|
|
|
{{template "footer"}}
|
|
|
|
|
2018-07-07 05:02:47 +00:00
|
|
|
{{if USE_CDN}}
|
2018-08-22 05:41:15 +00:00
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
2018-07-07 05:02:47 +00:00
|
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
|
|
|
|
<script src="https://assets.statup.io/main.js"></script>
|
|
|
|
{{ else }}
|
2018-08-22 05:41:15 +00:00
|
|
|
<script src="/js/jquery-3.3.1.min.js"></script>
|
2018-06-15 04:30:10 +00:00
|
|
|
<script src="/js/bootstrap.min.js"></script>
|
2018-07-07 05:02:47 +00:00
|
|
|
<script src="/js/main.js"></script>
|
|
|
|
{{end}}
|
|
|
|
|
2018-06-10 01:31:13 +00:00
|
|
|
</body>
|
2018-09-10 09:01:04 +00:00
|
|
|
</html>
|