Skip to content

Commit

Permalink
Merge pull request #1 from iiYii/forecho
Browse files Browse the repository at this point in the history
基础版界面ok
  • Loading branch information
forecho committed May 22, 2015
2 parents c53c641 + 2528628 commit 4bb43df
Show file tree
Hide file tree
Showing 47 changed files with 138 additions and 4,158 deletions.
15 changes: 9 additions & 6 deletions backend/assets/AdminLteAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@

class AdminLteAsset extends AssetBundle
{
public $sourcePath = '@vendor/bower/adminlte/dist';
public $sourcePath = '@vendor/bower/adminlte';
public $css = [
'css/AdminLTE.min.css',
'css/skins/_all-skins.min.css'
'dist/css/AdminLTE.css',
'plugins/morris/morris.css',
'dist/css/skins/_all-skins.min.css'
];
public $js = [
'js/app.min.js'
'plugins/morris/morris.js',
'plugins/iCheck/icheck.js',
'plugins/slimScroll/jquery.slimscroll.js',
'dist/js/app.js'
];
public $depends = [
'backend\assets\AppAsset',
'rmrevin\yii\fontawesome\AssetBundle',
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset',
];
}
2 changes: 1 addition & 1 deletion backend/assets/AppAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ class AppAsset extends AssetBundle
];
public $depends = [
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset',
'yii\bootstrap\BootstrapPluginAsset',
];
}
14 changes: 2 additions & 12 deletions backend/config/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,14 @@
'basePath' => dirname(__DIR__),
'controllerNamespace' => 'backend\controllers',
'bootstrap' => ['log'],
'modules' => [
'rbac' => [
'class' => 'backend\modules\rbac\Module',
],
'srbac' => [
'class' => 'backend\modules\srbac\SrbacModule',
],
],
'modules' => [],
'components' => [
'authManager' => [
'class' => '\yii\rbac\DbManager',
],
'user' => [
'identityClass' => 'common\models\User',
'enableAutoLogin' => true,
],
'log' => [
//'traceLevel' => YII_DEBUG ? 3 : 0,
'traceLevel' => YII_DEBUG ? 3 : 0,
'targets' => [
[
'class' => 'yii\log\FileTarget',
Expand Down
15 changes: 0 additions & 15 deletions backend/modules/rbac/Module.php

This file was deleted.

41 changes: 0 additions & 41 deletions backend/modules/rbac/controllers/DefaultController.php

This file was deleted.

12 changes: 0 additions & 12 deletions backend/modules/rbac/views/default/index.php

This file was deleted.

54 changes: 0 additions & 54 deletions backend/modules/srbac/README.MD

This file was deleted.

18 changes: 0 additions & 18 deletions backend/modules/srbac/SrbacModule.php

This file was deleted.

80 changes: 0 additions & 80 deletions backend/modules/srbac/common.css

This file was deleted.

14 changes: 0 additions & 14 deletions backend/modules/srbac/config.php

This file was deleted.

Loading

0 comments on commit 4bb43df

Please sign in to comment.