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
8d822bd5
Commit
8d822bd5
authored
Apr 18, 2016
by
Shakarim Sapa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Remove assets
parent
c470eb4e
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
1891 deletions
+0
-1891
common/modules/analyticsSchool/assets/WidgetAssetBundle.php
common/modules/analyticsSchool/assets/WidgetAssetBundle.php
+0
-27
common/modules/analyticsSchool/assets/css/school.css
common/modules/analyticsSchool/assets/css/school.css
+0
-101
common/modules/analyticsSchool/assets/css/style_add.css
common/modules/analyticsSchool/assets/css/style_add.css
+0
-283
common/modules/analyticsSchool/assets/js/jquery.form.js
common/modules/analyticsSchool/assets/js/jquery.form.js
+0
-1277
common/modules/analyticsSchool/assets/js/school.js
common/modules/analyticsSchool/assets/js/school.js
+0
-203
No files found.
common/modules/analyticsSchool/assets/WidgetAssetBundle.php
deleted
100644 → 0
View file @
c470eb4e
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace
common\modules\school\assets
;
use
yii\web\AssetBundle
;
/**
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class
WidgetAssetBundle
extends
AssetBundle
{
public
$sourcePath
=
'@common/modules/school/assets'
;
public
$css
=
[
'css/school.css'
,
'css/style_add.css'
,
];
public
$js
=
[
'js/school.js'
,
'js/jquery.form.js'
,
];
}
common/modules/analyticsSchool/assets/css/school.css
deleted
100644 → 0
View file @
c470eb4e
.les_list_top
{
background
:
none
;
}
.empty-text
{
margin-bottom
:
30px
;
}
.row
li
{
list-style
:
none
;
}
.teltext-block
{
margin-top
:
-40px
;
margin-bottom
:
15px
;
color
:
#698387
;
font-size
:
14px
;
}
a
.submit_form_reg
,
a
.submit_form_reg_popup
,
a
.submit_form_login
,
a
.submit_form_login_popup
{
text-decoration
:
none
;
}
.errors-reg
,
.errors-reg_popup
,
.errors_login
,
.errors_login_popup
{
color
:
#ff5b57
;
margin-bottom
:
10px
;
}
.sh_kurs
.alert
{
margin-top
:
10px
;
margin-bottom
:
10px
;
}
.sh_bt_send
{
padding-top
:
20px
;
margin
:
0px
;
}
.popup_text
{
font-size
:
13px
;
color
:
#698387
;
line-height
:
24px
;
display
:
block
;
margin-bottom
:
10px
;
}
a
.login_form_link
,
a
.login_form_popup_link
,
a
.reg_popup_link
,
a
.reg_form_link
{
margin-top
:
20px
;
display
:
block
;
}
.mfp-container
{
height
:
auto
;
}
.kurs_img
img
{
height
:
100%
;
}
.soc_item
.fa
,
.fbicon
:before
,
.gplusicon
:before
{
margin-top
:
10px
;
}
.popup_bt_send
{
padding-top
:
16px
;
margin-left
:
0px
;
}
.registration_form
input
:not
(
:last-child
)
{
margin-bottom
:
7px
;
}
.registration_form
.form-group
{
margin-bottom
:
7px
!important
;
}
.input_st
{
margin-bottom
:
12px
!important
;
}
.button_social
{
margin-top
:
-10px
;
}
img
.play_img
{
width
:
85px
;
height
:
auto
;
top
:
50%
;
left
:
50%
;
position
:
absolute
;
cursor
:
pointer
;
}
.ytb_video
img
{
cursor
:
pointer
;
}
.lessons-block
:before
,
.lessons-block
:after
{
display
:
table
;
content
:
" "
;
}
a
.ls_block_title
{
overflow
:
hidden
;
height
:
105px
;
}
.ls_block_btn
{
margin-top
:
10px
;
}
.ls_likes
{
margin-bottom
:
20px
;
}
.ls_likes_y_choice
{
background
:
#00CF56
;
color
:
#fff
;
text-decoration
:
none
;
}
.ls_likes_n_choice
{
background
:
#F26363
;
color
:
#fff
;
text-decoration
:
none
;
}
\ No newline at end of file
common/modules/analyticsSchool/assets/css/style_add.css
deleted
100644 → 0
View file @
c470eb4e
.clear
{
clear
:
both
;
}
.support_form
{
width
:
760px
;
padding
:
30px
;
padding-bottom
:
40px
;
color
:
#525252
;
}
.popup_2
.popup__title
{
font-size
:
38px
;
font-weight
:
bold
;
color
:
#344555
;
text-align
:
left
;
}
.support_form_left
{
width
:
45%
;
float
:
left
;
padding-right
:
15px
;
}
.support_form_right
{
width
:
55%
;
float
:
right
;
padding-left
:
15px
;
}
.popup_2
p
{
font-size
:
17px
;
color
:
#525252
;
line-height
:
22px
;
font-weight
:
400
;
}
.support_form
.support_block__link_pv
{
margin-top
:
10px
;
}
.popup_2
input
:not
([
type
=
"radio"
])
:not
([
type
=
"checkbox"
])
{
border-radius
:
10px
;
-moz-border-radius
:
10px
;
-webkit-border-radius
:
10px
;
-o-border-radius
:
10px
;
-ms-border-radius
:
10px
;
width
:
100%
;
}
.popup_2
input
{
margin-bottom
:
10px
;
}
.popup_2
input
:not
(
:last-child
)
{
margin-bottom
:
30px
;
}
.popup_2
.checkbox
:not
(
checked
)
+
label
{
position
:
relative
;
padding
:
6px
0px
0px
28px
;
margin-bottom
:
30px
;
}
.popup_2
label
{
margin-bottom
:
10px
;
}
.support_form_left2
{
float
:
left
;
width
:
50%
;
padding-right
:
15px
;
}
.support_form_right2
{
float
:
right
;
width
:
50%
;
padding-left
:
15px
;
margin-bottom
:
30px
;
}
.popup_2
.sect_cont_form__textarea
{
background-color
:
#f1f1f1
;
height
:
170px
;
width
:
100%
;
line-height
:
24px
;
resize
:
none
;
}
.file-upload_block_cs2
{
height
:
170px
;
background-color
:
#f8f8f8
;
padding-top
:
30px
;
border
:
2px
solid
#f1f1f1
;
border-radius
:
10px
;
-moz-border-radius
:
10px
;
-webkit-border-radius
:
10px
;
-o-border-radius
:
10px
;
-ms-border-radius
:
10px
;
}
.file-upload_block_cs2
.filename_cs
{
background-color
:
#f8f8f8
;
margin-bottom
:
0px
!important
;
}
.button-lg
{
padding-left
:
30px
;
padding-right
:
30px
;
width
:
auto
;
}
.blog_form
{
width
:
820px
;
padding
:
30px
;
padding-bottom
:
40px
;
color
:
#525252
;
}
.blog_form_left
{
width
:
280px
;
float
:
left
;
padding-right
:
18px
;
}
.blog_form_right
{
width
:
340px
;
float
:
left
;
font-size
:
15px
;
}
.blog_form_right
p
{
font-size
:
15px
;
}
.blog_lmg
{
float
:
right
;
}
.blog_form_2
{
width
:
670px
;
padding
:
30px
;
padding-bottom
:
40px
;
color
:
#525252
;
}
.blog_form_left50
{
float
:
left
;
width
:
50%
;
padding-right
:
15px
;
}
.blog_form_right50
{
float
:
right
;
width
:
50%
;
padding-left
:
15px
;
}
.registration_form
{
width
:
940px
;
padding
:
0
;
color
:
#525252
;
}
.popup__title2
{
display
:
block
;
background-color
:
#3a4447
;
padding
:
30px
;
font-size
:
25px
;
line-height
:
30px
;
color
:
#fff
;
-moz-border-radius
:
6px
6px
0
0
;
-webkit-border-radius
:
6px
6px
0
0
;
-o-border-radius
:
6px
6px
0
0
;
-ms-border-radius
:
6px
6px
0
0
;
margin-top
:
-1px
;
}
.validreg_form2
{
padding
:
30px
;
}
.registration_form
.mfp-close
{
color
:
#fff
;
}
.registration_form_left
{
width
:
40%
;
float
:
left
;
padding-right
:
15px
;
}
.registration_form_right
{
width
:
60%
;
float
:
right
;
padding-left
:
15px
;
}
.save-button-lg
{
height
:
60px
;
font-size
:
24px
;
margin-bottom
:
30px
;
}
.popup__title3
{
font-size
:
25px
;
line-height
:
27px
;
font-weight
:
bold
;
margin-bottom
:
18px
;
display
:
block
;
}
.registration_form
p
{
font-size
:
16px
;
color
:
#3c4755
;
line-height
:
27px
;
font-weight
:
400
;
}
.registration_form
input
:not
([
type
=
"radio"
])
:not
([
type
=
"checkbox"
]),
select
.input_st
{
width
:
100%
;
}
.registration_form
input
:not
(
:last-child
)
{
margin-bottom
:
20px
;
}
.red_text
{
color
:
#bb6e6e
;
}
.registration_form_img
img
{
width
:
100%
;
}
.registration_form2
{
width
:
700px
;
}
.registration_form_left50
{
float
:
left
;
width
:
50%
;
padding-right
:
35px
;
}
.registration_form_right50
{
float
:
right
;
width
:
50%
;
padding-left
:
35px
;
}
.button_social
a
:hover
{
opacity
:
0.8
;
}
.input_st_wr
{
padding
:
0
10px
;
background
:
#F5F5F5
;
border-radius
:
50px
;
-moz-border-radius
:
50px
;
-webkit-border-radius
:
50px
;
-o-border-radius
:
50px
;
-ms-border-radius
:
50px
;
margin-bottom
:
20px
;
}
.input_st_wr
.input_st
{
margin
:
0
;
}
@media
only
screen
and
(
max-width
:
992px
)
{
.registration_form
,
.blog_form_2
,
.blog_form
,
.support_form
{
width
:
100%
;
height
:
auto
;
}
.popup_2
.popup__title
{
font-size
:
32px
;
}
}
@media
only
screen
and
(
max-width
:
820px
)
{
.blog_lmg
{
display
:
none
;
}
}
@media
only
screen
and
(
max-width
:
767px
)
{
.form_resp
{
float
:
none
;
width
:
100%
;
padding-left
:
0
;
padding-right
:
0
;
}
.support_form_right
{
margin-bottom
:
20px
;
}
}
@media
only
screen
and
(
max-width
:
479px
)
{
.popup_2
.popup__title
{
font-size
:
22px
;
}
.blog_form_right
{
width
:
100%
;
}
}
.button_social
p
img
{
margin-bottom
:
5px
;
}
\ No newline at end of file
common/modules/analyticsSchool/assets/js/jquery.form.js
deleted
100644 → 0
View file @
c470eb4e
This diff is collapsed.
Click to expand it.
common/modules/analyticsSchool/assets/js/school.js
deleted
100644 → 0
View file @
c470eb4e
// prepare the form when the DOM is ready
$
(
document
).
ready
(
function
()
{
var
options
=
{
beforeSubmit
:
showRequest
,
// pre-submit callback
success
:
showResponse
,
// post-submit callback
// other available options:
url
:
'
/users/user/registration
'
,
// override for form's 'action' attribute
dataType
:
'
json
'
// 'xml', 'script', or 'json' (expected server response type)
};
var
optionsPopup
=
{
beforeSubmit
:
showRequest
,
// pre-submit callback
success
:
showResponsePopup
,
// post-submit callback
// other available options:
url
:
'
/users/user/registration
'
,
// override for form's 'action' attribute
dataType
:
'
json
'
// 'xml', 'script', or 'json' (expected server response type)
};
var
optionsLogin
=
{
beforeSubmit
:
showRequest
,
// pre-submit callback
success
:
showResponseLogin
,
// post-submit callback
// other available options:
url
:
'
/site/login
'
,
// override for form's 'action' attribute
dataType
:
'
json
'
// 'xml', 'script', or 'json' (expected server response type)
};
var
optionsLoginPopup
=
{
beforeSubmit
:
showRequest
,
// pre-submit callback
success
:
showResponseLoginPopup
,
// post-submit callback
// other available options:
url
:
'
/site/login
'
,
// override for form's 'action' attribute
dataType
:
'
json
'
// 'xml', 'script', or 'json' (expected server response type)
};
// bind to the form's submit event
$
(
'
#login_form_popup
'
).
submit
(
function
()
{
$
(
this
).
ajaxSubmit
(
optionsLoginPopup
);
return
false
;
});
// bind to the form's submit event
$
(
'
#login_form
'
).
submit
(
function
()
{
$
(
'
.errors_login
'
).
html
(
''
);
$
(
this
).
ajaxSubmit
(
optionsLogin
);
return
false
;
});
// bind to the form's submit event
$
(
'
#sh_reg_form
'
).
submit
(
function
()
{
$
(
this
).
ajaxSubmit
(
options
);
return
false
;
});
// bind to the form's submit event
$
(
'
#reg_form_popup
'
).
submit
(
function
()
{
$
(
this
).
ajaxSubmit
(
optionsPopup
);
return
false
;
});
$
(
"
.submit_form_reg
"
).
on
(
'
click
'
,
function
()
{
$
(
'
#sh_reg_form
'
).
ajaxSubmit
(
options
);
return
false
;
});
$
(
"
.submit_form_reg_popup
"
).
on
(
'
click
'
,
function
()
{
$
(
'
#reg_form_popup
'
).
ajaxSubmit
(
optionsPopup
);
return
false
;
});
$
(
"
.submit_form_login_popup
"
).
on
(
'
click
'
,
function
()
{
$
(
'
#login_form_popup
'
).
ajaxSubmit
(
optionsLoginPopup
);
return
false
;
});
$
(
"
.submit_form_login
"
).
on
(
'
click
'
,
function
()
{
$
(
'
#login_form
'
).
ajaxSubmit
(
optionsLogin
);
return
false
;
});
$
(
"
.login_form_link
"
).
on
(
'
click
'
,
function
()
{
$
(
'
#login_form
'
).
show
();
$
(
'
#sh_reg_form
'
).
hide
();
});
$
(
"
.login_form_popup_link
"
).
on
(
'
click
'
,
function
()
{
$
(
'
#login_form_popup
'
).
show
();
$
(
'
#reg_form_popup
'
).
hide
();
});
$
(
"
.reg_popup_link
"
).
on
(
'
click
'
,
function
()
{
$
(
'
#reg_form_popup
'
).
show
();
$
(
'
#login_form_popup
'
).
hide
();
});
$
(
"
.reg_form_link
"
).
on
(
'
click
'
,
function
()
{
$
(
'
#sh_reg_form
'
).
show
();
$
(
'
#login_form
'
).
hide
();
});
$
(
'
body
'
).
on
(
'
click
'
,
'
.call_form_reg
'
,
function
(){
link
=
$
(
this
);
title
=
'
Регистрация на курс <br>
'
+
link
.
data
(
'
title
'
);
spec_propotion
=
link
.
data
(
'
spec
'
);
$
(
'
.popup__title2
'
).
html
(
title
);
if
(
spec_propotion
){
$
(
'
.spec_propotition
'
).
show
();
}
else
{
$
(
'
.spec_propotition
'
).
hide
();
}
});
$
(
'
body
'
).
on
(
'
click
'
,
'
a.ls_likes_y
'
,
function
(){
link
=
$
(
this
);
courseId
=
link
.
data
(
'
course
'
);
if
(
!
link
.
hasClass
(
"
ls_likes_y_choice
"
)
)
{
jQuery
.
ajax
({
type
:
'
POST
'
,
url
:
"
/school/likes-course/like-course
"
,
dataType
:
"
html
"
,
data
:
{
'
courseId
'
:
courseId
},
success
:
function
(
data
){
jQuery
(
'
.ls_likes
'
).
html
(
data
);
}
});
}
});
$
(
'
body
'
).
on
(
'
click
'
,
'
a.ls_likes_n
'
,
function
(){
link
=
$
(
this
);
courseId
=
link
.
data
(
'
course
'
);
if
(
!
link
.
hasClass
(
"
ls_likes_n_choice
"
))
{
jQuery
.
ajax
({
type
:
'
POST
'
,
url
:
"
/school/likes-course/unlike-course
"
,
data
:
{
'
courseId
'
:
courseId
},
dataType
:
"
html
"
,
success
:
function
(
data
){
jQuery
(
'
.ls_likes
'
).
html
(
data
);
}
});
}
});
});
// pre-submit callback
function
showRequest
(
formData
,
jqForm
,
options
)
{
var
queryString
=
$
.
param
(
formData
);
return
true
;
}
// post-submit callback
function
showResponse
(
responseText
,
statusText
,
xhr
,
$form
)
{
$
(
'
.errors-reg
'
).
html
(
''
);
if
(
responseText
.
errors
){
$
.
each
(
responseText
.
errors
,
function
(
key
,
value
)
{
$
(
'
.errors-reg
'
).
append
(
value
+
'
<br>
'
);
$
(
'
#sh_reg_form .field-user-
'
+
key
).
addClass
(
'
has-error
'
);
});
}
else
{
$
(
'
#sh_reg_form
'
).
html
(
'
<div class="alert alert-block alert-success">Регистрация успешно завершена.</div>
'
);
}
}
// post-submit callback
function
showResponsePopup
(
responseText
,
statusText
,
xhr
,
$form
)
{
$
(
'
.errors-reg_popup
'
).
html
(
''
);
if
(
responseText
.
errors
){
$
.
each
(
responseText
.
errors
,
function
(
key
,
value
)
{
$
(
'
.errors-reg_popup
'
).
append
(
value
+
'
<br>
'
);
$
(
'
#reg_form_popup .field-user-
'
+
key
).
addClass
(
'
has-error
'
);
});
}
else
{
$
(
'
#sh_reg_form
'
).
html
(
'
<div class="alert alert-block alert-success">Регистрация успешно завершена.</div>
'
);
$
(
'
#reg_form_popup
'
).
html
(
'
<div class="alert alert-block alert-success">Регистрация успешно завершена.</div>
'
);
}
}
// post-submit callback
function
showResponseLogin
(
responseText
,
statusText
,
xhr
,
$form
)
{
$
(
'
.errors_login
'
).
html
(
''
);
if
(
responseText
.
errors
){
$
.
each
(
responseText
.
errors
,
function
(
key
,
value
)
{
$
(
'
.errors_login
'
).
append
(
value
+
'
<br>
'
);
$
(
'
#login_form .field-loginform-
'
+
key
).
addClass
(
'
has-error
'
);
});
}
}
// post-submit callback
function
showResponseLoginPopup
(
responseText
,
statusText
,
xhr
,
$form
)
{
$
(
'
.errors_login_popup
'
).
html
(
''
);
if
(
responseText
.
errors
){
$
.
each
(
responseText
.
errors
,
function
(
key
,
value
)
{
$
(
'
.errors_login_popup
'
).
append
(
value
+
'
<br>
'
);
$
(
'
#login_form_popup .field-loginform-
'
+
key
).
addClass
(
'
has-error
'
);
});
}
}
\ 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