diff --git a/get_online_session_communities.php b/get_online_session_communities.php index 2e47606..0cc1e31 100644 --- a/get_online_session_communities.php +++ b/get_online_session_communities.php @@ -583,7 +583,9 @@ " " . $content["description"] . "" . PHP_EOL . " " . $active_users . "" . PHP_EOL . " " . $preview_link . "" . PHP_EOL . - " " . substr($join_link, 0, 32) . "..." . PHP_EOL . + " " . substr($join_link, 0, 32) . "..." . PHP_EOL . + " " . PHP_EOL . + " " . PHP_EOL . " " . PHP_EOL; $table_lines[] = $line; } diff --git a/output/script.js b/output/script.js index e69de29..76a076f 100644 --- a/output/script.js +++ b/output/script.js @@ -0,0 +1,3 @@ +function copyToClipboard(text) { + navigator.clipboard.writeText(text); +} diff --git a/output/styles.css b/output/styles.css index 4d71daf..71b7c5e 100644 --- a/output/styles.css +++ b/output/styles.css @@ -12,5 +12,7 @@ #th_join_url { width:18%; } .td_join_url { font-family: monospace; } +.copy_button { } + #td_summary { text-align: center; } #td_last_checked { text-align: center; }