Browse Source

fixed html warnings

Andrew Tridgell 4 năm trước cách đây
mục cha
commit
91d5103ad8
2 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 2 2
      templates/generate.html
  2. 3 3
      templates/index.html

+ 2 - 2
templates/generate.html

@@ -28,13 +28,13 @@
             <input type="submit" value="See all builds" />
         </form>
         <form action="/">
-            <input type="submit" value="Queue another build" method="post">
+            <input type="submit" value="Queue another build">
         </form>
     </div>
     <p>Build ID: {{ token }}</p>
     <p>Build progress:</p>
     <textarea  
-        id="build_output" rows="30" cols="100" readonly autocomplete="off">
+        id="build_output" rows="30" cols="100" readonly>
     </textarea>
     <br><input type="checkbox" id="AutoScroll" checked>AutoScroll<script>
       function reload() {

+ 3 - 3
templates/index.html

@@ -4,6 +4,7 @@
 <head>
 <link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles/main.css') }}">
 <script type="text/javascript" src="{{ url_for('static', filename='js/CollapsibleLists.js')}}"></script>
+<title>ArduPilot Custom Firmware Builder</title>
 </head>
 
 <body onload="javascript: reload()">
@@ -12,9 +13,8 @@
 <div id="logo">
 </div>
 </a>
-  
+
     <div id="menu">
-        <title>ArduPilot Custom Firmware Builder</title>
         <h2>ArduPilot Custom Firmware Builder</h2>
         <br><b>This site is EXPERIMENTAL</b>
 
@@ -64,7 +64,7 @@
               {% endfor %}
             </ul>
             <br>
-            <input type="submit" value="Generate" method="post">
+            <input type="submit" value="Generate">
         </form>
     </div>
 <hr>