Explorar el Código

"Werbung" entfernt

toh0bi hace 7 años
padre
commit
9b7d1b8733
Se han modificado 3 ficheros con 32 adiciones y 22 borrados
  1. 4 4
      ffms.css
  2. 26 16
      index.html
  3. 2 2
      search.js

+ 4 - 4
ffms.css

@@ -1,10 +1,10 @@
 @media screen and (max-width: 767px) {
 	#ffms-logo {
 		width: 110px;
-    }
-    #ffms-table{
-        text-align:center;
-        }
+  }
+  #ffms-align-center{
+    text-align:center;
+  }
 }
 
 

+ 26 - 16
index.html

@@ -4,8 +4,8 @@
   <title>Freifunk Münsterland - Karten</title>
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1">
-  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> 
-  <link rel="stylesheet" href="ffms.css"> 
+  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
+  <link rel="stylesheet" href="ffms.css">
   <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
   <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
 </head>
@@ -23,29 +23,39 @@
     </div>
     </div>
   </div>
-  <div class="alert alert-info"> 
-      <div style="text-align:center"> 
+  <!--
+  <div class="container">
+    <div class="alert alert-info">
+      <div style="text-align:center">
       <strong> <a href="map/">Gesamtkarte des Freifunk Münsterland</a></strong>
       </div>
-  </div>
+    </div>
+  </div>-->
   <div class="container">
   <div class="row">
     <div class="col-md-4 col-sm-4">
-        <form action="#" method="get">
+      <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" required>
-        <span class="input-group-btn">
+          <!-- USE TWITTER TYPEAHEAD JSON WITH API TO SEARCH -->
+          <input class="form-control" id="system-search" name="q" placeholder="Suche nach" required>
+          <span class="input-group-btn">
           <button type="submit" class="btn btn-default"><i class="glyphicon glyphicon-search"></i></button>
-        </span>
-      </div>
-    </form>
+          </span>
+        </div>
+      </form>
+      <br/>
+      <p><strong><a href="map/">Gesamtkarte des Freifunk Münsterlands</a></strong></p>
+      <p><a href="https://freifunk-muensterland.de">Freifunk Münsterland</a></p>
+      <p><a href="https://wiki.freifunk-muensterland.de/">Freifunk Münsterland Wiki</a></p>
+      <p><a href="https://forum.freifunk-muensterland.de/">Freifunk Münsterland Forum</a></p>
     </div>
     <div class="col-md-4 col-sm-4">
-        <table id="ffms-table" class="table table-list-search table-hover" id="ffms-table">
+        <table id="ffms-align-center" class="table table-list-search table-hover">
           <thead>
             <tr>
-              <th><div style=text-align:center>Domänen</div></th>
+              <th>
+                  <div style=text-align:center><h4>Domänen</h4></div>
+              </th>
             </tr>
           </thead>
           <tbody>
@@ -81,10 +91,10 @@
         </table>
     </div>
     <div class="col-md-4 col-sm-4">
-        <table id="ffms-table" class="table  table-list-search table-hover" id="ffms-table">
+        <table id="ffms-align-center" class="table  table-list-search table-hover">
           <thead>
             <tr>
-              <th><div style=text-align:center>Gruppen</div></th>
+              <th><div style=text-align:center><h4>Gruppen</h4></div></th>
             </tr>
           </thead>
           <tbody>

+ 2 - 2
search.js

@@ -13,7 +13,7 @@ $(document).ready(function() {
             //Lower text for case insensitive
             var rowText = $(val).text().toLowerCase();
             var inputText = $(that).val().toLowerCase();
-            if(inputText != '')
+            if(inputText !== '')
             {
                 $('.search-query-sf').remove();
                 tableBody.prepend('<tr class="search-query-sf"><td colspan="6" <div class="alert alert-info">Einträge mit <strong>"'
@@ -38,7 +38,7 @@ $(document).ready(function() {
             }
         });
         //all tr elements are hidden
-        if(tableRowsClass.children(':visible').length == 0)
+        if(tableRowsClass.children(':visible').length === 0)
         {
             tableBody.append('<tr class="search-sf"><td class="text-muted" colspan="6">Kein Eintrag gefunden.</td></tr>');
         }