Code

First steps towards HTML4.01 Strict validation.
authorjlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 2 Oct 2003 16:00:45 +0000 (16:00 +0000)
committerjlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 2 Oct 2003 16:00:45 +0000 (16:00 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1891 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/cgi/templating.py
templates/classic/html/_generic.help.html
templates/classic/html/issue.index.html
templates/classic/html/page.html
templates/classic/html/style.css

index 4b1b374afdc0dc4b1feda843174a7195c69c0aec..ef6fb41ccdc4eb2bfbdfd02699a0ef7ef0293068 100644 (file)
@@ -1680,7 +1680,7 @@ env: %(env)s
 
     def base_javascript(self):
         return '''
-<script language="javascript">
+<script type="text/javascript">
 submitted = false;
 function submit_once() {
     if (submitted) {
index 98fd6d03856ccbf90e95d4895c7c38e50a8152f6..4f9ae6c4bf67b4d8de3749dca1f3f401e9f07a7d 100644 (file)
@@ -14,7 +14,7 @@
       //--></script>
       </tal:block>
   </head>
- <body class="body" marginwidth="0" marginheight="0" onload="resetList();">
+ <body class="body" onload="resetList();">
  <form name="frm_help" action=""
        tal:define="start python:int(request.form[':startwith'].value);
                    batch python:utils.Batch(context.list(), 500, start);
index 0d331c5b56116cf9c4578a363b0b9dc102134019..dfd666e020bf10b1e51fe5ef07ef8b612ff0c5c4 100644 (file)
@@ -82,7 +82,7 @@ You are not allowed to view this page.
 </table>
 
 <form method="GET" tal:attributes="action request/classname">
- <tal:block tal:replace="structure python:request.indexargs_form(sort=0, group=0)" />
  <table class="form">
   <tr tal:condition="batch">
    <th>Sort on:</th>
@@ -116,7 +116,11 @@ You are not allowed to view this page.
               tal:attributes="checked python:request.group[0] == '-'"> 
    </td>
   </tr>
-  <tr><td colspan="4"><input type="submit" value="Redisplay"></td></tr>
+  <tr><td colspan="4">
+              <input type="submit" value="Redisplay">
+              <tal:block tal:replace="structure
+                python:request.indexargs_form(sort=0, group=0)" />
+  </td></tr>
  </table>
 </form>
 
index f630a2deaa85a75c89ef9746c647bfc5ea217781..beb068939026267a828614f627c213b512239cb1 100644 (file)
@@ -12,7 +12,7 @@
 </script>
 
 </head>
-<body class="body" marginwidth="0" marginheight="0">
+<body class="body">
 
 <table class="body">
 
@@ -22,7 +22,7 @@
 </tr>
 
 <tr>
- <td rowspan="2" valign="top" nowrap class="sidebar">
+ <td rowspan="2" valign="top" class="sidebar">
   <p class="classblock" tal:condition="request/user/queries">
    <b>Your Queries</b><br>
    <tal:block tal:repeat="qs request/user/queries">
@@ -31,7 +31,7 @@
    </tal:block>
   </p>
 
-  <form method="POST">
+  <form method="POST" action=".">
    <p class="classblock"
        tal:condition="python:request.user.hasPermission('View', 'issue')">
     <b>Issues</b><br>
@@ -69,7 +69,7 @@
       href="user?:template=item">Add User</a>
   </p>
 
-  <form method="POST" action="">
+  <form method="POST" action=".">
    <p class="userblock" tal:condition="python:request.user.username=='anonymous'">
     <b>Login</b><br>
     <input size="10" name="__login_name"><br>
index 3a0b055cf27eb94c8d088582e34c756d867a56e6..a5f368088bdc505f595e3faf8612a83e901dbae2 100644 (file)
@@ -2,6 +2,7 @@
 body.body {
   font-family: sans-serif, Arial, Helvetica;
   color: #333333;
+  margin: 0px 0px 0px 0px;
 }
 a[href]:hover { color:blue; text-decoration: underline; }
 a[href]:link { color:blue; text-decoration: none; }
@@ -26,6 +27,7 @@ td.page-header-top {
 
 td.sidebar {
   padding: 1 0 0 1;
+  white-space: nowrap;
 }
 td.sidebar form {
      margin: 0 0 0 0;