mirror of https://github.com/dirtbags/moth.git
Stop conflicting with js category
This commit is contained in:
parent
d50dea280f
commit
7cd619644e
|
@ -27,7 +27,7 @@ template () {
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>$cat $points</title>
|
||||
<link rel="stylesheet" href="/../../css/style.css" type="text/css">
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>$cat for $points points</h1>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /usr/bin/lua
|
||||
|
||||
package.path = "cgi/?.lua"
|
||||
package.path = "www/?.lua"
|
||||
local koth = require "koth"
|
||||
|
||||
local max_by_cat = {}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>The Credits</title>
|
||||
<link rel="stylesheet" href="css/style.css" type="text/css">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<script>
|
||||
function shuf (ul) {
|
||||
var lists = document.getElementsByClassName("shuf");
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Welcome</title>
|
||||
<link rel="stylesheet" href="css/style.css" type="text/css">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Tracer FIRE</h1>
|
||||
|
|
|
@ -27,16 +27,24 @@ function koth.anchored_search(haystack, needle, anchor)
|
|||
end
|
||||
|
||||
function koth.page(title, body)
|
||||
if (os.getenv("REQUEST_METHOD")) then
|
||||
print("Content-type: text/html")
|
||||
print()
|
||||
end
|
||||
print("<!DOCTYPE html>")
|
||||
print("<html><head><title>" .. title .. "</title><link rel=\"stylesheet\" href=\"css/style.css\"></head>")
|
||||
print("<html><head><title>" .. title .. "</title><link rel=\"stylesheet\" href=\"style.css\"></head>")
|
||||
print("<body><h1>" .. title .. "</h1>")
|
||||
if (body) then
|
||||
print("<section>")
|
||||
print(body)
|
||||
print("</section>")
|
||||
end
|
||||
print([[<section id="sponsors">
|
||||
<img src="images/lanl.png" alt="Los Alamos National Laboratory">
|
||||
<img src="images/doe.png" alt="US Department Of Energy">
|
||||
<img src="images/sandia.png" alt="Sandia National Laboratories">
|
||||
</section>]])
|
||||
|
||||
print("</body></html>")
|
||||
os.exit(0)
|
||||
end
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Team Registration</title>
|
||||
<link rel="stylesheet" href="css/style.css" type="text/css">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Team Registration</h1>
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Scoreboard</title>
|
||||
<link rel="stylesheet" href="css/style.css" type="text/css">
|
||||
<script src="js/scoreboard.js" async></script>
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<script src="scoreboard.js" async></script>
|
||||
<script>
|
||||
function init() {
|
||||
var sb = document.getElementById("scoreboard");
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>About scoring</title>
|
||||
<link rel="stylesheet" href="css/style.css" type="text/css">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -6,10 +6,10 @@ Light brown: #432115
|
|||
Tan: #e1caa5
|
||||
*/
|
||||
|
||||
@import "../fonts/maven_pro.css";
|
||||
@import "fonts/maven_pro.css";
|
||||
|
||||
html {
|
||||
background: #35170c url(../images/brown-circles.jpg) repeat left bottom;
|
||||
background: #35170c url(images/brown-circles.jpg) repeat left bottom;
|
||||
min-height: 100%;
|
||||
font-family: "Maven Pro", Ubuntu, sans-serif;
|
||||
overflow-y: scroll;
|
Loading…
Reference in New Issue