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
e7a6ec4a
Commit
e7a6ec4a
authored
Apr 16, 2020
by
Александр Чаплыгин
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
добавил стили для плашки
parent
5fa9287a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
styles-amsystem.css
src/public/css/styles-amsystem.css
+11
-1
campaign_item.phtml
src/templates/app/user/amsystem/campaign_item.phtml
+1
-1
No files found.
src/public/css/styles-amsystem.css
View file @
e7a6ec4a
...
...
@@ -42,7 +42,17 @@
background-color
:
#2E6DA4
;
}
.campaign-in-archive
{
margin-left
:
10px
;
padding
:
6px
12px
;
line-height
:
12px
;
color
:
#fff
;
background-color
:
#d9534f
;
border-color
:
#d43f3a
;
border-radius
:
4px
;
}
/* Стили из админки */
input
[
type
=
"checkbox"
],
input
[
type
=
"radio"
]
...
...
src/templates/app/user/amsystem/campaign_item.phtml
View file @
e7a6ec4a
...
...
@@ -158,7 +158,7 @@ if (!$error) {
<input
type=
"checkbox"
id=
"campaign-active"
name=
"campaign-active"
<?php
if
(
$campaign_active
)
:
?>
checked
<?php
endif
;
?>
<?php
if
(
$campaign_archive
)
:
?>
disabled
<?php
endif
;
?>
>
<label
class=
"title-field"
for=
"campaign-active"
>
Кампания активна
</label>
<?php
if
(
$campaign_archive
)
:
?>
<
i
style=
"color: #D33E3D"
>
(кампания в архиве)
</i
>
<
span
class=
"campaign-in-archive"
>
<?=
_t
(
'в архиве'
)
?>
</span
>
<?php
endif
;
?>
</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