Widget:NetworkStatShort: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(server umstellung) |
K |
||
Zeile 25: | Zeile 25: | ||
gateways.innerHTML = data.statistic.gateways; | gateways.innerHTML = data.statistic.gateways; | ||
clients.innerHTML = data.statistic.clients; | clients.innerHTML = data.statistic.clients; | ||
− | + | ||
</script> | </script> |
Version vom 25. Mai 2021, 18:07 Uhr
<script type="text/javascript" src="https://api.freifunk-dresden.de/freifunk-wiki-statistic.json.js"></script>
Knoten | Online | Gateways | Nutzer |
---|---|---|---|
<script type="text/javascript">
var nodes = document.getElementById("netstat_nodes"); var online = document.getElementById("netstat_online"); var gateways = document.getElementById("netstat_gateways"); var clients = document.getElementById("netstat_clients");
nodes.innerHTML = data.statistic.nodes; online.innerHTML = data.statistic.online; gateways.innerHTML = data.statistic.gateways; clients.innerHTML = data.statistic.clients;
</script>