Browse Source

调整

tags/6.2.8
叙述、别离 1 year ago
parent
commit
fd6d554fd9
2 changed files with 10 additions and 12 deletions
  1. +2
    -2
      src/admin/templets/module_main.htm
  2. +8
    -10
      src/static/web/css/admin.css

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

@@ -59,9 +59,9 @@
$file = DEDEDATA."/module/{$v['hash']}.xml";
if (file_exists($file)) {
if (file_exists(DEDEDATA."/module/{$v['hash']}-readme.php")){
echo "<span class='btn btn-outline-success btn-sm'>已安装</span><a href='module_main.php?action=uninstall&hash={$v['hash']}' class='btn btn-danger btn-sm'>卸载</a>";
echo "<span class='btn btn-success btn-sm'>已安装</span><a href='module_main.php?action=uninstall&hash={$v['hash']}' class='btn btn-outline-danger btn-sm'>卸载</a>";
} else {
echo "<span class='btn btn-outline-danger btn-sm'>未安装</span><a href='module_main.php?action=setup&hash={$v['hash']}' class='btn btn-success btn-sm'>安装</a>";
echo "<span class='btn btn-danger btn-sm'>未安装</span><a href='module_main.php?action=setup&hash={$v['hash']}' class='btn btn-outline-success btn-sm'>安装</a>";
}
} else {
echo "<div id=\"status_{$v['hash']}\"><a href=\"javascript:getmodule('download','{$v['hash']}')\" class=\"btn btn-outline-warning btn-sm\">下载</a></div>";


+ 8
- 10
src/static/web/css/admin.css View File

@@ -67,7 +67,7 @@ label {
margin-bottom:0
}
input {
padding:.25rem .65rem;
padding:.375rem .75rem;
height:28px;
color:#545b62;
background:#fff;
@@ -82,7 +82,7 @@ input[type=file] {
vertical-align:middle
}
input[type=button],input[type=submit],input[type=reset] {
padding:.25rem .65rem;
padding:.375rem .75rem;
height:auto;
color:#fff;
background:#1eb867;
@@ -96,7 +96,7 @@ input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkb
vertical-align:text-top
}
select {
padding:.25rem .65rem;
padding:.375rem .75rem;
height:28px;
color:#545b62;
background:#fff;
@@ -108,7 +108,7 @@ select[multiple=yes] {
height:180px
}
textarea {
padding:.25rem .65rem;
padding:.375rem .75rem;
color:#545b62;
background:#fff;
border:1px solid #dee2e6;
@@ -228,6 +228,7 @@ body.hidemenu .body-right {
float:left;
margin-top:18px;
margin-left:5px;
font-size:12px;
color:#fff
}
.btn-version {
@@ -282,7 +283,7 @@ body.hidemenu .body-right {
width:30px;
height:30px;
border-radius:50%;
border:1px solid #dee2e6
border:1px solid #eee
}
.submenu {
display:none;
@@ -328,7 +329,7 @@ body.hidemenu .body-right {
display:none
}
.update-close {
background-color:#fff;
background:#fff;
border:0
}
.updates-dot {
@@ -355,7 +356,7 @@ body.hidemenu .body-right {
right:20px
}
.coolbg {
padding:.25rem .65rem;
padding:.375rem .75rem;
background:#f5f5f5;
border-bottom:1px solid #dee2e6;
border:0;
@@ -439,9 +440,6 @@ body.hidemenu .body-right {
border:2px solid #1eb867;
z-index:10001
}
.wsselect {
padding:.5rem
}
#uploadfield {
float:left
}


Loading…
Cancel
Save