From 58c87b20ed8e9ae182f85ec264c6f9cf2e4b0b91 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Fri, 30 Dec 2022 10:37:34 +0800 Subject: [PATCH] * Add help button for zahost. --- module/zahost/css/browse.css | 2 ++ module/zahost/js/browse.js | 6 ++++++ module/zahost/view/browse.html.php | 1 + module/zanode/css/browse.css | 2 ++ module/zanode/js/browse.js | 6 ++++++ module/zanode/view/browse.html.php | 1 + 6 files changed, 18 insertions(+) diff --git a/module/zahost/css/browse.css b/module/zahost/css/browse.css index f5ba6cad6d..7aa2412cc4 100644 --- a/module/zahost/css/browse.css +++ b/module/zahost/css/browse.css @@ -3,3 +3,5 @@ .c-datetime {width: 150px;} .status-wait {color: #f00;} .c-actions {overflow: visible!important;} +#helpTab .icon-help {line-height: unset;} +#bysearchTab {margin-right: 0px;} diff --git a/module/zahost/js/browse.js b/module/zahost/js/browse.js index 9274754000..31399f3d9f 100644 --- a/module/zahost/js/browse.js +++ b/module/zahost/js/browse.js @@ -9,3 +9,9 @@ if(showFeature) /* Show features dialog. */ new $.zui.ModalTrigger({url: $.createLink('zahost', 'introduction'), type: 'iframe', width: 900, className: 'showFeatures', showHeader: false, backdrop: 'static'}).show(); } + +$('#helpTab').click(function() +{ + /* Show features dialog. */ + new $.zui.ModalTrigger({url: $.createLink('zahost', 'introduction'), type: 'iframe', width: 900, className: 'showFeatures', showHeader: false, backdrop: 'static'}).show(); +}) diff --git a/module/zahost/view/browse.html.php b/module/zahost/view/browse.html.php index 1f92e73fe0..0a43609fb1 100644 --- a/module/zahost/view/browse.html.php +++ b/module/zahost/view/browse.html.php @@ -17,6 +17,7 @@