summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@ffgraz.net>2008-12-07 20:13:50 +0000
committerChristian Pointner <equinox@ffgraz.net>2008-12-07 20:13:50 +0000
commit54b20b97f4ba7441c850b67009a3bda5174a089c (patch)
tree022d7ced1ad427a1beb6245cb20f0ca86a190e01
parent64119ff0d505c374441da5e74e5f0256f5206428 (diff)
some cosmetic changes
-rw-r--r--img/link_grey.pngbin0 -> 179 bytes
-rw-r--r--img/link_red.pngbin20469 -> 0 bytes
-rw-r--r--index.php8
-rw-r--r--map.js7
4 files changed, 8 insertions, 7 deletions
diff --git a/img/link_grey.png b/img/link_grey.png
new file mode 100644
index 0000000..7e689c3
--- /dev/null
+++ b/img/link_grey.png
Binary files differ
diff --git a/img/link_red.png b/img/link_red.png
deleted file mode 100644
index d0c1343..0000000
--- a/img/link_red.png
+++ /dev/null
Binary files differ
diff --git a/index.php b/index.php
index d92e5c4..88b6390 100644
--- a/index.php
+++ b/index.php
@@ -36,7 +36,7 @@ if(empty($res)) $res=15;
<tr><td align="center"><img src="./img/marker_tunnel.png" /></td><td>&nbsp;</td><td>Tunnel</td></tr>
<tr><td align="center"><img src="./img/link_green.png" /></td><td>&nbsp;</td><td>Gut</td></tr>
<tr><td align="center"><img src="./img/link_yellow.png" /></td><td>&nbsp;</td><td>Mittel</td></tr>
- <tr><td align="center"><img src="./img/link_red.png" /></td><td>&nbsp;</td><td>Schlecht</td></tr>
+ <tr><td align="center"><img src="./img/link_grey.png" /></td><td>&nbsp;</td><td>Schlecht</td></tr>
<tr><td align="center"><img src="./img/link_blue.png" /></td><td>&nbsp;</td><td>Tunnel</td></tr>
</table>
</div>
@@ -47,7 +47,7 @@ if(empty($res)) $res=15;
<form name="visibleform" action="#" onsubmit="return false">
<table class="legend">
<tr>
- <td><input type="checkbox" name="offline" value="true" onclick="javascript:toggleVisible('offline')" checked="checked"></td>
+ <td><input type="checkbox" name="offline" value="true" onclick="javascript:toggleVisible('offline')"></td>
<td>&nbsp;</td><td align="center"><img src="./img/marker_offline.png" /></td><td>Offline</td>
</tr>
<tr>
@@ -55,8 +55,8 @@ if(empty($res)) $res=15;
<td>&nbsp;</td><td align="center"><img src="./img/marker_online.png" />&nbsp;<img src="./img/marker_tunnel.png" /></td><td>Online</td>
</tr>
<tr>
- <td><input type="checkbox" name="bad" value="true" onclick="javascript:toggleVisible('bad')"></td>
- <td>&nbsp;</td><td align="center"><img src="./img/link_red.png" /></td><td>Schlecht</td>
+ <td><input type="checkbox" name="bad" value="true" onclick="javascript:toggleVisible('bad')" checked="checked"></td>
+ <td>&nbsp;</td><td align="center"><img src="./img/link_grey.png" /></td><td>Schlecht</td>
</tr>
<tr>
<td><input type="checkbox" name="middle" value="true" onclick="javascript:toggleVisible('middle')"></td>
diff --git a/map.js b/map.js
index f8f73b9..0c7c6f5 100644
--- a/map.js
+++ b/map.js
@@ -244,15 +244,16 @@ function makeColor(value) {
case 3: return '#ff9900';
case 4: return '#ffcc00';
case 5: return '#cccc33';
- default: return '#000000'
+ default: return '#666666'
}
}
function makeWeight(value) {
switch(value) {
- case -1: return 1;
- case 0: return 3;
+ case -1: return 2;
+ case 0: return 1;
case 1: return 3;
+ case 2: return 2;
case 3: return 1;
case 4: return 1;
case 5: return 1;