Enable alerts for staff boards

This commit is contained in:
Fred Boniface 2023-07-06 13:05:22 +01:00
parent aa004155d4
commit fdd670cbe1
1 changed files with 10 additions and 2 deletions

View File

@ -102,15 +102,15 @@
fetchData(); fetchData();
}); });
</script> </script>
<p>Staff Boards not yet fully implemented</p>
{#if isLoading} {#if isLoading}
<Loading /> <Loading />
{:else} {:else}
{#if alerts.length} {#if alerts.length}
<AlertBar {alerts} /> <AlertBar {alerts} />
{/if} {/if}
<p id="timestamp">Updated: {dataAge.toLocaleTimeString()}</p>
<table> <table>
<tr><td colspan="8">Updated: {dataAge.toLocaleTimeString()} - Staff Boards under development</td></tr>
<tr> <tr>
<th class="id">ID</th> <th class="id">ID</th>
<th class="from">From</th> <th class="from">From</th>
@ -165,10 +165,18 @@
<Nav /> <Nav />
<style> <style>
#timestamp {
text-align: centre;
margin: auto;
width: 100%;
}
table { table {
color: white; color: white;
font-weight: normal; font-weight: normal;
margin: auto; margin: auto;
margin-top: 0px;
padding-right: 8px;
} }
.data { .data {