Skip to content

Commit 29beb5b

Browse files
authored
Merge pull request #76 from bvipul/master
Added Changes regarding theme erros
2 parents 41d7098 + 435bfd6 commit 29beb5b

File tree

6 files changed

+35
-20
lines changed

6 files changed

+35
-20
lines changed

app/Http/Controllers/Backend/Blogs/BlogsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class BlogsController extends Controller
2222
protected $status = [
2323
'Published' => 'Published',
2424
'Draft' => 'Draft',
25-
'Inactive' => 'Inactive',
25+
'InActive' => 'InActive',
2626
'Scheduled' => 'Scheduled',
2727
];
2828

app/Models/Access/User/Traits/Attribute/UserAttribute.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,11 @@ public function getActionButtonsByPermissionName($permissionName, $counter)
372372
return $button;
373373
}
374374

375+
public function getNameAttribute()
376+
{
377+
return $this->first_name . ' ' . $this->last_name;
378+
}
379+
375380
/**
376381
* @return string
377382
*/

config/locale.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* @var bool
1010
*/
11-
'status' => true,
11+
'status' => false,
1212

1313
/*
1414
* Available languages
@@ -29,19 +29,19 @@
2929
* Index 1 of sub-array is the PHP locale code for setlocale()
3030
* Index 2 of sub-array is whether or not to use RTL (right-to-left) css for this language
3131
*/
32-
'ar' => ['ar', 'ar_AR', true],
33-
'da' => ['da', 'da_DK', false],
34-
'de' => ['de', 'de_DE', false],
35-
'el' => ['el', 'el_GR', false],
32+
// 'ar' => ['ar', 'ar_AR', true],
33+
// 'da' => ['da', 'da_DK', false],
34+
// 'de' => ['de', 'de_DE', false],
35+
// 'el' => ['el', 'el_GR', false],
3636
'en' => ['en', 'en_US', false],
37-
'es' => ['es', 'es_ES', false],
38-
'fr' => ['fr', 'fr_FR', false],
39-
'id' => ['id', 'id_ID', false],
40-
'it' => ['it', 'it_IT', false],
41-
'nl' => ['nl', 'nl_NL', false],
42-
'pt_BR' => ['pt_BR', 'pt_BR', false],
43-
'ru' => ['ru', 'ru-RU', false],
44-
'sv' => ['sv', 'sv_SE', false],
45-
'th' => ['th', 'th_TH', false],
37+
// 'es' => ['es', 'es_ES', false],
38+
// 'fr' => ['fr', 'fr_FR', false],
39+
// 'id' => ['id', 'id_ID', false],
40+
// 'it' => ['it', 'it_IT', false],
41+
// 'nl' => ['nl', 'nl_NL', false],
42+
// 'pt_BR' => ['pt_BR', 'pt_BR', false],
43+
// 'ru' => ['ru', 'ru-RU', false],
44+
// 'sv' => ['sv', 'sv_SE', false],
45+
// 'th' => ['th', 'th_TH', false],
4646
],
4747
];

public/css/custom-style.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
-ms-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
1010
-o-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
1111
}
12+
.box.box-info {
13+
border-top-color: var(--theme-co);
14+
}
1215

1316
.box-header {
1417
padding: 15px 10px;
@@ -219,13 +222,13 @@ textarea.form-control { max-width: 100%; min-height: 50px; }
219222
.control-group { display: block; text-align: left; padding: 0; margin: 3px 0 0; }
220223
.control { display: inline-block; vertical-align: top; position: relative; padding-left: 32px; padding-right: 10px; cursor: pointer; font-size: 14px; line-height: 28px; font-weight: 500; }
221224
.control input { position: absolute; z-index: -1; opacity: 0; }
222-
.control__indicator { position: absolute; top: 3px; left: 0; height: 24px; width: 24px; }
225+
.control__indicator { position: absolute; top: 3px; left: 0; height: 24px; width: 24px; border: 1px solid var(--theme-co); }
223226
.control--radio .control__indicator { border-radius: 50%; }
224227
.control input:disabled ~ .control__indicator { opacity: 0.6; pointer-events: none; }
225228
.control__indicator:after { content: ''; position: absolute; display: none; }
226229
.control input:checked ~ .control__indicator:after { display: block; }
227-
.control--checkbox .control__indicator:after { left: 8px; top: 4px; width: 7px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
228-
.control--radio .control__indicator:after { left: 7px; top: 7px; height: 10px; width: 10px; border-radius: 50%; background: #fff; }
230+
.control--checkbox .control__indicator:after { left: 8px; top: 4px; width: 7px; height: 12px; border: solid var(--theme-co); border-width: 0 3px 3px 0; transform: rotate(45deg); }
231+
.control--radio .control__indicator:after { left: 6px; top: 6px; height: 10px; width: 10px; border-radius: 50%; background: var(--theme-co); }
229232
/* selectbox css */
230233
::-moz-focus-inner, select:focus, select:active { outline: 0 !important; -moz-outline: 0 !important; }
231234
.data-table-wrapper .dataTables_length label { position: relative; display: inline-block; width: 100%; }
@@ -322,6 +325,11 @@ ul.timeline.notification-list>li>.timeline-item { margin-right: 0; }
322325
ul.timeline.notification-list>li>.timeline-item>.timeline-header { border-bottom: 0; font-size: 15px; }
323326
ul.timeline.notification-list>li>.timeline-item>.timeline-header>span.comment-hl { padding-right: 3px; font-weight: 600; }
324327

328+
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
329+
background-color: var(--theme-co);
330+
border-color: var(--theme-co);
331+
}
332+
325333
/* Tab CSS start */
326334
.setting-tab-list.nav-tabs>li>a { color: #555; }
327335
.tab-content.setting-tab { padding-top: 30px; }

resources/views/backend/includes/header.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<li class="dropdown user user-menu">
7878
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
7979
<img src="{{ access()->user()->picture }}" class="user-image" alt="User Avatar"/>
80-
<span class="hidden-xs">{{ access()->user()->name }}</span>
80+
<span class="hidden-xs">{{ access()->user()->first_name }}</span>
8181
<div class="clearfix"></div>
8282
</a>
8383

resources/views/backend/layouts/app.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@
5454
<section class="content-header">
5555
@yield('page-header')
5656
<!-- Breadcrumbs would render from routes/breadcrumb.php -->
57-
57+
@if(Breadcrumbs::exists())
58+
{!! Breadcrumbs::render() !!}
59+
@endif
5860
</section>
5961

6062
<!-- Main content -->

0 commit comments

Comments
 (0)