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