FEATURE: add tag to homepage in overview
This commit is contained in:
+4
@@ -2770,3 +2770,7 @@ span a {
|
||||
@media (max-width: 767px) {
|
||||
.header .header-block-nav .profile-dropdown-menu {
|
||||
margin-top: 8px; } }
|
||||
|
||||
.tag-primary {
|
||||
background-color: #52BCD3;
|
||||
}
|
||||
+4
@@ -2770,3 +2770,7 @@ span a {
|
||||
@media (max-width: 767px) {
|
||||
.header .header-block-nav .profile-dropdown-menu {
|
||||
margin-top: 8px; } }
|
||||
|
||||
.tag-primary {
|
||||
background-color: #59c2e6;
|
||||
}
|
||||
+4
@@ -2770,3 +2770,7 @@ span a {
|
||||
@media (max-width: 767px) {
|
||||
.header .header-block-nav .profile-dropdown-menu {
|
||||
margin-top: 8px; } }
|
||||
|
||||
.tag-primary {
|
||||
background-color: #85CE36;
|
||||
}
|
||||
+4
@@ -2770,3 +2770,7 @@ span a {
|
||||
@media (max-width: 767px) {
|
||||
.header .header-block-nav .profile-dropdown-menu {
|
||||
margin-top: 8px; } }
|
||||
|
||||
.tag-primary {
|
||||
background-color: #fe821d;
|
||||
}
|
||||
|
||||
+4
@@ -2770,3 +2770,7 @@ span a {
|
||||
@media (max-width: 767px) {
|
||||
.header .header-block-nav .profile-dropdown-menu {
|
||||
margin-top: 8px; } }
|
||||
|
||||
.tag-primary {
|
||||
background-color: #7867A7;
|
||||
}
|
||||
|
||||
+4
@@ -2770,3 +2770,7 @@ span a {
|
||||
@media (max-width: 767px) {
|
||||
.header .header-block-nav .profile-dropdown-menu {
|
||||
margin-top: 8px; } }
|
||||
|
||||
.tag-primary {
|
||||
background-color: #FF6161;
|
||||
}
|
||||
+4
@@ -2770,3 +2770,7 @@ span a {
|
||||
@media (max-width: 767px) {
|
||||
.header .header-block-nav .profile-dropdown-menu {
|
||||
margin-top: 8px; } }
|
||||
|
||||
.tag-primary {
|
||||
background-color: #4bcf99;
|
||||
}
|
||||
|
||||
Vendored
+4
@@ -2883,3 +2883,7 @@ pre {
|
||||
@media (max-width: 767px) {
|
||||
.header .header-block-nav .profile-dropdown-menu {
|
||||
margin-top: 8px; } }
|
||||
|
||||
.tag-primary {
|
||||
background-color: #85CE36;
|
||||
}
|
||||
+3
-9
@@ -14375,7 +14375,9 @@ img {
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.m-l-10 {
|
||||
margin-left: 10px;
|
||||
}
|
||||
.m-t-15 {
|
||||
margin-top: 15px;
|
||||
}
|
||||
@@ -14452,14 +14454,6 @@ a.tag:focus, a.tag:hover {
|
||||
background-color: #687077;
|
||||
}
|
||||
|
||||
.tag-primary {
|
||||
background-color: #0275d8;
|
||||
}
|
||||
|
||||
.tag-primary[href]:focus, .tag-primary[href]:hover {
|
||||
background-color: #025aa5;
|
||||
}
|
||||
|
||||
.tag-success {
|
||||
background-color: #5cb85c;
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ return [
|
||||
'edit' => 'Edit :name',
|
||||
'editPlain' => 'Edit',
|
||||
'content' => 'Page content',
|
||||
'homepage' => 'Homepage',
|
||||
'save' => 'Save page',
|
||||
'basicInfo' => 'Basic information',
|
||||
'metaOptions' => 'Meta information',
|
||||
@@ -54,5 +55,5 @@ return [
|
||||
'moduleName' => 'Module',
|
||||
'actions' => 'Actions',
|
||||
'invalidTemplateSelected' => 'Invalid template selected! This page cannot be rendered!',
|
||||
'deleteTitlePhoto' => 'Delete title photo'
|
||||
'deleteTitlePhoto' => 'Delete title photo'
|
||||
];
|
||||
@@ -32,7 +32,7 @@
|
||||
<div class="col-xs-2 col-lg-1">@lang('admin/contents.actions')</div>
|
||||
</div>
|
||||
@foreach($pages as $page)
|
||||
<div class="row p-tb-15 @if($page->is_homepage) bold @endif">
|
||||
<div class="row p-tb-15">
|
||||
<div class="col-md-1 hidden-sm-down text-center with-placeholder">
|
||||
<a href="{{route('content.edit', ['id' => $page->id])}}">
|
||||
@if(!view()->exists(\App\Helpers\Template::name($page->template, false)))
|
||||
@@ -54,6 +54,8 @@
|
||||
<a href="{{route('content.edit', ['id' => $page->id])}}">
|
||||
{{$page->title}}
|
||||
</a>
|
||||
|
||||
@if($page->is_homepage) <span class="m-l-10 tag tag-primary">@lang('admin/contents.homepage')</span> @endif
|
||||
</div>
|
||||
<div class="col-lg-2 col-md-3 hidden-sm-down">
|
||||
<span class="tag @if($page->status == \App\Models\Content::STATUS_PUBLIC) tag-success
|
||||
|
||||
Reference in New Issue
Block a user