* Modify system block style.
This commit is contained in:
@@ -58,7 +58,7 @@ $config->admin->apiRoot = 'https://www.zentao.net/';
|
||||
$config->admin->classURL = 'https://www.zentao.net/publicclass.html';
|
||||
$config->admin->extensionURL = 'https://www.zentao.net/extension-browse.html';
|
||||
|
||||
$config->admin->helpURL['setting'] = 'https://www.zentao.net/book/zentaopms/538.html';
|
||||
$config->admin->helpURL['system'] = 'https://www.zentao.net/book/zentaopms/538.html';
|
||||
$config->admin->helpURL['user'] = 'https://www.zentao.net/book/zentaopms/538.html';
|
||||
$config->admin->helpURL['switch'] = 'https://www.zentao.net/book/zentaopms/538.html';
|
||||
$config->admin->helpURL['model'] = 'https://www.zentao.net/book/zentaopms/533.html';
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
.settings.panel, .plug.panel {margin-bottom: 16px;}
|
||||
|
||||
.settings-list {display: flex; flex-wrap: wrap; padding: 0 4px 16px 4px;}
|
||||
.settings-list > .setting-box {flex: 1 1 18%; padding: 8px; border: 1px solid #E3E4E9; margin-right: 10px; margin-top: 16px; display: flex; flex-direction: column; justify-content: space-between}
|
||||
.settings-list > .setting-box {flex: 1 1 18%; padding: 8px; border: 1px solid #E3E4E9; margin-right: 10px; margin-top: 16px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer;}
|
||||
.settings-list > .setting-box > h4 > img {padding-right: 16px;}
|
||||
.settings-list > .setting-box > .setting-desc {padding-bottom: 16px;}
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
$(function()
|
||||
{
|
||||
$(document).on('click', '.setting-box', function()
|
||||
{
|
||||
location.href = $(this).data('link');
|
||||
}).on('click', '.setting-box a', function(e)
|
||||
{
|
||||
e.stopPropagation();
|
||||
});
|
||||
});
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="panel-title"><?php echo $lang->admin->setting?></div>
|
||||
<div class="settings-list">
|
||||
<?php foreach($lang->admin->menuList as $menuKey => $menu):?>
|
||||
<div class="setting-box">
|
||||
<div class="setting-box" data-link='<?php echo $menu['link'];?>'>
|
||||
<h4><img src="/static/svg/admin-<?php echo $menuKey;?>.svg"/><?php echo $menu['name'];?></h4>
|
||||
<p class="text-muted setting-desc"><?php echo $menu['desc'];?></p>
|
||||
<?php echo html::a($config->admin->helpURL[$menuKey], "<i class='icon icon-help'></i> {$lang->help}", '_blank', 'class="text-muted setting-help"');?>
|
||||
|
||||
Reference in New Issue
Block a user