diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2018-04-07 23:22:58 +0100 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2018-04-07 23:22:58 +0100 |
| commit | 0bbe22dd69bbb149e9fed74c87e7fc75e181483e (patch) | |
| tree | 49a5eea886885c7cb5f82d873044e9f626127e16 /views/index.hbs | |
| parent | 1301d90e93af799a9054f133847ebf3cbda15f9d (diff) | |
| download | tplink-energy-monitor-0bbe22dd69bbb149e9fed74c87e7fc75e181483e.tar.xz tplink-energy-monitor-0bbe22dd69bbb149e9fed74c87e7fc75e181483e.zip | |
Try to re-establish lost websocket connections
Diffstat (limited to 'views/index.hbs')
| -rw-r--r-- | views/index.hbs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/views/index.hbs b/views/index.hbs index d0210a7..6178c96 100644 --- a/views/index.hbs +++ b/views/index.hbs @@ -33,9 +33,14 @@ <div class="page-header"> <div class="row"> - <h1> - <i class="fa fa-plug"></i> {{device.alias}} - </h1> + <div class="col-sm-8"> + <h1> + <i class="fa fa-plug"></i> {{device.alias}} + </h1> + </div> + <div class="col-sm-4"> + <div id="connection-error" class="alert alert-danger" style="display:none">Connection lost. Attempting to re-establish...</div> + </div> </div> </div> |