Browse Source

优化默认数据

tags/6.2.5
叙述、别离 1 year ago
parent
commit
6d6eceb964
4 changed files with 8 additions and 8 deletions
  1. +1
    -1
      src/admin/css/login.min.css
  2. +1
    -1
      src/install/index.php
  3. +4
    -4
      src/install/install.html
  4. +2
    -2
      src/install/sql-dfdata.txt

+ 1
- 1
src/admin/css/login.min.css View File

@@ -1 +1 @@
*{margin:0;padding:0;letter-spacing:.6px;box-sizing:border-box}body{line-height:1.6;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#545b62}h2{font-size:24px}.btn,input,select{font-size:14px!important}.admin-head{padding:1rem 0;background:#fff}.logo{height:36px}.admin-nav{height:36px;line-height:36px}.admin-nav-a{padding-right:30px}.admin-btn{color:#545b62}.dropdown-menu{min-width:8rem;font-size:14px}.dropdown-item{padding:0 1rem;height:30px;line-height:30px;font-size:14px;color:#545b62!important}.login-from{margin:0 auto;width:500px}.login-box{padding:1.25rem;background:#fff;border-radius:.2rem}.login-power{padding-top:1rem}.goindex a,.login-power a{color:#1eb867}.form-control{height:36px}#validateimg{cursor:pointer}#browsehappy{padding:20px 30px;font-size:14px;line-height:16px;color:#856404;background:#fff3cd;border-radius:.25rem;border:0}.browsehappy-close{float:right;cursor:pointer}@media (max-width:760px){.admin-head{padding:1rem 15px}.admin-nav-a{display:none!important}.login-from{width:100%}}
*{margin:0;padding:0;letter-spacing:.6px;box-sizing:border-box}body{line-height:1.6;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#545b62}h2{line-height:1.6;font-size:24px;color:#393d49;font-weight:600}.btn,input,select{font-size:14px!important}.admin-head{padding:1rem 0;background:#fff}.logo{height:36px}.admin-nav{height:36px;line-height:36px}.admin-nav-a{padding-right:30px}.admin-btn{color:#545b62}.dropdown-menu{min-width:8rem;font-size:14px}.dropdown-item{padding:0 1rem;height:30px;line-height:30px;font-size:14px;color:#545b62!important}.login-from{margin:0 auto;width:500px}.login-box{padding:1.25rem;background:#fff;border-radius:.2rem}.login-power{padding-top:1rem}.goindex a,.login-power a{color:#1eb867}.form-control{height:36px}#validateimg{cursor:pointer}#browsehappy{padding:20px 30px;font-size:14px;line-height:16px;color:#856404;background:#fff3cd;border-radius:.25rem;border:0}.browsehappy-close{float:right;cursor:pointer}@media (max-width:760px){.admin-head{padding:1rem 15px}.admin-nav-a{display:none!important}.login-from{width:100%}}

+ 1
- 1
src/install/index.php View File

@@ -106,7 +106,7 @@ else if ($step==2)
$dbname = empty($dbname)? $dfDbname : $dbname;
$adminuser = empty($adminuser)? "admin" : $adminuser;
$adminpwd = empty($adminpwd)? "admin" : $adminpwd;
$webname = empty($webname)? "某某公司" : $webname;
$webname = empty($webname)? "穆云智能科技" : $webname;
$baseurl = empty($baseurl)? $dfbaseurl : $baseurl;
$cmspath = empty($cmspath)? $dfbasepath : $cmspath;
if ( $dbtype == 'sqlite' )


+ 4
- 4
src/install/install.html View File

@@ -11,7 +11,7 @@
<script src="../static/web/js/popper.min.js"></script>
<script src="../static/web/js/bootstrap.min.js"></script>
<script src="../static/web/js/style.js"></script>
<style>*{margin:0;padding:0;letter-spacing:.6px;box-sizing:border-box}body{line-height:1.6;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#545b62}h2,legend{font-size:18px;font-weight:600}input,select,.btn{font-size:14px!important}.install-box{margin:0 auto;width:860px}.admin-head{padding:1rem 0;background:#fff}.logo{height:36px}.admin-nav{height:36px;line-height:36px}.admin-nav-a{padding-right:30px}.admin-btn{color:#545b62}.dropdown-menu{min-width:8rem;font-size:14px}.dropdown-item{padding:0 1rem;height:36px;line-height:36px;font-size:14px;color:#545b62!important}.fa{font-size:14px!important;color:inherit;cursor:pointer}@media (max-width:760px){.install-box{width:100%}.admin-head{padding:1rem 15px}.admin-nav-a{display:none!important}}</style>
<style>*{margin:0;padding:0;letter-spacing:.6px;box-sizing:border-box}body{line-height:1.6;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#545b62}h2,legend{line-height:1.6;font-size:24px;color:#393d49;font-weight:600}input,select,.btn{font-size:14px!important}.install-box{margin:0 auto;width:860px}.admin-head{padding:1rem 0;background:#fff}.logo{height:36px}.admin-nav{height:36px;line-height:36px}.admin-nav-a{padding-right:30px}.admin-btn{color:#545b62}.dropdown-menu{min-width:8rem;font-size:14px}.dropdown-item{padding:0 1rem;height:36px;line-height:36px;font-size:14px;color:#545b62!important}.fa{font-size:14px!important;color:inherit;cursor:pointer}@media (max-width:760px){.install-box{width:100%}.admin-head{padding:1rem 15px}.admin-nav-a{display:none!important}}</style>
</head>
<body>
<div class="d-flex flex-md-row align-items-center shadow-sm admin-head mb-5">
@@ -36,8 +36,8 @@
<?php }}?>
<div class="alert alert-warning">请先阅读<a href="https://www.dedebiz.com/license?from=install" target="_blank" class="text-primary">《站点授权协议》</a></div>
<div class="card shadow-sm mb-3">
<div class="card-header bg-success text-white">
<h2 class="text-center my-0">安装DedeV<?php echo $cfg_version_detail;?></h2>
<div class="card-header bg-success">
<h2 class="text-center text-white my-0">安装DedeV<?php echo $cfg_version_detail;?></h2>
</div>
<div class="card-body">
<form action="../install/index.php" method="post" name="form1">
@@ -85,7 +85,7 @@
</div>
<div class="form-group">
<label for="webname" class="form-label">网站名称</label>
<input type="text" name="webname" id="webname" class="form-control" placeholder="某某公司">
<input type="text" name="webname" id="webname" class="form-control" placeholder="穆云智能科技">
</div>
<div class="form-group">
<label for="adminuser" class="form-label">管理员账号<i class="fa fa-question-circle text-warning ml-2" data-toggle="tooltip" title="只能用[0-9a-zA-Z_@!.-]以内范围的字符"></i></label>


+ 2
- 2
src/install/sql-dfdata.txt View File

@@ -3938,8 +3938,8 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin
('4','cfg_indexurl','首页链接','1','string','/'),
('5','cfg_backup_dir','数据备份目录,存data文件夹里','2','string','backupdata'),
('6','cfg_indexname','首页链接名','1','string','网站首页'),
('7','cfg_indexseo','首页SEO标题','1','string',''),
('8','cfg_webname','网站名称','1','string','某某公司'),
('7','cfg_indexseo','首页SEO标题','1','string','DedeV6'),
('8','cfg_webname','网站名称','1','string','穆云智能科技'),
('9','cfg_adminemail','网站发信邮箱','2','string','support@dedebiz.com'),
('10','cfg_html_editor','富文本,默认CKEditor可自行更换其它富文本','2','string','ckeditor'),
('11','cfg_arcdir','默认文档生成文件路径','1','string','/a'),


Loading…
Cancel
Save