добавил стили для плашки

parent 5fa9287a
...@@ -42,7 +42,17 @@ ...@@ -42,7 +42,17 @@
background-color: #2E6DA4; 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="checkbox"],
input[type="radio"] input[type="radio"]
......
...@@ -158,7 +158,7 @@ if (!$error) { ...@@ -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; ?>> <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> <label class="title-field" for="campaign-active">Кампания активна</label>
<?php if($campaign_archive): ?> <?php if($campaign_archive): ?>
<i style="color: #D33E3D">(кампания в архиве)</i> <span class="campaign-in-archive"><?= _t('в архиве')?></span>
<?php endif; ?> <?php endif; ?>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment