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
599eb5cd
Commit
599eb5cd
authored
Mar 07, 2019
by
john
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2949
parent
72f6a5c3
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
3244 additions
and
17 deletions
+3244
-17
common/modules/documentation/assets/DocumentationAsset.php
common/modules/documentation/assets/DocumentationAsset.php
+9
-3
common/modules/documentation/assets/src/css/documentation.css
...on/modules/documentation/assets/src/css/documentation.css
+0
-0
common/modules/documentation/assets/src/css/editormd.css
common/modules/documentation/assets/src/css/editormd.css
+0
-0
common/modules/documentation/assets/src/css/generator.css
common/modules/documentation/assets/src/css/generator.css
+33
-0
common/modules/documentation/assets/src/css/images/icon_info_2.png
...dules/documentation/assets/src/css/images/icon_info_2.png
+0
-0
common/modules/documentation/assets/src/css/images/icon_video.png
...odules/documentation/assets/src/css/images/icon_video.png
+0
-0
common/modules/documentation/assets/src/css/responsive.css
common/modules/documentation/assets/src/css/responsive.css
+484
-0
common/modules/documentation/assets/src/css/style.css
common/modules/documentation/assets/src/css/style.css
+2706
-0
common/modules/documentation/assets/src/css/styles.css
common/modules/documentation/assets/src/css/styles.css
+0
-0
common/modules/documentation/assets/src/css/vendor.min.css
common/modules/documentation/assets/src/css/vendor.min.css
+0
-0
common/modules/documentation/assets/src/js/documentation.js
common/modules/documentation/assets/src/js/documentation.js
+0
-0
common/modules/documentation/views/page/view.php
common/modules/documentation/views/page/view.php
+8
-10
frontend/web/.htaccess
frontend/web/.htaccess
+4
-4
No files found.
frontend
/assets/DocumentationAsset.php
→
common/modules/documentation
/assets/DocumentationAsset.php
View file @
599eb5cd
<?php
namespace
frontend
\assets
;
namespace
common\modules\documentation
\assets
;
use
yii\web\AssetBundle
;
...
...
@@ -10,9 +10,15 @@ use yii\web\AssetBundle;
class
DocumentationAsset
extends
AssetBundle
{
public
$basePath
=
'@webroot'
;
public
$baseUrl
=
'@web'
;
public
$sourcePath
=
'@common/modules/documentation/assets/src'
;
// public $basePath = '@webroot';
// public $baseUrl = '@web';
public
$css
=
[
'css/generator.css'
,
'css/style.css'
,
'css/responsive.css'
,
"css/editormd.css"
,
"css/vendor.min.css"
,
"css/styles.css"
,
...
...
frontend/web
/css/documentation.css
→
common/modules/documentation/assets/src
/css/documentation.css
View file @
599eb5cd
File moved
frontend/web
/css/editormd.css
→
common/modules/documentation/assets/src
/css/editormd.css
View file @
599eb5cd
File moved
common/modules/documentation/assets/src/css/generator.css
0 → 100644
View file @
599eb5cd
._sidebar_form_response_hidden
{
display
:
none
!important
;
}
#_sidebar_form_response
{
min-height
:
100px
;
background
:
#ffffff
;
margin-bottom
:
25px
;
border-radius
:
3px
;
padding-top
:
35px
;
}
#_sidebar_form_response
span
{
display
:
block
;
color
:
#a94442
;
text-align
:
center
;
padding
:
0
20px
;
}
/*.form_wr.radio_like_result.hidden{*/
/*display: none;*/
/*}*/
.keys_list_bl
{
background
:
#fff
;
/*padding-top: 56px;*/
}
.faq_sec
{
width
:
100%
;
background
:
#fff
;
}
common/modules/documentation/assets/src/css/images/icon_info_2.png
0 → 100644
View file @
599eb5cd
1.66 KB
common/modules/documentation/assets/src/css/images/icon_video.png
0 → 100644
View file @
599eb5cd
1.52 KB
common/modules/documentation/assets/src/css/responsive.css
0 → 100644
View file @
599eb5cd
/*==================================RESPONSIVE LAYOUTS===============================================*/
@media
only
screen
and
(
max-width
:
1500px
)
{
.crystal_3
,
.crystal_2
,
.crystal_1
{
overflow
:
hidden
;
}
.crystal_1
{
position
:
absolute
;
width
:
120px
;
top
:
-50px
;
}
.crystal_2
{
position
:
absolute
;
width
:
160px
;
top
:
240px
;
}
.crystal_3
{
position
:
absolute
;
width
:
180px
;
top
:
130px
;
}
.crystal_3
img
{
float
:
right
;
}
/* ------------------------------------------------
12. Rates
------------------------------------------------ */
.rates_td
.help_pop_up
{
right
:
auto
;
top
:
30px
;
left
:
0
;
-webkit-transform
:
translate
(
0
,
0
);
-ms-transform
:
translate
(
0
,
0
);
-o-transform
:
translate
(
0
,
0
);
transform
:
translate
(
0
,
0
);
}
}
@media
only
screen
and
(
max-width
:
1290px
){
.crystal_3
,
.crystal_2
,
.crystal_1
{
display
:
none
;
}
}
@media
only
screen
and
(
max-width
:
971px
)
{
body
{
min-width
:
768px
;}
.logo
{
margin-top
:
15px
!important
;
}
.menu
{
display
:
block
;
}
header
.top_nav
,
header
.lang_check
,
header
.top_phone
{
display
:
none
;
}
a
.logo
{
margin-top
:
1px
;
}
header
{
padding
:
0
;
min-height
:
60px
;
}
.geentxt
span
{
font-size
:
30px
;
}
.horizontal_tab
.resp-tabs-list
li
{
padding
:
15px
;
}
.btn_green
{
font-size
:
18px
;
line-height
:
18px
;
}
.sentence_plas
{
margin
:
0
;
}
.sentence
{
margin-bottom
:
20px
;
}
.doc_cont
.doc_line
{
right
:
247px
;
}
.doc_cont
span
{
padding-top
:
3px
;
font-size
:
11px
;
line-height
:
13px
;
display
:
inline-block
;
}
.doc_poz_4_img
,
.doc_line_4
{
display
:
none
;
}
.doc_line_5
{
right
:
315px
;
}
.doc_line_5_next
{
right
:
315px
;
}
.doc_line_16
{
right
:
390px
;
}
.vertical_tab
.resp-tabs-list
li
span
{
font-size
:
12px
;
}
.vertical_tab
.resp-tabs-list
{
margin-top
:
50px
!important
;
}
.graph_box_text_1
{
right
:
75px
;
}
.graph_box_text_2
{
right
:
285px
;
top
:
32px
;
}
.graph_box_1
:after
,
.graph_box_3
:after
{
display
:
none
;
}
.graph_box_2
h4
{
padding-top
:
40px
;
}
.server_box
img
{
margin-left
:
0
;
margin-bottom
:
10px
;
}
.server_or
{
left
:
180px
;
}
.server_box
{
font-size
:
16px
;
}
.sample_box
{
display
:
none
;
}
.footer_info
{
margin-top
:
20px
;
}
.footer_security
{
margin-top
:
20px
;
}
.top_phone
{
display
:
block
;
}
.footer_nav
{
display
:
none
;
}
.form_message_1
{
padding-top
:
20px
;
}
.box_4
{
min-height
:
auto
;
}
/* ------------------------------------------------
12. Rates
------------------------------------------------ */
.rates_td
{
font-size
:
14px
;
}
}
@media
only
screen
and
(
max-width
:
767px
)
{
body
{
min-width
:
420px
;}
.geentxt
span
{
display
:
block
;
margin-bottom
:
0
;
text-align
:
center
;
margin-top
:
-1px
;
line-height
:
44px
;
}
.bluetext
span
{
display
:
block
;
margin-bottom
:
0
;
text-align
:
center
;
margin-top
:
-1px
;
font-size
:
30px
;
line-height
:
44px
;
}
.video_box
{
max-width
:
none
;
}
.resp-tab-content
{
margin-bottom
:
0
;
}
.horizontal_tab
{
margin-bottom
:
30px
!important
;
}
.btn_green
{
max-width
:
270px
;
font-size
:
20px
;
line-height
:
34px
;
display
:
block
;
margin
:
0
auto
;
margin-bottom
:
15px
;
}
.btn_1
{
float
:
none
;
width
:
120px
;
margin
:
0
auto
;
margin-top
:
25px
;
display
:
block
;
}
.doc_cont
{
display
:
none
;
}
.doc_box_img
{
position
:
relative
;
text-align
:
center
;
margin
:
0
auto
;
}
.doc_box_img
>
img
{
max-width
:
100%
;
height
:
auto
;
}
.doc_title
{
margin-left
:
0
;
position
:
relative
;
left
:
50%
;
-webkit-transform
:
translate
(
-50%
,
0
);
-ms-transform
:
translate
(
-50%
,
0
);
-o-transform
:
translate
(
-50%
,
0
);
transform
:
translate
(
-50%
,
0
);
}
.vertical_tab
.img_box
,
.vertical_tab
.resp-tab-content
{
padding
:
10px
;
}
.graph_box_1
span
{
font-size
:
12px
;
}
.graph_box_text_1
{
right
:
0
;
top
:
-5px
;
}
.graph_box_text_2
{
right
:
80px
;
top
:
20px
;
}
.graph_box_2
img
,
.graph_box_3
img
{
float
:
none
;
max-width
:
100%
;
height
:
auto
;
}
.graph_box_2
h4
{
padding-top
:
20px
;
padding-left
:
0
;
display
:
block
;
}
.box_3
{
padding
:
50px
0
;
}
.box_3
h2
{
margin-bottom
:
30px
;
}
.server_box
.img_box
{
margin-bottom
:
0
;
}
.server_box
{
width
:
400px
;
margin
:
0
auto
;
margin-bottom
:
20px
;
}
.server_text_1
{
padding-right
:
100px
;
}
.btn_pink
{
max-width
:
270px
;
font-size
:
20px
;
line-height
:
33px
;
display
:
block
;
margin
:
0
auto
;
margin-bottom
:
15px
;
}
.box_5_arrow
{
display
:
none
;
}
.box_5
{
padding-top
:
55px
;
}
.form_message_1
{
padding-top
:
0px
;
padding-bottom
:
20px
;
}
footer
{
text-align
:
center
;
}
footer
.top_phone
,
footer
.footer_mail
{
float
:
none
;
margin-top
:
20px
;
}
.footer_bottom
{
padding-top
:
0
;
}
.zvonok_bt
{
margin
:
20px
auto
;
}
.social_link
{
display
:
inline-block
;
}
.vertical_tab
{
padding-bottom
:
30px
;
}
.graph_box_2
{
margin-top
:
-50px
;
}
.reference_box
:after
{
display
:
none
;
}
.form_wr
{
margin-bottom
:
20px
;
}
.reference_right_box
,
.reference_left_box
{
padding
:
0
;
}
.reference_right_box
{
background-color
:
#e8eaec
;
padding
:
20px
;
margin-bottom
:
40px
;
border-radius
:
5px
;
}
/* ------------------------------------------------
12. Rates
------------------------------------------------ */
.rates_table
{
display
:
block
;
}
.rates_tr
{
display
:
none
;
}
.rates_td
{
display
:
block
;
width
:
100%
;
border
:
1px
solid
#acacac
;
background-color
:
#fff
!important
;
}
.rates_td_title
{
display
:
none
;
}
.rates_td_img
{
height
:
170px
;
}
.rates_tr_top
{
display
:
block
;
}
.btn_rates_open
{
display
:
block
;
}
.rates_top_img
{
right
:
auto
;
left
:
0
;
}
}
@media
only
screen
and
(
max-width
:
479px
)
{
body
{
min-width
:
300px
;}
.box_2
{
padding
:
35px
0
;
}
.doc_box_img
{
left
:
0
;
}
h2
{
font-family
:
"RobotoBold"
;
font-size
:
26px
;
line-height
:
35px
;
}
h3
{
font-family
:
"RobotoBold"
;
font-size
:
22px
;
line-height
:
32px
;
}
.graph_box_1
span
{
font-size
:
10px
;
line-height
:
12px
;
}
.graph_box_text_1
{
top
:
-15px
;
}
.graph_box_text_2
{
right
:
50px
;
top
:
9px
;
}
.graph_box_2
{
margin-top
:
-20px
;
margin-bottom
:
35px
;
}
.server_box
{
width
:
auto
;
}
.server_box
span
{
display
:
none
;
}
.box_4
{
padding
:
35px
0
;
}
.box_5
{
padding-top
:
35px
;
}
.popup
{
width
:
250px
;
padding
:
20px
;
}
.popup_bt_send
{
width
:
210px
;
}
.top_line_inf
li
a
{
padding
:
10px
;
}
.video_box
>*
{
min-height
:
240px
}
.graph_box_12
span
{
font-size
:
13px
;
}
.resp-arrow
{
margin-top
:
12px
;
}
/* ------------------------------------------------
12. Rates
------------------------------------------------ */
.rates_table
{
margin-bottom
:
50px
;
}
.rates_td
.help_pop_up
{
width
:
230px
;
}
.description_box
.rates_td
{
padding
:
8px
3px
;
}
.description_box
.rates_td
:first-child
{
width
:
60%
;
}
.bluetext_2
span
{
font-size
:
40px
;
line-height
:
55px
;
}
.darktext
span
{
font-size
:
30px
;
line-height
:
55px
;
}
.rates_top_title_poz
{
padding-top
:
150px
;
}
}
\ No newline at end of file
common/modules/documentation/assets/src/css/style.css
0 → 100644
View file @
599eb5cd
This diff is collapsed.
Click to expand it.
frontend/web
/css/styles.css
→
common/modules/documentation/assets/src
/css/styles.css
View file @
599eb5cd
File moved
frontend/web
/css/vendor.min.css
→
common/modules/documentation/assets/src
/css/vendor.min.css
View file @
599eb5cd
File moved
frontend/web
/js/documentation.js
→
common/modules/documentation/assets/src
/js/documentation.js
View file @
599eb5cd
File moved
common/modules/documentation/views/page/view.php
View file @
599eb5cd
<?php
use
yii\widgets\Pjax
;
use
frontend
\assets\DocumentationAsset
;
use
common\modules\documentation
\assets\DocumentationAsset
;
use
execut\widget\TreeView
;
use
yii\web\JsExpression
;
use
common\modules\documentation\models\DocList
;
...
...
@@ -24,7 +24,7 @@ $ml = $model->lang;
<li
class=
"active"
>
<a
href=
"faq.html"
>
<span
class=
"icon_info_2"
>
</span>
Справка
</a>
</span>
Документация
</a>
</li>
</ul>
</div>
...
...
@@ -34,7 +34,10 @@ $ml = $model->lang;
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"way"
>
<a
href=
"index.html"
>
Главная
</a>
<span>
|
</span>
Справка
<br>
<br>
<div
class=
"way"
>
<a
href=
"/"
>
Главная
</a>
<span>
|
</span>
Документация
<span>
|
</span>
<?php
echo
$ml
->
name
?>
</div>
</div>
</div>
...
...
@@ -71,13 +74,6 @@ $ml = $model->lang;
<!-- Widget Categories-->
<section
class=
"widget widget-categories"
>
<h3
class=
"widget-title text-muted"
>
Разделы документации
</h3>
<ul>
<li><a
href=
"#"
>
Что такое платформа Taskon
</a></li>
<li><a
href=
"#"
>
Используемые технологии в Taskon
</a></li>
<li><a
href=
"#"
>
Что такое платформа Taskon? 0 0 1
</a></li>
<li><a
href=
"#"
>
Требования к серверу
</a></li>
<li><a
href=
"#"
>
Установка платформы Taskon
</a></li>
</ul>
<?php
$data
=
$modelDocList
->
getParentListForContent
(
$model
->
list
);
$onSelect
=
new
JsExpression
(
<<<JS
...
...
@@ -142,3 +138,5 @@ JS
</div>
</div>
</div>
<?=
$this
->
render
(
'@app/views/layouts/footer'
)
?>
\ No newline at end of file
frontend/web/.htaccess
View file @
599eb5cd
...
...
@@ -5,17 +5,17 @@ RewriteCond %{HTTP_HOST} ^www.task-on\.com$ [NC]
RewriteRule
^(.*)$ http://task-on.com/$1 [R=301,L]
RewriteCond
%{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule
^index\.php$ http
s
://task-on.com/ [R=301,L]
RewriteRule
^index\.php$ http://task-on.com/ [R=301,L]
RewriteCond
%{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule
^(.*)$ http://%1/$1 [R=301,L]
RewriteCond
%{HTTP
S
}
off
RewriteRule
(.*) http
s
://%{HTTP_HOST}%{REQUEST_URI} [R,L]
RewriteCond
%{HTTP}
off
RewriteRule
(.*) http://%{HTTP_HOST}%{REQUEST_URI} [R,L]
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteCond
%{REQUEST_URI} ^(.+)/$
RewriteRule
^(.+)/$ http
s
://task-on.com/$1 [R=301,L]
RewriteRule
^(.+)/$ http://task-on.com/$1 [R=301,L]
Redirect
301 /portfolio/appl /portfolio
...
...
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