* Add help button for zahost.

This commit is contained in:
tanghucheng
2022-12-30 10:37:34 +08:00
parent 7ca5883d60
commit 58c87b20ed
6 changed files with 18 additions and 0 deletions
+2
View File
@@ -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;}
+6
View File
@@ -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();
})
+1
View File
@@ -17,6 +17,7 @@
<div id='mainMenu' class='clearfix'>
<div class='pull-left btn-toolbar'>
<a href='#' class='btn btn-link querybox-toggle' id='bysearchTab'><i class='icon-search icon'></i> <?php echo $lang->zahost->byQuery;?></a>
<a href='#' class='btn btn-link' id='helpTab'><i class='icon-help icon'></i> <?php echo $lang->help;?></a>
</div>
<?php if(common::hasPriv('zahost', 'create')):?>
<div class="btn-toolbar pull-right" id='createActionMenu'>
+2
View File
@@ -5,3 +5,5 @@
.c-ip{width: 150px;}
.c-os {width: 120px;}
.desktop, .createImage{margin-right: 4px;}
#helpTab .icon-help {line-height: unset;}
#bysearchTab {margin-right: 0px;}
+6
View File
@@ -3,3 +3,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();
})
+1
View File
@@ -22,6 +22,7 @@
<div class='pull-left btn-toolbar'>
<?php echo html::a($this->createLink('zanode', 'browse'), "<span class='text'>{$lang->zanode->all}</span>", '', "class='btn btn-link btn-active-text'"); ?>
<a href='#' id='bysearchTab' class='btn btn-link querybox-toggle'><i class='icon-search icon'></i>&nbsp;<?php echo $lang->zanode->byQuery; ?></a>
<a href='#' class='btn btn-link' id='helpTab'><i class='icon-help icon'></i> <?php echo $lang->help;?></a>
</div>
<?php if (common::hasPriv('zanode', 'create')) : ?>