summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 33d17c9)
raw | patch | inline | side by side (parent: 33d17c9)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 1 Aug 2001 05:06:10 +0000 (05:06 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 1 Aug 2001 05:06:10 +0000 (05:06 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@180 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/templatebuilder.py | patch | blob | history | |
roundup/templates/classic/htmlbase.py | patch | blob | history | |
roundup/templates/extended/htmlbase.py | patch | blob | history |
index bd47d0c7f1eedb63e236927c7706f9e4625c1f87..7b9ac8766865c05eaaea74b588353704aaa0f4d9 100644 (file)
-# $Id: templatebuilder.py,v 1.8 2001-07-30 08:12:17 richard Exp $
-import errno
+# $Id: templatebuilder.py,v 1.9 2001-08-01 05:06:10 richard Exp $
+import errno, re
preamble = """
# Do Not Edit (Unless You Want To)
if file[-1] == '~': continue
mangled_name = os.path.basename(re.sub(r'\.', 'DOT', file))
fd.write('%s = """'%mangled_name)
- fd.write(open(file).read())
+ fd.write(re.sub(r'\$((Id|File|Log).*?)\$', r'dollar\1dollar',
+ open(file).read(), re.I))
fd.write('"""\n\n')
fd.close()
#
# $Log: not supported by cvs2svn $
+# Revision 1.8 2001/07/30 08:12:17 richard
+# Added time logging and file uploading to the templates.
+#
# Revision 1.7 2001/07/30 00:06:52 richard
# Hrm - had IOError instead of OSError. Not sure why there's two. Ho hum.
#
index cccb5732a1aedb66df99f826cf14f64e4140cf31..2e005bb5df0acd071af1d54ad5cb69eeb7f042c2 100644 (file)
# Do Not Edit (Unless You Want To)
# This file automagically generated by roundup.htmldata.makeHtmlBase
#
-fileDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+fileDOTindex = """<!-- dollarId: file.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
<tr>
<property name="name">
<td><display call="link('name')"></td>
</tr>
"""
-fileDOTnewitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+fileDOTnewitem = """<!-- dollarId: file.newitem,v 1.1 2001/07/30 08:12:17 richard Exp dollar-->
<table border=0 cellspacing=0 cellpadding=2>
<tr class="strong-header">
</table>
"""
-issueDOTfilter = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+issueDOTfilter = """<!-- dollarId: issue.filter,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
<property name="title">
<tr><th width="1%" align="right" class="location-bar">Title</th>
<td><display call="field('title')"></td></tr>
</property>
"""
-issueDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+issueDOTindex = """<!-- dollarId: issue.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
<tr class="row-<display call="plain('status')">">
<property name="id">
<td valign="top"><display call="plain('id')"></td>
</tr>
"""
-issueDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+issueDOTitem = """<!-- dollarId: issue.item,v 1.3 2001/07/30 08:12:17 richard Exp dollar-->
<table border=0 cellspacing=0 cellpadding=2>
<tr class="strong-header">
@@ -142,7 +142,7 @@ issueDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-
"""
-msgDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+msgDOTindex = """<!-- dollarId: msg.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
<tr>
<property name="date">
<td><display call="link('date')"></td>
@@ -156,7 +156,7 @@ msgDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--
</tr>
"""
-msgDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+msgDOTitem = """<!-- dollarId: msg.item,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
<table border=0 cellspacing=0 cellpadding=2>
<tr class="strong-header">
}
"""
-userDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+userDOTindex = """<!-- dollarId: user.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
<tr>
<property name="username">
<td><display call="link('username')"></td>
@@ -423,7 +423,7 @@ userDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-
</tr>
"""
-userDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+userDOTitem = """<!-- dollarId: user.item,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
<table border=0 cellspacing=0 cellpadding=2>
<tr class="strong-header">
index 91a39529af53b7c637c4b1fa5e9ddbd3d51dea28..911f4a7260bf3a8e892f3f9ff29080736bf4cba8 100644 (file)
# Do Not Edit (Unless You Want To)
# This file automagically generated by roundup.htmldata.makeHtmlBase
#
-fileDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+fileDOTindex = """<!-- dollarId: file.index,v 1.1 2001/07/23 04:21:20 richard Exp dollar-->
<tr>
<property name="name">
<td><display call="link('name')"></td>
</tr>
"""
-fileDOTnewitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+fileDOTnewitem = """<!-- dollarId: file.newitem,v 1.1 2001/07/30 08:04:26 richard Exp dollar-->
<table border=0 cellspacing=0 cellpadding=2>
<tr class="strong-header">
</table>
"""
-issueDOTfilter = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+issueDOTfilter = """<!-- dollarId: issue.filter,v 1.2 2001/07/30 01:26:59 richard Exp dollar-->
<property name="title">
<tr><th width="1%" align="right" class="location-bar">Title</th>
<td><display call="field('title')"></td></tr>
</property>
"""
-issueDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+issueDOTindex = """<!-- dollarId: issue.index,v 1.2 2001/07/30 01:26:59 richard Exp dollar-->
<tr>
<property name="id">
<td valign="top"><display call="field('id')"></td>
</tr>
"""
-issueDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+issueDOTitem = """<!-- dollarId: issue.item,v 1.5 2001/07/30 08:03:56 richard Exp dollar-->
<table border=0 cellspacing=0 cellpadding=2>
<tr class="strong-header">
@@ -182,7 +182,7 @@ issueDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-
"""
-msgDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+msgDOTindex = """<!-- dollarId: msg.index,v 1.1 2001/07/23 04:21:20 richard Exp dollar-->
<tr>
<property name="date">
<td><display call="link('date')"></td>
@@ -196,7 +196,7 @@ msgDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $--
</tr>
"""
-msgDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+msgDOTitem = """<!-- dollarId: msg.item,v 1.1 2001/07/23 04:21:20 richard Exp dollar-->
<table border=0 cellspacing=0 cellpadding=2>
<tr class="strong-header">
}
"""
-supportDOTfilter = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+supportDOTfilter = """<!-- dollarId: support.filter,v 1.1 2001/07/30 01:27:28 richard Exp dollar-->
<property name="title">
<tr><th width="1%" align="right" class="location-bar">Title</th>
<td><display call="field('title')"></td></tr>
@@ -435,7 +435,7 @@ supportDOTfilter = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Ex
</property>
"""
-supportDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+supportDOTindex = """<!-- dollarId: support.index,v 1.1 2001/07/30 01:27:28 richard Exp dollar-->
<tr>
<property name="id">
<td valign="top"><display call="field('id')"></td>
@@ -470,7 +470,7 @@ supportDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp
</tr>
"""
-supportDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+supportDOTitem = """<!-- dollarId: support.item,v 1.2 2001/07/30 08:03:56 richard Exp dollar-->
<table border=0 cellspacing=0 cellpadding=2>
<tr class="strong-header">
"""
-timelogDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+timelogDOTindex = """<!-- dollarId: timelog.index,v 1.1 2001/07/30 08:04:26 richard Exp dollar-->
<tr>
<property name="date">
<td><display call="link('date')"></td>
@@ -594,7 +594,7 @@ timelogDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp
</tr>
"""
-timelogDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+timelogDOTitem = """<!-- dollarId: timelog.item,v 1.1 2001/07/30 08:04:26 richard Exp dollar-->
<table border=0 cellspacing=0 cellpadding=2>
<tr class="strong-header">
"""
-userDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+userDOTindex = """<!-- dollarId: user.index,v 1.1 2001/07/23 04:21:20 richard Exp dollar-->
<tr>
<property name="username">
<td><display call="link('username')"></td>
@@ -654,7 +654,7 @@ userDOTindex = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-
</tr>
"""
-userDOTitem = """<!-- $Id: htmlbase.py,v 1.5 2001-07-30 08:12:17 richard Exp $-->
+userDOTitem = """<!-- dollarId: user.item,v 1.1 2001/07/23 04:21:20 richard Exp dollar-->
<table border=0 cellspacing=0 cellpadding=2>
<tr class="strong-header">