diff options
-rw-r--r-- | img/link_grey.png | bin | 0 -> 179 bytes | |||
-rw-r--r-- | img/link_red.png | bin | 20469 -> 0 bytes | |||
-rw-r--r-- | index.php | 8 | ||||
-rw-r--r-- | map.js | 7 |
4 files changed, 8 insertions, 7 deletions
diff --git a/img/link_grey.png b/img/link_grey.png Binary files differnew file mode 100644 index 0000000..7e689c3 --- /dev/null +++ b/img/link_grey.png diff --git a/img/link_red.png b/img/link_red.png Binary files differdeleted file mode 100644 index d0c1343..0000000 --- a/img/link_red.png +++ /dev/null @@ -36,7 +36,7 @@ if(empty($res)) $res=15; <tr><td align="center"><img src="./img/marker_tunnel.png" /></td><td> </td><td>Tunnel</td></tr>
<tr><td align="center"><img src="./img/link_green.png" /></td><td> </td><td>Gut</td></tr>
<tr><td align="center"><img src="./img/link_yellow.png" /></td><td> </td><td>Mittel</td></tr>
- <tr><td align="center"><img src="./img/link_red.png" /></td><td> </td><td>Schlecht</td></tr>
+ <tr><td align="center"><img src="./img/link_grey.png" /></td><td> </td><td>Schlecht</td></tr>
<tr><td align="center"><img src="./img/link_blue.png" /></td><td> </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> </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> </td><td align="center"><img src="./img/marker_online.png" /> <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> </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> </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>
@@ -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; |