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 from jinja2 import Template
# Directory => ITEMS list (all files with a timestamp name, grouped) # 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)") tpat = re.compile(r"^(\d\d\d\d)-(\d\d)-(\d\d)-(\d\d)-(\d\d)-(\d\d)")
items = {} items = {}
for f in ff: for f in ff:
@ -34,6 +37,7 @@ print ""
print Template(u"""<html> print Template(u"""<html>
<head> <head>
<title>ADOPT A WALK</title> <title>ADOPT A WALK</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="../styles/main.css"> <link rel="stylesheet" type="text/css" href="../styles/main.css">
</head> </head>
<body> <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-face: {
font-family: "sporting_grotesque_gras-webfont"; font-family: "Sporting Grotesque";
src:"../fonts/sporting_grotesque_normal.otf"; src: url("/fonts/sporting_grotesque_normal.otf");
} }
body { body {

Loading…
Cancel
Save