Commit bcd11dc9 authored by ZeMKI's avatar ZeMKI
Browse files

Layout optimization

parent cf08c659
......@@ -2,4 +2,4 @@
@section('title', __('Server Error'))
@section('code', '500')
@section('message', __('Server Error'))
@section('message', __('Server Error, please contact the admin.'))
......@@ -26,7 +26,11 @@
@endif
@if(Auth::user()->hasReachMaxNumberOfStudies())
<div class="text-yellow-300 block bg-red-600 mt-4 px-3 lg:inline-block lg:mt-0 mr-4 ">
You have reached the max number of studies! Contact us for solutions!
</div>
@endif
<div class="lg:float-right">
@if(Request::is('/'))
<span
......@@ -41,9 +45,10 @@
</span>
</a>
<div class="w-1/5 absolute border-2 border-gray-300 overflow-auto h-64 border-solid mr-10 z-50 bg-gray-100"
style="margin-top: -20px;"
v-show="shownotificationbox">
<div
class="w-1/5 absolute border-2 border-gray-300 overflow-auto h-64 border-solid mr-10 z-50 bg-gray-100"
style="margin-top: -20px;"
v-show="shownotificationbox">
<div class="w-full flex bg-gray-100 p-2">
<p class="flex-1 text-blue-300 font-bold text-center align-middle">Notifications</p>
......@@ -74,7 +79,7 @@
@endif
@if((Auth::user()->hasRole(['superadministrator','supervisor']) || Auth::user()->can('create-studies')) && !Auth::user()->hasReachMaxNumberOfStudies())
<a class="block mt-4 lg:inline-block lg:mt-0 mr-4 menu-item has-text-danger"
<a class="block mt-4 lg:inline-block lg:mt-0 mr-4 menu-item text-red-400"
href="{{url('studies/new')}}"
>
<span class="icon">
......@@ -86,6 +91,7 @@
@if(Auth::user()->hasRole(['superadministrator']))
<div
class="block mt-4 lg:inline-block lg:mt-0 mr-4 menu-item languagedropbtn relative inline-block hover:cursor-pointer"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment