Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
addcpm-json
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Александр Чаплыгин
addcpm-json
Commits
15918c4c
Commit
15918c4c
authored
Mar 21, 2019
by
Александр Чаплыгин
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Завел переключатель отчетов в кабинете
parent
1becf33b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
0 deletions
+51
-0
styles-feeds-stat.css
src/public/css/styles-feeds-stat.css
+42
-0
cabinet-feed.phtml
src/templates/app/user/cabinet-feed.phtml
+9
-0
No files found.
src/public/css/styles-feeds-stat.css
View file @
15918c4c
...
@@ -403,3 +403,44 @@ input[type="checkbox"]
...
@@ -403,3 +403,44 @@ input[type="checkbox"]
display
:
none
;
display
:
none
;
}
}
.b-filter__switch
{
display
:
-ms-flexbox
;
display
:
-webkit-flex
;
display
:
flex
;
}
.display.b-filter__switch
{
max-width
:
670px
;
}
.display.b-filter__switch.metric-cat
{
max-width
:
none
;
}
.b-filter__switch-item
{
height
:
40px
;
min-width
:
75px
;
padding
:
0
15px
;
white-space
:
nowrap
;
text-align
:
center
;
font-size
:
0.7rem
;
line-height
:
36px
;
border
:
1px
solid
#E6E6E6
;
border-left
:
none
;
background-color
:
#FFFFFF
;
color
:
#383838
;
cursor
:
pointer
;
transition
:
color
0.2s
ease
,
background-color
0.2s
ease
;
}
.b-filter__switch-item
:first-child
{
border-radius
:
5px
0
0
5px
;
border
:
1px
solid
#E6E6E6
;
}
.b-filter__switch-item
:last-child
{
border-radius
:
0
5px
5px
0
;
border
:
1px
solid
#E6E6E6
;
border-left
:
none
;
}
.m-filter__switch-item_active.b-filter__switch-item
{
background-color
:
#E6E6E6
;
}
\ No newline at end of file
src/templates/app/user/cabinet-feed.phtml
View file @
15918c4c
...
@@ -135,6 +135,15 @@ if (!$error) {
...
@@ -135,6 +135,15 @@ if (!$error) {
</div>
</div>
</div>
</div>
<div
class=
"b-filter__switch display"
>
<?php
foreach
(
$reports_list
as
$report_name
=>
$report_title
)
:
?>
<?php
/* ?>
<a href="<?= $this->url('user.cabinet', ['lang' => $this->lang, 'report' => $report_name]) ?>" <?php if($current_report == $report_name): ?>class="current"<?php endif; ?> report="<?= $report_name ?>"><?= _t($report_title) ?></a>
<?php */
?>
<span
class=
"b-filter__switch-item text
<?php
if
(
$current_report
==
$report_name
)
:
?>
m-filter__switch-item_active
<?php
endif
;
?>
"
>
<?=
_t
(
$report_title
)
?>
</span>
<?php
endforeach
;
?>
</div>
<?php
/* Выбор дат */
?>
<?php
/* Выбор дат */
?>
<span
class=
"b-feeds-stat_controls-period"
>
<span
class=
"b-feeds-stat_controls-period"
>
<div
style=
"display:inline-block;"
>
Дата:
</div>
<div
style=
"display:inline-block;"
>
Дата:
</div>
...
...
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