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:
vanhofen
2023-03-18 09:56:55 +01:00
parent 351eb6489e
commit a4882fe982
3 changed files with 13 additions and 8 deletions

View File

@@ -44,15 +44,19 @@ function getWeekDay(dd,mm,yyyy) {
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')});
else jQuery(document).ready(function(){jQuery('.upd_yes').show().css('color', '#008000')});
if (_vi >= _vo)
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)
{
if (_version == "") return;
if (_version == "")
return;
var Vmajor = _version.substr(1, 1);
var Vminor = _version.substr(2, 2);
@@ -89,7 +93,7 @@ function getBuild(_version)
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");
window.document.location.href="/Y_About_Image.yhtm?ani=false";
}
@@ -114,6 +118,7 @@ jQuery(document).ready(function()
</script>
{=include-block:Y_Blocks.txt;head_close=}
<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_head"><div class="work_box_head_h2">
{=var-set:menu={=L:info.about_image=}=}{=include-block:Y_Blocks.txt;work_menu=}

View File

@@ -281,7 +281,7 @@ function obj_enable(_obj_name, _disable)
function show_obj(_obj_name, _show)
{
var __obj = document.getElementById(_obj_name);
__obj.style.visibility= (_show) ? "visible" : "hidden";
__obj.style.visibility = (_show) ? "visible" : "hidden";
}
function display_obj(_obj_name, _display)

View File

@@ -1,3 +1,3 @@
version=3.1.3
date=17.03.2023
version=3.1.4
date=18.03.2023
info=NI-Neutrino-Webinterface