mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
Origin commit data
------------------
Branch: ni/coolstream
Commit: 948cc523ef
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-02-18 (Sat, 18 Feb 2023)
Origin message was:
------------------
- yWeb: drop obsolete CDATA comments
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
{=include-block:Y_Blocks.txt;head=}
|
|
<script src="/Y_Baselib.js"></script>
|
|
<script>
|
|
function do_unmount()
|
|
{
|
|
var local_dir="";
|
|
for(i=0; i<document.f.length;i++)
|
|
if(document.f.elements[i].name == "R1")
|
|
if(document.f.elements[i].checked == true)
|
|
local_dir = document.f.elements[i].value;
|
|
if(local_dir != "")
|
|
{
|
|
show_waitbox(true);
|
|
document.f.execute.value = "script:Y_Tools dounmount "+local_dir;
|
|
document.f.submit();
|
|
}
|
|
}
|
|
</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=UnMount=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
|
|
<div class="work_box_body">
|
|
<form action="/y/cgi" name="f" id="f">
|
|
{=func:umount_get_list=}
|
|
<input type="hidden" name="tmpl" value="/Y_Settings_umount_list.yhtm"/>
|
|
<input type="button" value="Unmount" title="unmount selected directory" name="B1" onClick='do_unmount()'/>
|
|
<input type="button" value="Mount list" title="view mount list" name="B1" onClick='window.document.location.href="/Y_Settings_mount_list.yhtm"'/>
|
|
<input type="hidden" name="execute" value=""/>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |