Bläddra i källkod

removed submit form

Tobias Südkamp 7 år sedan
förälder
incheckning
e1369163f8
2 ändrade filer med 7 tillägg och 9 borttagningar
  1. 4 5
      debug.html
  2. 3 4
      index.html.j2

+ 4 - 5
debug.html

@@ -27,15 +27,14 @@
   <div class="row">
     <!-- Suchfeld und Links -->
     <div class="col-md-4 col-sm-4 col-xs-12">
-      <form action="#" method="get">
         <div class="input-group">
           <!-- USE TWITTER TYPEAHEAD JSON WITH API TO SEARCH -->
-          <input class="form-control" id="system-search" name="q" placeholder="Suche nach" autofocus required>
+          <input class="form-control" id="system-search" 
+                name="q" placeholder="Suche nach" autofocus>
           <span class="input-group-btn">
-          <button type="submit" class="btn btn-ffms"><i class="glyphicon glyphicon-search"></i></button>
+          <button id="searchbutton" type="button" class="btn btn-ffms"><i class="glyphicon glyphicon-search"></i></button>
           </span>
         </div>
-      </form>
       <br/>
       <h4><strong><a href="map/">Gesamtkarte des Freifunk Münsterlands</a></strong></h4>
       <p><a href="https://freifunk-muensterland.de">Freifunk Münsterland</a></p>
@@ -49,7 +48,7 @@
           <thead>
             <tr>
               <th>
-                  <div style=text-align:center><h4>Domänen</h4></div>
+                  <div style=text-align:center><h4 id="domain">Domänen</h4></div>
               </th>
             </tr>
           </thead>

+ 3 - 4
index.html.j2

@@ -27,15 +27,14 @@
   <div class="row">
     <!-- Suchfeld und Links -->
     <div class="col-md-4 col-sm-4 col-xs-12">
-      <form action="#" method="get">
         <div class="input-group">
           <!-- USE TWITTER TYPEAHEAD JSON WITH API TO SEARCH -->
-          <input class="form-control" id="system-search" name="q" placeholder="Suche nach" autofocus required>
+          <input class="form-control" id="system-search" 
+                name="q" placeholder="Suche nach" autofocus>
           <span class="input-group-btn">
-          <button type="submit" class="btn btn-ffms"><i class="glyphicon glyphicon-search"></i></button>
+          <button type="button" class="btn btn-ffms"><i class="glyphicon glyphicon-search"></i></button>
           </span>
         </div>
-      </form>
       <br/>
       <h4><strong><a href="map/">Gesamtkarte des Freifunk Münsterlands</a></strong></h4>
       <p><a href="https://freifunk-muensterland.de">{{freifunk.name}}</a></p>