Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
eb7ffc8e
Commit
eb7ffc8e
authored
Aug 28, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new asset WIP
parent
171e84ab
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
26 deletions
+11
-26
BootstrapAsset.php
extensions/bootstrap/BootstrapAsset.php
+1
-2
BootstrapPluginAsset.php
extensions/bootstrap/BootstrapPluginAsset.php
+1
-2
BootstrapThemeAsset.php
extensions/bootstrap/BootstrapThemeAsset.php
+1
-2
DebugAsset.php
extensions/debug/DebugAsset.php
+2
-3
GiiAsset.php
extensions/gii/GiiAsset.php
+6
-17
No files found.
extensions/bootstrap/BootstrapAsset.php
View file @
eb7ffc8e
...
@@ -17,8 +17,7 @@ use yii\web\AssetBundle;
...
@@ -17,8 +17,7 @@ use yii\web\AssetBundle;
*/
*/
class
BootstrapAsset
extends
AssetBundle
class
BootstrapAsset
extends
AssetBundle
{
{
public
$sourcePath
=
'@vendor/twbs/bootstrap/dist'
;
public
$css
=
[
public
$css
=
[
'css/bootstrap.css'
,
'
bootstrap/dist/
css/bootstrap.css'
,
];
];
}
}
extensions/bootstrap/BootstrapPluginAsset.php
View file @
eb7ffc8e
...
@@ -17,9 +17,8 @@ use yii\web\AssetBundle;
...
@@ -17,9 +17,8 @@ use yii\web\AssetBundle;
*/
*/
class
BootstrapPluginAsset
extends
AssetBundle
class
BootstrapPluginAsset
extends
AssetBundle
{
{
public
$sourcePath
=
'@vendor/twbs/bootstrap/dist'
;
public
$js
=
[
public
$js
=
[
'js/bootstrap.js'
,
'
bootstrap/dist/
js/bootstrap.js'
,
];
];
public
$depends
=
[
public
$depends
=
[
'yii\web\JqueryAsset'
,
'yii\web\JqueryAsset'
,
...
...
extensions/bootstrap/BootstrapThemeAsset.php
View file @
eb7ffc8e
...
@@ -17,9 +17,8 @@ use yii\web\AssetBundle;
...
@@ -17,9 +17,8 @@ use yii\web\AssetBundle;
*/
*/
class
BootstrapThemeAsset
extends
AssetBundle
class
BootstrapThemeAsset
extends
AssetBundle
{
{
public
$sourcePath
=
'@vendor/twbs/bootstrap/dist'
;
public
$css
=
[
public
$css
=
[
'css/bootstrap-theme.css'
,
'
bootstrap/dist/
css/bootstrap-theme.css'
,
];
];
public
$depends
=
[
public
$depends
=
[
'yii\bootstrap\BootstrapAsset'
,
'yii\bootstrap\BootstrapAsset'
,
...
...
extensions/debug/DebugAsset.php
View file @
eb7ffc8e
...
@@ -17,10 +17,9 @@ use yii\web\AssetBundle;
...
@@ -17,10 +17,9 @@ use yii\web\AssetBundle;
*/
*/
class
DebugAsset
extends
AssetBundle
class
DebugAsset
extends
AssetBundle
{
{
public
$sourcePath
=
'@yii/debug/assets'
;
public
$css
=
[
public
$css
=
[
'main.css'
,
'
yii2-debug\assets\
main.css'
,
'toolbar.css'
,
'
yii2-debug\assets\
toolbar.css'
,
];
];
public
$depends
=
[
public
$depends
=
[
'yii\web\YiiAsset'
,
'yii\web\YiiAsset'
,
...
...
extensions/gii/GiiAsset.php
View file @
eb7ffc8e
...
@@ -17,27 +17,16 @@ use yii\web\AssetBundle;
...
@@ -17,27 +17,16 @@ use yii\web\AssetBundle;
*/
*/
class
GiiAsset
extends
AssetBundle
class
GiiAsset
extends
AssetBundle
{
{
/**
* @inheritdoc
*/
public
$sourcePath
=
'@yii/gii/assets'
;
/**
* @inheritdoc
*/
public
$css
=
[
public
$css
=
[
'main.css'
,
'
yii2-gii/assets/
main.css'
,
'typeahead.js-bootstrap.css'
,
//
'typeahead.js-bootstrap.css',
];
];
/**
* @inheritdoc
*/
public
$js
=
[
public
$js
=
[
'gii.js'
,
'
yii2-gii/assets/
gii.js'
,
'typeahead.js'
,
'typeahead.js
/dist/typeahead.jquery.js
'
,
];
];
/**
* @inheritdoc
*/
public
$depends
=
[
public
$depends
=
[
'yii\web\YiiAsset'
,
'yii\web\YiiAsset'
,
'yii\bootstrap\BootstrapAsset'
,
'yii\bootstrap\BootstrapAsset'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment