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
993fccaf
Commit
993fccaf
authored
Jan 23, 2017
by
Ruslan Karimov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.task-on.com/ktask/taskoncom
parents
b393ab97
d4822c9f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
33 deletions
+48
-33
common/modules/school/assets/css/school.css
common/modules/school/assets/css/school.css
+5
-0
common/modules/school/assets/js/school.js
common/modules/school/assets/js/school.js
+34
-28
common/modules/school/controllers/CourseController.php
common/modules/school/controllers/CourseController.php
+2
-1
common/modules/school/views/course/index.php
common/modules/school/views/course/index.php
+7
-4
No files found.
common/modules/school/assets/css/school.css
View file @
993fccaf
...
...
@@ -99,3 +99,8 @@ a.ls_block_title {
color
:
#fff
;
text-decoration
:
none
;
}
.mfp-container
{
position
:
fixed
;
top
:
10%
;
}
\ No newline at end of file
common/modules/school/assets/js/school.js
View file @
993fccaf
...
...
@@ -113,6 +113,7 @@ $(document).ready(function() {
$
(
'
.spec_propotition
'
).
hide
();
}
});
$
(
'
body
'
).
on
(
'
click
'
,
'
a.ls_likes_y
'
,
function
(){
link
=
$
(
this
);
courseId
=
link
.
data
(
'
course
'
);
...
...
@@ -144,6 +145,11 @@ $(document).ready(function() {
});
}
});
$
(
'
#registration_form
'
).
magnificPopup
({
type
:
'
inline
'
,
preloader
:
false
});
});
// pre-submit callback
...
...
common/modules/school/controllers/CourseController.php
View file @
993fccaf
...
...
@@ -57,7 +57,8 @@ class CourseController extends FrontendController
//$formLogin = new \common\components\BaseForm('/common/modules/users/forms/LoginForm', $modelLogin);
$formLoginPopup = new \common\components\BaseForm('/common/modules/users/forms/LoginPopupForm', $modelLogin);*/
return
$this
->
render
(
'index'
,
[
'dataProvider'
=>
$dataProvider
,
/*'formPopup' => $formPopup->out, 'formLoginPopup' => $formLoginPopup->out*/
]);
/*'formPopup' => $formPopup->out, 'formLoginPopup' => $formLoginPopup->out*/
]);
}
public
function
actionView
(
$id
)
...
...
common/modules/school/views/course/index.php
View file @
993fccaf
...
...
@@ -4,6 +4,7 @@
//echo FacebookPlugin::widget(['appId'=>'FACEBOOK_APP_ID']);
use
common\modules\school\assets\WidgetAssetBundle
;
use
yii\web\View
;
use
common\modules\users\widgets\RegistrationWidget
;
WidgetAssetBundle
::
register
(
$this
);
...
...
@@ -90,6 +91,11 @@ WidgetAssetBundle::register($this);
</div>
</div>
</section>
<div
class=
"white-popup-block mfp-hide"
>
<?=
RegistrationWidget
::
widget
();
?>
</div>
<?php
/*if (Yii::$app->user->isGuest):?>
<section class="sh_ft">
<div class="container">
...
...
@@ -114,6 +120,3 @@ WidgetAssetBundle::register($this);
<?php endif;*/
?>
<?php
echo
$this
->
render
(
'@app/views/layouts/footer'
);
?>
\ 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