Remove old templates

portnov [2009-07-11 07:56:27]
Remove old templates
Filename
templates/first.html
templates/gohome.html
templates/inctest.html
templates/testform.html
www/index.html
diff --git a/templates/first.html b/templates/first.html
deleted file mode 100644
index 8d10a2c..0000000
--- a/templates/first.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<html>
-  <head>
-    <title>{{title}}</title>
-    <meta name='author' content='Portnov'>
-  </head>
-
-  <body>
-  <h1>{{uppercase title}}</h1>
-  {%include gohome.html%}
-  {%includevar include%}
-
-  {%if invalid%}
-  <p>Error: These fields should be filled: {{invalid}}</p>
-  {%endif%}
-
-  <table>
-    {%for user in users%}
-    <tr><td>{{it}}. </td><td>{%if evenP it%}+{%else%}-{%endif%}</td>
-      <td>{{username user}}</td><td>{{password user}}</td>
-    </tr>
-   {%endfor%}
-  </table>
-
-  <p>{{list ";" bold list}}</p>
-
-  {{form}}
-
-  </body>
-</html>
-
diff --git a/templates/gohome.html b/templates/gohome.html
deleted file mode 100644
index 793f7e1..0000000
--- a/templates/gohome.html
+++ /dev/null
@@ -1 +0,0 @@
-<p><a href="/">Go home</a></p>
diff --git a/templates/inctest.html b/templates/inctest.html
deleted file mode 100644
index efdf404..0000000
--- a/templates/inctest.html
+++ /dev/null
@@ -1,2 +0,0 @@
-<p><small>This text is included into "{{title}}" page</small></p>
-
diff --git a/templates/testform.html b/templates/testform.html
deleted file mode 100644
index 11a7369..0000000
--- a/templates/testform.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="ru">
-  <head>
-    <title>Test form</title>
-    <meta name='author' content='Portnov'>
-  </head>
-
-  <body>
-  <h1>Form: {{title}}</h1>
-  {%include gohome.html%}
-
-  <form method='POST' action='/form/'>
-    <input name='title'/>
-    <input type='submit'/>
-  </form>
-
-  </body>
-</html>
diff --git a/www/index.html b/www/index.html
deleted file mode 100644
index a3a798e..0000000
--- a/www/index.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="ru">
-  <head>
-    <title>A test</title>
-    <meta name='author' content='Portnov'>
-  </head>
-
-  <body>
-  <h1>Hello world!</h1>
-  <p>Just a test.</p>
-  </body>
-</html>
ViewGit