more changes, giula

master
Michael Murtaugh 8 years ago
parent c90e2ac3cc
commit beaa4b07b3

BIN
.DS_Store vendored

Binary file not shown.

@ -5,7 +5,10 @@ import cgitb; cgitb.enable()
from jinja2 import Template
# Directory => ITEMS list (all files with a timestamp name, grouped)
ff = os.listdir("clips")
try:
ff = os.listdir("/var/www/static/gait")
except OSError:
ff = []
tpat = re.compile(r"^(\d\d\d\d)-(\d\d)-(\d\d)-(\d\d)-(\d\d)-(\d\d)")
items = {}
for f in ff:
@ -34,6 +37,7 @@ print ""
print Template(u"""<html>
<head>
<title>ADOPT A WALK</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="../styles/main.css">
</head>
<body>

@ -1 +1,8 @@
GREAT JOB!
<html>
<head>
<meta http-equiv="refresh" content="0;url=/cgi-bin/index.cgi" />
</head>
<body>
<a href="/cgi-bin/index.cgi">start</a>
</body>
</html>

@ -1,6 +1,6 @@
@font-face: {
font-family: "sporting_grotesque_gras-webfont";
src:"../fonts/sporting_grotesque_normal.otf";
font-family: "Sporting Grotesque";
src: url("/fonts/sporting_grotesque_normal.otf");
}
body {

Loading…
Cancel
Save