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
0b8e1b47
Commit
0b8e1b47
authored
May 27, 2019
by
Александр Чаплыгин
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Подсветка статусов у заказов в интерфейсе
parent
8a376776
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
4 deletions
+33
-4
styles-feeds-stat.css
src/public/css/styles-feeds-stat.css
+29
-0
cabinet-feed.phtml
src/templates/app/user/cabinet-feed.phtml
+4
-4
No files found.
src/public/css/styles-feeds-stat.css
View file @
0b8e1b47
...
...
@@ -205,6 +205,21 @@ input[type="checkbox"]
{
display
:
table-row
;
}
table
.table-striped.admin.transactions
.transaction-item.approved
td
.OrderID
a
{
color
:
#009444
;
}
table
.table-striped.admin.transactions
.transaction-item.confirmed
td
.OrderID
a
{
color
:
#337AB7
;
}
table
.table-striped.admin.transactions
.transaction-item.rejected
td
.OrderID
a
{
color
:
#D9534F
;
}
.table.table-striped.admin
thead
.metric.sortable
tr
b
{
...
...
@@ -518,6 +533,20 @@ input[type="checkbox"]
padding
:
0
5px
;
}
.b-filter__switch.category-orders
.b-filter__switch-item.approved
{
color
:
#009444
;
}
.b-filter__switch.category-orders
.b-filter__switch-item.confirmed
{
color
:
#337AB7
;
}
.b-filter__switch.category-orders
.b-filter__switch-item.rejected
{
color
:
#D9534F
;
}
.click-history-info
...
...
src/templates/app/user/cabinet-feed.phtml
View file @
0b8e1b47
...
...
@@ -175,10 +175,10 @@ if (!$error) {
<?php
if
(
$current_report
==
'transactions'
)
:
?>
<?php
/* Переключатель статусов заказов */
?>
<div
class=
"b-filter__switch category-orders"
>
<span
class=
"b-filter__switch-item text m-filter__switch-item_active"
data-order-category=
"all"
>
<?=
_t
(
'Все'
)
?>
</span>
<span
class=
"b-filter__switch-item text"
data-order-category=
"approved"
>
<?=
_t
(
'Согласованны'
)
?>
</span>
<span
class=
"b-filter__switch-item text"
data-order-category=
"confirmed"
>
<?=
_t
(
'Приняты'
)
?>
</span>
<span
class=
"b-filter__switch-item text"
data-order-category=
"rejected"
>
<?=
_t
(
'Отклонены'
)
?>
</span>
<span
class=
"b-filter__switch-item text
all
m-filter__switch-item_active"
data-order-category=
"all"
>
<?=
_t
(
'Все'
)
?>
</span>
<span
class=
"b-filter__switch-item text
approved
"
data-order-category=
"approved"
>
<?=
_t
(
'Согласованны'
)
?>
</span>
<span
class=
"b-filter__switch-item text
confirmed
"
data-order-category=
"confirmed"
>
<?=
_t
(
'Приняты'
)
?>
</span>
<span
class=
"b-filter__switch-item text
rejected
"
data-order-category=
"rejected"
>
<?=
_t
(
'Отклонены'
)
?>
</span>
</div>
<?php
endif
?>
...
...
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