mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-27 00:39:26 +00:00
Add icons #7
This commit is contained in:
9
webassets/fa/css/fontawesome.min.css
vendored
Normal file
9
webassets/fa/css/fontawesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
6
webassets/fa/css/solid.min.css
vendored
Normal file
6
webassets/fa/css/solid.min.css
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2024 Fonticons, Inc.
|
||||
*/
|
||||
:host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-weight:900}
|
||||
BIN
webassets/fa/webfonts/fa-solid-900.ttf
Normal file
BIN
webassets/fa/webfonts/fa-solid-900.ttf
Normal file
Binary file not shown.
BIN
webassets/fa/webfonts/fa-solid-900.woff2
Normal file
BIN
webassets/fa/webfonts/fa-solid-900.woff2
Normal file
Binary file not shown.
@@ -30,13 +30,19 @@ function loadSpots() {
|
||||
var time = moment.utc(row["time"], moment.ISO_8601);
|
||||
var time_formatted = time.format("HH:mm")
|
||||
|
||||
// Figure out a SIG or Source
|
||||
var source = row["source"];
|
||||
if (row["sig"]) {
|
||||
source = row["sig"];
|
||||
}
|
||||
|
||||
// Populate the table data
|
||||
$tr.append(`<td>${time_formatted}</td>`);
|
||||
$tr.append(`<td>${row["dx_flag"]} ${row["dx_call"]}</td>`);
|
||||
$tr.append(`<td>${row["freq"]}</td>`);
|
||||
$tr.append(`<td>${row["mode"]}</td>`);
|
||||
$tr.append('<td>' + escapeHtml(`${row["comment"]}`) + '</td>');
|
||||
$tr.append(`<td><span class='icon-wrapper'><i class='fa-solid fa-${row["icon"]}'></i></span> ${row["source"]}</td>`);
|
||||
$tr.append(`<td><span class='icon-wrapper'><i class='fa-solid fa-${row["icon"]}'></i></span> ${source}</td>`);
|
||||
$tr.append(`<td>${row["de_flag"]} ${row["de_call"]}</td>`);
|
||||
table.find('tbody').append($tr);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user