Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
6b9fd9a1
Commit
6b9fd9a1
authored
Feb 10, 2016
by
Олег Гиммельшпах
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix js
parent
5a5b71c3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
14 deletions
+13
-14
backend/assets/AppAsset.php
backend/assets/AppAsset.php
+6
-1
backend/assets/HeadAsset.php
backend/assets/HeadAsset.php
+6
-2
backend/views/layouts/blank.php
backend/views/layouts/blank.php
+0
-5
backend/views/layouts/head.php
backend/views/layouts/head.php
+0
-4
backend/views/layouts/main.php
backend/views/layouts/main.php
+0
-1
backend/views/site/login.php
backend/views/site/login.php
+1
-1
No files found.
backend/assets/AppAsset.php
View file @
6b9fd9a1
...
@@ -29,8 +29,13 @@ class AppAsset extends AssetBundle
...
@@ -29,8 +29,13 @@ class AppAsset extends AssetBundle
'plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js'
,
'plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js'
,
'plugins/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.ru.js'
,
'plugins/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.ru.js'
,
'plugins/tinymce/js/tinymce/tinymce.min.js'
,
'plugins/tinymce/js/tinymce/tinymce.min.js'
,
'js/form-load.js'
];
];
public
$depends
=
[
public
$depends
=
[
'yii\web\JqueryAsset'
,
'yii\jui\JuiAsset'
,
'yii\bootstrap\BootstrapAsset'
,
'yii\bootstrap\BootstrapPluginAsset'
,
'backend\assets\HeadAsset'
];
];
}
}
backend/assets/HeadAsset.php
View file @
6b9fd9a1
...
@@ -22,15 +22,19 @@ class HeadAsset extends AssetBundle
...
@@ -22,15 +22,19 @@ class HeadAsset extends AssetBundle
public
$js
=
[
public
$js
=
[
'plugins/switchery/switchery.min.js'
,
'plugins/switchery/switchery.min.js'
,
'plugins/powerange/powerange.min.js'
,
'plugins/powerange/powerange.min.js'
,
'plugins/pace/pace.min.js'
,
'js/form-slider-switcher.demo.min.js'
,
'js/form-slider-switcher.demo.min.js'
,
'js/apps.min.js'
,
'js/packages/adminBaseClasses/buttonSet.js'
,
'js/packages/adminBaseClasses/buttonSet.js'
,
'js/packages/adminBaseClasses/gridBase.js'
,
'js/packages/adminBaseClasses/gridBase.js'
,
'js/apps.min.js'
,
];
];
public
$jsOptions
=
[
public
$jsOptions
=
[
'position'
=>
\yii\web\View
::
POS_HEAD
'position'
=>
\yii\web\View
::
POS_HEAD
];
];
public
$depends
=
[
public
$depends
=
[
'yii\web\JqueryAsset'
,
'yii\jui\JuiAsset'
,
'yii\bootstrap\BootstrapAsset'
,
'yii\bootstrap\BootstrapPluginAsset'
,
];
];
}
}
backend/views/layouts/blank.php
View file @
6b9fd9a1
...
@@ -54,11 +54,6 @@ AppAsset::register($this);
...
@@ -54,11 +54,6 @@ AppAsset::register($this);
<?php
$this
->
endBody
()
?>
<?php
$this
->
endBody
()
?>
<?php
<?php
$this
->
registerJsFile
(
'/plugins/jquery/jquery-1.9.1.js'
,
[
'position'
=>
\yii\web\View
::
POS_END
]);
$this
->
registerJsFile
(
'/plugins/jquery/jquery-migrate-1.1.0.js'
,
[
'position'
=>
\yii\web\View
::
POS_END
]);
$this
->
registerJsFile
(
'/plugins/jquery-ui/ui/minified/jquery-ui.min.js'
,
[
'position'
=>
\yii\web\View
::
POS_END
]);
$this
->
registerJsFile
(
'/plugins/bootstrap/js/bootstrap.min.js'
,
[
'position'
=>
\yii\web\View
::
POS_END
]);
$this
->
registerJsFile
(
'/js/yii.activeForm.js'
,
[
'position'
=>
\yii\web\View
::
POS_END
]);
$this
->
registerJsFile
(
'/plugins/jquery/jquery-1.9.1.js'
,
[
'position'
=>
\yii\web\View
::
POS_HEAD
]);
$this
->
registerJsFile
(
'/plugins/jquery/jquery-1.9.1.js'
,
[
'position'
=>
\yii\web\View
::
POS_HEAD
]);
$this
->
registerJsFile
(
'/plugins/jquery/jquery-migrate-1.1.0.js'
,
[
'position'
=>
\yii\web\View
::
POS_HEAD
]);
$this
->
registerJsFile
(
'/plugins/jquery/jquery-migrate-1.1.0.js'
,
[
'position'
=>
\yii\web\View
::
POS_HEAD
]);
...
...
backend/views/layouts/head.php
View file @
6b9fd9a1
...
@@ -16,7 +16,3 @@
...
@@ -16,7 +16,3 @@
<?php
$this
->
registerCssFile
(
'/plugins/gritter/css/jquery.gritter.css'
,
[
'position'
=>
\yii\web\View
::
POS_HEAD
]);
?>
<?php
$this
->
registerCssFile
(
'/plugins/gritter/css/jquery.gritter.css'
,
[
'position'
=>
\yii\web\View
::
POS_HEAD
]);
?>
<?php
$this
->
registerCssFile
(
'/plugins/DataTables/css/data-table.css'
,
[
'position'
=>
\yii\web\View
::
POS_HEAD
]);
?>
<?php
$this
->
registerCssFile
(
'/plugins/DataTables/css/data-table.css'
,
[
'position'
=>
\yii\web\View
::
POS_HEAD
]);
?>
<?php
$this
->
registerJsFile
(
'/plugins/pace/pace.min.js'
,
[
'position'
=>
\yii\web\View
::
POS_HEAD
]);
?>
<?php
$this
->
registerJsFile
(
'/js/form-load.js'
,
[
'position'
=>
\yii\web\View
::
POS_END
]);
?>
backend/views/layouts/main.php
View file @
6b9fd9a1
...
@@ -9,7 +9,6 @@ use yii\widgets\Breadcrumbs;
...
@@ -9,7 +9,6 @@ use yii\widgets\Breadcrumbs;
/* @var $content string */
/* @var $content string */
//die('-!-!-');
//die('-!-!-');
assets\AppAsset
::
register
(
$this
);
assets\AppAsset
::
register
(
$this
);
assets\HeadAsset
::
register
(
$this
);
?>
?>
<?php
$this
->
beginPage
()
?>
<?php
$this
->
beginPage
()
?>
<!DOCTYPE html>
<!DOCTYPE html>
...
...
backend/views/site/login.php
View file @
6b9fd9a1
...
@@ -119,6 +119,6 @@ $this->params['breadcrumbs'][] = $this->title;
...
@@ -119,6 +119,6 @@ $this->params['breadcrumbs'][] = $this->title;
<?php
<?php
$this
->
registerJsFile
(
'/js/login-v2.demo.min.js'
,
[
'position'
=>
\yii\web\View
::
POS_END
]);
$this
->
registerJsFile
(
'/js/login-v2.demo.min.js'
,
[
'position'
=>
\yii\web\View
::
POS_END
]);
$this
->
registerJsFile
(
'/js/apps.min.js'
,
[
'position'
=>
\yii\web\View
::
POS_END
]);
//
$this->registerJsFile('/js/apps.min.js', ['position' => \yii\web\View::POS_END ]);
$this
->
registerJs
(
'App.init();LoginV2.init();'
,
\yii\web\View
::
POS_READY
);
$this
->
registerJs
(
'App.init();LoginV2.init();'
,
\yii\web\View
::
POS_READY
);
?>
?>
\ No newline at end of file
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