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.
129 lines
4.4 KiB
Plaintext
129 lines
4.4 KiB
Plaintext
{=include-block:Y_Blocks.txt;management_check_top=}
|
|
{=include-block:Y_Blocks.txt;head=}
|
|
<style type="text/css">
|
|
/*<![CDATA[*/
|
|
.alink {
|
|
text-decoration: underline;
|
|
}
|
|
/*]]>*/
|
|
</style>
|
|
<script type="text/javascript" src="/Y_Baselib.js"></script>
|
|
<script type="text/javascript">
|
|
/*<![CDATA[*/
|
|
function do_init()
|
|
{
|
|
var val = "";
|
|
obj_set_radio_value('glcd_enable', "{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_enable;1~open=}");
|
|
obj_set_radio_value('glcd_inverse', "{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_inverse;0~cache=}");
|
|
|
|
val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_brightness_dim;5~cache=}";
|
|
document.f.glcd_brightness_dim.value = val;
|
|
val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_brightness_dim_time;15~cache=}";
|
|
document.f.glcd_.brightness_dim_time.value = val;
|
|
val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_brightness;7~cache=}";
|
|
document.f.glcd_brightness.value = val;
|
|
val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;glcd_brightness_standby;1~cache=}";
|
|
document.f.glcd_brightness_standby.value = val;
|
|
}
|
|
|
|
function setDefault()
|
|
{
|
|
document.f.glcd_brightness_dim.value = 5;
|
|
document.f.glcd_brightness_dim_time.value = 15
|
|
document.f.glcd_brightness.value = 7;
|
|
document.f.glcd_brightness_standby.value = 1;
|
|
}
|
|
|
|
function do_submit()
|
|
{
|
|
show_waitbox(true);
|
|
if (document.f.glcd_brightness_dim.value > 10)
|
|
document.f.glcd_brightness_dim.value = 10;
|
|
else if (document.f.glcd_brightness_dim.value < 0)
|
|
document.f.glcd_brightness_dim.value = 0;
|
|
if (document.f.glcd_brightness_dim_time.value > 60)
|
|
document.f.glcd_brightness_dim_time.value = 60;
|
|
else if (document.f.glcd_brightness_dim_time.value < 0)
|
|
document.f.glcd_brightness_dim_time.value = 0;
|
|
if (document.f.glcd_brightness.value > 10)
|
|
document.f.glcd_brightness.value = 10;
|
|
else if (document.f.glcd_brightness.value < 0)
|
|
document.f.glcd_brightness.value = 0;
|
|
if (document.f.glcd_brightness_standby.value > 10)
|
|
document.f.glcd_brightness_standby.value = 10;
|
|
else if (document.f.glcd_brightness_standby.value < 0)
|
|
document.f.glcd_brightness_standby.value = 0;
|
|
document.f.submit();
|
|
}
|
|
/*]]>*/
|
|
</script>
|
|
</head>
|
|
<body onload="do_init()">
|
|
{=var-set:wait_text={=L:save_values=}=}{=include-block:Y_Blocks.txt;snip_wait=}
|
|
<div class="work_box">
|
|
<div class="work_box_head"><div class="work_box_head_h2">
|
|
{=var-set:help_url=Help-Settings-LCD=}{=var-set:menu=GLCD Einstellungen=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
|
|
<div class="work_box_body">
|
|
<form name="f" class="y_form" action="">
|
|
<table cellspacing="0" border="0" cellpadding="2" width="100%">
|
|
<tr>
|
|
<td colspan="2" class="y_form_header">GLCD</td>
|
|
</tr>
|
|
<tr>
|
|
<td title="glcd: off/on" width="35%">Power</td>
|
|
<td>
|
|
<input type="radio" name="glcd_enable" value="0" />AUS
|
|
<input type="radio" name="glcd_enable" value="1" />EIN
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td title="inverse glcd: off/on">Invertieren</td>
|
|
<td>
|
|
<input type="radio" name="glcd_inverse" value="0" />AUS
|
|
<input type="radio" name="glcd_inverse" value="1" />EIN
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td title="brightness after dimm-timeout">Helligkeit nach dimm-Timeout</td>
|
|
<td>
|
|
<input type="text" name="glcd_brightness_dim" size="3" maxlength="3" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td title="dimm-timeout">Dimm-Timeout</td>
|
|
<td>
|
|
<input type="text" name="glcd_brightness_dim_time" size="3" maxlength="3" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td title="lcd brightness normal 0-255">normale Helligkeit</td>
|
|
<td>
|
|
<input type="text" name="glcd_brightness" size="3" maxlength="3" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td title="lcd brightness standby 0-255">Standby Helligkeit</td>
|
|
<td>
|
|
<input type="text" name="glcd_brightness_standby" size="3" maxlength="3" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td><a href="javascript:setDefault()" class="alink">Voreinstellung benutzen</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="y_form_header">Anzeige-Modi</td>
|
|
</tr>
|
|
</table>
|
|
<br />
|
|
<input type="hidden" name="execute" value="include-block:Y_Blocks.txt;glcd_save_settings;nix" />
|
|
<button type="button" ytype="save" title="submit and save values" onclick="do_submit()">Speichern</button>
|
|
<button type="button" ytype="refresh" onclick="stb_reload_neutrino()">reload Neutrino</button>
|
|
<a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">Hilfe</a>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
{=include-block:Y_Blocks.txt;management_check_bottom=}
|