mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
Your reaction to this commit were remarkable. You demanded with an imperious kind to revert this commit. You spoke about any rules only, and I didn't hear evidencing explanations from you. Admittedly, my commit wasn't very pretty and not the best style because everything was squashed in a single commit with some customizations, but which is ultimately just a formality... that's about it, and was quite compliant with license conditions. In additional, your name was noted on the commit. I'm just reminding you, until a few years ago, you didn't care about licenses. The general copyright mainly lies with yjogol and a lot of changes of the origin yweb code has been coming in by several committers since yweb exists. I won't judge, whether any unique selling points play a role, but such restrictions are exactly what the license should prevent. Especially as, many creeped in brandings in some code parts (not only yweb) do suggest that. Besides neutralizing such things, mainly it was the purpose to get more compatibility, even though some functionalities were removed or switched off. Related to yweb I have decided to take back this commit for the sake of peace, and I hope you are happy with it. However, I still reserve to continue using and adopting yweb.
58 lines
2.1 KiB
Plaintext
58 lines
2.1 KiB
Plaintext
{=include-block:Y_Blocks.txt;management_check_top=}
|
|
{=include-block:Y_Blocks.txt;head=}
|
|
<script type="text/javascript" src="/Y_Baselib.js"></script>
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
var g_wol = new Array(
|
|
"{=ini-get:%(CONFIGDIR)/Y-Web.conf;wol_mac_1=}",
|
|
"{=ini-get:%(CONFIGDIR)/Y-Web.conf;wol_mac_2=}",
|
|
"{=ini-get:%(CONFIGDIR)/Y-Web.conf;wol_mac_3=}");
|
|
function do_wol(_nr)
|
|
{
|
|
var nhttpd_version = loadSyncURL("/control/exec?Y_Tools&wol&"+g_wol[_nr-1]);
|
|
}
|
|
function init_wol()
|
|
{
|
|
for(i=1;i<=3;i++)
|
|
document.getElementById("wol"+i).disabled = (g_wol[i-1] == "");
|
|
}
|
|
function goto_settings(){
|
|
top.top_main.prim_menu.nav("settings", "Y_Settings_yWeb.yhtm");
|
|
}
|
|
//]]>
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="work_box">
|
|
<div class="work_box_head">
|
|
<div class="work_box_head_h2">{=var-set:help_url=Help-Tools-Wake_on_LAN=}{=var-set:menu=Wake on LAN=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
|
|
<div class="work_box_body">
|
|
<form name="f" action="/y/cgi">
|
|
<table border="0" class="y_form_table">
|
|
<tr>
|
|
<td>Wake on Lan MAC 1 ({=ini-get:%(CONFIGDIR)/Y-Web.conf;wol_mac_1=}) {=ini-get:%(CONFIGDIR)/Y-Web.conf;wol_desc_1=}</td>
|
|
<td><input id="wol1" type="button" name="wol_mac_1" value="wake up" title="wake up that MAC" onclick='do_wol(1)'/></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Wake on Lan MAC 2 ({=ini-get:%(CONFIGDIR)/Y-Web.conf;wol_mac_2=}) {=ini-get:%(CONFIGDIR)/Y-Web.conf;wol_desc_2=}</td>
|
|
<td><input id="wol2" type="button" name="wol_mac_2" value="wake up" title="wake up that MAC" onclick='do_wol(2)'/></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Wake on Lan MAC 3 ({=ini-get:%(CONFIGDIR)/Y-Web.conf;wol_mac_3=}) {=ini-get:%(CONFIGDIR)/Y-Web.conf;wol_desc_3=}</td>
|
|
<td><input id="wol3" type="button" name="wol_mac_3" value="wake up" title="wake up that MAC" onclick='do_wol(3)'/></td>
|
|
</tr>
|
|
<tr><td colspan="2"><a href="javascript:goto_settings()" class="inlink">{=L:main.settings=}</a></td></tr>
|
|
</table>
|
|
</form>
|
|
<!--<a href="Y_Settings_yWeb.yhtm" title="WOL Settings">{=L:settings=}</a>-->
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
init_wol();
|
|
//]]>
|
|
</script>
|
|
</body>
|
|
</html>
|
|
{=include-block:Y_Blocks.txt;management_check_bottom=}
|