From b3577564fa436eccdf5c6d74757759fae9cbe992 Mon Sep 17 00:00:00 2001 From: John Donaldson Date: Tue, 11 Sep 2018 15:27:59 -0500 Subject: [PATCH] Move most legacy web files into new locations --- www/cgi-bin/koth.lua | 2 +- www/credits.html | 2 +- www/{ => css}/style.css | 4 +- www/fancypants.html | 18 ++--- www/{res => images}/luna-moth.png | Bin www/{res => images}/luna-moth.svg | 0 www/index.html | 2 +- www/{res => js}/common.js | 0 www/{ => js}/d3.js | 0 www/{res => js}/main.js | 0 www/{res => js}/md5.min.js | 0 www/{res => js}/messages.js | 0 www/{res => js}/overview.js | 0 www/{res => js}/puzzles.js | 0 www/{ => js}/scoreboard-animated.js | 0 www/{ => js}/scoreboard-llnl.js | 0 www/{res => js}/scoreboard.js | 0 www/{res => js}/terminal.js | 0 www/projector.html | 2 +- www/puzzles-notoken.html | 12 +-- www/puzzles-tokens.html | 12 +-- www/register.html | 2 +- www/scoreboard-llnl-all.html | 6 +- www/scoreboard-llnl-timeline.html | 6 +- www/scoreboard.html | 4 +- www/scoreboard.js | 116 ---------------------------- www/scoring.html | 2 +- www/terminal.js | 54 ------------- 28 files changed, 37 insertions(+), 207 deletions(-) rename www/{ => css}/style.css (96%) rename www/{res => images}/luna-moth.png (100%) rename www/{res => images}/luna-moth.svg (100%) rename www/{res => js}/common.js (100%) rename www/{ => js}/d3.js (100%) rename www/{res => js}/main.js (100%) rename www/{res => js}/md5.min.js (100%) rename www/{res => js}/messages.js (100%) rename www/{res => js}/overview.js (100%) rename www/{res => js}/puzzles.js (100%) rename www/{ => js}/scoreboard-animated.js (100%) rename www/{ => js}/scoreboard-llnl.js (100%) rename www/{res => js}/scoreboard.js (100%) rename www/{res => js}/terminal.js (100%) delete mode 100644 www/scoreboard.js delete mode 100644 www/terminal.js diff --git a/www/cgi-bin/koth.lua b/www/cgi-bin/koth.lua index df23523..ceb7742 100644 --- a/www/cgi-bin/koth.lua +++ b/www/cgi-bin/koth.lua @@ -33,7 +33,7 @@ function koth.page(title, body) print() end print("") - print("" .. title .. "") + print("" .. title .. "") print("

" .. title .. "

") if (body) then print("
") diff --git a/www/credits.html b/www/credits.html index b6be5ec..2cb2c10 100644 --- a/www/credits.html +++ b/www/credits.html @@ -3,7 +3,7 @@ The Credits - + - - - - - - + + + + + + + MOTH Dashboard diff --git a/www/res/luna-moth.png b/www/images/luna-moth.png similarity index 100% rename from www/res/luna-moth.png rename to www/images/luna-moth.png diff --git a/www/res/luna-moth.svg b/www/images/luna-moth.svg similarity index 100% rename from www/res/luna-moth.svg rename to www/images/luna-moth.svg diff --git a/www/index.html b/www/index.html index 7662935..02c1962 100644 --- a/www/index.html +++ b/www/index.html @@ -4,7 +4,7 @@ Welcome - +

MOTH

diff --git a/www/res/common.js b/www/js/common.js similarity index 100% rename from www/res/common.js rename to www/js/common.js diff --git a/www/d3.js b/www/js/d3.js similarity index 100% rename from www/d3.js rename to www/js/d3.js diff --git a/www/res/main.js b/www/js/main.js similarity index 100% rename from www/res/main.js rename to www/js/main.js diff --git a/www/res/md5.min.js b/www/js/md5.min.js similarity index 100% rename from www/res/md5.min.js rename to www/js/md5.min.js diff --git a/www/res/messages.js b/www/js/messages.js similarity index 100% rename from www/res/messages.js rename to www/js/messages.js diff --git a/www/res/overview.js b/www/js/overview.js similarity index 100% rename from www/res/overview.js rename to www/js/overview.js diff --git a/www/res/puzzles.js b/www/js/puzzles.js similarity index 100% rename from www/res/puzzles.js rename to www/js/puzzles.js diff --git a/www/scoreboard-animated.js b/www/js/scoreboard-animated.js similarity index 100% rename from www/scoreboard-animated.js rename to www/js/scoreboard-animated.js diff --git a/www/scoreboard-llnl.js b/www/js/scoreboard-llnl.js similarity index 100% rename from www/scoreboard-llnl.js rename to www/js/scoreboard-llnl.js diff --git a/www/res/scoreboard.js b/www/js/scoreboard.js similarity index 100% rename from www/res/scoreboard.js rename to www/js/scoreboard.js diff --git a/www/res/terminal.js b/www/js/terminal.js similarity index 100% rename from www/res/terminal.js rename to www/js/terminal.js diff --git a/www/projector.html b/www/projector.html index 7366521..67d308a 100644 --- a/www/projector.html +++ b/www/projector.html @@ -3,7 +3,7 @@ Scoreboard - + - - + + - + + + +