[bugzilla-gnome-org-extensions] Fix some document structure errors in index.html



commit 92105855dc83b08f7985ee4cdcd3ffc2c4e3aa9b
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Thu Sep 17 00:07:08 2009 -0400

    Fix some document structure errors in index.html
    
     - Use an XHTML DTD declaration
     - Add a space before the /> of empty elements to make it happy as both
       HTML and XHTML
     - Fix a missing close tag

 web/index.html |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/web/index.html b/web/index.html
index 1d154ff..ed262f9 100644
--- a/web/index.html
+++ b/web/index.html
@@ -1,7 +1,10 @@
-<html>
+<?xml version="1.0" encoding="utf-8"?>
+<!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"; xml:lang="en" lang="en">
   <head>
     <title>Patch Review</title>
-    <link rel="stylesheet" href="splinter.css" type="text/css"></link>
+    <link rel="stylesheet" href="splinter.css" type="text/css" />
     <script src="jquery.min.js" type="text/javascript"></script>
     <script src="config.js" type="text/javascript"></script>
     <script src="splinter.flat.js" type="text/javascript"></script>
@@ -28,8 +31,8 @@
     <div id="loading">Loading....</div>
     <div id="enterBug" style="display: none;">
       Bug to review:
-      <input id="enterBugInput"></input>
-      <input id="enterBugGo" type="button" value="Go"></input>
+      <input id="enterBugInput" />
+      <input id="enterBugGo" type="button" value="Go" />
       <div id="chooseReview" style="display: none;">
         Drafts and published reviews:
        <table>
@@ -63,12 +66,13 @@
          <span id="attachmentStatusSpan">Patch Status:
            <select id="attachmentStatus"> </select>
          </span>
-         <input id="publishButton" type="button" value="Publish"></input>
-         <input id="cancelButton" type="button" value="Cancel"></input>
+         <input id="publishButton" type="button" value="Publish" />
+         <input id="cancelButton" type="button" value="Cancel" />
        </div>
        <div id="buttonSeparator"></div>
       </div>
-    <div id="files" style="display: none;"></div>
+      <div id="files" style="display: none;"></div>
+      <div id="saveDraftNotice" style="display: none;"></div>
+    </div>
   </body>
-  <div id="saveDraftNotice" style="display: none;"></div>
 </html>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]