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

replace gif status indicators with unicode symbols

This commit is contained in:
David Kalnischkies
2017-12-28 15:57:57 +01:00
committed by Oliver Giles
parent 6e4c89bd73
commit ae961b97cb
7 changed files with 27 additions and 7 deletions

View File

@@ -48,6 +48,22 @@
right: 10px;
padding: 20px;
}
span.status {
display: inline-block;
width: 1em;
text-align: center;
font-family: sans-serif;
}
span.success { color: forestgreen; }
span.failed { color: firebrick; }
span.aborted { color: indigo; }
span.spin {
color: steelblue;
animation: 2s linear infinite spin;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
</style>
</head>
<body>
@@ -229,7 +245,7 @@
</nav>
<a v-on:click="toggleNotifications(!notify)" v-show="supportsNotifications" class="bell pull-right" :class="{'active':notify}" :title="(notify?'Disable':'Enable')+' notifications'">&#128276;</a>
<router-view></router-view>
<div v-show="!connected" id="popup-connecting"><img src="/spin.gif">&nbsp;Connecting...</div>
<div v-show="!connected" id="popup-connecting"><span class="status spin">&#xfe0e;</span>&nbsp;Connecting...</div>
</div>
</body>
</html>