From 0672e552b6c61d95e538d87b3d607efe5e759070 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Sun, 19 Apr 2015 23:14:31 -0600 Subject: [PATCH] Stop conflicting with js category --- bin/install-category | 2 +- bin/puzzles | 2 +- {cgi => html}/cgi.lua | 0 html/credits.html | 2 +- html/index.html | 2 +- {cgi => html}/koth.lua | 14 +++++++++++--- {cgi => html}/puzzler.cgi | 0 html/register.html | 2 +- html/scoreboard.html | 4 ++-- html/{js => }/scoreboard.js | 0 html/scoring.html | 2 +- html/{css => }/style.css | 4 ++-- html/{js => }/terminal.js | 0 install | 3 --- 14 files changed, 21 insertions(+), 16 deletions(-) rename {cgi => html}/cgi.lua (100%) rename {cgi => html}/koth.lua (79%) rename {cgi => html}/puzzler.cgi (100%) rename html/{js => }/scoreboard.js (100%) rename html/{css => }/style.css (96%) rename html/{js => }/terminal.js (100%) diff --git a/bin/install-category b/bin/install-category index f9706a2..56e072c 100755 --- a/bin/install-category +++ b/bin/install-category @@ -27,7 +27,7 @@ template () { $cat $points - +

$cat for $points points

diff --git a/bin/puzzles b/bin/puzzles index abd2610..5e05d80 100755 --- a/bin/puzzles +++ b/bin/puzzles @@ -1,6 +1,6 @@ #! /usr/bin/lua -package.path = "cgi/?.lua" +package.path = "www/?.lua" local koth = require "koth" local max_by_cat = {} diff --git a/cgi/cgi.lua b/html/cgi.lua similarity index 100% rename from cgi/cgi.lua rename to html/cgi.lua diff --git a/html/credits.html b/html/credits.html index c0484e2..3c27eb9 100644 --- a/html/credits.html +++ b/html/credits.html @@ -2,7 +2,7 @@ The Credits - + + +