Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
29beb5b5
Unverified
Commit
29beb5b5
authored
Dec 10, 2017
by
Viral Solani
Committed by
GitHub
Dec 10, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #76 from bvipul/master
Added Changes regarding theme erros
parents
41d7098b
435bfd6f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
35 additions
and
20 deletions
+35
-20
BlogsController.php
app/Http/Controllers/Backend/Blogs/BlogsController.php
+1
-1
UserAttribute.php
app/Models/Access/User/Traits/Attribute/UserAttribute.php
+5
-0
locale.php
config/locale.php
+14
-14
custom-style.css
public/css/custom-style.css
+11
-3
header.blade.php
resources/views/backend/includes/header.blade.php
+1
-1
app.blade.php
resources/views/backend/layouts/app.blade.php
+3
-1
No files found.
app/Http/Controllers/Backend/Blogs/BlogsController.php
View file @
29beb5b5
...
@@ -22,7 +22,7 @@ class BlogsController extends Controller
...
@@ -22,7 +22,7 @@ class BlogsController extends Controller
protected
$status
=
[
protected
$status
=
[
'Published'
=>
'Published'
,
'Published'
=>
'Published'
,
'Draft'
=>
'Draft'
,
'Draft'
=>
'Draft'
,
'In
active'
=>
'Ina
ctive'
,
'In
Active'
=>
'InA
ctive'
,
'Scheduled'
=>
'Scheduled'
,
'Scheduled'
=>
'Scheduled'
,
];
];
...
...
app/Models/Access/User/Traits/Attribute/UserAttribute.php
View file @
29beb5b5
...
@@ -372,6 +372,11 @@ trait UserAttribute
...
@@ -372,6 +372,11 @@ trait UserAttribute
return
$button
;
return
$button
;
}
}
public
function
getNameAttribute
()
{
return
$this
->
first_name
.
' '
.
$this
->
last_name
;
}
/**
/**
* @return string
* @return string
*/
*/
...
...
config/locale.php
View file @
29beb5b5
...
@@ -8,7 +8,7 @@ return [
...
@@ -8,7 +8,7 @@ return [
*
*
* @var bool
* @var bool
*/
*/
'status'
=>
tru
e
,
'status'
=>
fals
e
,
/*
/*
* Available languages
* Available languages
...
@@ -29,19 +29,19 @@ return [
...
@@ -29,19 +29,19 @@ return [
* Index 1 of sub-array is the PHP locale code for setlocale()
* Index 1 of sub-array is the PHP locale code for setlocale()
* Index 2 of sub-array is whether or not to use RTL (right-to-left) css for this language
* Index 2 of sub-array is whether or not to use RTL (right-to-left) css for this language
*/
*/
'ar'
=>
[
'ar'
,
'ar_AR'
,
true
],
//
'ar' => ['ar', 'ar_AR', true],
'da'
=>
[
'da'
,
'da_DK'
,
false
],
//
'da' => ['da', 'da_DK', false],
'de'
=>
[
'de'
,
'de_DE'
,
false
],
//
'de' => ['de', 'de_DE', false],
'el'
=>
[
'el'
,
'el_GR'
,
false
],
//
'el' => ['el', 'el_GR', false],
'en'
=>
[
'en'
,
'en_US'
,
false
],
'en'
=>
[
'en'
,
'en_US'
,
false
],
'es'
=>
[
'es'
,
'es_ES'
,
false
],
//
'es' => ['es', 'es_ES', false],
'fr'
=>
[
'fr'
,
'fr_FR'
,
false
],
//
'fr' => ['fr', 'fr_FR', false],
'id'
=>
[
'id'
,
'id_ID'
,
false
],
//
'id' => ['id', 'id_ID', false],
'it'
=>
[
'it'
,
'it_IT'
,
false
],
//
'it' => ['it', 'it_IT', false],
'nl'
=>
[
'nl'
,
'nl_NL'
,
false
],
//
'nl' => ['nl', 'nl_NL', false],
'pt_BR'
=>
[
'pt_BR'
,
'pt_BR'
,
false
],
//
'pt_BR' => ['pt_BR', 'pt_BR', false],
'ru'
=>
[
'ru'
,
'ru-RU'
,
false
],
//
'ru' => ['ru', 'ru-RU', false],
'sv'
=>
[
'sv'
,
'sv_SE'
,
false
],
//
'sv' => ['sv', 'sv_SE', false],
'th'
=>
[
'th'
,
'th_TH'
,
false
],
//
'th' => ['th', 'th_TH', false],
],
],
];
];
public/css/custom-style.css
View file @
29beb5b5
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
-ms-box-shadow
:
0
2px
10px
rgba
(
0
,
0
,
0
,
0.2
);
-ms-box-shadow
:
0
2px
10px
rgba
(
0
,
0
,
0
,
0.2
);
-o-box-shadow
:
0
2px
10px
rgba
(
0
,
0
,
0
,
0.2
);
-o-box-shadow
:
0
2px
10px
rgba
(
0
,
0
,
0
,
0.2
);
}
}
.box.box-info
{
border-top-color
:
var
(
--theme-co
);
}
.box-header
{
.box-header
{
padding
:
15px
10px
;
padding
:
15px
10px
;
...
@@ -219,13 +222,13 @@ textarea.form-control { max-width: 100%; min-height: 50px; }
...
@@ -219,13 +222,13 @@ textarea.form-control { max-width: 100%; min-height: 50px; }
.control-group
{
display
:
block
;
text-align
:
left
;
padding
:
0
;
margin
:
3px
0
0
;
}
.control-group
{
display
:
block
;
text-align
:
left
;
padding
:
0
;
margin
:
3px
0
0
;
}
.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
;
}
.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
;
}
.control
input
{
position
:
absolute
;
z-index
:
-1
;
opacity
:
0
;
}
.control
input
{
position
:
absolute
;
z-index
:
-1
;
opacity
:
0
;
}
.control__indicator
{
position
:
absolute
;
top
:
3px
;
left
:
0
;
height
:
24px
;
width
:
24px
;
}
.control__indicator
{
position
:
absolute
;
top
:
3px
;
left
:
0
;
height
:
24px
;
width
:
24px
;
border
:
1px
solid
var
(
--theme-co
);
}
.control--radio
.control__indicator
{
border-radius
:
50%
;
}
.control--radio
.control__indicator
{
border-radius
:
50%
;
}
.control
input
:disabled
~
.control__indicator
{
opacity
:
0.6
;
pointer-events
:
none
;
}
.control
input
:disabled
~
.control__indicator
{
opacity
:
0.6
;
pointer-events
:
none
;
}
.control__indicator
:after
{
content
:
''
;
position
:
absolute
;
display
:
none
;
}
.control__indicator
:after
{
content
:
''
;
position
:
absolute
;
display
:
none
;
}
.control
input
:checked
~
.control__indicator
:after
{
display
:
block
;
}
.control
input
:checked
~
.control__indicator
:after
{
display
:
block
;
}
.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
);
}
.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
);
}
.control--radio
.control__indicator
:after
{
left
:
7px
;
top
:
7px
;
height
:
10px
;
width
:
10px
;
border-radius
:
50%
;
background
:
#fff
;
}
.control--radio
.control__indicator
:after
{
left
:
6px
;
top
:
6px
;
height
:
10px
;
width
:
10px
;
border-radius
:
50%
;
background
:
var
(
--theme-co
)
;
}
/* selectbox css */
/* selectbox css */
::-moz-focus-inner
,
select
:focus
,
select
:active
{
outline
:
0
!important
;
-moz-outline
:
0
!important
;
}
::-moz-focus-inner
,
select
:focus
,
select
:active
{
outline
:
0
!important
;
-moz-outline
:
0
!important
;
}
.data-table-wrapper
.dataTables_length
label
{
position
:
relative
;
display
:
inline-block
;
width
:
100%
;
}
.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; }
...
@@ -322,6 +325,11 @@ ul.timeline.notification-list>li>.timeline-item { margin-right: 0; }
ul
.timeline.notification-list
>
li
>
.timeline-item
>
.timeline-header
{
border-bottom
:
0
;
font-size
:
15px
;
}
ul
.timeline.notification-list
>
li
>
.timeline-item
>
.timeline-header
{
border-bottom
:
0
;
font-size
:
15px
;
}
ul
.timeline.notification-list
>
li
>
.timeline-item
>
.timeline-header
>
span
.comment-hl
{
padding-right
:
3px
;
font-weight
:
600
;
}
ul
.timeline.notification-list
>
li
>
.timeline-item
>
.timeline-header
>
span
.comment-hl
{
padding-right
:
3px
;
font-weight
:
600
;
}
.pagination
>
.active
>
a
,
.pagination
>
.active
>
a
:focus
,
.pagination
>
.active
>
a
:hover
,
.pagination
>
.active
>
span
,
.pagination
>
.active
>
span
:focus
,
.pagination
>
.active
>
span
:hover
{
background-color
:
var
(
--theme-co
);
border-color
:
var
(
--theme-co
);
}
/* Tab CSS start */
/* Tab CSS start */
.setting-tab-list.nav-tabs
>
li
>
a
{
color
:
#555
;
}
.setting-tab-list.nav-tabs
>
li
>
a
{
color
:
#555
;
}
.tab-content.setting-tab
{
padding-top
:
30px
;
}
.tab-content.setting-tab
{
padding-top
:
30px
;
}
...
...
resources/views/backend/includes/header.blade.php
View file @
29beb5b5
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
<li
class=
"dropdown user user-menu"
>
<li
class=
"dropdown user user-menu"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
<img
src=
"{{ access()->user()->picture }}"
class=
"user-image"
alt=
"User Avatar"
/>
<img
src=
"{{ access()->user()->picture }}"
class=
"user-image"
alt=
"User Avatar"
/>
<span
class=
"hidden-xs"
>
{{ access()->user()->name }}
</span>
<span
class=
"hidden-xs"
>
{{ access()->user()->
first_
name }}
</span>
<div
class=
"clearfix"
></div>
<div
class=
"clearfix"
></div>
</a>
</a>
...
...
resources/views/backend/layouts/app.blade.php
View file @
29beb5b5
...
@@ -54,7 +54,9 @@
...
@@ -54,7 +54,9 @@
<section
class=
"content-header"
>
<section
class=
"content-header"
>
@yield('page-header')
@yield('page-header')
<!-- Breadcrumbs would render from routes/breadcrumb.php -->
<!-- Breadcrumbs would render from routes/breadcrumb.php -->
@if(Breadcrumbs::exists())
{!! Breadcrumbs::render() !!}
@endif
</section>
</section>
<!-- Main content -->
<!-- Main content -->
...
...
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