-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
494 changed files
with
19,150 additions
and
1,158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ YII_ENV = dev | |
|
||
# App | ||
# --------- | ||
APP_NAME = 饮水思源 | ||
APP_NAME = yidashicms | ||
|
||
# Databases | ||
# --------- | ||
|
@@ -51,6 +51,8 @@ BACKEND_COOKIE_VALIDATION_KEY = c0AXETckg6V4dYDAPlp0iQNgQHYhKXqM | |
ADMIN_EMAIL = [email protected] | ||
ROBOT_EMAIL = [email protected] | ||
|
||
EDITOR_TYPE = redactor | ||
|
||
# Webuploader | ||
# ------- | ||
|
||
|
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,51 @@ | ||
<?php | ||
/** | ||
* @link http:https://www.yiiframework.com/ | ||
* | ||
* @copyright Copyright (c) 2008 Yii Software LLC | ||
* @license http:https://www.yiiframework.com/license/ | ||
*/ | ||
namespace backend\assets; | ||
|
||
use yii\base\Exception; | ||
use yii\web\AssetBundle; | ||
|
||
/** | ||
* @author Qiang Xue <[email protected]> | ||
* | ||
* @since 2.0 | ||
* AdminLte AssetBundle | ||
* @since 0.1 | ||
*/ | ||
class AppAsset extends AssetBundle | ||
{ | ||
public $basePath = '@webroot'; | ||
public $baseUrl = '@web'; | ||
public $sourcePath = '@backend/assets'; | ||
public $css = [ | ||
'css/site.css', | ||
'css/AdminLTE.min.css', | ||
'css/site.css' | ||
]; | ||
public $js = [ | ||
// 'js/site.js' | ||
'js/app.min.js', | ||
'plugins/slimScroll/jquery.slimscroll.min.js' | ||
]; | ||
public $depends = [ | ||
// 'yii\web\YiiAsset', | ||
// 'yii\bootstrap\BootstrapAsset', | ||
'common\assets\FontAwesomeAsset', | ||
'yii\web\YiiAsset', | ||
'yii\bootstrap\BootstrapAsset', | ||
'yii\bootstrap\BootstrapPluginAsset', | ||
]; | ||
|
||
/** | ||
* @var string|bool Choose skin color, eg. `'skin-blue'` or set `false` to disable skin loading | ||
* @see https://almsaeedstudio.com/themes/AdminLTE/documentation/index.html#layout | ||
*/ | ||
public $skin = '_all-skins'; | ||
|
||
/** | ||
* @inheritdoc | ||
*/ | ||
public function init() | ||
{ | ||
// Append skin color file if specified | ||
if ($this->skin) { | ||
if (('_all-skins' !== $this->skin) && (strpos($this->skin, 'skin-') !== 0)) { | ||
throw new Exception('Invalid skin specified'); | ||
} | ||
|
||
$this->css[] = sprintf('css/skins/%s.min.css', $this->skin); | ||
} | ||
|
||
parent::init(); | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
/* | ||
* Skin: Blue | ||
* ---------- | ||
*/ | ||
.skin-blue .main-header .navbar { | ||
background-color: #526bbe; | ||
} | ||
.skin-blue .main-header .navbar .nav > li > a { | ||
color: #ffffff; | ||
} | ||
.skin-blue .main-header .navbar .nav > li > a:hover, | ||
.skin-blue .main-header .navbar .nav > li > a:active, | ||
.skin-blue .main-header .navbar .nav > li > a:focus, | ||
.skin-blue .main-header .navbar .nav .open > a, | ||
.skin-blue .main-header .navbar .nav .open > a:hover, | ||
.skin-blue .main-header .navbar .nav .open > a:focus, | ||
.skin-blue .main-header .navbar .nav > .active > a { | ||
background: rgba(0, 0, 0, 0.1); | ||
color: #f6f6f6; | ||
} | ||
.skin-blue .main-header .navbar .sidebar-toggle { | ||
color: #ffffff; | ||
} | ||
.skin-blue .main-header .navbar .sidebar-toggle:hover { | ||
color: #f6f6f6; | ||
background: rgba(0, 0, 0, 0.1); | ||
} | ||
.skin-blue .main-header .navbar .sidebar-toggle { | ||
color: #fff; | ||
} | ||
.skin-blue .main-header .navbar .sidebar-toggle:hover { | ||
background-color: #384d94; | ||
} | ||
@media (max-width: 767px) { | ||
.skin-blue .main-header .navbar .dropdown-menu li.divider { | ||
background-color: rgba(255, 255, 255, 0.1); | ||
} | ||
.skin-blue .main-header .navbar .dropdown-menu li a { | ||
color: #fff; | ||
} | ||
.skin-blue .main-header .navbar .dropdown-menu li a:hover { | ||
background: #384d94; | ||
} | ||
} | ||
.skin-blue .main-header .logo { | ||
background-color: #384d94; | ||
color: #ffffff; | ||
border-bottom: 0 solid transparent; | ||
} | ||
.skin-blue .main-header .logo:hover { | ||
background-color: #526bbe; | ||
} | ||
.skin-blue .main-header li.user-header { | ||
background-color: #526bbe; | ||
} | ||
.skin-blue .content-header { | ||
background: transparent; | ||
} | ||
.skin-blue .wrapper, | ||
.skin-blue .main-sidebar, | ||
.skin-blue .left-side { | ||
background-color: #222d32; | ||
} | ||
.skin-blue .user-panel > .info, | ||
.skin-blue .user-panel > .info > a { | ||
color: #fff; | ||
} | ||
.skin-blue .sidebar-menu > li.header { | ||
color: #4b646f; | ||
background: #1a2226; | ||
} | ||
.skin-blue .sidebar-menu > li > a { | ||
border-left: 3px solid transparent; | ||
} | ||
.skin-blue .sidebar-menu > li:hover > a, | ||
.skin-blue .sidebar-menu > li.active > a { | ||
color: #ffffff; | ||
background: #1e282c; | ||
border-left-color: #526bbe; | ||
} | ||
.skin-blue .sidebar-menu > li > .treeview-menu { | ||
margin: 0 1px; | ||
background: #2c3b41; | ||
} | ||
.skin-blue .sidebar a { | ||
color: #b8c7ce; | ||
} | ||
.skin-blue .sidebar a:hover { | ||
text-decoration: none; | ||
} | ||
.skin-blue .treeview-menu > li > a { | ||
color: #8aa4af; | ||
} | ||
.skin-blue .treeview-menu > li.active > a, | ||
.skin-blue .treeview-menu > li > a:hover { | ||
color: #ffffff; | ||
} | ||
.skin-blue .sidebar-form { | ||
border-radius: 3px; | ||
border: 1px solid #374850; | ||
margin: 10px 10px; | ||
} | ||
.skin-blue .sidebar-form input[type="text"], | ||
.skin-blue .sidebar-form .btn { | ||
box-shadow: none; | ||
background-color: #374850; | ||
border: 1px solid transparent; | ||
height: 35px; | ||
-webkit-transition: all 0.3s ease-in-out; | ||
-o-transition: all 0.3s ease-in-out; | ||
transition: all 0.3s ease-in-out; | ||
} | ||
.skin-blue .sidebar-form input[type="text"] { | ||
color: #666; | ||
border-top-left-radius: 2px; | ||
border-top-right-radius: 0; | ||
border-bottom-right-radius: 0; | ||
border-bottom-left-radius: 2px; | ||
} | ||
.skin-blue .sidebar-form input[type="text"]:focus, | ||
.skin-blue .sidebar-form input[type="text"]:focus + .input-group-btn .btn { | ||
background-color: #fff; | ||
color: #666; | ||
} | ||
.skin-blue .sidebar-form input[type="text"]:focus + .input-group-btn .btn { | ||
border-left-color: #fff; | ||
} | ||
.skin-blue .sidebar-form .btn { | ||
color: #999; | ||
border-top-left-radius: 0; | ||
border-top-right-radius: 2px; | ||
border-bottom-right-radius: 2px; | ||
border-bottom-left-radius: 0; | ||
} | ||
.skin-blue.layout-top-nav .main-header > .logo { | ||
background-color:#384d94; | ||
color: #ffffff; | ||
border-bottom: 0 solid transparent; | ||
} | ||
.skin-blue.layout-top-nav .main-header > .logo:hover { | ||
background-color:#526bbe; | ||
} |
Oops, something went wrong.