Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ZeMKI
Mesort
Commits
800108b6
Commit
800108b6
authored
Oct 21, 2020
by
ZeMKI
Browse files
Update app.blade.php
parent
8e0462a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/layouts/lingua/app.blade.php
View file @
800108b6
...
...
@@ -5,36 +5,48 @@
@
livewireScripts
@
include
(
'lingua::layouts.mainnav'
)
<
div
class
=
"flex items-center"
id
=
"app"
>
@
include
(
'lingua::layouts.mainnav'
)
<
div
class
=
"flex items-center"
>
<
livewire
:
toast
-
message
-
show
>
<
div
class
=
"w-2/3 mx-auto mx-10"
>
@
if
(
in_array
(
auth
()
->
user
()
->
email
,
config
(
'lingua.translator'
))
||
in_array
(
auth
()
->
user
()
->
email
,
config
(
'lingua.admin'
)))
<
div
class
=
"flex items-center justify-center mb-2"
>
<
div
class
=
"flex items-center justify-center mb-2"
>
@
if
(
in_array
(
auth
()
->
user
()
->
email
,
config
(
'lingua.translator'
))
||
in_array
(
auth
()
->
user
()
->
email
,
config
(
'lingua.admin'
)))
<
div
class
=
"mr-2"
>
<
a
@
if
(
\
Route
::
current
()
->
getName
()
!=
'lingua.index'
)
href
=
"
{
{route('lingua.index')}
}
"
@
endif
class
=
"bg-white font-bold
rounded
border-b-2 border-blue-500 select-none hover:border-blue-600 hover:bg-blue-500 hover:text-white shadow-md py-2 px-6 inline-flex items-center
@if(\Route::current()->getName() == 'lingua.index') bg-blue-500 text-white cursor-none hover:text-white shadow-inner @endif
class
=
"bg-white font-bold border-b-2 border-blue-500 select-none hover:border-blue-600 hover:bg-blue-500 hover:text-white shadow-md py-2 px-6 inline-flex items-center
@if(\Route::current()->getName() == 'lingua.index') bg-blue-500
border-blue-600
text-white cursor-none hover:text-white shadow-inner @endif
"
>
<
span
class
=
"mr-2"
>
Dashboard
</
span
>
</
a
>
</
div
>
@
endif
@
if
(
in_array
(
auth
()
->
user
()
->
email
,
config
(
'lingua.admin'
)))
<
div
class
=
""
>
<
a
@
if
(
\
Route
::
current
()
->
getName
()
!=
'lingua.create'
)
href
=
"
{
{route('lingua.create')}
}
"
@
endif
class
=
"bg-white font-bold rounded border-b-2 border-blue-500 select-none hover:border-blue-600 hover:bg-blue-500 hover:text-white shadow-md py-2 px-6 inline-flex items-center
@if(\Route::current()->getName() == 'lingua.create') bg-blue-500 text-white cursor-none disabled hover:text-white @endif
"
>
<
span
class
=
"mr-2"
>
Upload
</
span
>
</
a
>
</
div
>
</
div
>
@
endif
@
endif
@
if
(
in_array
(
auth
()
->
user
()
->
email
,
config
(
'lingua.admin'
)))
<
div
class
=
"mr-2"
>
<
a
@
if
(
\
Route
::
current
()
->
getName
()
!=
'lingua.create'
)
href
=
"
{
{route('lingua.create')}
}
"
@
endif
class
=
"bg-white font-bold border-b-2 border-blue-500 select-none hover:border-blue-600 hover:bg-blue-500 hover:text-white shadow-md py-2 px-6 inline-flex items-center
@if(\Route::current()->getName() == 'lingua.create') bg-blue-500 border-blue-600 text-white cursor-none disabled hover:text-white @endif
"
>
<
span
class
=
"mr-2"
>
Upload
</
span
>
</
a
>
</
div
>
@
endif
@
if
(
in_array
(
auth
()
->
user
()
->
email
,
config
(
'lingua.admin'
)))
<
div
class
=
""
>
<
a
@
if
(
\
Route
::
current
()
->
getName
()
!=
'lingua.conflicts'
)
href
=
"
{
{route('lingua.conflicts')}
}
"
@
endif
class
=
"bg-white font-bold border-b-2 border-blue-500 select-none hover:border-blue-600 hover:bg-blue-500 hover:text-white shadow-md py-2 px-6 inline-flex items-center
@if(\Route::current()->getName() == 'lingua.conflicts') bg-blue-500 border-blue-600 text-white cursor-none disabled hover:text-white @endif
"
>
<
span
class
=
"mr-2"
>
Conflicts
dashboard
</
span
>
</
a
>
</
div
>
@
endif
</
div
>
@
yield
(
'content'
)
</
div
>
</
div
>
...
...
Write
Preview
Supports
Markdown
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