freenet-router |
Subversion Repositories: |
Compare with Previous - Blame - Download
{% extends "index.twig" %}
{% block scripts %}
{{ parent() }}
{% endblock %}
{% block content %}
{{ parent() }}
<div id="head">RozhranĂ pro sprĂĄvu Freenet routeru</div>
<table width="100%">
<tr>
<td align="left" valign="top">
<div id="text2">
<div id="login">
<span id="head2">pĹihlĂĄĹĄenĂ:</span><br>
{% if login %}
<table width="98%">
<tr>
<td align="left" colspan="2" width="50%">
jste pĹihlĂĄĹĄen jako uĹživatel: {{loggedUser}}
</td>
<td width="5%"></td>
<td colspan="2" align="left">
zĂĄpis na disk:
{% if not system.writeEnabled %}
<span style="color:red">nepovolen</span>
{% else %}
<span style="color:green">povolen</span>
{% endif %}
</td>
</tr>
<tr>
<td align="left">
<form method=post action="{{lb.navigate("Home","logout")}}">
<input type="submit" name="logout" value="odhlĂĄsit se">
</form>
</td>
<td align="left">
<form method=post action="{{lb.navigate("Home","changePasswd")}}">
<input type="button" name="change_password" value="zmÄnit heslo"
onclick="get_variable('password', 'novĂŠ heslo');" />
</form>
</td>
<td></td>
<td colspan="2" align="right">
<form method=post action="{{lb.navigate("Home","setWritable")}}">
{% if not system.writeEnabled %}
<button type="submit" name="writable" value="true">povolit zĂĄpis</button>
{% else %}
<button type="submit" name="writable" value="false">uzamknout</button>
{% endif %}
</form>
</td>
</tr>
</table>
{% else %}
<form method=post action="{{lb.navigate("Home","login")}}">
<table width="98%">
<tr>
<td align="left" width="11%">jmĂŠno:</td>
<td align="left" width="20%">
<input type="text" name="jmeno" size="14">
</td>
<td></td><td></td>
</tr>
<tr>
<td align="left">heslo:</td>
<td align="left">
<input type="password" name="heslo" size="14">
</td>
<td></td><td></td>
</tr>
<tr>
<td colspan="2" align="left">
<input type="submit" name="login" value="pĹihlĂĄsit se">
</td>
<td></td><td></td>
</tr>
</table>
</form>
{% endif %}
</div>
</div>
<form method=post action="{{lb.navigate("Home","saveConfig")}}">
<table width="98%">
<tr><td colspan="2"><hr></td></tr>
<tr>
<td colspan="2">obecnĂŠ</td>
</tr>
<tr><td colspan="2"><hr></td></tr>
{% for entry in system.overview %}
<tr>
<td align="left">{{entry.label}}: </td>
<td align="right">
<input title="{{entry.label}}" type="text" name="{{entry.name}}"
value="{{entry.value}}" size="23">
</td>
</tr>
{% endfor %}
<tr><td colspan="2"><hr></td></tr>
<tr>
<td colspan="2">sluĹžby spouĹĄtÄnĂŠ po startu systĂŠmu</td>
</tr>
<tr><td colspan="2"><hr></td></tr>
{% for entry in system.services %}
<tr>
<td align=left>
<table width="100%">
<tr>
<td align="left" width="100">{{entry.caption}}: </td>
{% if entry.active %}
<td width="20">
<img src="{{lb.linkToResource("images/active.png")}}" alt="zapnutĂ˝"/>
</td>
<td>
{% if login %}
<input type="submit" name="{{entry.name}}_BUTTON" value="zastavit">
{% endif %}
</td>
{% else %}
<td width="20">
<img src="{{lb.linkToResource("images/inactive.png")}}" alt="vypnutĂ˝"/>
</td>
<td>
{% if login %}
<input type="submit" name="{{entry.name}}_BUTTON" value="spustit">
{% endif %}
</td>
{% endif %}
</tr>
</table>
</td>
<td align=right>
<!--<div class="btn-group btn-toggle">
<button type="button" class="btn btn-xs btn-default">ON</button>
<button type="button" class="btn btn-xs btn-primary active">OFF</button>
</div> -->
<select name="{{entry.name}}" size="1">
<option {% if entry.enabled %} selected="selected" {% endif %}
value="ano">ano</option>
<option {% if not entry.enabled %} selected="selected" {% endif %}
value="ne">ne</option>
</select>
</td>
</tr>
{% endfor %}
{% if login %}
<tr><td colspan="2"><hr></td></tr>
<tr>
<td colspan="2"><input type="submit" name="save" value="uloĹžit"></td>
</tr>
{% endif %}
</table>
</form>
</td>
<td width="475" align="left" valign="top">
<table width="98%">
<tr>
<td align="left">
<span id="active_ips_text">pĹipojenĂ˝ch poÄĂtaÄĹŻ: </span>
</td>
<td width="150" align="right">
<span id="active_ips">
<a href="/graphs.php?users=0">
{{system.activeIPs}}
</a>
</span>
</td>
</tr>
</table>
<table width="98%">
<tr>
<td align="left" >
<span id="active_ips_text">celkovĂ˝ pĹenos dat: </span>
</td>
<td width="200" align="right">
<span id="total_rate">
<a href="/graphs.php?interface=all">{{system.totalThroughput}}/s</a>
</span>
</td>
</tr>
<tr height="30">
</tr>
</table>
{% if login %}
<ul class="bullets">
<li>Na tĂŠto strĂĄnce mĹŻĹžete nastavit spouĹĄtÄnĂ sluĹžeb po startu,
nĂĄzev routeru, dns servery a dalĹĄĂ vlastnosti routeru.</li>
<li>Pro nastavenĂ jednotlivĂ˝ch sĂĹĽovĂ˝ch karet, pĹejdÄte na strĂĄnku
<a href="{{lb.navigate("Networking","showPage")}}">nastavenĂ sĂĹĽovĂ˝ch karet</a>.</li>
<li>Pokud chcete vypnout, restartovat, nebo editovat firewall,
pĹejdÄte na strĂĄnku <a href="{{lb.navigate("Firewall","showPage")}}">firewall</a>.</li>
<li>Chcete-li vypnout, aktualizovat, nebo upravit data pro macguarda,
pĹejdÄte na strĂĄnku <a href="{{lb.navigate("Macguard","showPage")}}">macguard</a>.</li>
<li>ZozbrazenĂ rout, start, restart quaggy a editaci souborĹŻ quaggy
mĹŻĹžete provĂŠst na strĂĄnce <a href="{{lb.navigate("Quagga","showPage")}}">quagga</a>.</li>
</ul>
<hr>
{% endif %}
<ul {% if login %}style="color:#777777" {% endif %}class="bullets">
<li>VĂtejte, tyto strĂĄnky slouŞà k administraci routeru s operaÄnĂm
systĂŠmem Freenet router.</li>
<li>Po pĹihlĂĄĹĄenĂ zĂskĂĄte dodateÄnĂĄ prĂĄva, budete moci editovat
konfiguraÄnĂ soubory, uklĂĄdat nastavenĂ i restartovat router.</li>
<li>Bez pĹihlĂĄĹĄenĂ si mĹŻĹžete prohlĂĹžet statistiky, grafy a nÄkterĂŠ dalĹĄĂ
systĂŠmovĂŠ informace.</li>
<li>Chcete-li si prohlĂŠdnout kolik jste stĂĄhl(a) za poslednĂ mÄsĂc dat
nebo jestli je VĂĄĹĄ poÄĂtaÄ povolen v macguardovi pĹejdÄte na strĂĄnku
<a href="{{lb.navigate("Monitoring","showPage")}}">monitoring</a>.</li>
<li>DalĹĄĂ informace o routeru a pouĹžĂtĂŠm softwaru najde na strĂĄnce
<a href="{{lb.navigate("Others","showPage")}}">dalĹĄĂ</a>.</li>
</ul>
<br>
</td>
</tr>
</table>
{% endblock %}