Browse Source

优化布局,调整软件更新

tags/6.2.0
叙述、别离 2 months ago
parent
commit
8f03243b70
27 changed files with 292 additions and 357 deletions
  1. +28
    -28
      src/admin/api.php
  2. +2
    -2
      src/admin/js/indexbody.js
  3. +4
    -4
      src/admin/templets/ad_add.htm
  4. +4
    -4
      src/admin/templets/album_add.htm
  5. +3
    -4
      src/admin/templets/album_edit.htm
  6. +1
    -1
      src/admin/templets/archives_add.htm
  7. +5
    -5
      src/admin/templets/archives_edit.htm
  8. +1
    -1
      src/admin/templets/archives_sg_add.htm
  9. +1
    -1
      src/admin/templets/archives_sg_edit.htm
  10. +3
    -3
      src/admin/templets/article_add.htm
  11. +1
    -1
      src/admin/templets/article_edit.htm
  12. +11
    -12
      src/admin/templets/catalog_add.htm
  13. +1
    -1
      src/admin/templets/catalog_add_quick.htm
  14. +10
    -10
      src/admin/templets/catalog_edit.htm
  15. +1
    -1
      src/admin/templets/content_list.htm
  16. +1
    -1
      src/admin/templets/index.htm
  17. +45
    -129
      src/admin/templets/index_body.htm
  18. +1
    -1
      src/admin/templets/login.htm
  19. +1
    -1
      src/admin/templets/module_upload.htm
  20. +4
    -4
      src/admin/templets/mychannel_edit.htm
  21. +5
    -7
      src/admin/templets/soft_add.htm
  22. +4
    -4
      src/admin/templets/soft_edit.htm
  23. +5
    -6
      src/admin/templets/spec_add.htm
  24. +4
    -4
      src/admin/templets/spec_edit.htm
  25. +2
    -2
      src/admin/templets/sys_payment_install.htm
  26. +1
    -1
      src/admin/templets/templets_one.htm
  27. +143
    -119
      src/static/web/css/admin.css

+ 28
- 28
src/admin/api.php View File

@@ -11,8 +11,8 @@
*/
define('AJAXLOGIN', TRUE);
define('DEDEADMIN', str_replace("\\", '/', dirname(__FILE__)));
require_once(DEDEADMIN . '/../system/common.inc.php');
require_once(DEDEINC . '/userlogin.class.php');
require_once(DEDEADMIN.'/../system/common.inc.php');
require_once(DEDEINC.'/userlogin.class.php');
AjaxHead();
helper('cache');
$action = isset($action) && in_array($action, array('is_need_check_code', 'has_new_version', 'get_changed_files', 'update_backup', 'get_update_versions', 'update')) ? $action : '';
@@ -46,25 +46,25 @@ if ($action === 'is_need_check_code') {
));
exit;
} else if ($action === 'has_new_version') {
require_once(DEDEINC . '/libraries/dedehttpdown.class.php');
require_once(DEDEINC.'/libraries/dedehttpdown.class.php');
checkLogin();
//是否存在更新版本
$offUrl = DEDEBIZURL . "/version?version={$cfg_version_detail}&formurl={$nurl}&phpver={$phpv}&os={$sp_os}&mysqlver={$mysql_ver}{$add_query}&json=1";
$offUrl = DEDEBIZURL."/version?version={$cfg_version_detail}&formurl={$nurl}&phpver={$phpv}&os={$sp_os}&mysqlver={$mysql_ver}{$add_query}&json=1";
$dhd = new DedeHttpDown();
$dhd->OpenUrl($offUrl);
$data = $dhd->GetHtml();
echo $data;
} else if ($action === 'get_changed_files') {
require_once(DEDEINC . '/libraries/dedehttpdown.class.php');
require_once(DEDEINC.'/libraries/dedehttpdown.class.php');
checkLogin();
// 获取本地更改过的文件
$hashUrl = DEDEBIZCDN . '/release/' . $cfg_version_detail . '.json';
$hashUrl = DEDEBIZCDN.'/release/'.$cfg_version_detail.'.json';
$dhd = new DedeHttpDown();
$dhd->OpenUrl($hashUrl);
$data = $dhd->GetJSON();
$changedFiles = array();
foreach ($data as $file) {
$realFile = DEDEROOT . str_replace("\\", '/', $file->filename);
$realFile = DEDEROOT.str_replace("\\", '/', $file->filename);
if (file_exists($realFile) && md5_file($realFile) !== $file->hash) {
$changedFiles[] = $file;
continue;
@@ -79,23 +79,23 @@ if ($action === 'is_need_check_code') {
));
exit;
} else if ($action === 'update_backup') {
require_once(DEDEINC . '/libraries/dedehttpdown.class.php');
require_once(DEDEINC.'/libraries/dedehttpdown.class.php');
checkLogin();
// 获取本地更改过的文件
$hashUrl = DEDEBIZCDN . '/release/' . $cfg_version_detail . '.json';
$hashUrl = DEDEBIZCDN.'/release/'.$cfg_version_detail.'.json';
$dhd = new DedeHttpDown();
$dhd->OpenUrl($hashUrl);
$data = $dhd->GetJSON();
$changedFiles = array();
$enkey = substr(md5(substr($cfg_cookie_encode, 0, 5)), 0, 10);
$backupPath = DEDEDATA . "/backupfile_{$enkey}";
$backupPath = DEDEDATA."/backupfile_{$enkey}";
RmRecurse($backupPath);
mkdir($backupPath);
foreach ($data as $file) {
$realFile = DEDEROOT . str_replace("\\", '/', $file->filename);
$realFile = DEDEROOT.str_replace("\\", '/', $file->filename);
if (file_exists($realFile) && md5_file($realFile) !== $file->hash) {
// 备份文件
$dstFile = $backupPath . '/' . str_replace("\\", '/', $file->filename);
$dstFile = $backupPath.'/'.str_replace("\\", '/', $file->filename);
@mkdir(dirname($dstFile), 0777, true);
copy($realFile, $dstFile);
}
@@ -109,10 +109,10 @@ if ($action === 'is_need_check_code') {
));
exit;
} else if ($action === 'get_update_versions') {
require_once(DEDEINC . '/libraries/dedehttpdown.class.php');
require_once(DEDEINC.'/libraries/dedehttpdown.class.php');
checkLogin();
//获取本地更改过的文件
$offUrl = DEDEBIZURL . "/versions?version={$cfg_version_detail}";
$offUrl = DEDEBIZURL."/versions?version={$cfg_version_detail}";
$dhd = new DedeHttpDown();
$dhd->OpenUrl($offUrl);
$data = $dhd->GetHtml();
@@ -131,16 +131,16 @@ if ($action === 'is_need_check_code') {
exit;
}
$enkey = substr(md5(substr($cfg_cookie_encode, 0, 5)), 0, 10);
$backupPath = DEDEDATA . "/updatefile_{$enkey}";
$backupPath = DEDEDATA."/updatefile_{$enkey}";
@mkdir($backupPath);
foreach ($row as $k => $ver) {
if ($ver->isdownload !== true) {
$filesUrl = DEDEBIZCDN . '/update/' . $ver->ver . '/files.txt';
$filesUrl = DEDEBIZCDN.'/update/'.$ver->ver.'/files.txt';
$dhd = new DedeHttpDown();
$dhd->OpenUrl($filesUrl);
$fileList = $dhd->GetJSON();
$dhd->Close();
$backupVerPath = $backupPath . '/' . $ver->ver;
$backupVerPath = $backupPath.'/'.$ver->ver;
RmRecurse($backupVerPath);
mkdir($backupVerPath);
foreach ($fileList as $f) {
@@ -148,24 +148,24 @@ if ($action === 'is_need_check_code') {
//忽略src之外的目录
continue;
}
$fileUrl = DEDEBIZCDN . '/update/' . $ver->ver . '/src'.$f->filename;
$fileUrl = DEDEBIZCDN.'/update/'.$ver->ver.'/src'.$f->filename;
$dhd = new DedeHttpDown();
$dhd->OpenUrl($fileUrl);
$fData = $dhd->GetHtml();
$dhd->Close();
$f->filename = preg_replace('/^\/admin/', $curDir, $f->filename);
$realFile = $backupVerPath . $f->filename;
$realFile = $backupVerPath.$f->filename;
@mkdir(dirname($realFile), 0777, true);
file_put_contents($realFile, $fData);
}
$sqlUrl = DEDEBIZCDN . '/update/' . $ver->ver . '/update.sql';
$sqlUrl = DEDEBIZCDN.'/update/'.$ver->ver.'/update.sql';
$dhd = new DedeHttpDown();
$dhd->OpenUrl($sqlUrl);
$fData = $dhd->GetHtml();
$dhd->Close();
$realFile = $backupVerPath . '/update.sql';
$realFile = $backupVerPath.'/update.sql';
file_put_contents($realFile, $fData);
$realFile = $backupVerPath . '/files.txt';
$realFile = $backupVerPath.'/files.txt';
file_put_contents($realFile, json_encode($fileList));
$row[$k]->isdownload = true;
SetCache('update', 'vers', $row);
@@ -181,12 +181,12 @@ if ($action === 'is_need_check_code') {
}
foreach ($row as $k => $ver) {
if ($ver->ispatched !== true) {
$backupVerPath = $backupPath . '/' . $ver->ver;
$backupVerPath = $backupPath.'/'.$ver->ver;
//执行更新SQL文件
$sql = file_get_contents($backupVerPath . '/update.sql');
$sql = file_get_contents($backupVerPath.'/update.sql');
if (!empty($sql)) {
$sql = preg_replace('#ENGINE=MyISAM#i', 'TYPE=MyISAM', $sql);
$sql41tmp = 'ENGINE=MyISAM DEFAULT CHARSET=' . $cfg_db_language;
$sql41tmp = 'ENGINE=MyISAM DEFAULT CHARSET='.$cfg_db_language;
$sql = preg_replace('#TYPE=MyISAM#i', $sql41tmp, $sql);
$sqls = explode(";\r\n", $sql);
foreach ($sqls as $sql) {
@@ -196,15 +196,15 @@ if ($action === 'is_need_check_code') {
}
}
//复制文件
$fileList = json_decode(file_get_contents($backupVerPath . '/files.txt'));
$fileList = json_decode(file_get_contents($backupVerPath.'/files.txt'));
foreach ($fileList as $f) {
if (!preg_match("/^\//", $f->filename)) {
//忽略src之外的目录
continue;
}
$f->filename = preg_replace('/^\/admin/', $curDir, $f->filename);
$srcFile = $backupVerPath . $f->filename;
$dstFile = str_replace(array("\\", "//"), '/', DEDEROOT . $f->filename);
$srcFile = $backupVerPath.$f->filename;
$dstFile = str_replace(array("\\", "//"), '/', DEDEROOT.$f->filename);
var_dump_cli('files','srcFile',$srcFile,'dstFile',$dstFile);
// $rs = @copy($srcFile, $dstFile);
// if($rs) {


+ 2
- 2
src/admin/js/indexbody.js View File

@@ -43,11 +43,11 @@ $(function () {
}
});
});
function copyFn() {
function Copyinfo() {
var val = document.getElementById('text');
window.getSelection().selectAllChildren(val);
document.execCommand("Copy");
alert("环境配置信息已复制");
alert("成功复制环境配置信息");
}
//Dedebiz info
var dedebizInfo;


+ 4
- 4
src/admin/templets/ad_add.htm View File

@@ -141,7 +141,7 @@
</tr>
</table>
</div>
<div class="content" id="txt" style="display:none">
<div id="txt" class="content" style="display:none">
<table cellpadding="3" cellspacing="1" class="i_table w-100">
<tr>
<td width="260">文字文档 *</td>
@@ -161,7 +161,7 @@
</tr>
</table>
</div>
<div class="content" id="img" style="display:none">
<div id="img" class="content" style="display:none">
<table cellpadding="3" cellspacing="1" class="i_table w-100">
<tr>
<td width="260">图片地址 *</td>
@@ -185,8 +185,8 @@
</tr>
</table>
</div>
<div class="content" id="flash" style="display:none">
<table width="80%" cellpadding="3" cellspacing="1" class="i_table w-100">
<div id="flash" class="content" style="display:none">
<table cellpadding="3" cellspacing="1" class="i_table w-100">
<tr>
<td width="260">flash链接</td>
<td><input type="text" name="normbody[link]" value="" class="admin-input-md"></td>


+ 4
- 4
src/admin/templets/album_add.htm View File

@@ -63,7 +63,7 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" align="center" class="admin-itemnote1">常规文档</td>
</tr>
</table>
</td>
@@ -281,8 +281,8 @@
<td>
复制的源网址:<input type="text" name="copysource" value="http://" class="admin-input-md">(防盗链网站需填写您复制图片的其中一个网页网址)<br>
把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()"><br>
<div id="copyhtml" style="margin-top:10px;margin-bottom:10px;padding:10px;width:96%;height:260px;border:solid 1px #ccc" contenteditable="true">粘贴到这里</div>
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()"><br>
<div id="copyhtml" style="margin:10px 0;padding:10px;width:98%;height:200px;border:1px solid #ccc" contenteditable="true">粘贴到这里</div>
</td>
</tr>
</table>
@@ -405,7 +405,7 @@
</td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="admin-border border-top-0 mb-3">
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="admin-border border-top-0 mb-3">
<tr>
<td bgcolor="#f5f5f5" align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>


+ 3
- 4
src/admin/templets/album_edit.htm View File

@@ -62,7 +62,7 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" align="center" class="admin-itemnote1">常规文档</td>
</tr>
</table>
</td>
@@ -283,7 +283,7 @@
复制的源网址:<input type="text" name="copysource" value="http://" class="admin-input-md">(防盗链网站需填写您复制图片的其中一个网页网址)<br>
把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()"><br>
<div id="copyhtml" style="margin:10px 0;border:solid 1px #CCCCCC;width:96%;padding:6px;height:260px;width:100%" contenteditable="true">粘贴到这里</div>
<div id="copyhtml" style="margin:10px 0;padding:10px;width:98%;height:200px;border:1px solid #ccc" contenteditable="true">粘贴到这里</div>
</td>
</tr>
</table>
@@ -430,8 +430,7 @@
</select>
</td>
<td width="90">文件名称:</td>
<td><input type="text" name="filename" id="filename"
value="<?php echo $arcRow['filename']?>" class="admin-input-sm">(不包括后缀名如.html等)
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" class="admin-input-sm">(不包括后缀名如.html等)
</td>
</tr>
</table>


+ 1
- 1
src/admin/templets/archives_add.htm View File

@@ -38,7 +38,7 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" align="center" class="admin-itemnote1">常规文档</td>
</tr>
</table>
</td>


+ 5
- 5
src/admin/templets/archives_edit.htm View File

@@ -35,7 +35,7 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" align="center" class="admin-itemnote1">常规文档</td>
</tr>
</table>
</td>
@@ -104,7 +104,7 @@
</table>
</td>
</tr>
<tr id="pictable" style='<?php if ($cInfos['needpic']==0) echo 'display:none';?>'>
<tr id="pictable" style="<?php if ($cInfos['needpic']==0) echo 'display:none';?>">
<td class="admin-td">
<table cellspacing="0" cellpadding="0">
<tr>
@@ -145,7 +145,7 @@
<?php
if ($cInfos['dfcid']>0) {
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}'>";
echo "<input type='hidden' name='typeid2' value=''>";
echo "<input type='hidden' name='typeid2'>";
} else {
?>
<tr>
@@ -161,7 +161,7 @@
echo $typeOptions;
echo "</select>";
?>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择"></i>
</td>
<td width="90">需要金币:</td>
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" class="admin-input-sm"></td>
@@ -178,7 +178,7 @@
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']);?>" class="admin-input-sm">
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2','<?php echo $arcRow['typeid2'];?>')" title="选择副栏目" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2','<?php echo $arcRow['typeid2'];?>')" title="选择副栏目"></i>
</td>
</tr>
</table>


+ 1
- 1
src/admin/templets/archives_sg_add.htm View File

@@ -39,7 +39,7 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" align="center" class="admin-itemnote1">常规文档</td>
</tr>
</table>
</td>


+ 1
- 1
src/admin/templets/archives_sg_edit.htm View File

@@ -36,7 +36,7 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" align="center" class="admin-itemnote1">常规文档</td>
</tr>
</table>
</td>


+ 3
- 3
src/admin/templets/article_add.htm View File

@@ -40,7 +40,7 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" align="center" class="admin-itemnote1">常规文档</td>
</tr>
</table>
</td>
@@ -325,7 +325,7 @@
</select>
<?php
} else {
echo "<input type='hidden' name='templet' value=''>";
echo "<input type='hidden' name='templet'>";
}
?>
</td>
@@ -345,7 +345,7 @@
?>
</td>
<td width="90">浏览次数:</td>
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(200, 1000) : $cfg_arc_click);?>" class="admin-input-sm"></td>
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(200, 1000) : $cfg_arc_click);?>" class="admin-input-sm"></td>
</tr>
</table>
</td>


+ 1
- 1
src/admin/templets/article_edit.htm View File

@@ -38,7 +38,7 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" align="center" class="admin-itemnote1">常规文档</td>
</tr>
</table>
</td>


+ 11
- 12
src/admin/templets/catalog_add.htm View File

@@ -131,9 +131,9 @@
<td colspan="2" bgcolor="#fff" align="left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规选项</td>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目文档</a></td>
<td width="80" align="center" class="admin-itemnote1">常规选项</td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目文档</a></td>
</tr>
</table>
</td>
@@ -144,9 +144,9 @@
<td colspan="2" bgcolor="#fff">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" height="28" align="center" class="admin-itemnote1">高级选项</td>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目文档</a></td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" align="center" class="admin-itemnote1">高级选项</td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目文档</a></td>
</tr>
</table>
</td>
@@ -157,9 +157,9 @@
<td colspan="2" bgcolor="#fff">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="80" height="28" align="center" class="admin-itemnote1">栏目文档</td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="80" align="center" class="admin-itemnote1">栏目文档</td>
</tr>
</table>
</td>
@@ -271,8 +271,7 @@
<tr>
<td><input type="text" name="typedir" id="typedir" class="admin-input-md">
</td>
<td><label for="upinyin"><input type="checkbox" name="upinyin" id="upinyin"
value="1" onClick="CheckTypeDir()"> 拼音</label></td>
<td><label for="upinyin"><input type="checkbox" name="upinyin" id="upinyin" value="1" onClick="CheckTypeDir()"> 拼音</label></td>
</tr>
</table>
</td>
@@ -345,7 +344,7 @@
</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" id="adset" class="table admin-border" style="display:none">
<table width="100%" cellspacing="0" cellpadding="0" id="adset" class="table admin-border" style="display:none">
<?php if ($id==0) {?>
<tr>
<td width="260" class="admin-td">多站点支持:</td>


+ 1
- 1
src/admin/templets/catalog_add_quick.htm View File

@@ -90,7 +90,7 @@
<td colspan="2">
<table width="80" cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规选项</td>
<td width="80" align="center" class="admin-itemnote1">常规选项</td>
</tr>
</table>
</td>


+ 10
- 10
src/admin/templets/catalog_edit.htm View File

@@ -112,9 +112,9 @@
<td colspan="2" bgcolor="#fff" align="left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规选项</td>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目文档</a></td>
<td width="80" align="center" class="admin-itemnote1">常规选项</td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目文档</a></td>
</tr>
</table>
</td>
@@ -125,9 +125,9 @@
<td colspan="2" bgcolor="#fff">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" height="28" align="center" class="admin-itemnote1">高级选项</td>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目文档</a></td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" align="center" class="admin-itemnote1">高级选项</td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目文档</a></td>
</tr>
</table>
</td>
@@ -138,9 +138,9 @@
<td colspan="2" bgcolor="#fff">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="80" height="28" align="center" class="admin-itemnote1">栏目文档</td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="80" align="center" class="admin-itemnote1">栏目文档</td>
</tr>
</table>
</td>
@@ -165,7 +165,7 @@
<td class="admin-td">文档模型:</td>
<td class="admin-td">
<select name="channeltype" id="channeltype" onChange="ParTemplet(this)"
class="admin-input-sm">
class="admin-input-sm">
<?php
foreach($channelArray as $k=>$arr)
{


+ 1
- 1
src/admin/templets/content_list.htm View File

@@ -41,7 +41,7 @@
{dede:global.optionarr/}
</select>
</td>
<td width="380"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" class="admin-input-md"></td>
<td width="380"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" class="admin-input-md"></td>
<td width="170">
<select name="orderby" class="admin-input-sm">
<option value="id">选择排序</option>


+ 1
- 1
src/admin/templets/index.htm View File

@@ -14,7 +14,7 @@
<body class="showmenu">
<?php if (preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])) {?>
<div id="browsehappy">
<span>您正在使用一个过时的浏览器,请<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,提高您对后台体验</span>
<span>您使用的浏览器已过时,请<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,提高后台操作体验</span>
<a onclick="document.getElementById('browsehappy').style.display='none';" class="browsehappy-close">×</a>
</div>
<?php }?>


+ 45
- 129
src/admin/templets/index_body.htm View File

@@ -1,11 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>系统主页</title>
<base target="_self">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
@@ -16,34 +14,8 @@
<script src="../static/web/js/chart.min.js"></script>
<script src="js/indexbody.js"></script>
<script src="js/main.js"></script>
<style>
#btnUpdate,
#latestVersion {
display: none;
}
#btnUpdate {
cursor: pointer;
}
#_fileList,
#_verList {
height: 200px;
overflow-y: scroll;
}
#_msgInfo {
display: none;
}
@media (min-width:480px) {
.modal-dialog {
max-width: 55%;
}
}
</style>
<base target="_self">
</head>
<body>
<div class="container-fluid">
<div class="row">
@@ -51,7 +23,7 @@
<div class="col-md-12 my-3">
<div class="card">
<div class="card-header">
<a href="#statChart" title="查看流量统计图"><i class="fa fa-bar-chart"></i> 流量统计表</a>
<a href="#statChart"><i class="fa fa-bar-chart"></i> 流量统计表</a>
</div>
<div class="card-body">
<table class="table">
@@ -91,14 +63,9 @@
</div>
<div class="col-md-6 my-3">
<div class="card">
<div class="card-header"><a href="javascript:copyFn()"><i class="fa fa-gear"></i> 系统信息</a>
<span id="text">软件:
<?php echo $cfg_version_detail;?>|操作系统:
<?php echo PHP_OS;?>|Web服务器:
<?php echo $_SERVER['SERVER_SOFTWARE'];?>|PHP:
<?php echo @phpversion();?>|数据库:
<?php echo $dsql->GetVersion();?>
</span>
<div class="card-header">
<a href="javascript:Copyinfo()"><i class="fa fa-gear"></i> 软件信息</a>
<span id="text">软件:<?php echo $cfg_version_detail;?>|操作系统:<?php echo PHP_OS;?>|Web服务器:<?php echo $_SERVER['SERVER_SOFTWARE'];?>|PHP:<?php echo @phpversion();?>|数据库:<?php echo $dsql->GetVersion();?></span>
</div>
<div class="card-body">
<table class="table table-borderless">
@@ -106,41 +73,31 @@
<td>
<div class="web-info">
<p>操作系统</p>
<span>
<?php echo PHP_OS;?>
</span>
<span><?php echo PHP_OS;?></span>
</div>
</td>
<td>
<div class="web-info">
<p>Web服务器</p>
<span>
<?php echo $_SERVER['SERVER_SOFTWARE'];?>
</span>
<p>WEB服务器</p>
<span><?php echo $_SERVER['SERVER_SOFTWARE'];?></span>
</div>
</td>
<td>
<div class="web-info">
<p>服务器IP</p>
<span>
<?php echo gethostbyname($_SERVER['SERVER_NAME']);?>
</span>
<p>IP地址</p>
<span><?php echo gethostbyname($_SERVER['SERVER_NAME']);?></span>
</div>
</td>
<td>
<div class="web-info">
<p>PHP版本</p>
<span>
<?php echo @phpversion();?>
</span>
<span><?php echo @phpversion();?></span>
</div>
</td>
<td>
<div class="web-info">
<p>数据库版本</p>
<span>
<?php echo $dsql->GetVersion();?>
</span>
<span><?php echo $dsql->GetVersion();?></span>
</div>
</td>
</tr>
@@ -152,8 +109,8 @@
<div class="card">
<div class="card-header">
<span><i class="fa fa-database"></i> 版本授权</span>
<a class="float-right" id="btnUpdate">软件更新<span class="admin-updates"></span></a>
<span id="latestVersion" class="float-right">已是最新软件版本</span>
<a href="javascript:;" id="systemUpdate" class="float-right">软件更新<span class="updates-dot"></span></a>
<span id="latestVersion" class="float-right mr-2">已是最新软件版本</span>
</div>
<div class="card-body" id="system-info">正在加载</div>
</div>
@@ -178,78 +135,38 @@
</div>
</div>
</div>
<div class="modal fade" id="mdlUpdate" tabindex="-1" aria-hidden="true">
<div id="mdlUpdate" class="modal fade" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">软件更新</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<button type="button" class="update-close" data-dismiss="modal" aria-label="Close"><i class="fa fa-times"></i></button>
</div>
<div class="modal-body">
<table id="stepArea1" class="table table-borderless w-100 stepArea">
<tr>
<td>
<div class="text-center text-success">
<div class="spinner-border" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
<p id="step1Msg">正在比对系统更改的文件……</p>
</td>
</tr>
</table>
<table id="stepArea2" class="table table-borderless w-100 stepArea">
<tr>
<td colspan="2">本更新提供了重要的安全性更新,建议所有用户升级,软件更新将覆盖以下文件,请做好备份。</td>
</tr>
<tr>
<td colspan="2">
<div id="_fileList">...</div>
</td>
</tr>
</table>
<table id="stepArea3" class="table table-borderless w-100 stepArea">
<tr>
<td>软件发下以下版本的更新文件:</td>
</tr>
<tr>
<td colspan="2">
<div id="_verList">...</div>
</td>
</tr>
</table>
<table id="stepArea4" class="table table-borderless w-100 stepArea">
<tr>
<td>
<div class="text-center text-success">
<div class="spinner-border" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
软件正在进行如下操作,请您耐心等待
</td>
</tr>
<tr>
<td colspan="2">
<div id="_updateMsg">...</div>
</td>
</tr>
</table>
<table id="stepArea5" class="table table-borderless w-100 stepArea">
<tr>
<td>
完成升级,恭喜您当前系统已是最新版本
</td>
</tr>
</table>
<div id="_msgInfo">
<div id="stepArea1" class="stepArea">
<span class="spinner-border text-success" role="status"></span>
<span id="step1Msg">对比版本更改的文件</span>
</div>
<div id="stepArea2" class="stepArea">
<p>本更新提供了重要的安全性更新,建议所有用户升级,软件更新将覆盖以下文件,请做好备份。</p>
<div id="_fileList">正在加载</div>
</div>
<div id="stepArea3" class="stepArea">
<p>发下以下版本的更新文件</p>
<div id="_verList">正在加载</div>
</div>
<div id="stepArea4" class="stepArea">
<p>
<span class="spinner-border text-success" role="status"></span>
<span>正在进行以下操作,耐心等待...</span>
</p>
<div id="_updateMsg">正在加载</div>
</div>
<div id="stepArea5" class="stepArea">完成升级,已是最新软件版本。</div>
<div id="_msgInfo" class="mt-3"></div>
</div>
<div class="modal-footer">
<div id="btnStep1" class="btnStep">
</div>
<div id="btnStep1" class="btnStep"></div>
<div id="btnStep2" class="btnStep">
<button id="btnCancel" type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
<button id="btnBackup" type="button" class="btn btn-outline-success">备份</button>
@@ -267,8 +184,8 @@
</div>
</div>
<script>
var currentStep = 1; //步骤
var currentStep = 1;
//步骤
function dedeAlter(msg, t = 'info', loading = false) {
let loadingStr = loading ? '<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>' : '';
return `<div class="alert alert-${t}">${loadingStr}
@@ -306,15 +223,15 @@
let rs = JSON.parse(data);
if (rs.code === 0) {
if (rs.result.HasNew === true) {
$("#btnUpdate").show();
$("#systemUpdate").show();
$("#latestVersion").hide();
} else {
$("#btnUpdate").hide();
$("#systemUpdate").hide();
$("#latestVersion").show();
}
}
} catch (error) {
console.log("获取DedeV6版本信息失败")
console.log("获取软件信息失败")
}
})
$("#btnCancel").click(function () {
@@ -322,18 +239,18 @@
$("#_fileList").html(``);
})
$("#btnBackup").click(function () {
let alertMsg = dedeAlter("系统正在备份差异文件", 'info', true);
let alertMsg = dedeAlter("正在备份差异文件", 'info', true);
$("#_msgInfo").html(alertMsg);
$("#_msgInfo").show();
$.get("api.php?action=update_backup", function (data) {
let rs = JSON.parse(data);
if (rs.code === 0) {
alertMsg = dedeAlter(`文件备份成功,备份文件夹:${rs.data.backupdir}`, 'success');
alertMsg = dedeAlter(`成功备份差异文件,目录:${rs.data.backupdir}`, 'success');
$("#_msgInfo").html(alertMsg);
}
})
})
$("#btnUpdate").click(function () {
$("#systemUpdate").click(function () {
$('#mdlUpdate').modal('show');
showStepArea(currentStep);
currentStep++;
@@ -389,5 +306,4 @@
})
</script>
</body>
</html>

+ 1
- 1
src/admin/templets/login.htm View File

@@ -15,7 +15,7 @@
<body>
<?php if (preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])) {?>
<div id="browsehappy">
<span>您正在使用一个过时的浏览器,请<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,提高您对后台体验</span>
<span>您使用的浏览器已过时,请<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,提高后台操作体验</span>
<a onclick="document.getElementById('browsehappy').style.display='none';" class="browsehappy-close">×</a>
</div>
<?php }?>


+ 1
- 1
src/admin/templets/module_upload.htm View File

@@ -36,7 +36,7 @@
<td><textarea name="filelist" id="filelist" class="admin-textarea-xl"></textarea></td>
</tr>
<tr>
<td bgcolor="#f5f5f5" colspan="2" align="center"><button type="submit" class="btn btn-success btn-sm">确定</button></td>
<td bgcolor="#f5f5f5" colspan="2" align="center"><button type="submit" class="btn btn-success btn-sm">确定</button></td>
</tr>
</form>
</table>


+ 4
- 4
src/admin/templets/mychannel_edit.htm View File

@@ -24,8 +24,8 @@
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">基本设置</td>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">字段管理</a></td>
<td width="80" align="center" class="admin-itemnote1">基本设置</td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">字段管理</a></td>
</tr>
</table>
</td>
@@ -36,8 +36,8 @@
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem1()">基本设置</a></td>
<td width="80" height="28" align="center" class="admin-itemnote1">字段管理</td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem1()">基本设置</a></td>
<td width="80" align="center" class="admin-itemnote1">字段管理</td>
</tr>
</table>
</td>


+ 5
- 7
src/admin/templets/soft_add.htm View File

@@ -57,7 +57,7 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" align="center" class="admin-itemnote1">常规文档</td>
</tr>
</table>
</td>
@@ -170,9 +170,7 @@
echo "</select>";
?>
</span>
<i class='btn btn-sm fa fa-search' style='cursor:pointer'
onClick="ShowCatMap(event, this, <?php echo $channelid;?>, 'typeid')"
title='快捷选择'></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event, this, <?php echo $channelid;?>, 'typeid')" title="快捷选择"></i>
<?php
if ($cfg_need_typeid2=='Y') {
echo "<a href='javascript:AddTypeid2();' class='btn btn-success btn-sm'>选择副栏目</a>";
@@ -349,11 +347,11 @@
<td>
<input type="text" name="softurl1" id="softurl1" class="admin-input-md">
<button type="button" name="sel1" id="sel1" class="btn btn-success btn-sm"
onClick="SelectSoft('form1.softurl1')">选取</button>
onClick="SelectSoft('form1.softurl1')">选取</button>
</td>
<td width="90">服务器名称:</td>
<td><input type="text" name="servermsg1" id="servermsg1" value="本地下载"
class="admin-input-sm"></td>
class="admin-input-sm"></td>
</tr>
</table>
</td>
@@ -375,7 +373,7 @@
<?php echo $sitename;?>:
<input type='hidden' name='forconfig<?php echo $startNum;?>' value='1'>
<input type='text' name='softurlfirst<?php echo $startNum;?>' class='admin-input-md' value='<?php echo $siteurl;?>'> +
<input type='text' name='softurl<?php echo $startNum;?>' class='admin-input-sm' value=''> =
<input type='text' name='softurl<?php echo $startNum;?>' class='admin-input-sm'> =
<input type='text' name='servermsg<?php echo $startNum;?>' class='admin-input-sm' value='<?php echo $sitename;?>'>
<label><input type='checkbox' name='need<?php echo $startNum;?>' value='1' checked> 启用</label>
<br>


+ 4
- 4
src/admin/templets/soft_edit.htm View File

@@ -52,7 +52,7 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" align="center" class="admin-itemnote1">常规文档</td>
</tr>
</table>
</td>
@@ -97,7 +97,7 @@
</tr>
<tr>
<td class="admin-td" id="redirecturltr"
style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>">
style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90">跳转网址:</td>
@@ -126,7 +126,7 @@
<td width="620">
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" class="admin-input-md">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button>
</td>
@@ -310,7 +310,7 @@
<tr>
<td width="90">软件大小:</td>
<td width="310"><input name="softsize" type="text" id="softsize"
value="<?php echo $addRow['softsize']?>" class="admin-input-md"></td>
value="<?php echo $addRow['softsize']?>" class="admin-input-md"></td>
<td width="90">需会员权限:</td>
<td>
<select name="daccess" id="daccess" class="admin-input-sm">


+ 5
- 6
src/admin/templets/spec_add.htm View File

@@ -68,8 +68,8 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">专题文档</a></td>
<td width="80" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">专题文档</a></td>
</tr>
</table>
</td>
@@ -80,8 +80,8 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规文档</a></td>
<td width="80" height="28" align="center" class="admin-itemnote1">专题文档</td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规文档</a></td>
<td width="80" align="center" class="admin-itemnote1">专题文档</td>
</tr>
</table>
</td>
@@ -166,8 +166,7 @@
<td width="90">标题颜色:</td>
<td>
<input type="text" name="color" id="color" class="admin-input-sm">
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm"
onClick="ShowColor(event,this)">选取</button>
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
</td>
</tr>
</table>


+ 4
- 4
src/admin/templets/spec_edit.htm View File

@@ -65,8 +65,8 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" height="28" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">专题文档</a></td>
<td width="80" align="center" class="admin-itemnote1">常规文档</td>
<td width="80" align="center" class="admin-itemnote2"><a href="javascript:;" onClick="ShowItem2()">专题文档</a></td>
</tr>
</table>
</td>
@@ -77,8 +77,8 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" class="admin-itemnote1"><a href="javascript:;" onClick="ShowItem1()">常规文档</a></td>
<td width="80" height="28" align="center" class="admin-itemnote1">专题文档</td>
<td width="80" align="center" class="admin-itemnote1"><a href="javascript:;" onClick="ShowItem1()">常规文档</a></td>
<td width="80" align="center" class="admin-itemnote1">专题文档</td>
</tr>
</table>
</td>


+ 2
- 2
src/admin/templets/sys_payment_install.htm View File

@@ -19,11 +19,11 @@
<input type="hidden" name="dopost" value="config">
<tr>
<td width="260">支付名称:</td>
<td><input type="text" name="pay_name" id="pay_name" value="<?php echo $row['name'];?>" size="30"></td>
<td><input type="text" name="pay_name" id="pay_name" class="admin-textarea-xl" value="<?php echo $row['name'];?>"></td>
</tr>
<tr>
<td>支付描述:</td>
<td><textarea name="pay_desc" id="pay_desc" class="admin-textarea-xl"><?php echo $row['description'];?></textarea></td>
<td><textarea name="pay_desc" id="pay_desc" class="admin-textarea-xl"><?php echo $row['description'];?></textarea></td>
</tr>
<?php echo $reval ?>
<tr>


+ 1
- 1
src/admin/templets/templets_one.htm View File

@@ -19,7 +19,7 @@
$likeid = (!isset($likeid) ? '' : $likeid);
echo "<select name='likeid' id='likeid' class='admin-input-sm'>";
$dsql->Execute("s","Select likeid From `#@__sgpage` group by likeid ");
echo "<option value=''>不限</option>";
echo "<option>不限</option>";
while($arr = $dsql->GetArray('s'))
{
if ($likeid==$arr['likeid']) echo "<option value='{$arr['likeid']}' selected>{$arr['likeid']}</option>";


+ 143
- 119
src/static/web/css/admin.css View File

@@ -234,6 +234,13 @@ body.hidemenu .body-right {
height:60px;
line-height:60px
}
.user-img {
margin-right:10px;
width:30px;
height:30px;
border-radius:50%;
border:1px solid #dee2e6
}
.menu-box {
margin:0;
padding:1rem 5px;
@@ -300,6 +307,142 @@ body.hidemenu .body-right {
float:right!important;
padding:0 20px 0 10px!important
}
.card-body {
padding:.65rem
}
#text {
font-size:0
}
#latestVersion {
display:none
}
#_fileList,#_verList {
height:400px;
overflow-y:scroll
}
#_msgInfo {
display:none
}
.update-close {
background-color:#fff;
border:0
}
.updates-dot {
display:inline-block;
position:absolute;
top:12px;
right:8px;
height:6px;
width:6px;
background:#dc3545;
border-radius:50%
}
.spinner-border {
width:20px;
height:20px;
vertical-align:bottom
}
.list-group-item {
padding:.65rem 0
}
span.page-link {
color:#fff;
background:#1eb867
}
.fa {
font-size:14px!important;
color:inherit
}
.btn-xs {
padding:2px;
line-height:12px;
font-size:12px
}
.btn+.btn,.btn-text+.btn-text {
margin-left:1rem
}
.table {
margin-bottom:0;
color:#545b62
}
.table td,.table th {
padding:.65rem;
vertical-align:middle
}
.maintable {
width:98%!important;
border:1px solid #dee2e6!important
}
.form-control {
display:inline-block;
margin-right:10px
}
.admin-win {
background:#f5f5f5;
border:1px solid #dee2e6
}
.admin-win-iframe {
width:100%;
height:360px
}
.admin-itemnote1 {
height:30px;
background:#e9ecef;
border-radius:.2rem .2rem 0 0
}
.admin-itemnote2 {
height:30px;
background:#f5f5f5;
border-radius:.2rem .2rem 0 0
}
.admin-border {
border:1px solid #dee2e6
}
.admin-td {
padding:.65rem;
vertical-align:middle;
border-bottom:1px solid #dee2e6
}
.admin-textarea-xl {
width:100%;
height:90px
}
.admin-textarea-sm {
width:360px;
height:50px
}
.admin-input-lg {
width:380px
}
.admin-input-md {
width:360px
}
.admin-input-sm {
width:160px
}
.admin-input-xs {
width:60px
}
.web-info {
padding:10px;
background:#f5f5f5;
border-radius:.2rem;
text-align:center
}
.thumbnail-md {
max-width:200px;
max-height:120px
}
.thumbnail-sm {
max-width:60px;
max-height:60px
}
.icon img {
margin-right:10px;
width:20px;
height:20px;
border-radius:.2rem
}
.coolbg {
padding:.25rem .5rem;
background:#f5f5f5;
@@ -453,125 +596,6 @@ body.hidemenu .body-right {
border:2px solid #1eb867;
z-index:10005
}
span.page-link {
color:#fff;
background:#1eb867
}
.fa {
font-size:14px!important;
color:inherit
}
.btn-xs {
padding:2px;
line-height:12px;
font-size:12px
}
.btn+.btn,.btn-text+.btn-text {
margin-left:1rem
}
.table {
margin-bottom:0;
color:#545b62
}
.table td,.table th {
padding:.65rem;
vertical-align:middle
}
.maintable {
width:98%!important;
border:1px solid #dee2e6!important
}
.form-control {
display:inline-block;
margin-right:10px
}
.admin-updates {
display:inline-block;
position:absolute;
top:12px;
right:8px;
height:6px;
width:6px;
background:#dc3545;
border-radius:50%
}
.admin-win {
background:#f5f5f5;
border:1px solid #dee2e6
}
.admin-win-iframe {
width:100%;
height:360px
}
.admin-itemnote1 {
background:#e9ecef;
border-radius:.2rem .2rem 0 0
}
.admin-itemnote2 {
background:#f5f5f5;
border-radius:.2rem .2rem 0 0
}
.admin-border {
border:1px solid #dee2e6
}
.admin-td {
padding:.65rem;
vertical-align:middle;
border-bottom:1px solid #dee2e6
}
.admin-textarea-xl {
width:100%;
height:90px
}
.admin-textarea-sm {
width:360px;
height:50px
}
.admin-input-lg {
width:380px
}
.admin-input-md {
width:360px
}
.admin-input-sm {
width:160px
}
.admin-input-xs {
width:60px
}
.user-img {
margin-right:10px;
width:30px;
height:30px;
border-radius:50%;
border:1px solid #dee2e6
}
.web-info {
padding:10px;
background:#f5f5f5;
border-radius:.2rem;
text-align:center
}
.card-body {
padding:.65rem
}
.thumbnail-md {
max-width:200px;
max-height:120px
}
.thumbnail-sm {
max-width:60px;
max-height:60px
}
.icon img {
margin-right:10px;
width:20px;
height:20px;
border-radius:.2rem
}
#text {
font-size:0
}
#browsehappy {
padding:20px 30px;
font-size:14px;


Loading…
Cancel
Save