diff options
| author | tunkki <tunkki@tunkkikone> | 2016-08-14 19:33:18 +0300 |
|---|---|---|
| committer | tunkki <tunkki@tunkkikone> | 2016-08-14 19:33:18 +0300 |
| commit | fd073bed4077f6a8ab284d53d852c35245bcb309 (patch) | |
| tree | 80f262a17aad0d52d4ae8525f179f28960d20f47 /views/index.html | |
| parent | a3c6f98ce18c6dc26abff965bed06b9885f2d27c (diff) | |
Update layout
Diffstat (limited to 'views/index.html')
| -rw-r--r-- | views/index.html | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/views/index.html b/views/index.html index fe2e79d..8ea3571 100644 --- a/views/index.html +++ b/views/index.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> + <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' /> <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> @@ -11,12 +12,16 @@ </head> <body ng-controller="status-controller"> - <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 ng-repeat="system in systems" class="system" ng-class="system.status ? 'good-system' : 'bad-system'"> + <div class="system-title-container"> + <h1 class="system-title"> + {{ system.name }} + </h1> + </div> + <div class="system-info-container"> + <h3 class="system-info-elem">{{ system.status ? "UP" : "DOWN" }}</h3> + <h3 class="system-info-elem">Uptime: {{ system.uptime }}%</h3> + </div> </div> </body> |
