summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorruben <ruben.git@r.z11.de>2015-04-24 20:15:43 +0200
committerruben <ruben.git@r.z11.de>2015-04-24 20:15:43 +0200
commita2fbffd722eaef03d34258fa59649b4128374527 (patch)
tree8af0bf01d0b3f2006d3087e42c4999fa715bdbc6
parentf5a2ec691035dc2892e92c957d0404d47a6a716c (diff)
Firmware Selectboxen in Optiongroups
-rw-r--r--assets/javascripts/main.js2
-rw-r--r--assets/stylesheets/style.css6
-rw-r--r--index.html121
3 files changed, 75 insertions, 54 deletions
diff --git a/assets/javascripts/main.js b/assets/javascripts/main.js
index 8793155..d97177a 100644
--- a/assets/javascripts/main.js
+++ b/assets/javascripts/main.js
@@ -23,7 +23,7 @@ $(document).ready(function() {
fileExtension = '-sysupgrade';
break;
default:
- type = 'factory';
+ alert('error')
}
switch ($('#branch').val()) {
diff --git a/assets/stylesheets/style.css b/assets/stylesheets/style.css
index a9cf272..4805bb6 100644
--- a/assets/stylesheets/style.css
+++ b/assets/stylesheets/style.css
@@ -60,7 +60,11 @@ h2 {
}
.download-form .button:hover {
- background: #ffb400;
+ background: #ffb400;
+}
+
+.download-form .featured {
+ background: #aa0044;
}
@media (max-width: 60em) {
diff --git a/index.html b/index.html
index 89eb8cf..4b82892 100644
--- a/index.html
+++ b/index.html
@@ -16,6 +16,8 @@
<img src="assets/images/freifunk_logo.png" alt="Freifunk Kiel Firmware">
<h1>Freifunk Kiel</h1>
<h2>Firmware Version 0.6 und 0.7-exp150420 herunterladen</h2>
+ <noscript><br><br><br><h1>Bitte aktiviere Javascript</h1>
+ <a href="http://freifunk.in-kiel.de/firmware.html">Download ohne Javascript</a></noscript>
</header>
<form class="download-form" id="download-form">
@@ -29,69 +31,84 @@
</select>
<select id="download-form-router">
<option value="-1">Bitte wähle einen Router</option>
+ <optgroup label="Buffalo">
<option value="buffalo-wzr-hp-ag300h-wzr-600dhp">Buffalo WZR HP AG300H</option>
<option value="buffalo-wzr-hp-ag300h-wzr-600dhp">Buffalo WZR 600DHP</option>
<option value="buffalo-wzr-hp-g450h">Buffalo WZR HP G450H</option>
+ </optgroup>
+ <optgroup label="D-Link">
<option value="d-link-dir-615-rev-c1">D-Link 615</option>
<option value="d-link-dir-825-rev-b1">D-Link 825</option>
+ </optgroup>
+ <optgroup label="GL Inet">
<option value="gl-inet-6408a-v1">GL Inet 6408a Ver:1</option>
<option value="gl-inet-6416a-v1">GL Inet 6416a Ver:1</option>
+ </optgroup>
+ <optgroup label="Linksys">
<option value="linksys-wrt160nl">Linksys WRT 160 NL</option>
+ </optgroup>
+ <optgroup label="NetGear">
<option value="netgear-wndr3700">NetGear WNDR 3700</option>
<option value="netgear-wndr3700v2">NetGear WNDR 3700 Ver:2</option>
<option value="netgear-wndr3800">NetGear WNDR 3800</option>
- <option value="tp-link-cpe210-v1.0">TP-Link CPE210 Ver:1</option>
- <option value="tp-link-cpe220-v1.0">TP-Link CPE220 Ver:1</option>
- <option value="tp-link-cpe510-v1.0">TP-Link CPE510 Ver:1</option>
- <option value="tp-link-cpe520-v1.0">TP-Link CPE520 Ver:1</option>
- <option value="tp-link-tl-mr3020-v1">TP-Link TL MR 3020 Ver:1</option>
- <option value="tp-link-tl-mr3040-v1">TP-Link TL MR 3040 Ver:1</option>
- <option value="tp-link-tl-mr3040-v2">TP-Link TL MR 3040 Ver:2</option>
- <option value="tp-link-tl-mr3220-v1">TP-Link TL MR 3220 Ver:1</option>
- <option value="tp-link-tl-mr3220-v2">TP-Link TL MR 3220 Ver:2</option>
- <option value="tp-link-tl-mr3420-v1">TP-Link TL MR 3420 Ver:1</option>
- <option value="tp-link-tl-mr3420-v2">TP-Link TL MR 3420 Ver:2</option>
- <option value="tp-link-tl-wa701n-nd-v1">TP-Link TL WA 701 N/ND Ver:1</option>
- <option value="tp-link-tl-wa750re-v1">TP-Link TL WA 750RE Ver:1</option>
- <option value="tp-link-tl-wa801n-nd-v2">TP-Link TL WA 801 N/ND Ver:2</option>
- <option value="tp-link-tl-wa850re-v1">TP-Link TL WA 850RE Ver:1</option>
- <option value="tp-link-tl-wa860re-v1">TP-Link TL WA 860RE Ver:1</option>
- <option value="tp-link-tl-wa901n-nd-v2">TP-Link TL WA 901 N/ND Ver:2</option>
- <option value="tp-link-tl-wa901n-nd-v3">TP-Link TL WA 901 N/ND Ver:3</option>
- <option value="tp-link-tl-wdr3500-v1">TP-Link TL WDR 3500 Ver:1</option>
- <option value="tp-link-tl-wdr3600-v1">TP-Link TL WDR 3600 Ver:1</option>
- <option value="tp-link-tl-wdr4300-v1">TP-Link TL WDR 4300 Ver:1</option>
- <option value="tp-link-tl-wr1043n-nd-v1">TP-Link TL WR 1043 N/ND Ver:1</option>
- <option value="tp-link-tl-wr1043n-nd-v2">TP-Link TL WR 1043 N/ND Ver:2</option>
- <option value="tp-link-tl-wr2543n-nd-v1">TP-Link TL WR 2543 N/ND Ver:1</option>
- <option value="tp-link-tl-wr703n-v1">TP-Link TL WR 703 N Ver:1</option>
- <option value="tp-link-tl-wr710n-v1">TP-Link TL WR 710 N Ver:1</option>
- <option value="tp-link-tl-wr740n-nd-v1">TP-Link TL WR 740 N/ND Ver:1</option>
- <option value="tp-link-tl-wr740n-nd-v3">TP-Link TL WR 740 N/ND Ver:3</option>
- <option value="tp-link-tl-wr740n-nd-v4">TP-Link TL WR 740 N/ND Ver:4</option>
- <option value="tp-link-tl-wr741n-nd-v1">TP-Link TL WR 741 N/ND Ver:1</option>
- <option value="tp-link-tl-wr741n-nd-v2">TP-Link TL WR 741 N/ND Ver:2</option>
- <option value="tp-link-tl-wr741n-nd-v4">TP-Link TL WR 741 N/ND Ver:4</option>
- <option value="tp-link-tl-wr743n-nd-v1">TP-Link TL WR 743 N/ND Ver:1</option>
- <option value="tp-link-tl-wr743n-nd-v2">TP-Link TL WR 743 N/ND Ver:2</option>
- <option value="tp-link-tl-wr841n-nd-v3">TP-Link TL WR 841 N/ND Ver:3</option>
- <option value="tp-link-tl-wr841n-nd-v5">TP-Link TL WR 841 N/ND Ver:5</option>
- <option value="tp-link-tl-wr841n-nd-v7">TP-Link TL WR 841 N/ND Ver:7</option>
- <option value="tp-link-tl-wr841n-nd-v8">TP-Link TL WR 841 N/ND Ver:8</option>
- <option value="tp-link-tl-wr841n-nd-v9">TP-Link TL WR 841 N/ND Ver:9</option>
- <option value="tp-link-tl-wr842n-nd-v1">TP-Link TL WR 842 N/ND Ver:1</option>
- <option value="tp-link-tl-wr842n-nd-v2">TP-Link TL WR 842 N/ND Ver:2</option>
- <option value="tp-link-tl-wr941n-nd-v2">TP-Link TL WR 941 N/ND Ver:2</option>
- <option value="tp-link-tl-wr941n-nd-v3">TP-Link TL WR 941 N/ND Ver:3</option>
- <option value="tp-link-tl-wr941n-nd-v4">TP-Link TL WR 941 N/ND Ver:4</option>
- <option value="tp-link-tl-wr941n-nd-v5">TP-Link TL WR 941 N/ND Ver:5</option>
- <option value="ubiquiti-bullet-m">Ubiquiti Bullet M</option>
- <option value="ubiquiti-loco-m-xw">Ubiquiti Loco M XW</option>
- <option value="ubiquiti-nanostation-m-xw">Ubiquiti Nanostation M XW</option>
- <option value="ubiquiti-nanostation-m">Ubiquiti Nanostation M</option>
- <option value="ubiquiti-unifi-ap-pro">Ubiquiti UniFi AP Pro</option>
- <option value="ubiquiti-unifi">Ubiquiti UniFi</option>
- <option value="ubiquiti-unifiap-outdoor">Ubiquiti UniFi AP-Outdoor</option>
+ </optgroup>
+ <optgroup label="TP-Link">
+ <option value="tp-link-cpe210-v1.0">CPE210 Ver:1</option>
+ <option value="tp-link-cpe220-v1.0">CPE220 Ver:1</option>
+ <option value="tp-link-cpe510-v1.0" class="featured">CPE510 Ver:1</option>
+ <option value="tp-link-cpe520-v1.0">CPE520 Ver:1</option>
+ <option value="tp-link-tl-mr3020-v1">MR 3020 Ver:1</option>
+ <option value="tp-link-tl-mr3040-v1">MR 3040 Ver:1</option>
+ <option value="tp-link-tl-mr3040-v2">MR 3040 Ver:2</option>
+ <option value="tp-link-tl-mr3220-v1">MR 3220 Ver:1</option>
+ <option value="tp-link-tl-mr3220-v2">MR 3220 Ver:2</option>
+ <option value="tp-link-tl-mr3420-v1">MR 3420 Ver:1</option>
+ <option value="tp-link-tl-mr3420-v2">MR 3420 Ver:2</option>
+ <option value="tp-link-tl-wa701n-nd-v1">WA 701 N/ND Ver:1</option>
+ <option value="tp-link-tl-wa750re-v1">WA 750RE Ver:1</option>
+ <option value="tp-link-tl-wa801n-nd-v2">WA 801 N/ND Ver:2</option>
+ <option value="tp-link-tl-wa850re-v1">WA 850RE Ver:1</option>
+ <option value="tp-link-tl-wa860re-v1">WA 860RE Ver:1</option>
+ <option value="tp-link-tl-wa901n-nd-v2">WA 901 N/ND Ver:2</option>
+ <option value="tp-link-tl-wa901n-nd-v3">WA 901 N/ND Ver:3</option>
+ <option value="tp-link-tl-wdr3500-v1">WDR 3500 Ver:1</option>
+ <option value="tp-link-tl-wdr3600-v1">WDR 3600 Ver:1</option>
+ <option value="tp-link-tl-wdr4300-v1" class="featured">WDR 4300 Ver:1</option>
+ <option value="tp-link-tl-wr1043n-nd-v1">WR 1043 N/ND Ver:1</option>
+ <option value="tp-link-tl-wr1043n-nd-v2" class="featured">WR 1043 N/ND Ver:2</option>
+ <option value="tp-link-tl-wr2543n-nd-v1">WR 2543 N/ND Ver:1</option>
+ <option value="tp-link-tl-wr703n-v1">WR 703 N Ver:1</option>
+ <option value="tp-link-tl-wr710n-v1">WR 710 N Ver:1</option>
+ <option value="tp-link-tl-wr740n-nd-v1">WR 740 N/ND Ver:1</option>
+ <option value="tp-link-tl-wr740n-nd-v3">WR 740 N/ND Ver:3</option>
+ <option value="tp-link-tl-wr740n-nd-v4">WR 740 N/ND Ver:4</option>
+ <option value="tp-link-tl-wr741n-nd-v1">WR 741 N/ND Ver:1</option>
+ <option value="tp-link-tl-wr741n-nd-v2">WR 741 N/ND Ver:2</option>
+ <option value="tp-link-tl-wr741n-nd-v4">WR 741 N/ND Ver:4</option>
+ <option value="tp-link-tl-wr743n-nd-v1">WR 743 N/ND Ver:1</option>
+ <option value="tp-link-tl-wr743n-nd-v2">WR 743 N/ND Ver:2</option>
+ <option value="tp-link-tl-wr841n-nd-v3">WR 841 N/ND Ver:3</option>
+ <option value="tp-link-tl-wr841n-nd-v5">WR 841 N/ND Ver:5</option>
+ <option value="tp-link-tl-wr841n-nd-v7">WR 841 N/ND Ver:7</option>
+ <option value="tp-link-tl-wr841n-nd-v8">WR 841 N/ND Ver:8</option>
+ <option value="tp-link-tl-wr841n-nd-v9" class="featured">WR 841 N/ND Ver:9</option>
+ <option value="tp-link-tl-wr842n-nd-v1">WR 842 N/ND Ver:1</option>
+ <option value="tp-link-tl-wr842n-nd-v2">WR 842 N/ND Ver:2</option>
+ <option value="tp-link-tl-wr941n-nd-v2">WR 941 N/ND Ver:2</option>
+ <option value="tp-link-tl-wr941n-nd-v3">WR 941 N/ND Ver:3</option>
+ <option value="tp-link-tl-wr941n-nd-v4">WR 941 N/ND Ver:4</option>
+ <option value="tp-link-tl-wr941n-nd-v5">WR 941 N/ND Ver:5</option>
+ </optgroup>
+ <optgroup label="Ubiquiti">
+ <option value="ubiquiti-bullet-m">Bullet M</option>
+ <option value="ubiquiti-bullet-m" class="featured">NanoStation locoM2</option>
+ <option value="ubiquiti-loco-m-xw">NanoStation locoM2 XW</option>
+ <option value="ubiquiti-nanostation-m">NanoStation M2</option>
+ <option value="ubiquiti-nanostation-m-xw">NanoStation M2 XW</option>
+ <option value="ubiquiti-unifi-ap-pro">UniFi AP Pro</option>
+ <option value="ubiquiti-unifi">UniFi</option>
+ <option value="ubiquiti-unifiap-outdoor">UniFi AP-Outdoor</option>
+ </optgroup>
</select>
<button class="button">Herunterladen</button>