diff --git a/output/index.css b/output/index.css index 49dd909..6828af2 100644 --- a/output/index.css +++ b/output/index.css @@ -81,7 +81,7 @@ body { --secondary-color-shaded: hsl(0, 0%, 91%); --anchor-color: hsl(210, 100%, 40%); --color-http: hsl(0, 0%, 83%); - --color-https: hsl(195, 53%, 79%) + --color-https: hsl(195, 53%, 79%); } a, .anchorstyle { @@ -113,6 +113,10 @@ html:not(.js) .js-only { /* box-shadow: 0.05em 0.05em 0.1em 0 #4444;*/ } +#tbl_communities .room-label { + color: black; +} + .room-label-user { background-color: greenyellow; } @@ -401,12 +405,12 @@ footer nav a { } label[for=toggle-show-room-ids]::after { - content: " (Off)" + content: " (Off)"; } #toggle-show-room-ids:checked ~ footer label[for=toggle-show-room-ids]::after { - content: " (On)" + content: " (On)"; } /* --- QR code modals --- */ diff --git a/output/js/constants.js b/output/js/constants.js index 81a7681..8d5c300 100644 --- a/output/js/constants.js +++ b/output/js/constants.js @@ -12,14 +12,14 @@ export const dom = { /** @type {string[]} */ return { language_flag: row.querySelector('.td_language').textContent.trim(), - name: row.querySelector('.td_name').textContent.trim(), + name: row.querySelector('.td_name-inner').textContent.trim(), description: row.querySelector('.td_description').textContent.trim(), users: parseFloat(row.querySelector('.td_users').textContent.trim()), preview_link: row.querySelector('.td_preview a[href]').getAttribute('href'), join_link: row.querySelector('.td_join_url a[href]').getAttribute('href'), - hostname: row.getAttribute('data-hostname'), - public_key: row.getAttribute('data-pubkey'), - staff: row.getAttribute('data-staff') + hostname: row.getAttribute(ATTRIBUTES.ROW.HOSTNAME), + public_key: row.getAttribute(ATTRIBUTES.ROW.PUBLIC_KEY), + staff: row.getAttribute(ATTRIBUTES.ROW.STAFF_DATA) }; }, meta_timestamp: () => document.querySelector('meta[name=timestamp]'), diff --git a/sites/+components/tbl_communities.php b/sites/+components/tbl_communities.php index f4984f7..d3adb86 100644 --- a/sites/+components/tbl_communities.php +++ b/sites/+components/tbl_communities.php @@ -81,6 +81,7 @@ > Contact +
-