This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from justcoded/develop
Upgrade to Bootstrap4
- Loading branch information
Showing
39 changed files
with
813 additions
and
632 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 |
---|---|---|
|
@@ -26,6 +26,7 @@ tests/_support/_generated | |
|
||
# env files | ||
.env | ||
public/.htaccess | ||
|
||
# extension dev files | ||
/ext |
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
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
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,21 @@ | ||
<?php | ||
|
||
namespace app\assets; | ||
|
||
use yii\bootstrap4\BootstrapAsset; | ||
use yii\web\YiiAsset; | ||
|
||
class FontAwesomeAsset extends \yii\web\AssetBundle | ||
{ | ||
public $sourcePath = '@vendor/almasaeed2010/adminlte/plugins/fontawesome-free/'; | ||
|
||
public $css = [ | ||
'css/all.min.css', | ||
]; | ||
|
||
public $js = [ | ||
]; | ||
|
||
public $depends = [ | ||
]; | ||
} |
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,119 +1,81 @@ | ||
html, | ||
body { | ||
height: 100%; | ||
height: 100%; | ||
} | ||
|
||
.wrap { | ||
min-height: 100%; | ||
height: auto; | ||
margin: 0 auto -60px; | ||
padding: 0 0 60px; | ||
min-height: 100%; | ||
height: auto; | ||
margin: 0 auto -60px; | ||
padding: 0 0 60px; | ||
} | ||
|
||
.wrap > .container { | ||
padding: 70px 15px 20px; | ||
padding: 20px 15px 20px; | ||
} | ||
|
||
.footer { | ||
height: 60px; | ||
background-color: #f5f5f5; | ||
border-top: 1px solid #ddd; | ||
padding-top: 20px; | ||
height: 60px; | ||
background-color: #f5f5f5; | ||
border-top: 1px solid #ddd; | ||
padding-top: 20px; | ||
} | ||
|
||
.jumbotron { | ||
text-align: center; | ||
background-color: transparent; | ||
text-align: center; | ||
background-color: transparent; | ||
} | ||
|
||
.jumbotron .btn { | ||
font-size: 21px; | ||
padding: 14px 24px; | ||
font-size: 21px; | ||
padding: 14px 24px; | ||
} | ||
|
||
.not-set { | ||
color: #c55; | ||
font-style: italic; | ||
color: #c55; | ||
font-style: italic; | ||
} | ||
|
||
/* add sorting icons to gridview sort links */ | ||
a.asc:after, a.desc:after { | ||
position: relative; | ||
top: 1px; | ||
display: inline-block; | ||
font-family: 'Glyphicons Halflings'; | ||
font-style: normal; | ||
font-weight: normal; | ||
line-height: 1; | ||
padding-left: 5px; | ||
thead:first-child > tr:first-child a { | ||
position: absolute; | ||
bottom: 0px; | ||
right: 8px; | ||
display: block; | ||
font-family: 'Font Awesome 5 Free'; | ||
opacity: 0.7; | ||
color: #333; | ||
} | ||
|
||
a.asc:after { | ||
content: /*"\e113"*/ "\e151"; | ||
} | ||
|
||
a.desc:after { | ||
content: /*"\e114"*/ "\e152"; | ||
} | ||
|
||
.sort-numerical a.asc:after { | ||
content: "\e153"; | ||
} | ||
|
||
.sort-numerical a.desc:after { | ||
content: "\e154"; | ||
thead:first-child > tr:first-child a:after { | ||
content: "\f0dc"; | ||
opacity: 0.2; | ||
} | ||
|
||
.sort-ordinal a.asc:after { | ||
content: "\e155"; | ||
thead:first-child > tr:first-child a.asc:after { | ||
content: "\f0dd"; | ||
} | ||
|
||
.sort-ordinal a.desc:after { | ||
content: "\e156"; | ||
thead:first-child > tr:first-child a.desc:after { | ||
content: "\f0de"; | ||
} | ||
|
||
.grid-view th { | ||
white-space: nowrap; | ||
white-space: nowrap; | ||
} | ||
|
||
.hint-block { | ||
display: block; | ||
margin-top: 5px; | ||
color: #999; | ||
display: block; | ||
margin-top: 5px; | ||
color: #999; | ||
} | ||
|
||
.error-summary { | ||
color: #a94442; | ||
background: #fdf7f7; | ||
border-left: 3px solid #eed3d7; | ||
padding: 10px 20px; | ||
margin: 0 0 15px 0; | ||
} | ||
|
||
/* align the logout "link" (button in form) of the navbar */ | ||
.nav li > form > button.logout { | ||
padding: 15px; | ||
border: none; | ||
} | ||
|
||
@media(max-width:767px) { | ||
.nav li > form > button.logout { | ||
display:block; | ||
text-align: left; | ||
width: 100%; | ||
padding: 10px 15px; | ||
} | ||
} | ||
|
||
.nav > li > form > button.logout:focus, | ||
.nav > li > form > button.logout:hover { | ||
text-decoration: none; | ||
color: #a94442; | ||
background: #fdf7f7; | ||
border-left: 3px solid #eed3d7; | ||
padding: 10px 20px; | ||
margin: 0 0 15px 0; | ||
} | ||
|
||
.nav > li > form > button.logout:focus { | ||
outline: none; | ||
} | ||
.permissions { | ||
font-size: 16px; | ||
cursor: pointer; | ||
font-size: 16px; | ||
cursor: pointer; | ||
} |
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
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 |
---|---|---|
|
@@ -11,7 +11,6 @@ class Module extends \yii\base\Module | |
*/ | ||
public $layout = 'main'; | ||
|
||
|
||
/** | ||
* @inheritdoc | ||
*/ | ||
|
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,30 @@ | ||
<?php | ||
|
||
namespace app\modules\admin\assets; | ||
|
||
use yii\bootstrap4\BootstrapAsset; | ||
use yii\bootstrap4\BootstrapPluginAsset; | ||
use yii\jui\JuiAsset; | ||
use yii\web\JqueryAsset; | ||
use yii\web\YiiAsset; | ||
|
||
class AdminLteAsset extends \yii\web\AssetBundle | ||
{ | ||
public $sourcePath = '@vendor/almasaeed2010/adminlte/dist/'; | ||
|
||
public $css = [ | ||
'css/adminlte.css', | ||
]; | ||
|
||
public $js = [ | ||
'js/adminlte.js', | ||
]; | ||
|
||
public $depends = [ | ||
YiiAsset::class, | ||
JqueryAsset::class, | ||
JuiAsset::class, | ||
BootstrapAsset::class, | ||
BootstrapPluginAsset::class, | ||
]; | ||
} |
This file was deleted.
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.