mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
yWeb/Y_About_Image: add waitbox; minor formatting fixes
Origin commit data
------------------
Branch: ni/coolstream
Commit: aeb9f845f9
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-03-18 (Sat, 18 Mar 2023)
Origin message was:
------------------
- yWeb/Y_About_Image: add waitbox; minor formatting fixes
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -44,15 +44,19 @@ function getWeekDay(dd,mm,yyyy) {
|
|||||||
|
|
||||||
function compareVersion(_vi, _vo)
|
function compareVersion(_vi, _vo)
|
||||||
{
|
{
|
||||||
if (_vi == "" || _vo == "") return;
|
if (_vi == "" || _vo == "")
|
||||||
|
return;
|
||||||
|
|
||||||
if (_vi >= _vo) jQuery(document).ready(function(){jQuery('.upd_no').show().css('color', '#c0c0c0')});
|
if (_vi >= _vo)
|
||||||
else jQuery(document).ready(function(){jQuery('.upd_yes').show().css('color', '#008000')});
|
jQuery(document).ready(function(){jQuery('.upd_no').show().css('color', '#c0c0c0')});
|
||||||
|
else
|
||||||
|
jQuery(document).ready(function(){jQuery('.upd_yes').show().css('color', '#008000')});
|
||||||
}
|
}
|
||||||
|
|
||||||
function getVersion(_version)
|
function getVersion(_version)
|
||||||
{
|
{
|
||||||
if (_version == "") return;
|
if (_version == "")
|
||||||
|
return;
|
||||||
var Vmajor = _version.substr(1, 1);
|
var Vmajor = _version.substr(1, 1);
|
||||||
var Vminor = _version.substr(2, 2);
|
var Vminor = _version.substr(2, 2);
|
||||||
|
|
||||||
@@ -89,7 +93,7 @@ function getBuild(_version)
|
|||||||
|
|
||||||
function get_update_txt()
|
function get_update_txt()
|
||||||
{
|
{
|
||||||
//show_waitbox(true);
|
show_waitbox(true);
|
||||||
loadSyncURL("/control/exec?Y_Tools&get_update_txt&{=func:get_revision=}&\"{=func:get_boxname=}\"&{=func:get_chip_type=}&nightly");
|
loadSyncURL("/control/exec?Y_Tools&get_update_txt&{=func:get_revision=}&\"{=func:get_boxname=}\"&{=func:get_chip_type=}&nightly");
|
||||||
window.document.location.href="/Y_About_Image.yhtm?ani=false";
|
window.document.location.href="/Y_About_Image.yhtm?ani=false";
|
||||||
}
|
}
|
||||||
@@ -114,6 +118,7 @@ jQuery(document).ready(function()
|
|||||||
</script>
|
</script>
|
||||||
{=include-block:Y_Blocks.txt;head_close=}
|
{=include-block:Y_Blocks.txt;head_close=}
|
||||||
<body>
|
<body>
|
||||||
|
{=var-set:wait_text={=L:info.check_for_updates=}=}{=include-block:Y_Blocks.txt;snip_wait=}
|
||||||
<div class="work_box">
|
<div class="work_box">
|
||||||
<div class="work_box_head"><div class="work_box_head_h2">
|
<div class="work_box_head"><div class="work_box_head_h2">
|
||||||
{=var-set:menu={=L:info.about_image=}=}{=include-block:Y_Blocks.txt;work_menu=}
|
{=var-set:menu={=L:info.about_image=}=}{=include-block:Y_Blocks.txt;work_menu=}
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
version=3.1.3
|
version=3.1.4
|
||||||
date=17.03.2023
|
date=18.03.2023
|
||||||
info=NI-Neutrino-Webinterface
|
info=NI-Neutrino-Webinterface
|
||||||
|
Reference in New Issue
Block a user