chore(release): 0.5.0 #13
@@ -27,11 +27,13 @@
|
|||||||
|
|
||||||
socket.on("connect", () => {
|
socket.on("connect", () => {
|
||||||
console.log("Connected to server");
|
console.log("Connected to server");
|
||||||
|
$("#no-connection-icon").hide();
|
||||||
showNotify("Connected to server");
|
showNotify("Connected to server");
|
||||||
});
|
});
|
||||||
|
|
||||||
socket.on("disconnect", () => {
|
socket.on("disconnect", () => {
|
||||||
console.log("Disconnected from server");
|
console.log("Disconnected from server");
|
||||||
|
$("#no-connection-icon").show();
|
||||||
showNotify("Disconnected from server");
|
showNotify("Disconnected from server");
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -49,8 +51,13 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<header>
|
<header>
|
||||||
<h1><a href="{{ url_for('index.index') }}">judas</a></h1>
|
<h2><a href="{{ url_for('index.index') }}">judas</a></h2>
|
||||||
<p><a class="button" href="{{ url_for('auth.logout') }}">Logout</a></p>
|
<p>
|
||||||
|
<span id="no-connection-icon" style="display: none">
|
||||||
|
<i class="fi fi-rr-link-slash"></i>
|
||||||
|
</span>
|
||||||
|
<a class="button" href="{{ url_for('auth.logout') }}">Logout</a>
|
||||||
|
</p>
|
||||||
</header>
|
</header>
|
||||||
<div id="notify"></div>
|
<div id="notify"></div>
|
||||||
<main>
|
<main>
|
||||||
|
|||||||
Reference in New Issue
Block a user