diff options
| author | Jan Tuomi <jan-sebastian.tuomi@aalto.fi> | 2016-08-14 14:40:53 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan-sebastian.tuomi@aalto.fi> | 2016-08-14 14:40:53 +0300 |
| commit | d84a59f489b7994630a1c4c94befcc7d63f08f6c (patch) | |
| tree | 7aa861fb815fa6e493329035277243c62753e5a8 /views/index.html | |
| parent | fef9fcd43836ab12d4d2c178bc76ae79838abf11 (diff) | |
Add styles
Diffstat (limited to 'views/index.html')
| -rw-r--r-- | views/index.html | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/views/index.html b/views/index.html index e0798b0..fe2e79d 100644 --- a/views/index.html +++ b/views/index.html @@ -3,17 +3,21 @@ <head> <meta charset="utf-8"> + <link href='https://fonts.googleapis.com/css?family=Lato:300,400italic' rel='stylesheet' type='text/css'> <title>Radiodiodi system status</title> <script src="angular.min.js"></script> <script src="client.js"></script> + <link rel="stylesheet" href="style.css" /> </head> <body ng-controller="status-controller"> -<ul> - <li ng-repeat="system in systems"> - {{ system }} - </li> -</ul> + <div ng-repeat="system in systems" ng-class="system.status ? 'good-system' : 'bad-system'"> + <h1> + {{ system.name }} + </h1> + <h3>{{ system.status ? "UP" : "DOWN" }}</h3> + <h3>Uptime: {{ system.uptime }}%</h3> + </div> </body> </html> |
