projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dbbf69f
)
Move out of the templates directory.
author
Eric Price
<ecprice@mit.edu>
Mon, 12 Nov 2007 09:08:34 +0000
(
04:08
-0500)
committer
Eric Price
<ecprice@mit.edu>
Mon, 12 Nov 2007 09:08:34 +0000
(
04:08
-0500)
svn path=/trunk/web/; revision=236
Makefile
[new file with mode: 0644]
patch
|
blob
controls.py
[moved from
templates/controls.py
with 100% similarity]
patch
|
blob
|
history
getafsgroups.py
[moved from
templates/getafsgroups.py
with 100% similarity]
patch
|
blob
|
history
main.py
[moved from
templates/main.py
with 100% similarity]
patch
|
blob
|
history
static/VncViewer.jar
[moved from
templates/static/VncViewer.jar
with 100% similarity]
patch
|
blob
|
history
static/layout.css
[moved from
templates/static/layout.css
with 100% similarity]
patch
|
blob
|
history
static/prototype.js
[moved from
templates/static/prototype.js
with 100% similarity]
patch
|
blob
|
history
static/style.css
[moved from
templates/static/style.css
with 100% similarity]
patch
|
blob
|
history
templates/__init__.py
[moved from
templates/templates.py
with 100% similarity]
patch
|
blob
|
history
validation.py
[moved from
templates/validation.py
with 100% similarity]
patch
|
blob
|
history
webcommon.py
[moved from
templates/webcommon.py
with 100% similarity]
patch
|
blob
|
history
diff --git a/Makefile
b/Makefile
new file mode 100644
(file)
index 0000000..
aa083e2
--- /dev/null
+++ b/
Makefile
@@ -0,0
+1,13
@@
+TEMPLATES=$(wildcard *.tmpl)
+OUTPUTS=$(TEMPLATES:.tmpl=.py)
+
+all: ${OUTPUTS}
+
+%.py: %.tmpl
+ cheetah compile $<
+
+#${OUTPUTS}:${TEMPLATES}
+# cheetah compile $^
+
+clean:
+ @rm -f ${OUTPUTS} *.pyo *.pyc *.py.bak
diff --git
a/templates/controls.py
b/controls.py
similarity index 100%
rename from
templates/controls.py
rename to
controls.py
diff --git
a/templates/getafsgroups.py
b/getafsgroups.py
similarity index 100%
rename from
templates/getafsgroups.py
rename to
getafsgroups.py
diff --git
a/templates/main.py
b/main.py
similarity index 100%
rename from
templates/main.py
rename to
main.py
diff --git
a/templates/static/VncViewer.jar
b/static/VncViewer.jar
similarity index 100%
rename from
templates/static/VncViewer.jar
rename to
static/VncViewer.jar
diff --git
a/templates/static/layout.css
b/static/layout.css
similarity index 100%
rename from
templates/static/layout.css
rename to
static/layout.css
diff --git
a/templates/static/prototype.js
b/static/prototype.js
similarity index 100%
rename from
templates/static/prototype.js
rename to
static/prototype.js
diff --git
a/templates/static/style.css
b/static/style.css
similarity index 100%
rename from
templates/static/style.css
rename to
static/style.css
diff --git
a/templates/templates.py
b/templates/__init__.py
similarity index 100%
rename from
templates/templates.py
rename to
templates/__init__.py
diff --git
a/templates/validation.py
b/validation.py
similarity index 100%
rename from
templates/validation.py
rename to
validation.py
diff --git
a/templates/webcommon.py
b/webcommon.py
similarity index 100%
rename from
templates/webcommon.py
rename to
webcommon.py