mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
Origin commit data
------------------
Branch: ni/coolstream
Commit: 25b6cc49ba
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Origin message was:
------------------
- yWeb: introduce head_close block
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
56 lines
1.7 KiB
Plaintext
56 lines
1.7 KiB
Plaintext
{=include-block:Y_Blocks.txt;head=}
|
|
<script type="text/javascript" src="/Y_Baselib.js"></script>
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
|
|
function do_submit()
|
|
{
|
|
show_waitbox(true);
|
|
document.f.submit();
|
|
}
|
|
function do_edit()
|
|
{
|
|
document.f.cmd.value = "edit";
|
|
do_submit();
|
|
}
|
|
function do_add()
|
|
{
|
|
document.f.cmd.value = "add";
|
|
do_submit();
|
|
}
|
|
function do_delete()
|
|
{
|
|
if(confirm("Mount wirklich loeschen?") == true)
|
|
{
|
|
var mountname = obj_get_radio_value("R1");
|
|
var _url ="/control/exec?Y_Tools&automount_setline&{=if-file-exists:/var/etc/auto.net~/var/etc/auto.net~/etc/auto.net=}&"+mountname+"&";
|
|
var res = loadSyncURL(_url);
|
|
alert("geloescht!");
|
|
location.reload();
|
|
}
|
|
}
|
|
//]]>
|
|
</script>
|
|
{=include-block:Y_Blocks.txt;head_close=}
|
|
<body>
|
|
{=include-block:Y_Blocks.txt;snip_wait=}
|
|
<div class="work_box">
|
|
<div class="work_box_head">
|
|
<div class="work_box_head_h2">{=var-set:menu=AutoMount=}{=include-block:Y_Blocks.txt;work_menu=}</div>
|
|
</div>
|
|
<div class="work_box_body">
|
|
<form action="/y/cgi" name="f" id="f">
|
|
{=script:Y_Tools automount_list {=if-file-exists:/var/etc/auto.net~/var/etc/auto.net~/etc/auto.net=}=}
|
|
<br/>
|
|
<input type="hidden" name="tmpl" value="Y_Settings_automount.yhtm"/>
|
|
<input type="hidden" name="execute" value=""/>
|
|
<input type="hidden" name="cmd" value=""/>
|
|
<button type="button" ytype="edit" title="edit mount settings" onclick="do_edit()">ändern</button>
|
|
<button type="button" ytype="add" title="add new mount" onclick="do_add()">hinzufügen</button>
|
|
<button type="button" ytype="delete" title="delete mount" onclick="do_delete()">löschen</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{=include-block:Y_Blocks_Neutrino.txt;neutrino_form_helpbox=}
|
|
</body>
|
|
</html> |