1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2026-03-02 03:40:21 +00:00

resolves #24: notify and reconnect interrupted connections

A notification is shown on the webui when the websocket
connection is lost, and periodic retry is attempted
This commit is contained in:
Oliver Giles
2017-12-23 17:15:48 +02:00
parent 9eb90de5b1
commit e1a0c7bd0b
2 changed files with 32 additions and 3 deletions

View File

@@ -36,6 +36,14 @@
margin-bottom: 0;
}
table#joblist tr:first-child td { border-top: 0; }
#popup-connecting {
position: fixed;
background: white;
border: 1px solid #ddd;
bottom: 10px;
right: 10px;
padding: 20px;
}
</style>
</head>
<body>
@@ -218,6 +226,7 @@
</div>
</nav>
<router-view></router-view>
<div v-show="!connected" id="popup-connecting"><img src="/spin.gif">&nbsp;Connecting...</div>
</div>
</body>
</html>