y-web: minor reworks and fixes in extension handling

Origin commit data
------------------
Branch: ni/coolstream
Commit: 997d752039
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-10-02 (Sun, 02 Oct 2022)

Origin message was:
------------------
- y-web: minor reworks and fixes in extension handling

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2022-10-02 21:58:43 +02:00
parent e01e9d468b
commit 1f76abd418
7 changed files with 67 additions and 30 deletions

View File

@@ -16,8 +16,11 @@ function do_submit(){
<body>
{=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:menu={=L:main.settings=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
<div class="work_box_head">
<div class="work_box_head_h2">
{=var-set:menu={=L:main.settings=}=}{=include-block:Y_Blocks.txt;work_menu=}
</div>
</div>
<div class="work_box_body">
<form name="f" accept-charset="UTF-8" action="/y/cgi">
<table border="0" class="y_form_table" cellspacing="0" cellpadding="0">

View File

@@ -20,11 +20,16 @@ function init(){
<body onload="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:menu={=L:ext.uninstaller=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
<div class="work_box_head">
<div class="work_box_head_h2">
{=var-set:menu={=L:ext.uninstaller=}=}{=include-block:Y_Blocks.txt;work_menu=}
</div>
</div>
<div class="work_box_body">
<div id="statusline"><img border="0" src="/images/wait.gif" width="20" height="20" alt="wait"/>
<span id="status">{=L:ext.search_for_ext=}</span></div>
<div id="statusline">
<img border="0" src="/images/wait.gif" width="20" height="20" alt="wait"/>
<span id="status">{=L:ext.search_for_ext=}</span>
</div>
<form method="post" name="update" action="">
<br/>
@@ -32,12 +37,19 @@ function init(){
<table class="lt_table" cellspacing="0" cellpadding="2">
<thead align="left">
<tr valign="bottom">
<th>{=L:ext.type=}</th><th>{=L:ext.extension=}</th>
<th>{=L:ext.tag=}</th><th>{=L:ext.version=}</th><th>{=L:ext.size=}</th><th>{=L:ext.uninstall=}</th><th>{=L:ext.info=}</th>
<th>{=L:ext.type=}</th>
<th>{=L:ext.extension=}</th>
<th>{=L:ext.tag=}</th>
<th>{=L:ext.version=}</th>
<th>{=L:ext.size=}</th>
<th>{=L:ext.uninstall=}</th>
<th>{=L:ext.info=}</th>
</tr>
</thead>
<tbody id="update_list">
<tr><td></td></tr>
<tr style="display: none">
<td></td>
</tr>
</tbody>
</table>
</form>
@@ -49,11 +61,15 @@ function init(){
<table class="lt_table" cellspacing="0" cellpadding="4">
<thead align="left">
<tr>
<th>&nbsp;</th><th>{=L:ext.action=}</th><th>{=L:ext.status=}</th>
<th>&nbsp;</th>
<th>{=L:ext.action=}</th>
<th>{=L:ext.status=}</th>
</tr>
</thead>
<tbody id="slog_list">
<tr><td></td></tr>
<tr style="display: none">
<td></td>
</tr>
</tbody>
</table>
<br/>
@@ -75,4 +91,3 @@ function init(){
</body>
</html>
{=include-block:Y_Blocks.txt;management_check_bottom=}

View File

@@ -8,11 +8,16 @@
<body>
{=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:menu={=L:ext.installer_updater=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
<div class="work_box_body" style="width:100%">
<div id="statusline"><img border="0" src="/images/wait.gif" width="20" height="20" alt="wait"/>
<span id="status">{=L:ext.search_for_ext=}</span></div>
<div class="work_box_head">
<div class="work_box_head_h2">
{=var-set:menu={=L:ext.installer_updater=}=}{=include-block:Y_Blocks.txt;work_menu=}
</div>
</div>
<div class="work_box_body">
<div id="statusline">
<img border="0" src="/images/wait.gif" width="20" height="20" alt="wait"/>
<span id="status">{=L:ext.search_for_ext=}</span>
</div>
<form method="post" name="update" action="">
<br/>
@@ -21,13 +26,21 @@
<thead align="left">
<tr valign="bottom">
<th>&nbsp;</th>
<th>{=L:ext.site=}</th><th>{=L:ext.type=}</th><th>{=L:ext.extension=}</th>
<th>{=L:ext.tag=}</th><th>{=L:ext.your=}<br/>{=L:ext.version=}</th><th>{=L:ext.update=}<br/>{=L:ext.version=}</th>
<th title="minimal yWeb version">yWeb</th><th>{=L:ext.size=}</th><th>{=L:ext.info=}</th>
<th>{=L:ext.site=}</th>
<th>{=L:ext.type=}</th>
<th>{=L:ext.extension=}</th>
<th>{=L:ext.tag=}</th>
<th>{=L:ext.your=}<br/>{=L:ext.version=}</th>
<th>{=L:ext.update=}<br/>{=L:ext.version=}</th>
<th title="minimal yWeb version">yWeb</th>
<th>{=L:ext.size=}</th>
<th>{=L:ext.info=}</th>
</tr>
</thead>
<tbody id="update_list">
<tr><td></td></tr>
<tr style="display: none">
<td></td>
</tr>
</tbody>
</table>
<button type="button" ytype="go" title="" name="set_updates" onclick="do_set_updates()">{=L:ext.update_install=}</button>&nbsp;
@@ -40,11 +53,15 @@
<table class="lt_table" cellspacing="0" cellpadding="4">
<thead align="left">
<tr>
<th>&nbsp;</th><th>{=L:ext.action=}</th><th>{=L:ext.status=}</th>
<th>&nbsp;</th>
<th>{=L:ext.action=}</th>
<th>{=L:ext.status=}</th>
</tr>
</thead>
<tbody id="slog_list">
<tr><td></td></tr>
<tr style="display: none">
<td></td>
</tr>
</tbody>
</table>
<br/>
@@ -72,4 +89,3 @@
</body>
</html>
{=include-block:Y_Blocks.txt;management_check_bottom=}

View File

@@ -15,12 +15,14 @@ function do_onload() {
<body onload="do_onload()">
{=var-set:wait_text={=L:refreshing=}=}{=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={=L:ext.ext_saved=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
<div class="work_box_head">
<div class="work_box_head_h2">
{=var-set:menu={=L:ext.ext_saved=}=}{=include-block:Y_Blocks.txt;work_menu=}
</div>
</div>
<div class="work_box_body" width="100%s">
{=L:ext.refresh_now=}
</div>
</div>
</body>
</html>

View File

@@ -1,2 +1 @@
type:u,site:Neutrino-Images,desc:yWeb Extensions,url:https://raw.githubusercontent.com/neutrino-images/ni-neutrino-plugins/master/yWeb-Extensions/Y_Extensions.txt
type:u,site:Neutrino-Images,desc:NI yWeb Extensions,url:https://raw.githubusercontent.com/neutrino-images/ni-neutrino-plugins/master/y-extensions/y-extensions.txt

View File

@@ -152,6 +152,7 @@ ext.update_install=Aktualisierung / Installation
ext.site=Site
ext.refresh_now=Einstellungen gespeichert. Menues werden aktualisiert.
ext.ext_saved=Erweiterungseinstellungen gespeichert
ext.tag=Markierung
# ===== Bouquet
bou.bouquet=Bouquet

View File

@@ -134,7 +134,7 @@ bc.channels=Channels
ext.installer_updater=Installer/Updater
ext.uninstaller=Extensions Uninstaller
ext.search_for_ext=Search for Extensions ...
ext.installed_extensions=installed extensions
ext.installed_extensions=Installed extensions
ext.type=Type
ext.extension=Extension
ext.version=Version
@@ -152,6 +152,7 @@ ext.update_install=update/install
ext.site=Site
ext.refresh_now=Settings saved. Refreshing Menue now.
ext.ext_saved=Extensions Settings saved
ext.tag=Tag
# ===== Bouquet
bou.bouquet=Bouquet