mirror of https://github.com/dirtbags/moth.git
fix formatting for phones
This commit is contained in:
parent
e56c3d8006
commit
cf5668edf3
|
@ -26,6 +26,7 @@ template () {
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>$cat $points</title>
|
<title>$cat $points</title>
|
||||||
<link rel="stylesheet" href="../../style.css">
|
<link rel="stylesheet" href="../../style.css">
|
||||||
</head>
|
</head>
|
||||||
|
@ -55,8 +56,8 @@ EOF
|
||||||
<form id="puzzler" action="/puzzler.cgi" method="post" accept-charset="utf-8" autocomplete="off">
|
<form id="puzzler" action="/puzzler.cgi" method="post" accept-charset="utf-8" autocomplete="off">
|
||||||
<input type="hidden" name="c" value="$cat">
|
<input type="hidden" name="c" value="$cat">
|
||||||
<input type="hidden" name="p" value="$points">
|
<input type="hidden" name="p" value="$points">
|
||||||
Team hash:<input name="t" size="8">
|
<div>Team hash:<input name="t" size="8"></div>
|
||||||
Answer:<input name="a" size="20">
|
<div>Answer:<input name="a" size="20"></div>
|
||||||
<input type="submit" value="submit">
|
<input type="submit" value="submit">
|
||||||
</form>
|
</form>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>The Credits</title>
|
<title>The Credits</title>
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<script>
|
<script>
|
||||||
function shuf (ul) {
|
function shuf (ul) {
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>Welcome</title>
|
<title>Welcome</title>
|
||||||
<link rel="stylesheet" href="style.css" type="text/css">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -33,7 +33,7 @@ function koth.page(title, body)
|
||||||
print()
|
print()
|
||||||
end
|
end
|
||||||
print("<!DOCTYPE html>")
|
print("<!DOCTYPE html>")
|
||||||
print("<html><head><title>" .. title .. "</title><link rel=\"stylesheet\" href=\"style.css\"></head>")
|
print("<html><head><title>" .. title .. "</title><link rel=\"stylesheet\" href=\"style.css\"><meta name=\"viewport\" content=\"width=device-width\"></head>")
|
||||||
print("<body><h1>" .. title .. "</h1>")
|
print("<body><h1>" .. title .. "</h1>")
|
||||||
if (body) then
|
if (body) then
|
||||||
print("<section>")
|
print("<section>")
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Team Registration</title>
|
<title>Team Registration</title>
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>About scoring</title>
|
<title>About scoring</title>
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
<link rel="stylesheet" href="style.css" type="text/css">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in New Issue