Skip to content

Commit

Permalink
Merge pull request #4 from mortada1199/wali
Browse files Browse the repository at this point in the history
sidebar and routing
  • Loading branch information
wali-eldin-hassan authored Mar 23, 2023
2 parents 2346428 + a2011d6 commit f004d50
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 31 deletions.
8 changes: 4 additions & 4 deletions resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class="logo logo-light">
<div class="mb-3">
<label class="form-label" for="email">الايميل</label>
<input type="text" class="form-control @error('email') is-invalid @enderror"
name="email" value="{{ old('email', 'admin@bloodBanck.com') }}" id="email"
name="email" value="{{ old('email', 'user@user.com') }}" id="email"
placeholder="Enter Email address">
@error('email')
<span class="invalid-feedback" role="alert">
Expand Down Expand Up @@ -71,11 +71,11 @@ class="logo logo-light">
</div>

<div class="mt-5 text-center">
<p
<p
<script>
document.write(new Date().getFullYear())
</script>
Crafted with
</script>
Crafted with
<i class="mdi mdi-heart text-danger"></i>
by Athrib
</p>
Expand Down
35 changes: 8 additions & 27 deletions resources/views/layouts/sidebar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<!-- Left Menu Start -->
<ul class="metismenu list-unstyled" id="side-menu"
style="
padding-right: 0;
margin-right: 0;">
<li class="menu-title">القائمة</li>
Expand All @@ -42,15 +42,15 @@
{{-- @endif --}}


<li class="menu-title">بنك الدم</li>
<li class="menu-title"> نظام إداره المدرسة</li>

<li>
{{-- @if (auth()->user()->employee->unit == 'الادارة' || auth()->user()->employee->unit == 'معمل التجانس' || auth()->user()->employee->unit == 'الاستقبال') --}}

<a href="javascript: void(0);" class="has-arrow waves-effect">
<i class="uil-heart-medical"></i>
<span>
الدم
الطلبات
</span>
</a>
{{-- @endif --}}
Expand Down Expand Up @@ -86,7 +86,7 @@
<a href="javascript: void(0);" class="has-arrow waves-effect">
<i class="uil-social-distancing"></i>
<span>
التبرعات
النتائج
</span>
</a>
<ul>
Expand Down Expand Up @@ -118,7 +118,7 @@

<a href="javascript: void(0);" class="has-arrow waves-effect">
<i class="uil-social-distancing"></i>
<span> الاطفال حديثي الولادة
<span> الفصول

</span>
</a>
Expand Down Expand Up @@ -147,7 +147,7 @@

<a href="javascript: void(0);" class="has-arrow waves-effect">
<i class="uil-social-distancing"></i>
<span> الفحوصات الاخرى
<span> التعاليق

</span>
</a>
Expand Down Expand Up @@ -176,7 +176,7 @@
<a href="javascript: void(0);" class="has-arrow waves-effect">
<i class="uil-social-distancing"></i>
<span>
الدم الزائد
الإشعارات
</span>
</a>
<ul>
Expand Down Expand Up @@ -213,28 +213,9 @@
</a>
</li> --}}

<li>
{{-- @if (auth()->user()->employee->unit == 'الادارة') --}}
<a href="{{ route('employees.index') }}">
<i class="uil-users-alt"></i>
<span>
الموظفين
</span>
</a>
{{-- @endif --}}

</li>

<li>
{{-- @if (auth()->user()->employee->unit == 'الاستقبال') --}}
<a href="{{ route('viralDiseases.index') }}">
<i class="uil-home-alt"></i>
<span>
الأمراض الفيروسية </span>
</a>
{{-- @endif --}}

</li>
<li>

<li>
Expand Down Expand Up @@ -275,7 +256,7 @@
<span>
تقرير عدم السحب </span></a>
</li>
<li>
<a href="{{ route('polcythemiasrReport') }}">
<i class="uil-home-alt"></i>
Expand Down

0 comments on commit f004d50

Please sign in to comment.