Changeset 380
- Timestamp:
- 10/16/07 21:40:59 (1 year ago)
- Files:
-
- firmware/trunk/freifunk/build_ffw/www/60-cgi-bin-pmacct (added)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin-blacklist.html (modified) (1 diff)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin-index.html (modified) (2 diffs)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin-pmacct.html (added)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin-pre.sh (modified) (2 diffs)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin-register.html (modified) (1 diff)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin-viz.html (modified) (3 diffs)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin-vizdata.html (modified) (2 diffs)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin/cgi-bin-index-pre.sh (modified) (2 diffs)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin/cgi-bin-pre.sh (modified) (2 diffs)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin/gateway.html (modified) (20 diffs)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin/network/51-portfw (added)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin/network/portfw.html (added)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin/network/pppoecd.html (modified) (1 diff)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin/state/cgi-bin-status.html (modified) (1 diff)
- firmware/trunk/freifunk/build_ffw/www/cgi-bin/state/index.html (modified) (1 diff)
- firmware/trunk/freifunk/build_ffw/www/ff.css (modified) (1 diff)
- firmware/trunk/freifunk/build_ffw/www/olsr-viz.js (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
firmware/trunk/freifunk/build_ffw/www/cgi-bin-blacklist.html
r266 r380 2 2 3 3 export DATE="xx.xx.xxxx";SCRIPT=${0#/rom} 4 export TITLE=" OLSR Internet Access"4 export TITLE="Accès Internet via OLSR" 5 5 . ${SCRIPT%/*}/cgi-bin-pre.sh 6 6 7 7 cat<<EOF 8 8 <H1> 9 OLSR Internet Access</H1>9 Accès Internet via OLSR</H1> 10 10 <P> 11 If you see that webpage your access to the internet has been closed 12 by the operator of this gateway. The usage of the internet over the Freifunk Networks 13 is tied to technical and organizational terms. In case of abuse the operator is allowed 14 to restrict your internet access. For more information contact the operator of 15 this gateway (<A HREF="cgi-bin-contact.html">contact</A>). 11 Si vous voyez cette page, cela signifie que votre accès internet a été bloqué par l'opérateur de cette passerelle. L'utilisation de l'internet à travers les réseaux Freifunk est soumis à des conditions techniques et organisationnelles. En cas d'abus, l'opérateur est autorisé à restreindre l'accès à l'internet. Pour obtenir plus d'informations, veuillez contacter l'opérateur de cette passerelle (<A HREF="cgi-bin-contact.html">contact</A>). 16 12 </P> 17 13 <P> 18 <B>Problems or questions</B> are discussed on the <A HREF="http://">mailinglist</A> 14 Les Problèmes ou questions</B> sont débattus sur la <A HREF="http://freifunk.net/mailinglisten">mailing-list. 19 15 </P> 20 16 <H2> 21 Some links 17 Quelques liens: 22 18 </H2> 23 19 <UL> 24 20 <LI> 25 <A HREF="http:// ">Firmware information</A>21 <A HREF="http://freifunk.net/wiki/FreifunkFirmwareEnglish">A propos du firmware Freifunk</A> 26 22 </LI> 27 23 <LI> 28 <A HREF="http:// ">What is OLSR ?</A>24 <A HREF="http://www.olsr.org/">Qu'est-ce qu'OLSR ? 29 25 </LI> 30 26 </UL> firmware/trunk/freifunk/build_ffw/www/cgi-bin-index.html
r269 r380 8 8 <H1>Bonjour !</H1> 9 9 <P>Vous 10 êtes sur le site web d'un point d'accès Wireless-fr (Fédération France Wireless). Ce site est en version TAR_VERSION<BR>10 êtes sur le site web d'un point d'accès Wireless-fr (Fédération France Wireless). Ce site est en version Polaris-0.2.1_RELEASE. Il est adapté d'aprés la version freifunk TAR_VERSION<BR>. 11 11 12 12 N'hésitez pas à lire les informations techniques détaillées … … 29 29 <H2>Quelques Liens </H2> 30 30 <UL> 31 <LI><A HREF="http://www.wireless-fr.org/">Le site de la France Wireless</A></LI> 31 32 <LI><A HREF="http://www.freifunk.net/wiki/FreifunkFirmwareEnglish">La 32 33 page Freifunk Firmware Freifunk.net (EN)</A></LI> firmware/trunk/freifunk/build_ffw/www/cgi-bin-pre.sh
r265 r380 1 1 #!/bin/sh 2 _uptime="$(uptime)" 3 _loadavg="${_uptime#*load average: }" 4 _uptime="${_uptime#*up }" 5 _uptime="${_uptime%%,*}" 6 _hostname=$(cat /proc/sys/kernel/hostname) 7 _version=$( grep "(" /etc/version ) 8 _version="${_version%% ---*}" 9 2 10 echo Content-type: text/html 3 11 echo … … 43 51 </div> 44 52 <div id="header"> 53 <div id="logo"><img src="images/logo.png" /></div> 54 <div id="polaris-title"><h1>Console d'administration</h1></div> 55 <div id="polaris-title2"><h1>du Réseau Polaris</h1></div> 56 <div id="short-status"> 57 <ul> 58 <li><strong>Host Name:</strong> $_hostname</li> 59 <li><strong>Uptime:</strong> $_uptime</li> 60 <li><strong>Charge système:</strong> $_loadavg</li> 61 <li><strong>Version:</strong> $_version</li> 62 </ul> 63 </div> 45 64 </div> 46 65 <div id="sidebar_left"> firmware/trunk/freifunk/build_ffw/www/cgi-bin-register.html
r266 r380 2 2 3 3 export DATE="xx.xx.xxxx";SCRIPT=${0#/rom} 4 export TITLE=" OLSR Internet Access"4 export TITLE="Accès Internet via OLSR" 5 5 . ${SCRIPT%/*}/cgi-bin-pre.sh 6 6 7 7 cat<<EOF 8 8 <H1> 9 OLSR Internet Access 9 Accès Internet via OLSR 10 10 </H1> 11 11 <P> 12 If you see that webpage you use an IP (network number) 13 which is not registered within the Freifunk-Network. The registration 14 prevents multiple users using the same IP and enables other users 15 contacting you. All registered users will be informed about problemes 16 and changes on the network. You can register <A HREF="http://">here</A>. 17 Further information about our project can be found on <A HREF="http://">http://</A>. 12 Si vous voyez cette page, cela signifie que vous utilisez une adresse IP qui n'est pas répertoriée au sein du réseau Freifunk. L'enregistrement des adresses IP évite que plusieurs usagers emploient la même adresse et permet à d'autres usagers de vous contacter. Tous les utilisateurs enregistrés seront informés des problèmes et des changements dans le réseau. Vous pouvez vous enregistrer <A HREF="http://">ici</A>. Pour obtenir plus d'informations à propos de notre projet, voir <A HREF="http://">http://</A>. 18 13 </P> 19 14 <P> 20 <B>Problems or questions</B> are discussed on the <A HREF="http://">mailinglist</A> 15 Les Problèmes ou questions</B> sont débattus sur la <A HREF="http://freifunk.net/mailinglisten">mailing-list</A>. 21 16 </P> 22 17 <H2> 23 Some links 18 Quelques liens: 24 19 </H2> 25 20 <UL> 26 21 <LI> 27 <A HREF="http:// ">Firmware information</A>22 <A HREF="http://freifunk.net/wiki/FreifunkFirmwareEnglish">A propos du firmware Freifunk</A> 28 23 </LI> 29 24 <LI> 30 <A HREF="http:// ">What is OLSR ?</A>25 <A HREF="http://www.olsr.org/">Qu'est-ce qu'OLSR ? 31 26 </LI> 32 27 </UL> firmware/trunk/freifunk/build_ffw/www/cgi-bin-viz.html
r266 r380 1 1 #!/bin/sh 2 2 3 export DATE=" xx.xx.xxxx";SCRIPT=${0#/rom}3 export DATE="5.10.2007";SCRIPT=${0#/rom} 4 4 export TITLE="OLSR Viz" 5 5 . ${SCRIPT%/*}/cgi-bin-pre.sh … … 12 12 </TABLE> 13 13 <P> </P></NOSCRIPT> 14 <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> 15 var css=document.styleSheets[0]; 16 if (null!=css.insertRule) { 17 css.insertRule(".label {color:black;background-color:white}", css.cssRules.length); 18 } 19 else { 20 css.addRule(".label", "color:black"); 21 css.addRule(".label", "background-color:white"); 22 } 23 </SCRIPT> 14 24 <SCRIPT SRC="olsr-viz.js" LANGUAGE="JavaScript1.2" TYPE="text/javascript"></SCRIPT> 15 25 <DIV ID="main" … … 23 33 | <B TITLE="Limits the view to a maximal hop distance.">Metric</B> <A HREF="javascript:set_maxmetric(maxmetric+1)">+</A> <A HREF="javascript:if(0<maxmetric)set_maxmetric(maxmetric-1)">–</A> <INPUT ID="maxmetric" NAME="maxmetric" TYPE="text" VALUE="3" SIZE="4" ONCHANGE="set_maxmetric(this.value)"> 24 34 | <B TITLE="Enables the automatic layout optimization.">Optimization</B><INPUT ID="auto_declump" NAME="auto_declump" TYPE="checkbox" ONCHANGE="set_autodeclump(this.checked)" CHECKED="CHECKED"> 35 | <B TITLE="Show hostnames.">Hostnames</B><INPUT ID="show_hostnames" NAME="show_hostnames" TYPE="checkbox" ONCHANGE="set_showdesc(this.checked)" CHECKED="CHECKED"> 25 36 | <A HREF="javascript:viz_save()" TITLE="Saves the current settings to a cookie.">Save</A> 26 37 | <A HREF="javascript:viz_reset()" TITLE="Restarts the Viz script.">Reset</A></P> firmware/trunk/freifunk/build_ffw/www/cgi-bin-vizdata.html
r265 r380 22 22 wget http://localhost:2006 -qO - | sed -n " 23 23 /^Table: Links$/,/^$/ { 24 s#\($re_ip\)$re_sep\($re_ip\)\($re_sep$re_nosep\)\{5\}$re_sep\($re_nosep\)#parent.touch_edge(parent.touch_node('\1' ,1),parent.touch_node('\2',1),'\4');#p24 s#\($re_ip\)$re_sep\($re_ip\)\($re_sep$re_nosep\)\{5\}$re_sep\($re_nosep\)#parent.touch_edge(parent.touch_node('\1').set_metric(1).update(),parent.touch_node('\2').set_metric(1).update(),'\4');#p 25 25 } 26 26 /^Table: Topology$/,/^$/ { 27 s#\($re_ip\)$re_sep\($re_ip\)\($re_sep$re_nosep\)\{2\}$re_sep\($re_nosep\)#parent.touch_edge(parent.touch_node('\1') ,parent.touch_node('\2'),'\4');#p27 s#\($re_ip\)$re_sep\($re_ip\)\($re_sep$re_nosep\)\{2\}$re_sep\($re_nosep\)#parent.touch_edge(parent.touch_node('\1').update(),parent.touch_node('\2').update(),'\4');#p 28 28 } 29 29 /^Table: HNA$/,/^$/ { … … 31 31 } 32 32 /^Table: Routes$/,/^$/ { 33 s#\($re_ip\) $re_sep$re_nosep$re_sep\($re_nosep\).*#parent.set_metric('\1','\2');#p33 s#\($re_ip\)/32$re_sep$re_nosep$re_sep\($re_nosep\).*#parent.touch_node('\1').set_metric('\2').update();#p 34 34 } 35 35 " 36 37 sed -n " 38 s#\($re_ip\)$re_sep\($re_nosep\)$re_sep.*#parent.touch_node('\1').set_desc('\2');#p 39 " < /etc/hosts 36 40 37 41 cat<<EOF firmware/trunk/freifunk/build_ffw/www/cgi-bin/cgi-bin-index-pre.sh
r265 r380 1 1 #!/bin/sh 2 _uptime="$(uptime)" 3 _loadavg="${_uptime#*load average: }" 4 _uptime="${_uptime#*up }" 5 _uptime="${_uptime%%,*}" 6 _hostname=$(cat /proc/sys/kernel/hostname) 7 _version=$( grep "(" /etc/version ) 8 _version="${_version%% ---*}" 9 2 10 echo Content-type: text/html 3 11 echo … … 105 113 </div> 106 114 <div id="header"> 115 <div id="logo"><img src="../images/logo.png" /></div> 116 <div id="polaris-title"><h1>Console d'administration</h1></div> 117 <div id="polaris-title2"><h1>du Réseau Polaris</h1></div> 118 <div id="short-status"> 119 <ul> 120 <li><strong>Host Name:</strong> $_hostname</li> 121 <li><strong>Uptime:</strong> $_uptime</li> 122 <li><strong>Charge système:</strong> $_loadavg</li> 123 <li><strong>Version:</strong> $_version</li> 124 </ul> 125 </div> 107 126 </div> 108 127 <div id="submenu"> firmware/trunk/freifunk/build_ffw/www/cgi-bin/cgi-bin-pre.sh
r265 r380 1 1 #!/bin/sh 2 _uptime="$(uptime)" 3 _loadavg="${_uptime#*load average: }" 4 _uptime="${_uptime#*up }" 5 _uptime="${_uptime%%,*}" 6 _hostname=$(cat /proc/sys/kernel/hostname) 7 _version=$( grep "(" /etc/version ) 8 _version="${_version%% ---*}" 9 2 10 echo Content-type: text/html 3 11 echo … … 105 113 </div> 106 114 <div id="header"> 115 <div id="logo"><img src="../../images/logo.png" /></div> 116 <div id="polaris-title"><h1>Console d'administration</h1></div> 117 <div id="polaris-title2"><h1>du Réseau Polaris</h1></div> 118 <div id="short-status"> 119 <ul> 120 <li><strong>Host Name:</strong> $_hostname</li> 121 <li><strong>Uptime:</strong> $_uptime</li> 122 <li><strong>Charge système:</strong> $_loadavg</li> 123 <li><strong>Version:</strong> $_version</li> 124 </ul> 125 </div> 107 126 </div> 108 127 <div id="submenu"> firmware/trunk/freifunk/build_ffw/www/cgi-bin/gateway.html
r352 r380 2 2 3 3 export DATE="xx.xx.xxxx";SCRIPT=${0#/rom} 4 export TITLE=" Passerelle Internet"4 export TITLE="Administration : Passerelle Internet" 5 5 . ${SCRIPT%/*}/cgi-bin-pre.sh 6 6 7 7 cat<<EOF 8 <H1>Passerelle Internet</H1> 9 <P>Cette page vous permet de limiter la bande passante utilisée par votre routeur. Vous pouvez aussi limiter la bande passante utilisée par les utilisateurs qui ne sont pas présent sur la liste blanche.</P> 8 <H1> 9 Administration : Passerelle Internet 10 </H1> 10 11 EOF 11 12 … … 29 30 <FORM ACTION="gateway.html" METHOD="POST"> 30 31 <TABLE CLASS="shadow0" CELLPADDING="0" CELLSPACING="0"><TR><TD><TABLE CLASS="shadow1" CELLPADDING="0" CELLSPACING="0"><TR><TD><TABLE CLASS="shadow2" CELLPADDING="0" CELLSPACING="0"><TR><TD><TABLE BORDER="0" CLASS="form"> 31 <TR TITLE="Ent er external interface. Leave empty to disable gateway plugin.">32 <TD>Interface de sortie:</TD>32 <TR TITLE="Entrez l'interface externe. Laissez vide pour désactiver le plugin passerelle."> 33 <TD>Interface externe:</TD> 33 34 <TD><INPUT NAME="ff_gw_ext_if" SIZE="5" TYPE="TEXT" VALUE="$ff_gw_ext_if"></TD> 34 35 </TR> … … 36 37 <TD COLSPAN="2"> </TD> 37 38 </TR> 38 <TR TITLE="Ent er URL of IP whitelist. Leave empty to disable IP whitelisting.">39 <TD>URL -Whitelist:</TD>39 <TR TITLE="Entrez l'URL de la liste blanche IP. Laissez vide pour désactiver la liste blanche IP."> 40 <TD>URL de la liste blanche:</TD> 40 41 <TD><INPUT NAME="ff_gw_redirect_url" SIZE="60" TYPE="TEXT" VALUE="$ff_gw_redirect_url"></TD> 41 42 </TR> 42 43 <TR 43 TITLE="Ent er MAC addresse(s) which should not be routed to the internet. Use space to seperate serveral MAC adresses. Leave empty to disable MAC blacklisting.">44 <TD> MAC-Blacklist:</TD>44 TITLE="Entrez les adresses MAC qui ne doivent pas être routées vers l'internet. Utilisez un espace pour s&eacte;parer plusieurs adresses MAC. Laissez vide pour désactiver la liste noire MAC."> 45 <TD>Liste noire MAC:</TD> 45 46 <TD><INPUT NAME="ff_gw_redirect_mac" SIZE="60" TYPE="TEXT" VALUE="$ff_gw_redirect_mac"></TD> 46 47 </TR> 47 48 <TR 48 TITLE="Ent er IP addresse(s) which should not be routed to the internet. Use space to seperate serveral IP adresses. Leave empty to disable IP blacklisting.">49 <TD> IP-Blacklist:</TD>49 TITLE="Entrez les adresses IP qui ne doivent pas être routées vers l'internet. Utilisez un espace pour s&eacte;parer plusieurs adresses IP. Laissez vide pour désactiver la liste noire IP."> 50 <TD>Liste noire IP:</TD> 50 51 <TD><INPUT NAME="ff_gw_redirect_ip" SIZE="60" TYPE="TEXT" VALUE="$ff_gw_redirect_ip"></TD> 51 52 </TR> … … 53 54 <TD COLSPAN="2"> </TD> 54 55 </TR> 55 <TR TITLE="Blo ck P2P traffic(Bittorrent, Edonkey, Kazaa)">56 <TD> block P2P traffic:</TD>56 <TR TITLE="Bloquer le trafic P2P (Bittorrent, Edonkey, Kazaa)"> 57 <TD>Bloquer le trafic P2P:</TD> 57 58 <TD> 58 59 <SPAN STYLE="white-space: nowrap;"><INPUT CLASS="radio" NAME="ff_gw_filter_block_p2p" TYPE="RADIO" VALUE="1"$(if [ "$ff_gw_filter_block_p2p" != "0" ];then echo ' checked="checked"';fi)>Activé </SPAN> … … 63 64 <TD COLSPAN="2"> </TD> 64 65 </TR> 65 <TR TITLE=" Enable/disable accounting.">66 <TD> Accounting:</TD>66 <TR TITLE="Active/désactive le comptage."> 67 <TD>Comptage:</TD> 67 68 <TD> 68 69 <SPAN STYLE="white-space: nowrap;"><INPUT CLASS="radio" NAME="ff_gw_pmacct_enabled" ONCLICK="this.form.ff_gw_pmacct_in_filter.disabled=false;this.form.ff_gw_pmacct_out_filter.disabled=false;" TYPE="RADIO" VALUE="1"$(if [ "$ff_gw_pmacct_enabled" != "0" ];then echo ' checked="checked"';fi)>Activé </SPAN> … … 70 71 </TD> 71 72 </TR> 72 <TR TITLE=" pmacct filter for incoming traffic.">73 <TD> filer (incoming):</TD>73 <TR TITLE="Filtre du comptage pour le trafic entrant."> 74 <TD>Filtre (entrant):</TD> 74 75 <TD><INPUT NAME="ff_gw_pmacct_in_filter" SIZE="60" TYPE="TEXT" VALUE="$(nvram get ff_gw_pmacct_in_filter)"$(if [ "$ff_gw_pmacct_enabled" != "1" ];then echo ' disabled="disabled"';fi)></TD> 75 76 </TR> 76 <TR TITLE=" pmacct filter for outgoing traffic.">77 <TD> filer (outgoing):</TD>77 <TR TITLE="Filtre du comptage pour le trafic sortant."> 78 <TD>Filtre (sortant):</TD> 78 79 <TD><INPUT NAME="ff_gw_pmacct_out_filter" SIZE="60" TYPE="TEXT" VALUE="$(nvram get ff_gw_pmacct_out_filter)"$(if [ "$ff_gw_pmacct_enabled" != "1" ];then echo ' disabled="disabled"';fi)></TD> 79 80 </TR> … … 81 82 <TD COLSPAN="2"> </TD> 82 83 </TR> 83 <TR TITLE=" Enable/disable traffic shaping.">84 <TR TITLE="Active/désactive le traffic shaping."> 84 85 <TD>Traffic Shaping:</TD> 85 86 <TD> … … 88 89 </TD> 89 90 </TR> 90 <TR TITLE="Choose the total bandwidth of your internet connection."> 91 <TD>bandwidth:</TD> 92 <TD><SELECT NAME="ff_gw_trafsh_bw_total"$(if [ "$ff_gw_trafsh_enabled" != "1" ];then echo ' disabled="disabled"';fi)><OPTION VALUE="256">256 kbit/s</OPTION> 91 <TR TITLE="Choisissez la bande passante totale de votre connexion internet"> 92 <TD>Bande passante:</TD> 93 <TD><SELECT NAME="ff_gw_trafsh_bw_total"$(if [ "$ff_gw_trafsh_enabled" != "1" ];then echo ' disabled="disabled"';fi)><OPTION VALUE="128">128 kbit/s</OPTION> 94 <OPTION 95 VALUE='256' $(test "$ff_gw_trafsh_bw_total" = "256" && echo "selected=selected")>256 96 kbit/s</OPTION> 93 97 <OPTION 94 98 VALUE='768' $(test "$ff_gw_trafsh_bw_total" = "768" && echo "selected=selected")>768 … … 113 117 Mbit/s</OPTION> 114 118 <OPTION 119 VALUE='8096' $(test "$ff_gw_trafsh_bw_total" = "8096" && echo "selected=selected")>8 120 Mbit/s</OPTION> 121 <OPTION 115 122 VALUE='16384' $(test "$ff_gw_trafsh_bw_total" = "16384" && echo "selected=selected")>16 116 123 Mbit/s</OPTION></SELECT></TD> 117 124 </TR> 118 <TR TITLE=" How many percent of the available bandwidth should be accessable by others ?">119 <TD> share:</TD>120 <TD><INPUT NAME="ff_gw_trafsh_bw_other" SIZE="5" TYPE="TEXT" VALUE="$ff_gw_trafsh_bw_other"$(if [ "$ff_gw_trafsh_enabled" != "1" ];then echo ' disabled="disabled"';fi)> p ercent</TD>121 </TR> 122 <TR> 123 <TD COLSPAN="2"> </TD> 124 </TR> 125 <TR> 126 <TD COLSPAN="2"><INPUT NAME="post_gateway" TITLE="Appliquer les paramètres. Ils seront effectifs au prochain redémarrage." TYPE="SUBMIT" VALUE="Appliquer"> <INPUT NAME="post_abort" TITLE="Annuler cette page." TYPE="SUBMIT" VALUE="Annuler"> <INPUT NAME="post_ip_refresh" TITLE=" Update IP whitelist and activate it" TYPE="SUBMIT" VALUE="Update IPs"> <INPUT NAME="post_pmacct_backup" TITLE="Do accounting backup now" TYPE="SUBMIT" VALUE="Accounting-Backup"></TD>125 <TR TITLE="Quel pourcentage de la bande passante doit être partagé avec d'autres ?"> 126 <TD>Partage:</TD> 127 <TD><INPUT NAME="ff_gw_trafsh_bw_other" SIZE="5" TYPE="TEXT" VALUE="$ff_gw_trafsh_bw_other"$(if [ "$ff_gw_trafsh_enabled" != "1" ];then echo ' disabled="disabled"';fi)> pourcent</TD> 128 </TR> 129 <TR> 130 <TD COLSPAN="2"> </TD> 131 </TR> 132 <TR> 133 <TD COLSPAN="2"><INPUT NAME="post_gateway" TITLE="Appliquer les paramètres. Ils seront effectifs au prochain redémarrage." TYPE="SUBMIT" VALUE="Appliquer"> <INPUT NAME="post_abort" TITLE="Annuler cette page." TYPE="SUBMIT" VALUE="Annuler"> <INPUT NAME="post_ip_refresh" TITLE="Mettre à jour et activer la liste blanche IP" TYPE="SUBMIT" VALUE="Mettre à jour les IPs"> <INPUT NAME="post_pmacct_backup" TITLE="Sauvegarder le comptage maintenant" TYPE="SUBMIT" VALUE="Sauvegarde du comptage"></TD> 127 134 </TR> 128 135 </TABLE></TD></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE></FORM> 129 <H3> State:</H3>136 <H3>Etat:</H3> 130 137 <UL> 131 138 EOF … … 143 150 144 151 cat<<EOF 145 <LI>URL whitelist, MAC and IP blacklist enabled146 EOF 147 148 else 149 150 cat<<EOF 151 <LI>URL whitelist and MAC blacklist enabled152 <LI>URL de la liste blanche, listes noires MAC et IP activés 153 EOF 154 155 else 156 157 cat<<EOF 158 <LI>URL de la liste blanche et liste noire MAC activés 152 159 EOF 153 160 … … 158 165 159 166 cat<<EOF 160 <LI>URL whitelist and IP blacklist enabled161 EOF 162 163 else 164 165 cat<<EOF 166 <LI>URL whitelist enabled167 <LI>URL de la liste blanche et liste noire IP activés 168 EOF 169 170 else 171 172 cat<<EOF 173 <LI>URL de la liste blanche activée 167 174 EOF 168 175 … … 176 183 177 184 cat<<EOF 178 <LI> MAC and IP blacklist enabled179 EOF 180 181 else 182 183 cat<<EOF 184 <LI> MAC blacklist enabled185 <LI>Listes noires MAC et IP activées 186 EOF 187 188 else 189 190 cat<<EOF 191 <LI>Liste noire MAC activée 185 192 EOF 186 193 … … 191 198 192 199 cat<<EOF 193 <LI> IP blacklist enabled194 EOF 195 196 else 197 198 cat<<EOF 199 <LI>URL whitelist enabled200 <LI>Liste noire MAC activée 201 EOF 202 203 else 204 205 cat<<EOF 206 <LI>URL de la liste blanche activée 200 207 EOF 201 208 … … 209 216 210 217 cat<<EOF 211 and active. Last IP update:218 et actif. Dernière mise à jour des IPs: 212 219 EOF 213 220 … … 223 230 224 231 cat<<EOF 225 but <B>inactive</B> because a problem occurred.<BR>Error message:232 mais <B>inactif</B> parce qu'un problème est survenu.<BR>Message d'erreur: 226 233 EOF 227 234 … … 235 242 236 243 cat<<EOF 237 but <B>inactive</B>. No IP update yet.</LI>238 EOF 239 240 fi 241 fi 242 else 243 244 cat<<EOF 245 but <B>inactive</B>. No IP update yet.</LI>246 EOF 247 248 fi 249 else 250 251 cat<<EOF 252 <LI>Redirect disabled.</LI>244 mais <B>inactif. Aucune mise à jour des IP pour l'instant.</LI> 245 EOF 246 247 fi 248 fi 249 else 250 251 cat<<EOF 252 mais <B>inactif. Aucune mise à jour des IP pour l'instant.</LI> 253 EOF 254 255 fi 256 else 257 258 cat<<EOF 259 <LI>Redirection désactivée.</LI> 253 260 EOF 254 261 … … 260 267 261 268 cat<<EOF 262 <LI> Accounting enabled but not activated yet (reboot neccessary).</LI>263 EOF 264 265 else 266 267 cat<<EOF 268 <LI> Accounting active.</LI>269 EOF 270 271 fi 272 else 273 274 cat<<EOF 275 <LI> Accounting disabled.</LI>269 <LI>Comptage activé, mais pas encore en service (redémarrage nécessaire).</LI> 270 EOF 271 272 else 273 274 cat<<EOF 275 <LI>Comptage activé.</LI> 276 EOF 277 278 fi 279 else 280 281 cat<<EOF 282 <LI>Comptage désactivé.</LI> 276 283 EOF 277 284 … … 283 290 284 291 cat<<EOF 285 <LI>Traffic Shaping activ e.</LI>286 EOF 287 288 else 289 290 cat<<EOF 291 <LI>Traffic Shaping enabled but not activated yet (reboot neccessary).</LI>292 EOF 293 294 fi 295 else 296 297 cat<<EOF 298 <LI>Traffic Shaping d isabled.</LI>299 EOF 300 301 fi 302 else 303 304 cat<<EOF 305 <LI><B> No external Interface specified - gateway plugin disabled.</B></LI>292 <LI>Traffic Shaping activé.</LI> 293 EOF 294 295 else 296 297 cat<<EOF 298 <LI>Traffic Shaping activé, mais pas encore en service (redémarrage nécessaire).</LI> 299 EOF 300 301 fi 302 else 303 304 cat<<EOF 305 <LI>Traffic Shaping désactivé.</LI> 306 EOF 307 308 fi 309 else 310 311 cat<<EOF 312 <LI><B>Interface externe non spécifiée - plugin passerelle désactivé.</B></LI> 306 313 EOF 307 314 … … 362 369 <TBODY> 363 370 <TR> 364 <TD>Die geänderten Einstellungen wurden übernommen. Die 365 Einstellungen sind erst beim nächsten <A HREF="reset.html">Neustart</A> 366 aktiv.</TD> 371 <TD>Les changements sont enregistrés. Les paramètres seront utilisés au prochain <A HREF="reset.html">redémarrage</A>.</TD> 367 372 </TR></TBODY> 368 373 </TABLE> … … 375 380 <TBODY> 376 381 <TR> 377 <TD> Es wurden keine Einstellungen geändert.</TD>382 <TD>Aucun changement n'a été effectué.</A>.</TD> 378 383 </TR></TBODY> 379 384 </TABLE> firmware/trunk/freifunk/build_ffw/www/cgi-bin/network/pppoecd.html
r306 r380 137 137 <TD>Les 138 138 changements sont activés. Les paramètre seront utilisés 139 au prochain <A HREF=" reset.html">Redémarrage</A>.</TD>139 au prochain <A HREF="../reset.html">Redémarrage</A>.</TD> 140 140 </TR> 141 141 </TABLE> firmware/trunk/freifunk/build_ffw/www/cgi-bin/state/cgi-bin-status.html
r267 r380 310 310 s/^[^ ]* // 311 311 s/^remote // 312 s#\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\([^/]\)#<A HREF="http://\1/cgi-bin -status.html">\1</A>\2#g312 s#\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\([^/]\)#<A HREF="http://\1/cgi-bin/state/cgi-bin-status.html">\1</A>\2#g 313 313 s/ $// 314 314 s# #</TD><TD>#g firmware/trunk/freifunk/build_ffw/www/cgi-bin/state/index.html
r267 r380 310 310 s/^[^ ]* // 311 311 s/^remote // 312 s#\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\([^/]\)#<A HREF="http://\1/cgi-bin -status.html">\1</A>\2#g312 s#\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\([^/]\)#<A HREF="http://\1/cgi-bin/state/cgi-bin-status.html">\1</A>\2#g 313 313 s/ $// 314 314 s# #</TD><TD>#g firmware/trunk/freifunk/build_ffw/www/ff.css
r265 r380 1 1 #header { 2 2 width: 100%; 3 height: 50px; 3 padding-top: 2em; 4 padding-bottom: 0.2em; 5 height: 60px; 4 6 background-color: #d3e5ed; 5 7 border-top: 1px solid #2481a9; 6 8 } 9 logo { 10 clear: both; 11 position: relative; 12 float: left; 13 left: 7px; 14 } 15 #polaris-title { 16 position: absolute; 17 float: left; 18 left: 9em; 19 top: 1.8em; 20 } 21 #polaris-title h1 { 22 font-size: 2.0em; 23 } 24 #polaris-title2 { 25 position: absolute; 26 float: left; 27 left: 21em; 28 top: 3.8em; 29 } 30 #polaris-title2 h1 { 31 font-size: 2.0em; 32 } 33 #short-status { 34 position: absolute; 35 right: 2em; 36 line-height: 1.2em; 37 padding-bottom: 25.2em; 38 top: 1.5em; 39 } 40 #short-status ul { 41 font-size: 0.8em; 42 } 43 #short-status h3 { 44 font-size: 0.9em; 45 } 7 46 #menu { 47 position: absolute; 8 48 width: 100%; 49 padding-top: 0.2em; 50 padding-bottom: 0.2em; 9 51 } 10 52 #subsubmenu { firmware/trunk/freifunk/build_ffw/www/olsr-viz.js
r265 r380 1 1 /* 2 2 Copyright (c) 2006, Lorenz Schori <lo@znerol.ch> 3 All rights reserved (Naja: Ich hab' trotzdem was geaendert. Sven-Ola). 3 All rights reserved (Naja: Ich hab' trotzdem was geaendert. Sven-Ola). (Naja: 4 diese Rechte garantiert dir die BSD-Lizenz ja ausdrÃŒcklich. Lorenz) 4 5 5 6 Redistribution and use in source and binary forms, with or without … … 27 28 28 29 OLSR-Viz is inspired by Wi-viz: http://wiviz.natetrue.com 30 31 Changes: 32 2007-10-04: Added hostname display option -- Stefan Katerkamp <stefan@katerkamp.de>. 33 2007-10-04: Optimized display by moving presentation css out of js -- lo 29 34 */ 30 35 … … 52 57 var dcllow_timeout = 500; 53 58 var auto_declump = true; 59 var showdesc = true; 54 60 var auto_save = 1; 55 61 var now_secs = 0; 56 57 var stupid = eval('window.attachEvent') ? 1 : 0;58 62 59 63 // dom elements … … 104 108 dy = this.n2.y*scale - y; 105 109 106 x += xoff*scale + 26;107 y += yoff*scale + 26;110 x += xoff*scale + 75; 111 y += yoff*scale + 15; 108 112 109 113 imgtag = "<img src='images/dot_" … … 131 135 } 132 136 133 nh += "<a href='#' style='top:" 134 + parseInt(y+dy * 0.5) + "px; left:" 135 + parseInt(x+dx * 0.5) + "px; " 136 + "position: absolute; z-index: 3; text-decoration: none; " 137 + "font-size: 9pt; margin:2px; background-color:white; color:black;' >" 138 + this.etx + "</a>"; 137 nh += "<div style='top:" 138 + parseInt(y+dy * 0.5 - 5) + "px; left:" 139 + parseInt(x+dx * 0.5 - 24) + "px; " 140 + "position: absolute; z-index: 3; width: 48px; text-align: center;' >" 141 + "<span class='label etx' >" + this.etx + "</span></div>"; 139 142 140 143 return nh; … … 218 221 } 219 222 } 220 nh = "<div id='node_" + this.ip + "' onmousedown='dragstart(this)' style=" 223 nh = 224 "<div id='node_" + this.ip + "' onmousedown='dragstart(this)' style=" 221 225 + "'top: " + parseInt((this.y+yoff)*scale) + "px; " 222 226 + "left: " + parseInt((this.x+xoff)*scale) + "px; " 223 + "position: absolute; background-color: transparent; " 224 + "text-align: center; width: 60px; z-index: 4' >" 225 + "<a style='color:black; " 226 + "font-size:9pt; text-decoration:none;' " 227 + "href='http://" + this.ip + "/'>" 228 + "<img src='images/node"+(igw ? "-hna" : "")+iconvariant + ".gif'" 227 + "width: 150px; height: 1px; z-index: 4; " 228 + "position: absolute; background-color: transparent;' >" 229 + "<div><img src='images/node"+(igw ? "-hna" : "")+iconvariant + ".gif'" 229 230 + " alt='node " + this.ip + "' style='border: none;'><br>" 230 + "<span>" + this.ip + "</span></a>" 231 + "</div>"; 231 + "<a href='http://" + this.ip + "/'>" 232 + "<span class='label ip'>" + this.ip + "</span></a>" 233 + (showdesc && this.desc != "" ? 234 "<br><span class='label desc'>" + this.desc + "</span>" : "") 235 + "</div></div>"; 232 236 return nh; 233 237 } … … 247 251 ncount--; 248 252 } 249 253 254 this.set_metric = function(metric) { 255 this.metric = metric; 256 return this; 257 } 258 259 this.set_desc = function(desc) { 260 this.desc = desc 261 return this; 262 } 263 264 this.update = function() { 265 this.lastseen = now_secs; 266 return this; 267 } 268 250 269 this.ip = ip; 251 270 this.x = 0; … … 259 278 this.pinned = false; 260 279 this.metric = 999; 280 this.desc = ""; 261 281 262 282 ncount++; … … 264 284 } 265 285 266 function touch_node(ip ,metric,desc) {286 function touch_node(ip) { 267 287 n = nodes[ip]; 268 288 if(!n) { … … 273 293 newnodes[newnodes.length] = n; 274 294 } 275 if(metric) {276 n.metric=metric;277 }278 if(desc) {279 n.desc=desc;280 }281 n.lastseen = now_secs;282 295 return n; 283 }284 285 function touch_mid(mid_ip,alias_ip) {286 if(n = nodes[alias_ip]) {287 delete nodes[alias_ip];288 }289 }290 291 function set_metric(ip,metric) {292 n = nodes[ip];293 if(n && metric) {294 n.metric=metric;295 }296 296 } 297 297 … … 519 519 } 520 520 521 function set_showdesc(doit) 522 { 523 showdesc = doit; 524 if(!noupdate) refresh(); 525 } 526 521 527 function set_autodeclump(doit) 522 528 {
