mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +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)
|
||||
{
|
||||
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=}
|
||||
|
@@ -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)
|
||||
|
@@ -1,3 +1,3 @@
|
||||
version=3.1.3
|
||||
date=17.03.2023
|
||||
version=3.1.4
|
||||
date=18.03.2023
|
||||
info=NI-Neutrino-Webinterface
|
||||
|
Reference in New Issue
Block a user