* Adjust code.

This commit is contained in:
leiyong
2021-01-21 14:13:30 +08:00
parent 57aa7f9618
commit 1e324bbb15
8 changed files with 19 additions and 6 deletions
+4 -2
View File
@@ -33,11 +33,13 @@ class index extends control
*/
public function index($open = '')
{
$latestVersionList = array();
if(isset($this->config->global->latestVersionList)) $latestVersionList = json_decode($this->config->global->latestVersionList);
$this->view->open = helper::safe64Decode($open);
$this->view->title = $this->lang->index->common;
if(!isset($this->config->global->latestVersionList)) $latestVersionList = '[]';
$this->view->latestVersionList = json_decode($this->config->global->latestVersionList);
$this->view->latestVersionList = $latestVersionList;
$this->display();
}
+6 -2
View File
@@ -64,9 +64,13 @@ body.menu-hide {padding-left: 0;}
#globalSearchDiv{width:50%; float: right; margin-right: 4px;}
@media screen and (max-height: 768px)
{
#globalSearchDiv{width:60%;}
#globalSearchDiv{width: 60%;}
}
#globalSearchDiv .input-group{width: 82%; float: right; margin-top: 2px;}
@media screen and (max-height: 768px)
{
#globalSearchDiv .input-group{width: 100%;}
}
#globalSearchDiv .input-group{width: 70%; float: right; margin-top: 2px;}
#globalSearchInput{height: 28px; padding-left: 10px;}
#globalSearchButton{height: 28px;}
+1
View File
@@ -17,3 +17,4 @@ $lang->index->actions = 'Operating';
$lang->index->upgrade = 'Upgrade';
$lang->index->log = 'Log';
$lang->index->detailed = 'Details';
$lang->index->please = 'Please visit the official website';
+1
View File
@@ -17,3 +17,4 @@ $lang->index->actions = 'Operating';
$lang->index->upgrade = 'Upgrade';
$lang->index->log = 'Log';
$lang->index->detailed = 'Details';
$lang->index->please = 'Please visit the official website';
+1
View File
@@ -17,3 +17,4 @@ $lang->index->actions = 'Operating';
$lang->index->upgrade = 'Upgrade';
$lang->index->log = 'Log';
$lang->index->detailed = 'Details';
$lang->index->please = 'Please visit the official website';
+1
View File
@@ -17,3 +17,4 @@ $lang->index->actions = 'Operating';
$lang->index->upgrade = 'Upgrade';
$lang->index->log = 'Log';
$lang->index->detailed = 'Details';
$lang->index->please = 'Please visit the official website';
+1
View File
@@ -17,3 +17,4 @@ $lang->index->actions = '操作';
$lang->index->upgrade = '升级';
$lang->index->log = '日志';
$lang->index->detailed = '详情';
$lang->index->please = '请访问官网';
+4 -2
View File
@@ -88,8 +88,10 @@ js::set('defaultOpen', $open);
<div id="latestVersionList">
<?php if(empty($latestVersionList)):?>
<div class="table-empty-tip" style='padding: 66px 10px;'>
<?php echo $lang->noData;?>
<a href='<?php echo $lang->website;?>' class="btn btn-info" target='_blank'><?php echo $lang->zentaoPMS?></a>
<h6>
<?php echo $lang->noData;?>
<span class="label label-badge label-info label-outline"><?php echo $lang->index->please . ': '. $lang->website;?></span>
</h6>
</div>
<?php else:?>
<table class='table has-sort-head'>