summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordo9xe <h.l.lueth@gmail.com>2015-01-25 18:34:55 +0100
committerdo9xe <h.l.lueth@gmail.com>2015-01-25 18:34:55 +0100
commit71b65ccef1f385530098b619c48d54715aa3cbf3 (patch)
tree8256ac42b4d5ab390e4580f2da4f310a08be4fd3
parent5e2ee1384fc741257c026b47842c3916365a620b (diff)
set 0.6 as stable, make it look good
-rw-r--r--assets/images/freifunk_logo.pngbin67003 -> 26333 bytes
-rw-r--r--assets/javascripts/main.js14
-rw-r--r--test.html10
3 files changed, 16 insertions, 8 deletions
diff --git a/assets/images/freifunk_logo.png b/assets/images/freifunk_logo.png
index 43c8961..92aac9e 100644
--- a/assets/images/freifunk_logo.png
+++ b/assets/images/freifunk_logo.png
Binary files differ
diff --git a/assets/javascripts/main.js b/assets/javascripts/main.js
index 21c2be1..60d2851 100644
--- a/assets/javascripts/main.js
+++ b/assets/javascripts/main.js
@@ -8,13 +8,17 @@ $(document).ready(function() {
fileExtension = '',
fileEnding = '.bin',
router;
+
+ router = $('#download-form-router').val();
switch ($('#download-form-type').val()) {
case '0':
type = 'factory';
-
-
-
+ /* there will be more than a *.bin as a filending
+ if (router == 'netgear-wndr3700' || router == 'netgear-wndr3700' || router == 'netgear-wndr3800'){
+ fileEnding = '.img'
+ }
+ */
break;
case '1':
type = 'sysupgrade';
@@ -35,10 +39,10 @@ $(document).ready(function() {
break;
default:
branchdir = 'stable';
- vnumber = '0.5.1-';
+ vnumber = '0.6-';
}
- router = $('#download-form-router').val();
+
if(router === '-1') {
window.alert('Bitte wähle eine Router aus.');
diff --git a/test.html b/test.html
index 6bcc704..ac051b3 100644
--- a/test.html
+++ b/test.html
@@ -15,8 +15,7 @@
<header>
<img src="assets/images/freifunk_logo.png" alt="Freifunk Kiel Firmware">
<h1>Freifunk Kiel</h1>
- <h2>Public BETA Test-Phase</h2>
- <h2>Firmware herunterladen</h2>
+ <h2>Firmware Version 0.6 herunterladen</h2>
</header>
<form class="download-form" id="download-form">
@@ -29,7 +28,7 @@
<!-- <option value="1">Experimentelle Version (für Profis)</option> -->
</select>
<select id="download-form-router">
- <option value="d-link-dir-615-rev-e1">D-Link 615</option>
+ <option value="-1">Bitte wähle einen Router</option>
<option value="d-link-dir-825-rev-b1">D-Link 825</option>
<option value="linksys-wrt160nl">Linksys WRT 160 NL</option>
<option value="tp-link-cpe210-v1.0">TP-Link CPE210 Ver:1</option>
@@ -73,6 +72,11 @@
<option value="ubiquiti-nanostation-m">Ubiquiti Nanostation M</option>
<option value="ubiquiti-unifi">Ubiquiti UniFi</option>
<option value="ubiquiti-unifiap-outdoor">Ubiquiti UniFi AP-Outdoor</option>
+ <!-- Future Router support
+ <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>
+ -->
</select>
<button class="button">Herunterladen</button>
<a class="button" href="files/all_images.zip">Alle als ZIP herunterladen (kommt bald)</a>