This repository has been archived on 2025-07-15. You can view files and clone it, but cannot push or open issues or pull requests.
Files
lean_in_world/resources/views/Admin/dashboard.blade.php
meghamalore eed0ce11d2 first commit
2024-07-04 16:57:26 +05:30

303 lines
17 KiB
PHP

@extends('Admin.layouts.master')
@php
$currentPage = 'dashboard';
@endphp
@section('content')
<div class="top_header pt-5">
<p class='fs-2 fw-bold'>Welcome Back</p>
<div class="row max-w-100 mt-5 mb-10">
<div class="col-md-4 index-box">
<a href="{{ route('manage_users') }}">
<div class="card card-flush mb-5 mb-xl-5">
<!--begin::Header-->
<div class="card-header pt-5">
<!--begin::Title-->
<div class="card-title d-flex flex-column">
<span class=" pt-1 fs-7 h-45px">Total Number of Registered Volunteers section</span>
<!--begin::Amount-->
<span class="fs-2x fw-bold me-2 lh-1 ls-n2">{{ $user_counts }}</span>
<!--end::Amount-->
<!--end::Subtitle-->
</div>
<!--end::Title-->
</div>
<!--end::Header-->
<!--begin::Card body-->
<div class="card-body d-flex align-items-end pt-0">
<!--begin::Progress-->
</div>
<!--end::Card body-->
</div>
</a>
</div>
<div class="col-md-4 index-box">
<a href="{{ route('manage_program') }}">
<div class="card card-flush mb-5 mb-xl-5">
<!--begin::Header-->
<div class="card-header pt-5">
<!--begin::Title-->
<div class="card-title d-flex flex-column">
<span class="pt-1 fs-7 h-45px">Total Live Programs section</span>
<!--begin::Amount-->
<span class="fs-2x fw-bold me-2 lh-1 ls-n2">{{ $program_counts }}</span>
<!--end::Amount-->
<!--end::Subtitle-->
</div>
<!--end::Title-->
</div>
<!--end::Header-->
<!--begin::Card body-->
<div class="card-body d-flex align-items-end pt-0">
</div>
<!--end::Progress-->
</div>
</a>
<!--end::Card body-->
</div>
<div class="col-md-4 index-box">
<a href="{{ route('manage_countries') }}">
<div class="card card-flush mb-5 mb-xl-5">
<!--begin::Header-->
<div class="card-header pt-5">
<!--begin::Title-->
<div class="card-title d-flex flex-column">
<span class="pt-1 fs-7 h-45px">Total Countries / Destinations</span>
<!--begin::Amount-->
<span class="fs-2x fw-bold me-2 lh-1 ls-n2">{{ $country_count }}</span>
<!--end::Amount-->
<!--end::Subtitle-->
</div>
<!--end::Title-->
</div>
<!--end::Header-->
<!--begin::Card body-->
<div class="card-body d-flex align-items-end pt-0">
</div>
<!--end::Progress-->
</div>
</a>
<!--end::Card body-->
</div>
</div>
<div class="table_right_options d-flex justify-content-between">
<p class='fs-2 fw-bold'>Pending User Dashboard Contact Us Messages </p>
<!--begin::Search-->
<!--<div class="d-flex align-items-center position-relative">-->
<!--begin::Svg Icon | path: icons/duotune/general/gen021.svg-->
<!-- <span class="svg-icon svg-icon-1 position-absolute ms-6">-->
<!-- <svg width="24" height="24" viewBox="0 0 24 24" fill="none"-->
<!-- xmlns="http://www.w3.org/2000/svg">-->
<!-- <rect opacity="0.5" x="17.0365" y="15.1223" width="8.15546" height="2" rx="1"-->
<!-- transform="rotate(45 17.0365 15.1223)" fill="currentColor" />-->
<!-- <path-->
<!-- d="M11 19C6.55556 19 3 15.4444 3 11C3 6.55556 6.55556 3 11 3C15.4444 3 19 6.55556 19 11C19 15.4444 15.4444 19 11 19ZM11 5C7.53333 5 5 7.53333 5 11C5 14.4667 7.53333 17 11 17C14.4667 17 17 14.4667 17 11C17 7.53333 14.4667 5 11 5Z"-->
<!-- fill="currentColor" />-->
<!-- </svg>-->
<!-- </span>-->
<!--end::Svg Icon-->
<!-- <input type="text" data-kt-user-table-filter="search"-->
<!-- class="form-control bg-white form-control-solid w-250px ps-14" placeholder="Search user" />-->
<!--</div>-->
</div>
</div>
<div class="dataTable_area my-5 mb-10">
<!--begin::Card-->
<div class="card">
<div class="card-header border-0 pt-0 h-0">
<!--begin::Card toolbar-->
<div class="card-toolbar">
<!--begin::Toolbar-->
<div class="d-flex justify-content-end" data-kt-user-table-toolbar="base">
<!--begin::Group actions-->
<div class="d-flex justify-content-end align-items-center d-none" data-kt-user-table-toolbar="selected">
<button type="button" class="btn btn-danger" data-kt-user-table-select="delete_selected">Delete Selected</button>
</div>
</div>
<!--end::Group actions-->
</div>
<!--end::Card toolbar-->
</div>
<!--begin::Card body-->
<div class="card-body py-4">
<!--begin::Table-->
<table class="table align-middle table-row-dashed fs-6 gy-5" id="manage_investors">
<thead>
<!--begin::Table row-->
<tr class="text-start text-muted fw-bold fs-7 gs-0">
<th class="min-w-50px w-50px align-top text-center">Sr.no</th>
<th class="min-w-100px w-100px align-top text-center">Name</th>
<th class="min-w-100px w-100px align-top text-center">Email ID</th>
<!--<th class="min-w-100px w-100px align-top text-center">Contact No</th>-->
<!--<th class="min-w-50px w-100px align-top text-center">Massage</th>-->
<!-- <th class="min-w-50px w-150px align-top text-center">Status</th>
<th class="text-center min-w-100px w-100 align-top">Actions</th>-->
</tr>
<!--end::Table row-->
</thead>
<!--end::Table head-->
<!--begin::Table body-->
<tbody class="text-gray-600 fw-semibold">
<!--begin::Table row-->
@foreach($pending_contact_us as $pending_contact)
<tr>
<!--begin::User=-->
<td class=" w-75px text-center">{{ $loop->iteration }}
</td>
<!--end::User=-->
<!--begin::Role=-->
<td class="text-center">{{$pending_contact['name']}}</td>
<!--end::Role=-->
<td class="text-center">{{$pending_contact['email']}}</td>
<!--begin::Last login=-->
<!-- <td class='w-100px text-center'>8484848484
</td>-->
<!--end::Two step=-->
<!--begin::Joined-->
<!-- <td class="text-center" id="recipes-popbtn" data-bs-target="#recipes-pop">
<div class="badge badge-light fw-bold">View</div>
</td>-->
<!--begin::Joined-->
<!-- <td class="text-center">
<div class="onoffswitch m-auto">
<input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="game" checked="">
<label class="onoffswitch-label" for="game">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
</td> -->
<!--begin::Action=-->
<!-- <td class="text-center d-flex align-items-center justify-content-around" data-order="Invalid date">
<a class="action_icon" id="recipes-popbtn-two" data-bs-target="#recipes-pop-two" data-bs-toggle="tooltip" data-bs-custom-class="tooltip-inverse" data-bs-placement="top" data-kt-initialized="1">
<i class="fa-solid fa-pen-to-square"></i>
<svg class="svg-inline--fa fa-envelope" aria-hidden="true" focusable="false" data-prefix="far" data-icon="envelope" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M0 128C0 92.65 28.65 64 64 64H448C483.3 64 512 92.65 512 128V384C512 419.3 483.3 448 448 448H64C28.65 448 0 419.3 0 384V128zM48 128V150.1L220.5 291.7C241.1 308.7 270.9 308.7 291.5 291.7L464 150.1V127.1C464 119.2 456.8 111.1 448 111.1H64C55.16 111.1 48 119.2 48 127.1L48 128zM48 212.2V384C48 392.8 55.16 400 64 400H448C456.8 400 464 392.8 464 384V212.2L322 328.8C283.6 360.3 228.4 360.3 189.1 328.8L48 212.2z"></path></svg> <i class="fa-regular fa-envelope"></i> Font Awesome fontawesome.com
</a>
<a class="action_icon delete" data-bs-toggle="tooltip" data-bs-custom-class="tooltip-inverse" data-bs-placement="top" onclick="sweetAlert();" data-kt-initialized="1">
<svg class="svg-inline--fa fa-trash" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="trash" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"></path></svg> <i class="fa-solid fa-trash"></i> Font Awesome fontawesome.com
</a>
</td>-->
<!--end::Action=-->
</tr>
@endforeach
<!--end::Table row-->
</tbody>
</table>
<!--end::Table-->
</div>
<!--end::Card body-->
</div>
</div>
<div class="modal fade" tabindex="-1" id="recipes-pop">
<div class="modal-dialog modal-dialog-centered mw-750px">
<div class="modal-content">
<div class="modal-header">
<!--begin::Modal title-->
<h2 class="fw-bold fs-2 mb-0">View Message</h2>
<!--end::Modal title-->
<!--begin::Close-->
<div class="btn btn-icon btn-sm btn-active-icon-primary" data-bs-dismiss="modal" aria-label="Close">
<!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
<span class="svg-icon svg-icon-1">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"
xmlns="http://www.w3.org/2000/svg">
<rect opacity="0.5" x="6" y="17.3137" width="16" height="2"
rx="1" transform="rotate(-45 6 17.3137)" fill="currentColor" />
<rect x="7.41422" y="6" width="16" height="2" rx="1"
transform="rotate(45 7.41422 6)" fill="currentColor" />
</svg>
</span>
<!--end::Svg Icon-->
</div>
<!--end::Close-->
</div>
<div class="modal-body">
<div class="d-flex flex-column scroll-y me-n7 pe-7" id="kt_modal_update_role_scroll"
data-kt-scroll="true">
<div class="fv-row row p-5 modal-rounded">
<!--begin::Label-->
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has
been the industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type specimen book.
It has survived not only five centuries, but also the leap into electronic typesetting,
remaining essentially unchanged.
It was popularized in the 1960s with the release of Letraset sheets containing Lorem Ipsum
passages, and more recently with desktop publishing software like Aldus PageMaker including
versions of Lorem Ipsum.</p>
<p>ontrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of
classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock,
a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure
Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the
word in classical literature,
discovered the undoubtable source.</p>
<!--end::Label-->
</div>
</div>
</div>
<div class="modal-footer">
<!-- <button type="button" class="btn btn-light" >Close</button> -->
<!--<button type="button" class="btn btn-primary btn-hove-rise" data-bs-dismiss="modal">Send</button>-->
</div>
</div>
</div>
</div>
<div class="modal fade contact-msg-pop" tabindex="-1" id="recipes-pop-two">
<div class="modal-dialog modal-dialog-centered mw-545px">
<div class="modal-content">
<div class="modal-header">
<!--begin::Modal title-->
<h2 class="fw-bold fs-2 mb-0">Reply to: glee@gmail.com</h2>
<!--end::Modal title-->
<!--begin::Close-->
<div class="btn btn-icon btn-sm btn-active-icon-primary" data-bs-dismiss="modal" aria-label="Close">
<!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
<span class="svg-icon svg-icon-1">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"
xmlns="http://www.w3.org/2000/svg">
<rect opacity="0.5" x="6" y="17.3137" width="16" height="2"
rx="1" transform="rotate(-45 6 17.3137)" fill="currentColor" />
<rect x="7.41422" y="6" width="16" height="2" rx="1"
transform="rotate(45 7.41422 6)" fill="currentColor" />
</svg>
</span>
<!--end::Svg Icon-->
</div>
<!--end::Close-->
</div>
<div class="modal-body">
<div class="d-flex flex-column scroll-y me-n7 pe-7" id="kt_modal_update_role_scroll"
data-kt-scroll="true">
<div class="fv-row row p-5 modal-rounded">
<!--begin::Label-->
<h2>Message</h2>
<textarea class="form-control form-control-solid mb-10" rows="5" cols="73"></textarea>
<!--end::Label-->
</div>
</div>
</div>
<div class="modal-footer">
<!-- <button type="button" class="btn btn-light" >Close</button> -->
<button type="button" class="btn btn-primary btn-hove-rise" data-bs-dismiss="modal">Send</button>
</div>
</div>
</div>
</div>
<!--end::App-->
<script src="../../components/delete_alert.js"></script>
<!-- <script src="../../assets/js/custom/apps/user-management/users/list/table.js"></script> -->
</body>
<!--end::Body-->
@endsection