api code global jain
This commit is contained in:
73
resources/views/auth/login.blade.php
Normal file
73
resources/views/auth/login.blade.php
Normal file
@@ -0,0 +1,73 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Login') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
<form method="POST" action="{{ route('login') }}">
|
||||
@csrf
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('E-Mail Address') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
|
||||
|
||||
@error('email')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="password" class="col-md-4 col-form-label text-md-end">{{ __('Password') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
|
||||
|
||||
@error('password')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<div class="col-md-6 offset-md-4">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>
|
||||
|
||||
<label class="form-check-label" for="remember">
|
||||
{{ __('Remember Me') }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-0">
|
||||
<div class="col-md-8 offset-md-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{{ __('Login') }}
|
||||
</button>
|
||||
|
||||
@if (Route::has('password.request'))
|
||||
<a class="btn btn-link" href="{{ route('password.request') }}">
|
||||
{{ __('Forgot Your Password?') }}
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
49
resources/views/auth/passwords/confirm.blade.php
Normal file
49
resources/views/auth/passwords/confirm.blade.php
Normal file
@@ -0,0 +1,49 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Confirm Password') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
{{ __('Please confirm your password before continuing.') }}
|
||||
|
||||
<form method="POST" action="{{ route('password.confirm') }}">
|
||||
@csrf
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="password" class="col-md-4 col-form-label text-md-end">{{ __('Password') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
|
||||
|
||||
@error('password')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-0">
|
||||
<div class="col-md-8 offset-md-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{{ __('Confirm Password') }}
|
||||
</button>
|
||||
|
||||
@if (Route::has('password.request'))
|
||||
<a class="btn btn-link" href="{{ route('password.request') }}">
|
||||
{{ __('Forgot Your Password?') }}
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
47
resources/views/auth/passwords/email.blade.php
Normal file
47
resources/views/auth/passwords/email.blade.php
Normal file
@@ -0,0 +1,47 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Reset Password') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
@if (session('status'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form method="POST" action="{{ route('password.email') }}">
|
||||
@csrf
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('E-Mail Address') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
|
||||
|
||||
@error('email')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-0">
|
||||
<div class="col-md-6 offset-md-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{{ __('Send Password Reset Link') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
65
resources/views/auth/passwords/reset.blade.php
Normal file
65
resources/views/auth/passwords/reset.blade.php
Normal file
@@ -0,0 +1,65 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Reset Password') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
<form method="POST" action="{{ route('password.update') }}">
|
||||
@csrf
|
||||
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('E-Mail Address') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ $email ?? old('email') }}" required autocomplete="email" autofocus>
|
||||
|
||||
@error('email')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="password" class="col-md-4 col-form-label text-md-end">{{ __('Password') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="new-password">
|
||||
|
||||
@error('password')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="password-confirm" class="col-md-4 col-form-label text-md-end">{{ __('Confirm Password') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required autocomplete="new-password">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-0">
|
||||
<div class="col-md-6 offset-md-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{{ __('Reset Password') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
77
resources/views/auth/register.blade.php
Normal file
77
resources/views/auth/register.blade.php
Normal file
@@ -0,0 +1,77 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Register') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
<form method="POST" action="{{ route('register') }}">
|
||||
@csrf
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="name" class="col-md-4 col-form-label text-md-end">{{ __('Name') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="name" type="text" class="form-control @error('name') is-invalid @enderror" name="name" value="{{ old('name') }}" required autocomplete="name" autofocus>
|
||||
|
||||
@error('name')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('E-Mail Address') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email">
|
||||
|
||||
@error('email')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="password" class="col-md-4 col-form-label text-md-end">{{ __('Password') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="new-password">
|
||||
|
||||
@error('password')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="password-confirm" class="col-md-4 col-form-label text-md-end">{{ __('Confirm Password') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required autocomplete="new-password">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-0">
|
||||
<div class="col-md-6 offset-md-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{{ __('Register') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
28
resources/views/auth/verify.blade.php
Normal file
28
resources/views/auth/verify.blade.php
Normal file
@@ -0,0 +1,28 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Verify Your Email Address') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
@if (session('resent'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ __('A fresh verification link has been sent to your email address.') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{ __('Before proceeding, please check your email for a verification link.') }}
|
||||
{{ __('If you did not receive the email') }},
|
||||
<form class="d-inline" method="POST" action="{{ route('verification.resend') }}">
|
||||
@csrf
|
||||
<button type="submit" class="btn btn-link p-0 m-0 align-baseline">{{ __('click here to request another') }}</button>.
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
65
resources/views/backend/admin/create.blade.php
Normal file
65
resources/views/backend/admin/create.blade.php
Normal file
@@ -0,0 +1,65 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.create_user_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
{{-- <div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<!-- <ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ route('admin.admin.user.index') }}" class="text-muted">{{ __('breadcrumb.users') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.admin.user.create') }}" class="text-muted">{{ __('breadcrumb.create_user') }}</a>
|
||||
</li>
|
||||
</ul> -->
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div> --}}
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.create_user_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::open(['route' => 'admin.admin.user.store','id' => 'createUserForm']) }}
|
||||
@include('backend.admin.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
|
||||
@section('after-scripts')
|
||||
@endsection
|
||||
112
resources/views/backend/admin/dashboard.blade.php
Normal file
112
resources/views/backend/admin/dashboard.blade.php
Normal file
@@ -0,0 +1,112 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_user_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('public/js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.admin.user.index') }}" class="text-muted">{{ __('breadcrumb.users') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex flex-column-fluid">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-xl-3">
|
||||
<!--begin::Stats Widget 29-->
|
||||
<div class="card card-custom bgi-no-repeat card-stretch gutter-b" style="background-position: right top; background-size: 30% auto; background-image: url(/metronic/theme/html/demo1/dist/assets/media/svg/shapes/abstract-1.svg)">
|
||||
<!--begin::Body-->
|
||||
<div class="card-body">
|
||||
<span class="svg-icon svg-icon-2x svg-icon-info">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Communication/Mail-opened.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<rect x="0" y="0" width="24" height="24"></rect>
|
||||
<path d="M6,2 L18,2 C18.5522847,2 19,2.44771525 19,3 L19,12 C19,12.5522847 18.5522847,13 18,13 L6,13 C5.44771525,13 5,12.5522847 5,12 L5,3 C5,2.44771525 5.44771525,2 6,2 Z M7.5,5 C7.22385763,5 7,5.22385763 7,5.5 C7,5.77614237 7.22385763,6 7.5,6 L13.5,6 C13.7761424,6 14,5.77614237 14,5.5 C14,5.22385763 13.7761424,5 13.5,5 L7.5,5 Z M7.5,7 C7.22385763,7 7,7.22385763 7,7.5 C7,7.77614237 7.22385763,8 7.5,8 L10.5,8 C10.7761424,8 11,7.77614237 11,7.5 C11,7.22385763 10.7761424,7 10.5,7 L7.5,7 Z" fill="#000000" opacity="0.3"></path>
|
||||
<path d="M3.79274528,6.57253826 L12,12.5 L20.2072547,6.57253826 C20.4311176,6.4108595 20.7436609,6.46126971 20.9053396,6.68513259 C20.9668779,6.77033951 21,6.87277228 21,6.97787787 L21,17 C21,18.1045695 20.1045695,19 19,19 L5,19 C3.8954305,19 3,18.1045695 3,17 L3,6.97787787 C3,6.70173549 3.22385763,6.47787787 3.5,6.47787787 C3.60510559,6.47787787 3.70753836,6.51099993 3.79274528,6.57253826 Z" fill="#000000"></path>
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="card-title font-weight-bolder text-dark-75 font-size-h2 mb-0 mt-6 d-block">{{ $data['statistics']['totalSentInvitation'] }}</span>
|
||||
<span class="font-weight-bold text-muted font-size-sm">No. sent Invitation </span>
|
||||
</div>
|
||||
<!--end::Body-->
|
||||
</div>
|
||||
<!--end::Stats Widget 29-->
|
||||
</div>
|
||||
<div class="col-xl-3">
|
||||
<!--begin::Stats Widget 30-->
|
||||
<div class="card card-custom bg-info card-stretch gutter-b">
|
||||
<!--begin::Body-->
|
||||
<div class="card-body">
|
||||
<span class="svg-icon svg-icon-2x svg-icon-white">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Communication/Group.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<polygon points="0 0 24 0 24 24 0 24"></polygon>
|
||||
<path d="M18,14 C16.3431458,14 15,12.6568542 15,11 C15,9.34314575 16.3431458,8 18,8 C19.6568542,8 21,9.34314575 21,11 C21,12.6568542 19.6568542,14 18,14 Z M9,11 C6.790861,11 5,9.209139 5,7 C5,4.790861 6.790861,3 9,3 C11.209139,3 13,4.790861 13,7 C13,9.209139 11.209139,11 9,11 Z" fill="#000000" fill-rule="nonzero" opacity="0.3"></path>
|
||||
<path d="M17.6011961,15.0006174 C21.0077043,15.0378534 23.7891749,16.7601418 23.9984937,20.4 C24.0069246,20.5466056 23.9984937,21 23.4559499,21 L19.6,21 C19.6,18.7490654 18.8562935,16.6718327 17.6011961,15.0006174 Z M0.00065168429,20.1992055 C0.388258525,15.4265159 4.26191235,13 8.98334134,13 C13.7712164,13 17.7048837,15.2931929 17.9979143,20.2 C18.0095879,20.3954741 17.9979143,21 17.2466999,21 C13.541124,21 8.03472472,21 0.727502227,21 C0.476712155,21 -0.0204617505,20.45918 0.00065168429,20.1992055 Z" fill="#000000" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="card-title font-weight-bolder text-white font-size-h2 mb-0 mt-6 d-block">{!! $data['statistics']['users']['total'] !!}</span>
|
||||
<span class="font-weight-bold text-white font-size-sm">No. of Admins</span>
|
||||
</div>
|
||||
<!--end::Body-->
|
||||
</div>
|
||||
<!--end::Stats Widget 30-->
|
||||
</div>
|
||||
<div class="col-xl-3">
|
||||
<!--begin::Stats Widget 31-->
|
||||
<div class="card card-custom bg-danger card-stretch gutter-b">
|
||||
<!--begin::Body-->
|
||||
<div class="card-body">
|
||||
<span class="svg-icon svg-icon-2x svg-icon-white">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Media/Equalizer.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<rect x="0" y="0" width="24" height="24"></rect>
|
||||
<rect fill="#000000" opacity="0.3" x="13" y="4" width="3" height="16" rx="1.5"></rect>
|
||||
<rect fill="#000000" x="8" y="9" width="3" height="11" rx="1.5"></rect>
|
||||
<rect fill="#000000" x="18" y="11" width="3" height="9" rx="1.5"></rect>
|
||||
<rect fill="#000000" x="3" y="13" width="3" height="7" rx="1.5"></rect>
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="card-title font-weight-bolder text-white font-size-h2 mb-0 mt-6 d-block">{{ $data['statistics']['totalPendingAccountActivation'] }}</span>
|
||||
<span class="font-weight-bold text-white font-size-sm">Pending account</span>
|
||||
</div>
|
||||
<!--end::Body-->
|
||||
</div>
|
||||
<!--end::Stats Widget 31-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
1
resources/views/backend/admin/details.blade.php
Normal file
1
resources/views/backend/admin/details.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
Details Blade
|
||||
65
resources/views/backend/admin/edit.blade.php
Normal file
65
resources/views/backend/admin/edit.blade.php
Normal file
@@ -0,0 +1,65 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.update_user_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
{{-- <div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<!-- <ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ route('admin.admin.user.index') }}" class="text-muted">{{ __('breadcrumb.users') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="javascript:void(0);" class="text-muted">{{ __('breadcrumb.update_user') }}</a>
|
||||
</li>
|
||||
</ul> -->
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div> --}}
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.update_user_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::model($user,['route' => ['admin.admin.user.update', $user->id],'method' => 'PATCH','id' => 'updateUserForm']) }}
|
||||
@include('backend.admin.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<script src="{{ asset('/js/pages/crud/forms/widgets/bootstrap-switch.js?v=7.2.8') }}"></script>
|
||||
@endsection
|
||||
246
resources/views/backend/admin/list.blade.php
Normal file
246
resources/views/backend/admin/list.blade.php
Normal file
@@ -0,0 +1,246 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_user_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('public/js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
{{-- <div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<!-- <ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.admin.user.index') }}"
|
||||
class="text-muted">{{ __('breadcrumb.users') }}</a>
|
||||
</li>
|
||||
</ul> -->
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div> --}}
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header flex-wrap border-0 pt-6 pb-0">
|
||||
<div class="card-title">
|
||||
<h3>{{ __('label.listing_user_table_title') }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-toolbar">
|
||||
<!--begin::Button-->
|
||||
<a href="{{ route('admin.admin.user.create') }}" class="btn btn-primary font-weight-bolder">
|
||||
<i class="fas fa-plus fa-sm"></i> {{ __('buttons.create_user') }}
|
||||
</a>
|
||||
<!--end::Button-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="mb-7">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12 col-xl-12">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
<label class="mr-3 mb-0 d-none d-md-block">{{ __('label.admin_search_name')}}:</label>
|
||||
{{ Form::text('name',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'name','title' => __('placeholder.admin_search_name_placeholder')]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
<label class="mr-3 mb-0 d-none d-md-block">{{ __('label.admin_search_email')}}:</label>
|
||||
{{ Form::text('email',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'email','title' => __('placeholder.admin_search_email_placeholder')]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
<label class="mr-3 mb-0 d-none d-md-block">{{ __('label.status')}}:</label>
|
||||
{{ Form::select('status',['1' => 'Active','0' => 'Inactive'],null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'status','title' => __('placeholder.select_status')]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 my-md-0">
|
||||
<button class="btn btn-secondary btn-secondary--icon" id="kt_reset" style="display: none">
|
||||
<span>
|
||||
<i class="la la-close"></i>
|
||||
<span>{{ __('buttons.reset') }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin: Selected Rows Group Action Form-->
|
||||
<div class="mb-2 multiple-actions" id="checkboxActionDropdown">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="font-weight-bold text-danger mr-3">Selected
|
||||
<span id="datatableSelectedRecords">0</span> records:</div>
|
||||
<div class="dropdown mr-2">
|
||||
<button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown">{{ __('label.update_action') }}</button>
|
||||
<div class="dropdown-menu dropdown-menu-sm">
|
||||
<ul class="nav nav-hover flex-column">
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(0);" data-value="active" class="nav-link action-type">
|
||||
<span class="nav-text">{{ __('label.active') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(0);" data-value="inactive" class="nav-link action-type">
|
||||
<span class="nav-text">{{ __('label.inactive') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger mr-2 action-type" data-value="delete">Delete All</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Selected Rows Group Action Form-->
|
||||
<div id="kt_datatable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer admin-table">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="datatable datatable-default datatable-bordered datatable-loaded">
|
||||
<table class="datatable-bordered datatable-head-custom datatable-table table-hover"
|
||||
id="users-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span style="width: 20px;">
|
||||
<label class="checkbox checkbox-single">
|
||||
<input type="checkbox"
|
||||
name="checkbox_action[]" id="checkbox-all"/> <span></span>
|
||||
</label>
|
||||
</span>
|
||||
</th>
|
||||
<th>{{ __('label.name') }}</th>
|
||||
<th>{{ __('label.email') }}</th>
|
||||
{{-- <th>{{ __('label.status') }}</th> --}}
|
||||
{{-- <th>{{ __('label.account_verified_at') }}</th> --}}
|
||||
<th>{{ __('label.created_at') }}</th>
|
||||
<th>{{ __('label.action') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<!-- DataTables -->
|
||||
<script src="{{ asset('public/js/datatable/jquery.dataTables.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/dataTables.bootstrap4.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/datatable-skeleton.js?v='.time()) }}"></script>
|
||||
<script>
|
||||
|
||||
$(document).on('keyup', '#name', function () {
|
||||
if ($('#name').val() == '' && $('#email').val() == '' && $('#status').val() == '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('keyup', '#email', function () {
|
||||
if ($('#name').val() == '' && $('#email').val() == '' && $('#status').val() == '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#status', function () {
|
||||
if ($('#name').val() == '' && $('#email').val() == '' && $('#status').val() == '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '#kt_reset', function () {
|
||||
$('#kt_reset').hide();
|
||||
});
|
||||
|
||||
customDataTableWidget.configuration({
|
||||
element: '#users-table',
|
||||
listingUrl: "{{ route('admin.admin.user.get-listing') }}",
|
||||
deleteUrl: "{{ route("admin.admin.user.destroy", ":id") }}",
|
||||
multipleActionUrl: "{{ route('admin.admin.user.grid.records.action') }}",
|
||||
columns: [
|
||||
{
|
||||
data: 'checkbox_action',
|
||||
name: 'checkbox_action',
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
data: 'name',
|
||||
name: 'name',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'email',
|
||||
name: 'email',
|
||||
searchable: true
|
||||
},
|
||||
// {
|
||||
// data: 'status',
|
||||
// name: 'status'
|
||||
// },
|
||||
// {
|
||||
// data: 'email_verified_at',
|
||||
// name: 'email_verified_at',
|
||||
// },
|
||||
{
|
||||
data: 'created_at',
|
||||
name: 'created_at',
|
||||
},
|
||||
{
|
||||
data: 'action',
|
||||
name: 'action',
|
||||
sortable: false,
|
||||
class:'text-right ws-nowrap action-col'
|
||||
}
|
||||
],
|
||||
search: [
|
||||
{
|
||||
key: 'status',
|
||||
type: 'select'
|
||||
},
|
||||
{
|
||||
key: 'email',
|
||||
type: 'text'
|
||||
},
|
||||
{
|
||||
key: 'name',
|
||||
type: 'text'
|
||||
}
|
||||
],
|
||||
defaultSortingIndex: 1,
|
||||
defaultSortingOrder: 'desc'
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
81
resources/views/backend/admin/partials/_form.blade.php
Normal file
81
resources/views/backend/admin/partials/_form.blade.php
Normal file
@@ -0,0 +1,81 @@
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.name') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('name',null,['class' => $errors->has('name') ? 'form-control is-invalid' : 'form-control','placeholder' => __('placeholder.name')]) }}
|
||||
@error('name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.role') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::select('role_id',!empty($roles) ? $roles : [],!empty($user->roles[0]['id']) ? $user->roles[0]['id'] : null,['class' => $errors->has('role_id') ? 'form-control selectpicker is-invalid' : 'form-control selectpicker','title' => __('placeholder.select_role'),'data-live-search' => 'true','data-allow-clear' => 'true']) }}
|
||||
@error('role_id')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
@if(\Request::route()->getName() == 'admin.admin.user.edit')
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.email') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::email('email',null,['class' => $errors->has('email') ? 'form-control is-invalid' : 'form-control','placeholder' => __('placeholder.email')]) }}
|
||||
@error('email')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
@else
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.email') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::email('email',null,['class' => $errors->has('email') ? 'form-control is-invalid' : 'form-control','placeholder' => __('placeholder.email')]) }}
|
||||
@error('email')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@if(!isset($user) || (isset($user) && loggedInUser()->id != $user->id))
|
||||
<!-- <div class="form-group row">
|
||||
<label class="col-3 col-form-label">{{ __('label.status') }}</label>
|
||||
<div class="col-3">
|
||||
<span class="switch switch-outline switch-icon switch-primary">
|
||||
<label>
|
||||
{{ Form::checkbox('status',$user->status ?? null,isset($user->status) && $user->status == 1 ? 'checked' : '') }}
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
<label class="col-3 col-form-label">{{ __('label.account_confirmation') }}</label>
|
||||
<div class="col-3">
|
||||
<span class="switch switch-outline switch-icon switch-primary">
|
||||
<label>
|
||||
{{ Form::checkbox('is_verify',isset($user->email_verified_at) ?? null,!empty($user->email_verified_at) ? 'checked' : '') }}
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div> -->
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
|
||||
@if(!empty($user->invite_status) != 1 && \Request::route()->getName() == 'admin.admin.user.edit')
|
||||
<!-- <button type="submit" name="save_and_invite" value="save_and_invite"
|
||||
class="btn btn-primary mr-2 pull-right">{{ __('buttons.save_invite') }}</button> -->
|
||||
@elseif(\Request::route()->getName() == 'admin.admin.user.create')
|
||||
<!-- <button type="submit" name="save_and_invite" value="save_and_invite"
|
||||
class="btn btn-primary mr-2 pull-right">{{ __('buttons.save_invite') }}</button> -->
|
||||
@endif
|
||||
|
||||
<button type="submit" name="save" value="save" class="btn btn-primary mr-2">
|
||||
@if(\Request::route()->getName() == 'admin.admin.user.edit')
|
||||
{{ __('buttons.update') }}
|
||||
@else
|
||||
{{ __('buttons.save') }}
|
||||
@endif
|
||||
</button>
|
||||
<a href="{{ route('admin.admin.user.index') }}" class="btn btn-secondary">{{ __('buttons.cancel') }}</a>
|
||||
</div>
|
||||
@@ -0,0 +1,47 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.setting_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ route('admin.account-setting.index',['change-password']) }}" class="text-muted">{{ __('breadcrumb.account_setting') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="d-flex flex-row">
|
||||
@include('backend.auth.account_setting.partials._side_menu')
|
||||
|
||||
<div class="flex-row-fluid ml-lg-8">
|
||||
<div class="card card-custom">
|
||||
@if($current_tab == 'change-password')
|
||||
@include('backend.auth.account_setting.partials._change_password')
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
@@ -0,0 +1,100 @@
|
||||
<div class="row">
|
||||
<div class="col-md-11">
|
||||
<div class="">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">{{trans('account_setting.page.change_password.message_1')}}</h3>
|
||||
</div>
|
||||
|
||||
{{ Form::open(['route' => 'admin.account-setting.update-password', 'role' => 'form', 'method' => 'post', 'id' => 'changePasswordForm']) }}
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label>{{trans('account_setting.page.change_password.field_1')}}
|
||||
<span class="text-danger">*</span></label>
|
||||
{{ Form::password('current_password',['id' => 'current_password', 'class' => 'form-control'. ($errors->has('current_password') ? ' is-invalid' : null),'placeholder' => trans('account_setting.page.change_password.field_1')]) }}
|
||||
|
||||
@error('current_password')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">{{ $message }}</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label>{{trans('account_setting.page.change_password.field_2')}}
|
||||
<span class="text-danger">*</span></label>
|
||||
{{ Form::password('new_password',['id' => 'new_password', 'class' => 'form-control'. ($errors->has('new_password') ? ' is-invalid' : null),'placeholder' => trans('account_setting.page.change_password.field_2')]) }}
|
||||
|
||||
@error('new_password')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">{{ $message }}</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label>{{trans('account_setting.page.change_password.field_3')}}
|
||||
<span class="text-danger">*</span></label>
|
||||
{{ Form::password('confirm_password',['id' => 'confirm_password', 'class' => 'form-control'. ($errors->has('confirm_password') ? ' is-invalid' : null),'placeholder' => trans('account_setting.page.change_password.field_3')]) }}
|
||||
|
||||
@error('confirm_password')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">{{ $message }}</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
{{ Form::submit(trans('account_setting.page.change_password.button_1'),['class' => 'btn btn-primary mr-2']) }}
|
||||
</div>
|
||||
|
||||
{{ Form::close() }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
$("#changePasswordForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
rules: {
|
||||
current_password: {
|
||||
required: true,
|
||||
},
|
||||
new_password: {
|
||||
required: true,
|
||||
},
|
||||
confirm_password: {
|
||||
required: true,
|
||||
equalTo: "#new_password"
|
||||
}
|
||||
},
|
||||
messages:{
|
||||
confirm_password: {
|
||||
equalTo: "{{trans('account_setting.validate.change_password.message_3')}}"
|
||||
}
|
||||
},
|
||||
errorPlacement: function (error, element) {
|
||||
error.addClass('invalid-feedback');
|
||||
error.insertAfter($(element).addClass('is-invalid'));
|
||||
},
|
||||
highlight: function(element) { // <-- fires when element has error
|
||||
$(element).closest('.form-control').removeClass('valid').addClass('is-invalid');
|
||||
},
|
||||
unhighlight: function(element) { // <-- fires when element is valid
|
||||
$(element).closest('.form-control').removeClass('is-invalid').addClass('valid');
|
||||
},
|
||||
|
||||
submitHandler: function(form) {
|
||||
form.submit();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
@@ -0,0 +1,39 @@
|
||||
<div class="flex-row-auto offcanvas-mobile w-250px w-xxl-350px" id="kt_profile_aside">
|
||||
<div class="card card-custom card-stretch">
|
||||
<div class="card-body pt-4">
|
||||
<div class="navi navi-bold navi-hover navi-active navi-link-rounded">
|
||||
<div class="navi-item mb-2">
|
||||
<a href="{{route('admin.account-setting.index', ['change-password'])}}"
|
||||
class="navi-link py-4 @if($current_tab == 'change-password') active @endif">
|
||||
<span class="navi-icon mr-2">
|
||||
<span class="svg-icon">
|
||||
<!--begin::Svg Icon | path:assets/media/svg/icons/Communication/Shield-user.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
width="24px" height="24px" viewBox="0 0 24 24"
|
||||
version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none"
|
||||
fill-rule="evenodd">
|
||||
<rect x="0" y="0" width="24"
|
||||
height="24"></rect>
|
||||
<path
|
||||
d="M4,4 L11.6314229,2.5691082 C11.8750185,2.52343403 12.1249815,2.52343403 12.3685771,2.5691082 L20,4 L20,13.2830094 C20,16.2173861 18.4883464,18.9447835 16,20.5 L12.5299989,22.6687507 C12.2057287,22.8714196 11.7942713,22.8714196 11.4700011,22.6687507 L8,20.5 C5.51165358,18.9447835 4,16.2173861 4,13.2830094 L4,4 Z"
|
||||
fill="#000000" opacity="0.3"></path>
|
||||
<path
|
||||
d="M12,11 C10.8954305,11 10,10.1045695 10,9 C10,7.8954305 10.8954305,7 12,7 C13.1045695,7 14,7.8954305 14,9 C14,10.1045695 13.1045695,11 12,11 Z"
|
||||
fill="#000000" opacity="0.3"></path>
|
||||
<path
|
||||
d="M7.00036205,16.4995035 C7.21569918,13.5165724 9.36772908,12 11.9907452,12 C14.6506758,12 16.8360465,13.4332455 16.9988413,16.5 C17.0053266,16.6221713 16.9988413,17 16.5815,17 C14.5228466,17 11.463736,17 7.4041679,17 C7.26484009,17 6.98863236,16.6619875 7.00036205,16.4995035 Z"
|
||||
fill="#000000" opacity="0.3"></path>
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
</span>
|
||||
<span class="navi-text font-size-lg">{{trans('account_setting.page.menu.item_3')}}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
103
resources/views/backend/auth/login.blade.php
Normal file
103
resources/views/backend/auth/login.blade.php
Normal file
@@ -0,0 +1,103 @@
|
||||
@extends('backend.layouts.login')
|
||||
|
||||
@section('title',__('label.admin_login_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex flex-column flex-root">
|
||||
<!--begin::Login-->
|
||||
<div class="login login-1 login-signin-on d-flex flex-column flex-lg-row flex-column-fluid bg-white" id="kt_login">
|
||||
<!--begin::Aside-->
|
||||
<div class="login-aside d-flex flex-column flex-row-auto" style="background-color: #D3D0D0;">
|
||||
<!--begin::Aside Top-->
|
||||
<div class="d-flex flex-column-auto flex-column pt-25">
|
||||
<!--begin::Aside header-->
|
||||
<!--end::Aside header-->
|
||||
</div>
|
||||
<!--end::Aside Top-->
|
||||
<!--begin::Aside Bottom-->
|
||||
<div class="aside-img d-flex flex-row-fluid bgi-no-repeat bgi-position-x-center" style="min-height: 280px;background-size: 80%;background-repeat: no-repeat;background-position: center center;background-image: url(public/assets/media/admin-console-banner.png)"></div>
|
||||
<!--end::Aside Bottom-->
|
||||
</div>
|
||||
<!--begin::Aside-->
|
||||
<!--begin::Content-->
|
||||
<div class="login-content flex-row-fluid d-flex flex-column justify-content-center position-relative overflow-hidden p-7 mx-auto">
|
||||
<!--begin::Content body-->
|
||||
|
||||
|
||||
<div class="d-flex flex-column-fluid justify-content-center flex-column mt-4">
|
||||
<!--begin::Signin-->
|
||||
<img alt="Logo" src="{{ asset('public/images/logos/Global-Jain-Logo.png') }}" width="350" vspace="30px"/>
|
||||
<div class="login-form login-signin">
|
||||
<!--begin::Form-->
|
||||
<form method="POST" action="{{ route('admin.login') }}">
|
||||
@csrf
|
||||
<!--begin::Title-->
|
||||
<div class="pb-3 pt-lg-0 pt-5">
|
||||
<h3 class="font-weight-bolder text-dark font-size-h4 font-size-h1-lg">{{ __('label.welcome_console_title',['param' => app_name()]) }}</h3>
|
||||
</div>
|
||||
<!--begin::Title-->
|
||||
<!--begin::Form group-->
|
||||
<div class="form-group">
|
||||
<label class="font-size-h6 font-weight-bolder text-dark">{{ __('label.email') }}</label>
|
||||
{{ Form::text('email',null,['class' => 'form-control form-control-solid h-auto py-6 px-6 rounded-lg'. ($errors->has('email') ? ' is-invalid' : null)])}}
|
||||
@error('email')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">
|
||||
<strong>{{ $message }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<!--end::Form group-->
|
||||
<!--begin::Form group-->
|
||||
<div class="form-group">
|
||||
<div class="d-flex justify-content-between mt-n5">
|
||||
<label class="font-size-h6 font-weight-bolder text-dark pt-5">{{ __('label.password') }}</label>
|
||||
<a href="{{ route('admin.password.request') }}" class="text-primary font-size-h6 font-weight-bolder text-hover-primary pt-5" id="kt_login_forgot">{{ __('label.forgot_password') }}</a>
|
||||
</div>
|
||||
{{ Form::password('password',['class' => 'form-control form-control-solid h-auto py-6 px-6 rounded-lg'. ($errors->has('password') ? ' is-invalid' : null)])}}
|
||||
@error('password')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">
|
||||
<strong>{{ $message }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>
|
||||
|
||||
<label class="form-check-label" for="remember">
|
||||
{{ __('Remember Me') }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Form group-->
|
||||
<!--begin::Action-->
|
||||
<div class="pb-lg-0 pb-5">
|
||||
{{ Form::submit(__('buttons.sign_in'),['class' => 'btn btn-primary font-weight-bolder font-size-h6 px-8 py-4 my-3 mr-3'])}}
|
||||
</div>
|
||||
<!--end::Action-->
|
||||
</form>
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
<!--end::Signin-->
|
||||
</div>
|
||||
<!--end::Signup-->
|
||||
</div>
|
||||
<!--end::Content body-->
|
||||
<!--begin::Content footer-->
|
||||
<div class="d-flex justify-content-lg-start justify-content-center align-items-end py-7 py-lg-0">
|
||||
<div class="text-dark-50 font-size-lg font-weight-bolder mr-10">
|
||||
<span class="mr-1">{{date('Y')}} © {{ app_name() }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Content footer-->
|
||||
</div>
|
||||
<!--end::Content-->
|
||||
</div>
|
||||
<!--end::Login-->
|
||||
@endsection
|
||||
51
resources/views/backend/auth/passwords/confirm.blade.php
Normal file
51
resources/views/backend/auth/passwords/confirm.blade.php
Normal file
@@ -0,0 +1,51 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title',__('label.admin_confirm_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Confirm Password') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
{{ __('Please confirm your password before continuing.') }}
|
||||
|
||||
<form method="POST" action="{{ route('password.confirm') }}">
|
||||
@csrf
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
|
||||
|
||||
@error('password')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row mb-0">
|
||||
<div class="col-md-8 offset-md-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{{ __('Confirm Password') }}
|
||||
</button>
|
||||
|
||||
@if (Route::has('password.request'))
|
||||
<a class="btn btn-link" href="{{ route('password.request') }}">
|
||||
{{ __('Forgot Your Password?') }}
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
75
resources/views/backend/auth/passwords/email.blade.php
Normal file
75
resources/views/backend/auth/passwords/email.blade.php
Normal file
@@ -0,0 +1,75 @@
|
||||
@extends('backend.layouts.login')
|
||||
|
||||
@section('title',__('label.admin_email_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex flex-column flex-root">
|
||||
<!--begin::Login-->
|
||||
<div class="login login-1 login-signin-on d-flex flex-column flex-lg-row flex-column-fluid bg-white" id="kt_login">
|
||||
<!--begin::Aside-->
|
||||
<div class="login-aside d-flex flex-column flex-row-auto" style="background-color: #D3D0D0;">
|
||||
<!--begin::Aside Top-->
|
||||
<div class="d-flex flex-column-auto flex-column pt-25">
|
||||
<!--begin::Aside header-->
|
||||
<!--end::Aside header-->
|
||||
</div>
|
||||
<!--end::Aside Top-->
|
||||
<!--begin::Aside Bottom-->
|
||||
<div class="aside-img d-flex flex-row-fluid bgi-no-repeat bgi-position-x-center" style="min-height: 280px;background-size: 80%;background-repeat: no-repeat;background-position: center center;background-image: url(/assets/media/admin-console-banner.png)"></div>
|
||||
<!--end::Aside Bottom-->
|
||||
</div>
|
||||
<!--begin::Aside-->
|
||||
<!--begin::Content-->
|
||||
<div class="login-content flex-row-fluid d-flex flex-column justify-content-center position-relative overflow-hidden p-7 mx-auto">
|
||||
<!--begin::Content body-->
|
||||
<div class="d-flex flex-column-fluid flex-center">
|
||||
<!--begin::Signin-->
|
||||
<div class="login-form login-signin">
|
||||
<!--begin::Form-->
|
||||
<form method="POST" action="{{ route('admin.password.email') }}">
|
||||
@csrf
|
||||
<!--begin::Title-->
|
||||
<div class="pb-13 pt-lg-0 pt-5">
|
||||
<h3 class="font-weight-bolder text-dark font-size-h4 font-size-h1-lg">{{ __('label.forgotten_password') }}</h3>
|
||||
<p class="font-weight-bold font-size-h4">{{ __('label.reset_your_password') }}</p>
|
||||
</div>
|
||||
<!--begin::Title-->
|
||||
<!--begin::Form group-->
|
||||
<div class="form-group">
|
||||
<label class="font-size-h6 font-weight-bolder text-dark">{{ __('label.email') }}</label>
|
||||
{{ Form::text('email',null,['class' => 'form-control form-control-solid h-auto py-6 px-6 rounded-lg'. ($errors->has('email') ? ' is-invalid' : null)])}}
|
||||
@error('email')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">
|
||||
<strong>{{ $message }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<!--end::Form group-->
|
||||
<!--begin::Action-->
|
||||
<div class="pb-lg-0 pb-5">
|
||||
{{ Form::submit(__('buttons.submit'),['class' => 'btn btn-primary font-weight-bolder font-size-h6 px-8 py-4 my-3 mr-3'])}}
|
||||
<a href="{{ route('admin.login') }}" class="btn btn-light-primary font-weight-bolder font-size-h6 px-8 py-4 my-3"> {{ __('buttons.cancel') }} </a>
|
||||
</div>
|
||||
<!--end::Action-->
|
||||
</form>
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
<!--end::Signin-->
|
||||
</div>
|
||||
<!--end::Signup-->
|
||||
</div>
|
||||
<!--end::Content body-->
|
||||
<!--begin::Content footer-->
|
||||
<div class="d-flex justify-content-lg-start justify-content-center align-items-end py-7 py-lg-0">
|
||||
<div class="text-dark-50 font-size-lg font-weight-bolder mr-10">
|
||||
<span class="mr-1">{{date('Y')}} ©</span>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Content footer-->
|
||||
</div>
|
||||
<!--end::Content-->
|
||||
</div>
|
||||
<!--end::Login-->
|
||||
@endsection
|
||||
101
resources/views/backend/auth/passwords/reset.blade.php
Normal file
101
resources/views/backend/auth/passwords/reset.blade.php
Normal file
@@ -0,0 +1,101 @@
|
||||
@extends('backend.layouts.login')
|
||||
|
||||
@section('title',__('label.admin_reset_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex flex-column flex-root">
|
||||
<!--begin::Login-->
|
||||
<div class="login login-1 login-signin-on d-flex flex-column flex-lg-row flex-column-fluid bg-white" id="kt_login">
|
||||
<!--begin::Aside-->
|
||||
<div class="login-aside d-flex flex-column flex-row-auto" style="background-color: #D3D0D0;">
|
||||
<!--begin::Aside Top-->
|
||||
<div class="d-flex flex-column-auto flex-column pt-25">
|
||||
<!--begin::Aside header-->
|
||||
<!--end::Aside header-->
|
||||
</div>
|
||||
<!--end::Aside Top-->
|
||||
<!--begin::Aside Bottom-->
|
||||
<div class="aside-img d-flex flex-row-fluid bgi-no-repeat bgi-position-x-center" style="min-height: 280px;background-size: 80%;background-repeat: no-repeat;background-position: center center;background-image: url(/assets/media/admin-console-banner.png)"></div>
|
||||
<!--end::Aside Bottom-->
|
||||
</div>
|
||||
<!--begin::Aside-->
|
||||
<!--begin::Content-->
|
||||
<div class="login-content flex-row-fluid d-flex flex-column justify-content-center position-relative overflow-hidden p-7 mx-auto">
|
||||
<!--begin::Content body-->
|
||||
<div class="d-flex flex-column-fluid flex-center">
|
||||
<!--begin::Signin-->
|
||||
<div class="login-form login-signin">
|
||||
<!--begin::Form-->
|
||||
<form method="POST" action="{{ route('admin.password.update') }}">
|
||||
@csrf
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
<!--begin::Title-->
|
||||
<div class="pb-13 pt-lg-0 pt-5">
|
||||
<h3 class="font-weight-bolder text-dark font-size-h4 font-size-h1-lg">{{ __('label.reset_password') }}</h3>
|
||||
</div>
|
||||
<!--begin::Title-->
|
||||
<!--begin::Form group-->
|
||||
<div class="form-group">
|
||||
<label class="font-size-h6 font-weight-bolder text-dark">{{ __('label.email') }}</label>
|
||||
{{ Form::text('email',($email ?? old('email')),['class' => 'form-control form-control-solid h-auto py-6 px-6 rounded-lg'. ($errors->has('email') ? ' is-invalid' : null)])}}
|
||||
@error('email')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">
|
||||
<strong>{{ $message }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="d-flex justify-content-between mt-n5">
|
||||
<label class="font-size-h6 font-weight-bolder text-dark pt-5">{{ __('label.password') }}</label>
|
||||
</div>
|
||||
{{ Form::password('password',['class' => 'form-control form-control-solid h-auto py-6 px-6 rounded-lg'. ($errors->has('password') ? ' is-invalid' : null)])}}
|
||||
@error('password')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">
|
||||
<strong>{{ $message }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="d-flex justify-content-between mt-n5">
|
||||
<label class="font-size-h6 font-weight-bolder text-dark pt-5">{{ __('label.password_confirmation') }}</label>
|
||||
</div>
|
||||
{{ Form::password('password_confirmation',['class' => 'form-control form-control-solid h-auto py-6 px-6 rounded-lg'. ($errors->has('password_confirmation') ? ' is-invalid' : null)])}}
|
||||
@error('password_confirmation')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">
|
||||
<strong>{{ $message }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<!--end::Form group-->
|
||||
<!--begin::Action-->
|
||||
<div class="pb-lg-0 pb-5">
|
||||
{{ Form::submit(__('buttons.submit'),['class' => 'btn btn-primary font-weight-bolder font-size-h6 px-8 py-4 my-3 mr-3'])}}
|
||||
<a href="{{ route('admin.login') }}" class="btn btn-light-primary font-weight-bolder font-size-h6 px-8 py-4 my-3"> {{ __('buttons.cancel') }} </a>
|
||||
</div>
|
||||
<!--end::Action-->
|
||||
</form>
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
<!--end::Signin-->
|
||||
</div>
|
||||
<!--end::Signup-->
|
||||
</div>
|
||||
<!--end::Content body-->
|
||||
<!--begin::Content footer-->
|
||||
<div class="d-flex justify-content-lg-start justify-content-center align-items-end py-7 py-lg-0">
|
||||
<div class="text-dark-50 font-size-lg font-weight-bolder mr-10">
|
||||
<span class="mr-1">{{date('Y')}} ©</span>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Content footer-->
|
||||
</div>
|
||||
<!--end::Content-->
|
||||
</div>
|
||||
<!--end::Login-->
|
||||
@endsection
|
||||
79
resources/views/backend/auth/register.blade.php
Normal file
79
resources/views/backend/auth/register.blade.php
Normal file
@@ -0,0 +1,79 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title',__('label.admin_register_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Register') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
<form method="POST" action="{{ route('register') }}">
|
||||
@csrf
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-md-4 col-form-label text-md-right">{{ __('Name') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="name" type="text" class="form-control @error('name') is-invalid @enderror" name="name" value="{{ old('name') }}" required autocomplete="name" autofocus>
|
||||
|
||||
@error('name')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="email" class="col-md-4 col-form-label text-md-right">{{ __('E-Mail Address') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email">
|
||||
|
||||
@error('email')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="new-password">
|
||||
|
||||
@error('password')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="password-confirm" class="col-md-4 col-form-label text-md-right">{{ __('Confirm Password') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required autocomplete="new-password">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row mb-0">
|
||||
<div class="col-md-6 offset-md-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{{ __('Register') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
158
resources/views/backend/auth/signup.blade.php
Normal file
158
resources/views/backend/auth/signup.blade.php
Normal file
@@ -0,0 +1,158 @@
|
||||
@extends('backend.layouts.login')
|
||||
|
||||
@section('title',env('APP_NAME').' | '. __('label.admin_sign_up_page_title'))
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex flex-column flex-root">
|
||||
<!--begin::Login-->
|
||||
<div class="login login-1 login-signin-on d-flex flex-column flex-lg-row flex-column-fluid bg-white" id="kt_login">
|
||||
<!--begin::Aside-->
|
||||
<div class="login-aside d-flex flex-column flex-row-auto" style="background-color: #D3D0D0;">
|
||||
<!--begin::Aside Top-->
|
||||
<div class="d-flex flex-column-auto flex-column pt-25">
|
||||
<!--begin::Aside header-->
|
||||
<!--end::Aside header-->
|
||||
</div>
|
||||
<!--end::Aside Top-->
|
||||
<!--begin::Aside Bottom-->
|
||||
<div class="aside-img d-flex flex-row-fluid bgi-no-repeat bgi-position-x-center" style="min-height: 280px;background-size: 80%;background-repeat: no-repeat;background-position: center center;background-image: url(/assets/media/admin-console-banner.png)"></div>
|
||||
<!--end::Aside Bottom-->
|
||||
</div>
|
||||
<!--begin::Aside-->
|
||||
<!--begin::Content-->
|
||||
<div class="login-content flex-row-fluid d-flex flex-column justify-content-center position-relative overflow-hidden p-7 mx-auto">
|
||||
<!--begin::Content body-->
|
||||
<div class="d-flex flex-column-fluid flex-center">
|
||||
<!--begin::Signin-->
|
||||
<div class="login-form login-signin">
|
||||
<!--begin::Form-->
|
||||
<form method="POST" action="{{ route('admin.user.post.register') }}">
|
||||
@csrf
|
||||
<input type="hidden" name="user_id" value="{{ request('user') }}">
|
||||
<!--begin::Title-->
|
||||
<div class="pb-13 pt-lg-0 pt-5">
|
||||
<h3 class="font-weight-bolder text-dark font-size-h4 font-size-h1-lg">{{ __('label.welcome_invite_title',['param' => app_name()]) }}</h3>
|
||||
</div>
|
||||
<!--begin::Title-->
|
||||
<!--begin::Form group-->
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label class="font-size-h6 font-weight-bolder text-dark">{{ __('label.first_name') }}</label>
|
||||
{{ Form::text('first_name',!empty($user->first_name) ? $user->first_name : null,['class' => 'form-control form-control-solid h-auto py-4 px-4 rounded-lg'. ($errors->has('first_name') ? ' is-invalid' : null)])}}
|
||||
@error('first_name')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">
|
||||
<strong>{{ $message }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="font-size-h6 font-weight-bolder text-dark">{{ __('label.last_name') }}</label>
|
||||
{{ Form::text('last_name',!empty($user->last_name) ? $user->last_name : null,['class' => 'form-control form-control-solid h-auto py-4 px-4 rounded-lg'. ($errors->has('last_name') ? ' is-invalid' : null)])}}
|
||||
@error('last_name')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">
|
||||
<strong>{{ $message }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Form group-->
|
||||
<!--begin::Form group-->
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label class="font-size-h6 font-weight-bolder text-dark">{{ __('label.email') }}</label>
|
||||
{{ Form::text('email',!empty($user->email) ? $user->email : null,['readonly' => 'readonly', 'class' => 'form-control form-control-solid h-auto py-4 px-4 rounded-lg'. ($errors->has('email') ? ' is-invalid' : null)])}}
|
||||
@error('email')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">
|
||||
<strong>{{ $message }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<!--begin::Form group-->
|
||||
<div class="form-group">
|
||||
<label class="font-size-h6 font-weight-bolder text-dark">{{ __('label.username') }}</label>
|
||||
{{ Form::text('username',null,['class' => 'form-control form-control-solid h-auto py-4 px-4 rounded-lg'. ($errors->has('username') ? ' is-invalid' : null)])}}
|
||||
@error('username')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">
|
||||
<strong>{{ $message }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<!--end::Form group-->
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Form group-->
|
||||
<!--begin::Form group-->
|
||||
<div class="form-group row">
|
||||
<div class="col-md-12">
|
||||
<label class="font-size-h6 font-weight-bolder text-dark">{{ __('label.employee_id') }}</label>
|
||||
{{ Form::text('employee_id',null,['class' => 'form-control form-control-solid h-auto py-4 px-4 rounded-lg'. ($errors->has('employee_id') ? ' is-invalid' : null)])}}
|
||||
@error('employee_id')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">
|
||||
<strong>{{ $message }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Form group-->
|
||||
<!--begin::Form group-->
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label class="font-size-h6 font-weight-bolder text-dark">{{ __('label.password') }}</label>
|
||||
{{ Form::password('password',['class' => 'form-control form-control-solid h-auto py-4 px-4 rounded-lg'. ($errors->has('password') ? ' is-invalid' : null)])}}
|
||||
@error('password')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">
|
||||
<strong>{{ $message }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="font-size-h6 font-weight-bolder text-dark">{{ __('label.confirm_password') }}</label>
|
||||
{{ Form::password('password_confirmation',['class' => 'form-control form-control-solid h-auto py-4 px-4 rounded-lg'. ($errors->has('password_confirmation') ? ' is-invalid' : null)])}}
|
||||
@error('password_confirmation')
|
||||
<div class="fv-plugins-message-container">
|
||||
<div class="fv-help-block">
|
||||
<strong>{{ $message }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Form group-->
|
||||
<!--begin::Action-->
|
||||
<div class="pb-lg-0 pb-5">
|
||||
{{ Form::submit(__('buttons.sign_up'),['class' => 'btn btn-primary font-weight-bolder font-size-h6 px-8 py-4 my-3 mr-3'])}}
|
||||
</div>
|
||||
<!--end::Action-->
|
||||
</form>
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
<!--end::Signin-->
|
||||
</div>
|
||||
<!--end::Signup-->
|
||||
</div>
|
||||
<!--end::Content body-->
|
||||
<!--begin::Content footer-->
|
||||
<div class="d-flex justify-content-lg-start justify-content-center align-items-end py-7 py-lg-0">
|
||||
<div class="text-dark-50 font-size-lg font-weight-bolder mr-10">
|
||||
<span class="mr-1">{{date('Y')}} © {{ app_name() }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Content footer-->
|
||||
</div>
|
||||
<!--end::Content-->
|
||||
</div>
|
||||
<!--end::Login-->
|
||||
@endsection
|
||||
30
resources/views/backend/auth/verify.blade.php
Normal file
30
resources/views/backend/auth/verify.blade.php
Normal file
@@ -0,0 +1,30 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title',__('label.admin_verify_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Verify Your Email Address') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
@if (session('resent'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ __('A fresh verification link has been sent to your email address.') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{ __('Before proceeding, please check your email for a verification link.') }}
|
||||
{{ __('If you did not receive the email') }},
|
||||
<form class="d-inline" method="POST" action="{{ route('verification.resend') }}">
|
||||
@csrf
|
||||
<button type="submit" class="btn btn-link p-0 m-0 align-baseline">{{ __('click here to request another') }}</button>.
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
211
resources/views/backend/certificate/detail.blade.php
Normal file
211
resources/views/backend/certificate/detail.blade.php
Normal file
@@ -0,0 +1,211 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.view_certificate_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.certificates.index') }}" class="text-muted">{{ __('breadcrumb.certificate') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.view_certificate_request') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<form class="form" method="post" id="certificate_update" action="{{ route('admin.certificates.status.update',$details?->id) }}">
|
||||
@csrf
|
||||
<div class="card card-custom card-stretch">
|
||||
<!--begin::Header-->
|
||||
<div class="card-header py-3">
|
||||
<div class="card-title">
|
||||
<h3 class="card-label font-weight-bolder text-dark">{{ __('label.view_certificate_title') }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Header-->
|
||||
|
||||
<!--begin::Form-->
|
||||
|
||||
<!--begin::Body-->
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<label class="col-xl-3 col-lg-3 col-form-label">Current Status :</label>
|
||||
<label class="col-lg-9 col-xl-6 col-form-label">
|
||||
|
||||
@if ($details?->status === 0)
|
||||
<span class="label label-lg label-light-warning label-inline"> {{ __('label.pending') }}</span>
|
||||
@elseif ($details->status === 1)
|
||||
<span
|
||||
class="label label-lg label-light-success label-inline"> {{ __('label.approved') }}</span>
|
||||
@else
|
||||
<span class="label label-lg label-light-danger label-inline">{{ __('label.rejected') }}</span>
|
||||
@endif
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-xl-3 col-lg-3 col-form-label">Hospital Name :</label>
|
||||
<label class="col-lg-9 col-xl-6 col-form-label">{{ $details?->hospital?->name }}</label>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-xl-3 col-lg-3 col-form-label">Full Name :</label>
|
||||
<label class="col-lg-9 col-xl-6 col-form-label">{{ $details?->full_name }}</label>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-xl-3 col-lg-3 col-form-label">Address :</label>
|
||||
<label class="col-lg-9 col-xl-6 col-form-label">{{ $details?->address }}</label>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-xl-3 col-lg-3 col-form-label">Email :</label>
|
||||
<label class="col-lg-9 col-xl-6 col-form-label">{{ $details?->email }}</label>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-xl-3 col-lg-3 col-form-label">Mobile :</label>
|
||||
<label class="col-lg-9 col-xl-6 col-form-label">{{ $details?->user?->mobile }}</label>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-xl-3 col-lg-3 col-form-label">Medical Problem :</label>
|
||||
<label class="col-lg-9 col-xl-6 col-form-label">{{ $details?->medical_problem }}</label>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-xl-3 col-lg-3 col-form-label">Aadhar Card Number : </label>
|
||||
<label class="col-lg-9 col-xl-6 col-form-label">{{ $details?->aadhar_card_number }}</label>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-xl-3 col-lg-3 col-form-label">Aadhar Card Photos :</label>
|
||||
<div class="col-lg-9 col-xl-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-xl-4">
|
||||
<!--begin::Overlay-->
|
||||
<a class="d-block overlay" data-fslightbox="lightbox-basic" href="{{ $details?->aadhar_card_front_photo }}">
|
||||
<!--begin::Image-->
|
||||
<div class="overlay-wrapper bgi-no-repeat bgi-position-center bgi-size-cover card-rounded min-h-175px"
|
||||
style="background-image:url({{ $details?->aadhar_card_front_photo }})">
|
||||
</div>
|
||||
<!--end::Image-->
|
||||
|
||||
<!--begin::Action-->
|
||||
<div class="overlay-layer card-rounded bg-dark bg-opacity-25 shadow">
|
||||
<i class="bi bi-eye-fill text-white fs-3x"></i>
|
||||
</div>
|
||||
<!--end::Action-->
|
||||
</a>
|
||||
<!--end::Overlay-->
|
||||
</div>
|
||||
<div class="col-lg-4 col-xl-4">
|
||||
<!--begin::Overlay-->
|
||||
<a class="d-block overlay" data-fslightbox="lightbox-basic" href="{{ $details?->aadhar_card_back_photo }}">
|
||||
<!--begin::Image-->
|
||||
<div class="overlay-wrapper bgi-no-repeat bgi-position-center bgi-size-cover card-rounded min-h-175px"
|
||||
style="background-image:url({{ $details?->aadhar_card_back_photo }})">
|
||||
</div>
|
||||
<!--end::Image-->
|
||||
|
||||
<!--begin::Action-->
|
||||
<div class="overlay-layer card-rounded bg-dark bg-opacity-25 shadow">
|
||||
<i class="bi bi-eye-fill text-white fs-3x"></i>
|
||||
</div>
|
||||
<!--end::Action-->
|
||||
</a>
|
||||
<!--end::Overlay-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@if($details?->status === 0)
|
||||
<div class="form-group row">
|
||||
<div class="col-md-4">
|
||||
<div class="radio-inline">
|
||||
<label class="radio radio-success">
|
||||
<input type="radio" name="status" class="rejection" value="1"/>
|
||||
<span></span>
|
||||
Approved
|
||||
</label>
|
||||
<label class="radio radio-danger">
|
||||
<input type="radio" name="status" class="rejection" value="2"/>
|
||||
<span></span>
|
||||
Rejected
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row" id="rejection_reason" style="display: none">
|
||||
<div class="col-md-4">
|
||||
<label>Rejection Reason :</label>
|
||||
<textarea name="rejection_reason" class="form-control reason"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<!--end::Body-->
|
||||
|
||||
<!--end::Form-->
|
||||
@if($details?->status === 0)
|
||||
<div class="card-footer">
|
||||
<button class="btn btn-success">Update</button>
|
||||
<a href="{{ route('admin.certificates.index') }}" class="btn btn-secondary">Cancel</a>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script src="{{ asset('plugins/custom/fslightbox/fslightbox.bundle.js') }}"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$("#certificate_update").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
rejection_reason: {
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
}
|
||||
});
|
||||
});
|
||||
$(document).on('change','.rejection',function(){
|
||||
$('#rejection_reason').hide();
|
||||
$('.reason').attr('required',false);
|
||||
if(parseInt($(this).val()) === 2){
|
||||
$('.reason').attr('required',true);
|
||||
$('#rejection_reason').show();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
209
resources/views/backend/certificate/list.blade.php
Normal file
209
resources/views/backend/certificate/list.blade.php
Normal file
@@ -0,0 +1,209 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_certificates_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('public/js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
{{ __('breadcrumb.certificate') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header flex-wrap border-0 pt-6 pb-0">
|
||||
<div class="card-title">
|
||||
<h3>{{ __('label.listing_certificates_table_title') }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="mb-7">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12 col-xl-12">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::text('name',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'title','placeholder' => __('label.search')]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 my-md-0">
|
||||
<button class="btn btn-secondary btn-secondary--icon" id="kt_reset" style="display: none">
|
||||
<span>
|
||||
<i class="la la-close"></i>
|
||||
<span>{{ __('buttons.reset') }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin: Selected Rows Group Action Form-->
|
||||
<div class="mb-2 multiple-actions" id="checkboxActionDropdown">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="font-weight-bold text-danger mr-3">Selected
|
||||
<span id="datatableSelectedRecords">0</span> records:</div>
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger mr-2 action-type" data-value="delete">Delete All</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Selected Rows Group Action Form-->
|
||||
<div id="kt_datatable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer admin-table">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="datatable datatable-default datatable-bordered datatable-loaded">
|
||||
<table class="datatable-bordered datatable-head-custom datatable-table table-hover"
|
||||
id="hospital-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span style="width: 20px;">
|
||||
<label class="checkbox checkbox-single">
|
||||
<input type="checkbox"
|
||||
name="checkbox_action[]" id="checkbox-all"/> <span></span>
|
||||
</label>
|
||||
</span>
|
||||
</th>
|
||||
<th>{{ __('label.certificate_listing_heading_7') }}</th>
|
||||
<th>{{ __('label.certificate_listing_heading_1') }}</th>
|
||||
<th>{{ __('label.certificate_listing_heading_2') }}</th>
|
||||
<th>{{ __('label.certificate_listing_heading_8') }}</th>
|
||||
<th>{{ __('label.certificate_listing_heading_3') }}</th>
|
||||
<th>{{ __('label.certificate_listing_heading_4') }}</th>
|
||||
<th>{{ __('label.certificate_listing_heading_5') }}</th>
|
||||
<th>{{ __('label.certificate_listing_heading_6') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<!-- DataTables -->
|
||||
<script src="{{ asset('public/js/datatable/jquery.dataTables.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/dataTables.bootstrap4.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/datatable-skeleton.js?v='.time()) }}"></script>
|
||||
<script>
|
||||
|
||||
$(document).on('keyup', '#title', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#status', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '#kt_reset', function () {
|
||||
$('#kt_reset').hide();
|
||||
});
|
||||
|
||||
customDataTableWidget.configuration({
|
||||
element: '#hospital-table',
|
||||
listingUrl: "{{ route('admin.certificates.listing') }}",
|
||||
deleteUrl: "{{ route("admin.hospitals.destroy", ":id") }}",
|
||||
multipleActionUrl: "",
|
||||
columns: [
|
||||
{
|
||||
data: 'checkbox_action',
|
||||
name: 'checkbox_action',
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
data: 'hospital_name',
|
||||
name: 'hospital_name',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'full_name',
|
||||
name: 'full_name',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'email',
|
||||
name: 'email',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'mobile_number',
|
||||
name: 'mobile_number',
|
||||
searchable: false,
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
data: 'aadhar_card_number',
|
||||
name: 'aadhar_card_number',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'generated_date',
|
||||
name: 'generated_date',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'status',
|
||||
name: 'status',
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
data: 'action',
|
||||
name: 'action',
|
||||
sortable: false,
|
||||
class:'text-right ws-nowrap action-col'
|
||||
}
|
||||
],
|
||||
search: [
|
||||
{
|
||||
key: 'name',
|
||||
type: 'text'
|
||||
}
|
||||
],
|
||||
defaultSortingIndex: 0,
|
||||
defaultSortingOrder: 'desc'
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
186
resources/views/backend/certificate/pdf.blade.php
Normal file
186
resources/views/backend/certificate/pdf.blade.php
Normal file
@@ -0,0 +1,186 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Letter</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
|
||||
<body style="margin: 0">
|
||||
<div style="font-size:12px;line-height: 17px; font-family: Arial, sans-serif; color: #404040;">
|
||||
<div style="width: 100%; margin: auto;">
|
||||
<div>
|
||||
<img style="display: block; height: auto; margin: 0 auto;" src="{{ asset('public/images/pdf/logo.jpg') }}" alt="logo" width="700" height="34">
|
||||
</div>
|
||||
<div>
|
||||
<div style="margin-top: 16px;">
|
||||
<p style="margin: 0;">To,</p>
|
||||
<p style="margin: 8px 0 0;"><strong>Hospital / Centre Name:</strong> {{ $certificate?->hospital?->name }}</p>
|
||||
<p style="margin: 8px 0 0;"><strong>City:</strong> {{ $certificate?->hospital?->city }}</p>
|
||||
</div>
|
||||
<div style="margin-top: 24px;">
|
||||
<p style="margin: 0;"><strong>Subject: Request for Jain Health Care [JHC] Benefit as per the
|
||||
Agreement</strong></p>
|
||||
<p style="margin: 8px 0 0;">Dear Sir/Madam,</p>
|
||||
<p style="margin: 8px 0 0;">We request and recommend Jain Health Care (JHC) benefits for the following
|
||||
patient who belongs to our community.</p>
|
||||
</div>
|
||||
<div style="margin-top: 16px;">
|
||||
<table style="width: 100%;border-collapse: collapse;" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td style="font-weight: 600;border:solid 1px #404040; vertical-align: top;padding:6px 8px;width: 28%;">
|
||||
Patient's Full Name
|
||||
</td>
|
||||
<td style="border:solid 1px #404040; vertical-align: top;padding:6px 8px;">
|
||||
{{ $certificate?->full_name }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-weight: 600;border:solid 1px #404040; vertical-align: top;padding:6px 8px;width: 28%;">
|
||||
Aadhar Card No.
|
||||
</td>
|
||||
<td style="border:solid 1px #404040; vertical-align: top;padding:6px 8px;">
|
||||
{{ $certificate?->aadhar_card_number }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-weight: 600;border:solid 1px #404040; vertical-align: top;padding:6px 8px;width: 28%;">
|
||||
Cell No.
|
||||
</td>
|
||||
<td style="border:solid 1px #404040; vertical-align: top;padding:6px 8px;">
|
||||
{{ $certificate?->user?->mobile }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-weight: 600;border:solid 1px #404040; vertical-align: top;padding:6px 8px;width: 28%;">
|
||||
Treatment
|
||||
</td>
|
||||
<td style="border:solid 1px #404040; vertical-align: top;padding:6px 8px;">
|
||||
{{ $certificate?->medical_problem }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-weight: 600;border:solid 1px #404040; vertical-align: top;padding:6px 8px;width: 28%;">
|
||||
Issue Date & Time
|
||||
</td>
|
||||
<td style="border:solid 1px #404040; vertical-align: top;padding:6px 8px;">
|
||||
{{ $certificate?->generated_date }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-weight: 600;border:solid 1px #404040; vertical-align: top;padding:6px 8px;width: 28%;">
|
||||
Expiration Date & Time
|
||||
</td>
|
||||
<td style="border:solid 1px #404040; vertical-align: top;padding:6px 8px;">
|
||||
{{ $expireDate ?? '-' }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-weight: 600;border:solid 1px #404040; vertical-align: top;padding:6px 8px;width: 28%;">
|
||||
Request No
|
||||
</td>
|
||||
<td style="border:solid 1px #404040; vertical-align: top;padding:6px 8px;">
|
||||
{{ '#'.requestNumberFormat($certificate->id) }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div style="margin-top: 16px;">
|
||||
<p style="margin: 0;"><strong>{{ $certificate?->full_name }}</strong> will present a letter from our Sangh along with a copy
|
||||
of their Aadhar card at your administration
|
||||
office.</p>
|
||||
</div>
|
||||
<div style="margin-top: 16px;">
|
||||
<table style="width: 100%;" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td colspan="2">Thank you for your cooperation.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align: top;padding: 4px 0;width: 60%;">
|
||||
<strong>Shree Mumbai Jain Sangh Sangathan Sangh</strong>
|
||||
</td>
|
||||
<td style="vertical-align: top;padding: 4px 0;width: 60%;">
|
||||
<strong>Shree Evershine Paradise S.M.T Jain</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align: top;padding: 4px 0;width: 60%;">
|
||||
<img style="display: block; width: 130px; height: auto;" src="{{ asset('public/images/pdf/sing-1.jpg') }}" alt="sign" width="135"
|
||||
height="80">
|
||||
</td>
|
||||
<td style="vertical-align: top;padding: 4px 0;width: 60%;">
|
||||
<img style="display: block; width: 130px; height: auto;" src="{{ asset('public/images/pdf/sing-2.jpg') }}" alt="sign" width="135"
|
||||
height="80">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align: top;padding: 4px 0;width: 60%;">
|
||||
<strong>Authorized Signatory Signatory</strong>
|
||||
</td>
|
||||
<td style="vertical-align: top;padding: 4px 0;width: 60%;">
|
||||
<strong>Authorized</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align: top;padding: 4px 0;width: 60%;">
|
||||
<strong>Mr. Nitin Vora</strong>
|
||||
</td>
|
||||
<td style="vertical-align: top;padding: 4px 0;width: 60%;">
|
||||
<strong>Mr. Bakul Jhaveri</strong>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div style="margin-top: 20px;">
|
||||
<p style="margin: 0;"><strong>Note:</strong></p>
|
||||
<ul style="padding: 0 0 0 14px;margin: 12px 0 0;">
|
||||
<li style="font-size: 12px;">This letter is digitally signed & system generated.</li>
|
||||
<li style="font-size: 12px;">This letter is valid for 48 hours from the date of issuance.</li>
|
||||
<li style="font-size: 12px;">If the treatment is covered under medical insurance, benefits may not be
|
||||
applicable.</li>
|
||||
<li style="font-size: 12px;">Trust is not responsible for any financial liability related to any
|
||||
treatment.</li>
|
||||
<li style="font-size: 12px;">The final decision on benefits rests with the hospital management.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div style="margin-top: 35px;">
|
||||
<table
|
||||
style="font-size: 11px;line-height: 16px; color: #bd5915;width: 100%; text-align: center; border-collapse: collapse;">
|
||||
<tr>
|
||||
<td style="padding-right: 8px;vertical-align: top">
|
||||
<P style="margin: 0;font-weight: 500;">Shree Mumbai jain Sangh Sangathan</P>
|
||||
<p style="margin: 4px 0 0;padding-top: 4px; font-weight: 500;border-top: solid 1px #bd5915;"> Trust
|
||||
Registration No.: E-39965
|
||||
(M) PAN No. ABDT 50760R URN
|
||||
80G :
|
||||
ABDT50760RF20221
|
||||
</p>
|
||||
<p style="margin:4px 0 0;">Regd. Add.: 301/302, krishna Chambers, Plot No.3, 59 New Marine Lines,
|
||||
Mumbai 400 026 INDIA</p>
|
||||
<p style="margin:4px 0 0;">Email: <a style="color: #03a9f4;"
|
||||
href="mailto:srijainsanghathan@gmail.com">srijainsanghathan@gmail.com</a></p>
|
||||
</td>
|
||||
<td style="padding-left: 8px;vertical-align: top;">
|
||||
<p style="margin: 0;font-weight: 500;">Shree Evershine Paradise Shwetamber Murtipujak Tapagachha Sangh
|
||||
</p>
|
||||
<p style="margin: 4px 0 0;padding-top: 4px; font-weight: 500;border-top: solid 1px #bd5915;">
|
||||
Registration No.: E-19926
|
||||
(Mumbai) dt. 14.01.2002 PAN : AACT55325G
|
||||
</p>
|
||||
<p style="margin:4px 0 0;">120, Feet Road, Thakur Village, Opp. Viceroy Court, kandivali(East), Mumbai
|
||||
- 400
|
||||
101</p>
|
||||
<p style="margin: 4px 0 0;">Email: <a style="color: #03a9f4;"
|
||||
href="mailto:arhamvasuphujya@gmail.com">arhamvasuphujya@gmail.com</a></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
164
resources/views/backend/chaturmas-date/create.blade.php
Normal file
164
resources/views/backend/chaturmas-date/create.blade.php
Normal file
@@ -0,0 +1,164 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.create_chaturmas_date_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.chaturmas-date.index') }}" class="text-muted">{{ __('breadcrumb.chaturmas_dates') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.add_chaturmas') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.create_chaturmas_date_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::open(['route' => 'admin.chaturmas-date.store','id' => 'createJatiForm', 'files' => true]) }}
|
||||
@include('backend.chaturmas-date.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function demo1() {
|
||||
$(".allow-numeric").on("keypress keyup blur",function (event) {
|
||||
$(this).val($(this).val().replace(/[^\d].+/, ""));
|
||||
|
||||
if ((event.which < 48 || event.which > 57)) {
|
||||
$(".error").css("display", "inline");
|
||||
event.preventDefault();
|
||||
}else{
|
||||
$(".error").css("display", "none");
|
||||
}
|
||||
});
|
||||
|
||||
$.validator.addMethod('validDate', function (value, element) {
|
||||
return this.optional(element) || /^(0?[1-9]|1[012])[ /](0?[1-9]|[12][0-9]|3[01])[ /][0-9]{4}$/.test(value);
|
||||
}, 'Please provide a date in the mm/dd/yyyy format');
|
||||
|
||||
$.validator.addMethod('dateBefore', function (value, element, params) {
|
||||
// if end date is valid, validate it as well
|
||||
var end = $(params);
|
||||
if (!end.data('validation.running')) {
|
||||
$(element).data('validation.running', true);
|
||||
setTimeout($.proxy(
|
||||
|
||||
function () {
|
||||
this.element(end);
|
||||
}, this), 0);
|
||||
// Ensure clearing the 'flag' happens after the validation of 'end' to prevent endless looping
|
||||
setTimeout(function () {
|
||||
$(element).data('validation.running', false);
|
||||
}, 0);
|
||||
}
|
||||
return this.optional(element) || this.optional(end[0]) || new Date(value) < new Date(end.val());
|
||||
|
||||
}, 'Must be before corresponding to date');
|
||||
|
||||
$.validator.addMethod('dateAfter', function (value, element, params) {
|
||||
// if start date is valid, validate it as well
|
||||
var start = $(params);
|
||||
if (!start.data('validation.running')) {
|
||||
$(element).data('validation.running', true);
|
||||
setTimeout($.proxy(
|
||||
|
||||
function () {
|
||||
this.element(start);
|
||||
}, this), 0);
|
||||
setTimeout(function () {
|
||||
$(element).data('validation.running', false);
|
||||
}, 0);
|
||||
}
|
||||
return this.optional(element) || this.optional(start[0]) || new Date(value) > new Date($(params).val());
|
||||
|
||||
}, 'Must be after corresponding from date');
|
||||
}
|
||||
|
||||
$("#year").datepicker({
|
||||
format: "yyyy",
|
||||
viewMode: "years",
|
||||
minViewMode: "years",
|
||||
orientation: "bottom",
|
||||
});
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
$("#createJatiForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
year: {
|
||||
required: true,
|
||||
},
|
||||
from: {
|
||||
dateBefore: '#to',
|
||||
required: true
|
||||
},
|
||||
to: {
|
||||
dateAfter: '#from',
|
||||
required: true
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
},
|
||||
errorPlacement: function ( error, element ) {
|
||||
if(element.parent().hasClass('input-group')){
|
||||
error.insertAfter( element.parent() );
|
||||
} else{
|
||||
error.insertAfter( element );
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
164
resources/views/backend/chaturmas-date/edit.blade.php
Normal file
164
resources/views/backend/chaturmas-date/edit.blade.php
Normal file
@@ -0,0 +1,164 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.update_chaturmas_date_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.chaturmas-date.index') }}" class="text-muted">{{ __('breadcrumb.chaturmas_dates') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.edit_chaturmas') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.update_chaturmas_date_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::model($chaturmas_date,['route' => ['admin.chaturmas-date.update', $chaturmas_date->id],'method' => 'PATCH','id' => 'updateJatiForm', 'files' => true]) }}
|
||||
@include('backend.chaturmas-date.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function demo1() {
|
||||
$(".allow-numeric").on("keypress keyup blur",function (event) {
|
||||
$(this).val($(this).val().replace(/[^\d].+/, ""));
|
||||
|
||||
if ((event.which < 48 || event.which > 57)) {
|
||||
$(".error").css("display", "inline");
|
||||
event.preventDefault();
|
||||
}else{
|
||||
$(".error").css("display", "none");
|
||||
}
|
||||
});
|
||||
|
||||
$.validator.addMethod('validDate', function (value, element) {
|
||||
return this.optional(element) || /^(0?[1-9]|1[012])[ /](0?[1-9]|[12][0-9]|3[01])[ /][0-9]{4}$/.test(value);
|
||||
}, 'Please provide a date in the mm/dd/yyyy format');
|
||||
|
||||
$.validator.addMethod('dateBefore', function (value, element, params) {
|
||||
// if end date is valid, validate it as well
|
||||
var end = $(params);
|
||||
if (!end.data('validation.running')) {
|
||||
$(element).data('validation.running', true);
|
||||
setTimeout($.proxy(
|
||||
|
||||
function () {
|
||||
this.element(end);
|
||||
}, this), 0);
|
||||
// Ensure clearing the 'flag' happens after the validation of 'end' to prevent endless looping
|
||||
setTimeout(function () {
|
||||
$(element).data('validation.running', false);
|
||||
}, 0);
|
||||
}
|
||||
return this.optional(element) || this.optional(end[0]) || new Date(value) < new Date(end.val());
|
||||
|
||||
}, 'Must be before corresponding to date');
|
||||
|
||||
$.validator.addMethod('dateAfter', function (value, element, params) {
|
||||
// if start date is valid, validate it as well
|
||||
var start = $(params);
|
||||
if (!start.data('validation.running')) {
|
||||
$(element).data('validation.running', true);
|
||||
setTimeout($.proxy(
|
||||
|
||||
function () {
|
||||
this.element(start);
|
||||
}, this), 0);
|
||||
setTimeout(function () {
|
||||
$(element).data('validation.running', false);
|
||||
}, 0);
|
||||
}
|
||||
return this.optional(element) || this.optional(start[0]) || new Date(value) > new Date($(params).val());
|
||||
|
||||
}, 'Must be after corresponding from date');
|
||||
}
|
||||
|
||||
$("#year").datepicker({
|
||||
format: "yyyy",
|
||||
viewMode: "years",
|
||||
minViewMode: "years",
|
||||
orientation: "bottom",
|
||||
});
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
$("#updateJatiForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
year: {
|
||||
required: true,
|
||||
},
|
||||
from: {
|
||||
dateBefore: '#to',
|
||||
required: true
|
||||
},
|
||||
to: {
|
||||
dateAfter: '#from',
|
||||
required: true
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
},
|
||||
errorPlacement: function ( error, element ) {
|
||||
if(element.parent().hasClass('input-group')){
|
||||
error.insertAfter( element.parent() );
|
||||
} else{
|
||||
error.insertAfter( element );
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
223
resources/views/backend/chaturmas-date/list.blade.php
Normal file
223
resources/views/backend/chaturmas-date/list.blade.php
Normal file
@@ -0,0 +1,223 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_chaturmas_date_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('public/js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.chaturmas_dates') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header flex-wrap border-0 pt-6 pb-0">
|
||||
<div class="card-title">
|
||||
<h3>{{ __('label.listing_chaturmas_date_table_title') }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-toolbar">
|
||||
<!--begin::Button-->
|
||||
<a href="{{ route('admin.chaturmas-date.create') }}" class="btn btn-primary font-weight-bolder">
|
||||
<i class="fas fa-plus fa-sm"></i> {{ __('buttons.create_chaturmas_date') }}
|
||||
</a>
|
||||
<!--end::Button-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="mb-7">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12 col-xl-12">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::text('year',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'title','placeholder' => __('label.search')]) }}
|
||||
</div>
|
||||
</div>
|
||||
{{-- <div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
<label class="mr-3 mb-0 d-none d-md-block">{{ __('label.status')}}</label>
|
||||
{{ Form::select('status',['1' => 'Active','0' => 'Inactive'],null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'status','title' => __('placeholder.select_status')]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 my-md-0">
|
||||
<button class="btn btn-secondary btn-secondary--icon" id="kt_reset" style="display: none">
|
||||
<span>
|
||||
<i class="la la-close"></i>
|
||||
<span>{{ __('buttons.reset') }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div> --}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin: Selected Rows Group Action Form-->
|
||||
<div class="mb-2 multiple-actions" id="checkboxActionDropdown">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="font-weight-bold text-danger mr-3">Selected
|
||||
<span id="datatableSelectedRecords">0</span> records:</div>
|
||||
{{-- <div class="dropdown mr-2">
|
||||
<button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown">{{ __('label.update_action') }}</button>
|
||||
<div class="dropdown-menu dropdown-menu-sm">
|
||||
<ul class="nav nav-hover flex-column">
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(0);" data-value="active" class="nav-link action-type">
|
||||
<span class="nav-text">{{ __('label.active') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(0);" data-value="inactive" class="nav-link action-type">
|
||||
<span class="nav-text">{{ __('label.inactive') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div> --}}
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger mr-2 action-type" data-value="delete">Delete All</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Selected Rows Group Action Form-->
|
||||
<div id="kt_datatable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer admin-table">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="datatable datatable-default datatable-bordered datatable-loaded">
|
||||
<table class="datatable-bordered datatable-head-custom datatable-table table-hover"
|
||||
id="users-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span style="width: 20px;">
|
||||
<label class="checkbox checkbox-single">
|
||||
<input type="checkbox"
|
||||
name="checkbox_action[]" id="checkbox-all"/> <span></span>
|
||||
</label>
|
||||
</span>
|
||||
</th>
|
||||
<th>{{ __('label.chaturmas_date_listing_heading_2') }}</th>
|
||||
<th>{{ __('label.chaturmas_date_listing_heading_3') }}</th>
|
||||
<th>{{ __('label.chaturmas_date_listing_heading_4') }}</th>
|
||||
<th>{{ __('label.created_at') }}</th>
|
||||
<th>{{ __('label.chaturmas_date_listing_heading_5') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<!-- DataTables -->
|
||||
<script src="{{ asset('public/js/datatable/jquery.dataTables.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/dataTables.bootstrap4.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/datatable-skeleton.js?v='.time()) }}"></script>
|
||||
<script>
|
||||
|
||||
$(document).on('keyup', '#title', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#status', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '#kt_reset', function () {
|
||||
$('#kt_reset').hide();
|
||||
});
|
||||
|
||||
customDataTableWidget.configuration({
|
||||
element: '#users-table',
|
||||
listingUrl: "{{ route('admin.chaturmas-date.get-listing') }}",
|
||||
deleteUrl: "{{ route("admin.chaturmas-date.destroy", ":id") }}",
|
||||
multipleActionUrl: "{{ route('admin.chaturmas-date.grid.records.action') }}",
|
||||
columns: [
|
||||
{
|
||||
data: 'checkbox_action',
|
||||
name: 'checkbox_action',
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
data: 'year',
|
||||
name: 'year',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'from',
|
||||
name: 'from',
|
||||
},
|
||||
{
|
||||
data: 'to',
|
||||
name: 'to',
|
||||
},
|
||||
{
|
||||
data: 'created_at',
|
||||
name: 'created_at',
|
||||
},
|
||||
{
|
||||
data: 'action',
|
||||
name: 'action',
|
||||
sortable: false,
|
||||
class:'text-right ws-nowrap action-col'
|
||||
}
|
||||
],
|
||||
search: [
|
||||
{
|
||||
key: 'status',
|
||||
type: 'select'
|
||||
},
|
||||
{
|
||||
key: 'year',
|
||||
type: 'text'
|
||||
}
|
||||
],
|
||||
defaultSortingIndex: 1,
|
||||
defaultSortingOrder: 'desc'
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
@@ -0,0 +1,61 @@
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.chaturmas_date_form_year') }} <span class="text-danger">*</span></label>
|
||||
<div class="input-group date">
|
||||
{{ Form::text('year',null,['id' => 'year', 'autocomplete' => 'off', 'class' => $errors->has('year') ? 'form-control date-picker is-invalid' : 'form-control date-picker','placeholder' => __('placeholder.chaturmas_year')]) }}
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text">
|
||||
<i class="fas fa-calendar-alt"></i>
|
||||
</span>
|
||||
</div>
|
||||
@error('year')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.chaturmas_from_date') }} <span class="text-danger">*</span></label>
|
||||
<div class="input-group date">
|
||||
{{ Form::text('from',null,['id' => 'from', 'autocomplete' => 'off','class' => $errors->has('from') ? 'form-control date-picker is-invalid' : 'form-control date-picker','placeholder' => __('placeholder.chaturmas_from_date')]) }}
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text">
|
||||
<i class="fas fa-calendar-alt"></i>
|
||||
</span>
|
||||
</div>
|
||||
@error('from')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.chaturmas_to_date') }} <span class="text-danger">*</span></label>
|
||||
<div class="input-group date">
|
||||
{{ Form::text('to',null,['id' => 'to', 'autocomplete' => 'off','class' => $errors->has('to') ? 'form-control date-picker is-invalid' : 'form-control date-picker','placeholder' => __('placeholder.chaturmas_to_date')]) }}
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text">
|
||||
<i class="fas fa-calendar-alt"></i>
|
||||
</span>
|
||||
</div>
|
||||
@error('to')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<button type="submit" name="save" value="save" class="btn btn-primary mr-2">
|
||||
@if(\Request::route()->getName() == 'admin.chaturmas-date.edit')
|
||||
{{ __('buttons.update') }}
|
||||
@else
|
||||
{{ __('buttons.save') }}
|
||||
@endif
|
||||
</button>
|
||||
<a href="{{ route('admin.chaturmas-date.index') }}" class="btn btn-secondary">{{ __('buttons.cancel') }}</a>
|
||||
</div>
|
||||
92
resources/views/backend/dashboard.blade.php
Normal file
92
resources/views/backend/dashboard.blade.php
Normal file
@@ -0,0 +1,92 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.admin_dashboard_title').' | '.env('APP_NAME'))
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.dashboard') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex flex-column-fluid">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-xl-4">
|
||||
<!--begin::Stats Widget 30-->
|
||||
<div class="card card-custom bg-info card-stretch gutter-b">
|
||||
<!--begin::Body-->
|
||||
<div class="card-body">
|
||||
<span class="svg-icon svg-icon-2x svg-icon-white">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Communication/Group.svg-->
|
||||
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABmJLR0QA/wD/AP+gvaeTAAAFOklEQVRoge2WXWwUVRTH/2e2fLnUtkprU/siiVZf/EhLjImlTUR8aVMSg5gaNJjAo0mJhKREfaGEYLJPJiALMVEfMBjS8BETCTXCgwh9gBgSUpAGS3wBrUhVVvaevw+zOzszu3NnJqzhZU8y2dl7z5zz+9975swFGtawhjXsQZr8H0Gfn5ofEcMxJfqoBJXn1TB3abj9WL1z1V1A76nfd6tiuxIowUO9X+y6vK5jRz3z1VVAaeUnI+DdX8PhK+s7j9crp1OvQABQKptoeCVIbq1nzqYkTl352RFVGaNhn5Kg4jyI3K33VgZqWoleK7x79YXjN286NOKQY6T2CRUgzzswufkvNsW+M7E70Ll/dreqTFI5oGSWiizJQVUebcldnfD7JoCHKhiAf/er3UJOkjog1CyoWaEZhOrRttH8BGLMKqArPzsCyvYKBEB3B6BKgBhv3jMz5BMwHQMPktMe/KZDI6K6HVS4K+/++u7HV2zYO1SbLoEAVRmLgme51n01rYY5K7x7n/OSk2MWeAgVpFrfGasAKnpt8O6ceDV9abj9mCp2RcEb5c7rG7tPePGpvTZ4qEJY/c6k2AGNgQdIBmr68rqOHWo4TOV3VC6oYoHkFMmhube7P/D7xsMrhIawmLULUTFNctACDyqmw8+V+nx8ryenhToYDa8QmKr4frN3ISIXAw81krPGsCY3ORs8aKBqrPFjv8QtuasTIMZrwVO58+6HTwfKovfUH2sVXC9gPyDdpTRzgJ5ROocvrGk96fdvG81PCHW8FjyoO28eeT8QP7UAAGjeMzNEcquqrIILf06N5AofPeW9kH1Tf/YoTR5AP4hgs/cPCE4rzOaLa9pnyrMrNuwdInWrUFeVyuacqsndOrLtBGKsLmehF76dH4CDSQCtCNGz6gYAMG8o6356re30/ea+bwHPTt3syZjMWQCtEbDuX1ZNzIuYFy+s7bhyP/ljz0Jdn15bSzjrSfYT6IYCIOf0n9s/QAtfO8XMNgKtMbDhjQGANjJzoPmtTz6GWfa6LF32EoBukAA4J9QzUDl8+8uNJ2GxyB3oOnith0bypPSD9JhIgKYIXZjH4sw9dDz3TBJYb4Ahh1+Pf4PCb3/BWZIFxAFAiCsCICHEaeNg853P35kJhwQi2mjn/tkBGudsTXgSLN4DC3fxUPsjAEstNnQF/N0jB+g5VPyyK58AincBLVbDu2JXZ1TPto4eWJ1IQNfBaz0CmSTRWgsecHeA5h4WtzSngq0WSCztfAxUA6qphq/8bxNxJh8e/ezJWAE0zj4rPAGogmqQWbQoFWz4AoGmbBaggaiJgoeAALUtg+IBq4Cu/PVXSQxa4QlQFVACTiYVbC2ByDS5Hy4YCzzL5bX60Tf3vRIpgOSGWPjySgOpYcs7FfT3ksfBAyAIvOFnDrRRKl9OCu+fLz1S84aBsaBPxTUZfGk88DIHBUAer3QVOzzgW700sF7QyngKeIDsjhQAcnki+JDINLDVDj6feHgAXB4pIA18GSQ1bMCNgcEE8IEcNQQkhw+ITQ0bFpkcXmARkAa+xmIkg60xnQo+lLOqhJLBV44PaWGrVPvGksHbdiANfGkgPWytSku68mW/CAGp4H18qWC9Zyoz6eDjdiAxPINtNCFs2MlrA0nhrTuQBN5fZgw9nAS2lspU8MEAobMQbiSCRwaAoFgoIPk5qBwreJk7CxAB3O9xEnjORQoAuYXEjbiVR2YRZOly3P75F5jCv4lhqQgINAsL+PvH7yFNSwDHSQavsiW8hw1rWMMa9uDsP5gxNgd7g8YbAAAAAElFTkSuQmCC"/>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="card-title font-weight-bolder text-white font-size-h2 mb-0 mt-6 d-block">{!!
|
||||
$data['statistics']['shravak'] ?? 0 !!}</span>
|
||||
<span class="font-weight-bold text-white font-size-sm">Total Shravak</span>
|
||||
</div>
|
||||
<!--end::Body-->
|
||||
</div>
|
||||
<!--end::Stats Widget 30-->
|
||||
</div>
|
||||
<div class="col-xl-4">
|
||||
<!--begin::Stats Widget 31-->
|
||||
<div class="card card-custom bg-danger card-stretch gutter-b">
|
||||
<!--begin::Body-->
|
||||
<div class="card-body">
|
||||
<span class="svg-icon svg-icon-2x svg-icon-white">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Media/Equalizer.svg-->
|
||||
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAAKD0lEQVRogd2af4xcVRXHP+fO7LJtWYqUQunO1oJA+RGKuMy+96YtbjGBQgyIodgQtRICAkaQH+WHoAiCChIFDA2mIJQAgpUQJCkFIwywnTdvlgFabKFFULdjgQJl6Q926cy7xz92lkyHmXmvxqTi96+de7/3nPO97717zz134f8EMvZHJpP5orX2BGCf3RjPrmCztfbJQqGwCqpCHMe5VERuAJ4WkdJuDS8mVDUFHA/8MJ/P/1rS6fSRiUTiBWvtCYVCod/zvBlbtmx5c82aNTt2d7BNYFzXnbF169Y3Jk6c6FprnwS+ZBKJxPGAXygUnvc8705VXdvZ2fnSSSedtMfujrgRXNd9Eljb2dn5TC6Xex7wReQrSRGZrKqbAFT1a8DNwOVDQ0MHAq+1MppOp6ckEonDRGQysHXHjh2risXiW3EC6unpOaC9vf1ooBPYZK19LQiCd1qNOfLII9uBuSLyC1Vd1NfXN2FkZGQTsF+yjnsDcA1wt+/765sEMLG9vf0sVf0OMBN4V1WHRKSzra3tANd1syJyhe/7hUbjXdd1gJuALwNvqepWYG8Rmew4zirgXuCeIAi21I9ds2bNDsdxrhOR84GbstnsNtd1ARDP865X1UPz+fyCVrMBiOM454jIjdUAfmut/dPAwMCGmiCnAxcCF6jqN4Mg+GOtAcdxTheR+4HFxpjbcrncP8f60ul0dzKZPFVVvwvsr6rXBEGwBNBWQbmu+5CIrI8lxPO8fVR1KdArIot8378fsC34Z6rqXdba4wqFwgsAmUwmba19VkTO9n3/9y1iM67rfovRVzxIJpML+/v7P4gSYuoaf9rb23tgbZvjOPur6jNAp6rO9H3/vlYiAHzff1BVf2eMuX6szVp7PXBXhAgAm8/nl4ZheLSqTqxUKs9kMpn9IsawkxBVtcaYTx6l53njRGS5iGzo6OiYF/Ux7mTYmFuBeT09PfvOmTNnMnBiGIa3xh0/MDDwtjFmHrDRWru8r6+vI7YQEfl7W1vb9pqmWwHZvn37N7LZ7Egt13GcvTzP62pm2Pf9N4CRZDL5+TAMpwPDAwMDb9bzXNed7nnec67rbnYc58GZM2dOqLEx3NHRcQaQHB4ebjkJpu73tZVKxYHRd1pVF4rIwtWrV9eKw3Gcc0XkXVUtua77yPz58xP1hufPn28AERENw9AC0ogH3K6q20RkvogcNX78+EW1ndlsdpuqfltEzurt7T02rpBPYK1dJCJLfd9/pba9r6+vQ0RuF5EFiUSiS0S8Uql0Sv34Uql0CNBeLpdfq1QqrwJ7bNy48eB6nqoeCjzs+/5fVPUJ4Ih6ThAEq4GlxpjLd0nI7NmzPwecaq29o0F3B9BurV03derUd1R1SFX3qidZa+cDuWKx+FGxWPwI8MMwPL2BvYeBm13XvVdELlDVPzQM1JjFwCnV2OIJKZfLxwIfVGdiJ2Sz2SERWSIi/aVSaT2QUNVHaznVp3YucNdYm6reDZxbn/oEQfATVb0S2K6qZ9TvPWPI5XKrgK2VSqUnthAROQxY26gPwPf986y1p6vqVR0dHT31u/DIyMiFwHC5XH5wrG3btm0PAOXNmzd/v86cBkFwTz6f/14QBMub+WR0Y1xTje1TqE9RRkeoGqBV9quFQuHpRh2O4xwCXAssKBaL5bH2anpxqYg84DjOY0EQvN7CfjPsqMb2KTR7Ih+KyAG76qW6Ki0FluXz+cfr+4MgeExVHxGRe5usYFGYIiJDjTqaCSkCR3ieN25XvAwODl4sIqlyuXxRM864ceMuAqYNDg7+YFds9/T0jAcOF5EXG/XX7+xD1tqhVCq1Fhiy1s6N6yidTk8RketU9bxisfhhM142mx0CLhCR69Pp9JS49tvb248DPuzq6nq1Uf9OQqZNm3ZsEAT9y5YtC1V1uYgcF9eRMeYSIIj4YAHI5/OPq+oLiUTi4rj2gXmq+tSyZcvChv5rf9SSVPWScrl8S0wnIiILVHVx3KhE5A7gTGoKIK2gqicDTSep6c5eKBTeLxaL78VxkslkXGDS8PDwE3H4AB0dHcuBSa7r9kZxq+ecgxOJxFPNOE2F7ArCMDwNWFGfk7VCNpvdBqwAvh6DPktV1+dyuU3NCC2FuK57jeM4N0d5EZFe4NkYAe0EVX0WSMegZkSkvxWhpRBV/UBEZsVwdLiIrInBq8da4PAYPAfItyJECVkNHEX0B7l3GIaxvqdaiMj7wKcSznoaMENV/9qK1FLI+PHjXwE6e3t7p0fHJC2LBE0GKdByh3ccpwvY0xjTsKozhpZCqpvXoDHmqIiYNgH7R3AaYT/g7VYEY8wM4F3f9ze35MVw9oaqHhjBeZXRGtcuQVWPro5tCmvtDGBdlK04Qt4ierafFZGvxrBVj5NF5LlWBBE5GIjMlGMJEZGWOVEYhkuB2ZlM5gsx7AFQLTvNSiQSD0RQ96kuCi0RKURV3wP2bcWpVhv/bK29NMreGETkCmBFf3//YARvgqpui7IX54lUaHIAq3N4NXC253nHRHE9zztGRM4yxvwoiquqe/5XhIhIKCKRhyDf918C7gYiE01V/RVwdy6XezmKCySNMQ0z3lrEebX2tNZ+FMMhInKjqval0+mDmnGq39GcRCJxQxybwBaiN81oIcaYvUSk6UGpFr7v/wv4mzGm6esVhuExwOsrV67cGMcmsNVau2dknFEEVd3BaC0rLj4G2po6NKaN1oWNeowTkY+jSHGEvAjMjsOtVs1nGGOabmCqug6Y0dfXFznL1QLFbOClKG5kcJVK5QmgzXGchVFca+05wJu+7zf9iPP5/EvA4PDw8HlR9kql0kLAiEjkgS1SSLXcebmILM5kMk3P8I7jzAV+DFxB61smFZErRORGz/O+3IzkeV6vqt6qqot83x+OijPR3d09F5hUKpUalioBSqXSqq6urnbgzu7u7r2nTZu2asOGDdurDvdJpVJXi8hi4IZ8Pr8kymmpVHotlUolgDtTqVTH9OnTXx4cHBwBmDNnzuSurq7LVPUu4JdBEPymla1UKnW6iLy/09Wb67qXANcBz3R3d59WX7FwHOdk4EYRmQlsAMrAdBFZp6pXNSrKtYLruqcAPwcOBf7B6CLRDbwsIlf7vr+iwZhbgPOBB/L5/LkN7xBd130LuA+4LAzDmQMDAw1Pfel0+qBkMnmEtTZhjFnn+37La+wYgg5X1UONMWGlUlnb6EIIRq+nOzs7R0TkJlW9MpFI7BWG4RIRWZ9U1XcZXRlQ1YdE5HKgOGHChKYrT9VRQ2f/CfL5/KtEpPMwWj92XffRavX+8ZUrV251XXc/oF8cxzlCRIrGmBNzudxz6XR6irX2/doC9P8aZs2aNXXq1KnvlEql2aq6QkSOEQDXdS8GfsZn659quoG5qnplEAS3fVJU8DzvKEbLkpN2X3jxUT2jrKi/GvzM49+8NWZf3jSLgAAAAABJRU5ErkJggg==">
|
||||
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="card-title font-weight-bolder text-white font-size-h2 mb-0 mt-6 d-block">{!!
|
||||
$data['statistics']['sampraday'] ?? 0 !!}</span>
|
||||
<span class="font-weight-bold text-white font-size-sm">Total Sampraday</span>
|
||||
</div>
|
||||
<!--end::Body-->
|
||||
</div>
|
||||
<!--end::Stats Widget 31-->
|
||||
</div>
|
||||
<div class="col-xl-4">
|
||||
<!--begin::Stats Widget 32-->
|
||||
<div class="card card-custom bg-success card-stretch gutter-b">
|
||||
<!--begin::Body-->
|
||||
<div class="card-body">
|
||||
<span class="svg-icon svg-icon-2x svg-icon-white">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Communication/Group-chat.svg-->
|
||||
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABmJLR0QA/wD/AP+gvaeTAAAJ3klEQVRogc2Za4xdVRXHf2vvc+5jpp3O1HZ4TLHBWmyV2iLGiNIQowmhoYIEE3lEUBL1k5r4QIwfGo1C1ZgYPyhKqDFaEOMDJfgOqFjwERRfiRBAwALt0ALTedx7z95r+eE87rnT4WHm2rqTnXPPOXvv9f+v9V9r332vMKT22A++sMWwO7NeN9PQ+411Olef9u7rHgL4x55PbGw2G5+RNN2epI2UJDnnped/4G/DsJsMY5F8pWQHGlcnjSYRLrYRd+Yj39r1FrfQcd1m4+eSput92gDnEGMH8P9FQIRNOAeAS1NCz07tie6WFSMO59ZLkiDO5V3YNCy7w4uAyKb8Ijjv8d4RzJ1jJi5xCd57RATy/n9IwMkmUTARwCEuQVxcAyDOgzgQKUkMjYAbxiLTP7n+JBE3XngXEUGc4JwTJ07ESd37iHMTB37xtROGYXsoEQhJsknMwIzewhwWDfEADgRC6EG3hzihuXIMcQ51tgk4sFzbQ4mAS2STOEfW6+X3jRSiYiFDQw9CxDdSEMi6XcQ5nLihyGgoBMTZZhGHZQGXpKSNJkl7BAUU8O0RkkYTnzQgRkQc4tzmYdgeUhL7rSIRMHzaAu8AI00bmBnOJ+A9gmDdhTwfnHv1MCwvOwJmJiKyBSc4J/gkBQTBVUkLeU/TJL93giBbl42eIRB45p6b14tzE2JFCXUO5wRxrn/v82dallIDcW71od/fdMpxJ4DIVhC683P4JMF5IS9B0l/dAMk3N+8TsoV5QJBo25ZrfhhJvFUELMtIWu18SREQEBxGHgWKDc632mjWy4d4v2wZDYUAgGG4NB3QfaEgzKieJ40GasVM4/gTMMlBiDikSNbyWjUZfOYkvxrHWUKz9+w9AWwDRMS5HGApHyeYCRjF1wj6FckLhgK24ch935s8bgSCT7Zj0DkyT9JqYVL6WJYYncfABHyjSXdmFgwJ3Xj2cjAsi4CZbTdTLEZ82gTLC47leHPYIuQZUjw3SBptNEbMFIjbjx8B1bPNDN9sVuDyFzkTU0O1ZFW8LG6TVgszQ9WOTwQO3fPNMTPdiio+TcEMK3qFUgwTq1xfvTfL56iC6bbpu25decwJoHKWqXozw1QxyzumoIZZKCJh1TOsPy6fY5hq4pK51x9zAqp6rmkBROuADNMIaqhFTBVUMY35u5JwrRPDucecgGk83zSiGguPWimJHCSAGqKglNIpyRhmms/VSIx64TEl8OQdN5xuqhs11rxYANfC46KKYSh94FpECevPK9bYcOjXN77ymBEQuDyXRA1IIRPKe4uVnMqxpZR0sfQ0kgW9/JgQsF27nEa9LPdcjUQpjyJJNYv5sdJiVfMHxtTAa1RQfafdcov/nxN44g0nXGYa1w140qzyPKpozDCLeQUqoqAxDIwpk1mrqMSpJ8afuuS/xbPUnv+c7cmffnkyoPeiNgVUtb+6Qq7p0ANVstADFO8bOJ8gSQPnPWDVzyzVzy0ATvb7GM84acf7p18spuc9E6/e9cCYj+7ekMWpV50wuzPovuswm7IC/GISGmPpTVStKptODJWIixlqivM+3+co9zjLyUSbiuJ+/MbP/+maf0yP/jBp+P3R62sO79o481wYnzMC6z/3r1OPPBPu7c5l42iknZrd/oa75aTmQjWm7v0yWSsSZmi3OLikKc45xHmc94grej0KRTvQa3HevrNsvucE52m20yPjK1uvfejj6+5fCueSObD5hsfXzxwKf+/O9saJAdFIZyGTi+95DbPBLdqMIhYDGmvgYwSNIJJvxIveacznDBYBYy44Ltp3JgvzQUQjxEB3vrfy6SOd+06//tENL4rAlj1PbmkkyV0Tk802FhGNoAE0cPjZjIv2nUkWtQJRB1R9DiGXDzpnYnOmhoXnGFt8jiHw9rvP4PBMVtkTjWCR8Zc0Wr7RumvL16fPfF4CZ9x44C0Od5dFW9dekTK+pp17svSoRh57KuPK321BY1jUCzAh/w5kagj8W2B/KTcNoQZ+cP7lv9/Gw9N9O6XN8TVtRsYamNqJDrtz256DO5YksO3Gg1eoyO2qNhajEaMxOjHCyKpWf1HNI/Ln/fDh+zYfDaQAn/9PYAB3Andglp/YChKLiV/z11fwl/1WRLvf22MtRidGKPFotBUm3Lrt69PvKXF7gK17Dl6N8CWN5ouBaDRiVNJWg2yhh3Y6iPUXf+iwoyNNXrdqGov5Dgz0E9Jsv/rRyxZS+XWq8R0iMlalaq1yfeXhl/Htf45VHhVy7o3RNiunJopnUn/vRNh54oUfaR/4wWd/6bfuOXgD8FGNJrEGXEPJOj98xLl5rNeFGom/Hmyyum1sXllUOSmOjWbTqLxv85W7/nj9d+888sG3velhNX2z8zJSK57c+vgUX/zLmuqeArxvNVkxNTmocOkTEUCcnH3in+fXOYyrYjDyrsRQB19cDdLJScRLkWC5lCxm7P7TWvYdXl36DsPu9w27YNO7P31rafvlV3zy+77h3qqq9+cHfscfnp7g2nsnKascRbEQJzTWThJVBjHU8JV4Ma5ysfB4jFoNjtGqQVpMMhP8mikwQYoqgQYs6/Gh367jwdkWmN0RdfycjZdee/fiarHx0k/dHbOFs1TtZ4/OtfnAb09Bs26t4oQ8KdeejOEKR/bB1vKgwhujIZu//IRpXOTxaGgxYPCZEefmcAcfhJgNJFya+NBrT5x05KadTy0GX28rL/nRmkbnmcezLKQ4T9V9ik5uwI+O4rzgvOAHrm6JZ4JbzExLdqEehb7ELG2hEyfnSVurTKGzkDD3zHXPBx6A+ZnPhoX5dLDiKDpxMpa2KolozX4egT62ulLcUtoazAGtenVwaa1Ax9ZW4NGIOT8vGna/EH6JvWvN+fn6XB1bi7VWVAedus3BHDg6V12ppbpcjkro0D8uohFChrbHsPaqHLxPDmWj6Wkzt73rgRciMHPbux7QZuNUc+lBNGIjq9D2GIRCksWZoR+FmnPrGAvnuqPDdXSYsBr42MNiD2KPOLIKbY3umxl59pSF71yx/wXlU7TZ77/z4IzNvjS2V/wqtlcNrFmRsMWOXUIlwZCpzzxiff0Xg0ORtNo/z6IBYobFkBsKPSzr7V7Yu+NjLxb4Uq196W1XS9q6lqQh+AbiE/ApuKT4WT7/c8R5wSdSS/A8qZ0ukkoVqipJc/AWMyxmELpY1g1knfcuFzzAwt7zd2u2cKVl3YzQ7dvRUBUKVV1U2q0qsy7WpFJ636L2NR+z/IQVSq93ZyV0Lpjfe/5Xlwu+bJ29O79hvc55FrrPVnZCLy/V5Tm6qIyDOWCLc6BfaSrwsVgo9LCs84T0uufM7915+7DAVyRu3vlLF7PtlnX+TQG+sl3gMe3nQYn5P+320F597JWqAAAAAElFTkSuQmCC"/>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span
|
||||
class="card-title font-weight-bolder text-white font-size-h2 mb-0 mt-6 text-hover-primary d-block">{!!
|
||||
$data['statistics']['sant'] ?? 0 !!}</span>
|
||||
<span class="font-weight-bold text-white font-size-sm">Total Sant</span>
|
||||
</div>
|
||||
<!--end::Body-->
|
||||
</div>
|
||||
<!--end::Stats Widget 32-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
92
resources/views/backend/dharma/create.blade.php
Normal file
92
resources/views/backend/dharma/create.blade.php
Normal file
@@ -0,0 +1,92 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.create_dharma_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dharma.index') }}" class="text-muted">{{ __('breadcrumb.dharmas') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.add_dharma') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.create_dharma_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::open(['route' => 'admin.dharma.store','id' => 'createDharmaForm', 'files' => true]) }}
|
||||
@include('backend.dharma.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function demo1() {
|
||||
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
$("#createDharmaForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
90
resources/views/backend/dharma/edit.blade.php
Normal file
90
resources/views/backend/dharma/edit.blade.php
Normal file
@@ -0,0 +1,90 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.update_dharma_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
{{-- <div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<!-- <ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ route('admin.dharma.index') }}" class="text-muted">{{ __('breadcrumb.dharmas') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="javascript:void(0);" class="text-muted">{{ __('breadcrumb.update_dharma') }}</a>
|
||||
</li>
|
||||
</ul> -->
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div> --}}
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.update_dharma_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::model($dharma,['route' => ['admin.dharma.update', $dharma->id],'method' => 'PATCH','id' => 'updatedharmaForm', 'files' => true]) }}
|
||||
@include('backend.dharma.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function demo1() {
|
||||
|
||||
$("#updatedharmaForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
this.element(element);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
});
|
||||
</script>
|
||||
<script src="{{ asset('/js/pages/crud/forms/widgets/bootstrap-switch.js?v=7.2.8') }}"></script>
|
||||
@endsection
|
||||
186
resources/views/backend/dharma/list.blade.php
Normal file
186
resources/views/backend/dharma/list.blade.php
Normal file
@@ -0,0 +1,186 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_dharma_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('public/js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
{{ __('breadcrumb.dharmas') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header flex-wrap border-0 pt-6 pb-0">
|
||||
<div class="card-title">
|
||||
<h3>{{ __('label.listing_dharma_table_title') }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-toolbar">
|
||||
<!--begin::Button-->
|
||||
<a href="{{ route('admin.dharma.create') }}" class="btn btn-primary font-weight-bolder">
|
||||
<i class="fas fa-plus fa-sm"></i> {{ __('buttons.create_dharma') }}
|
||||
</a>
|
||||
<!--end::Button-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="mb-7">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12 col-xl-12">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::text('name',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'title','placeholder' => __('label.search')]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 my-md-0">
|
||||
<button class="btn btn-secondary btn-secondary--icon" id="kt_reset" style="display: none">
|
||||
<span>
|
||||
<i class="la la-close"></i>
|
||||
<span>{{ __('buttons.reset') }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin: Selected Rows Group Action Form-->
|
||||
<div class="mb-2 multiple-actions" id="checkboxActionDropdown">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="font-weight-bold text-danger mr-3">Selected
|
||||
<span id="datatableSelectedRecords">0</span> records:</div>
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger mr-2 action-type" data-value="delete">Delete All</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Selected Rows Group Action Form-->
|
||||
<div id="kt_datatable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer admin-table">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="datatable datatable-default datatable-bordered datatable-loaded">
|
||||
<table class="datatable-bordered datatable-head-custom datatable-table table-hover"
|
||||
id="users-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span style="width: 20px;">
|
||||
<label class="checkbox checkbox-single">
|
||||
<input type="checkbox"
|
||||
name="checkbox_action[]" id="checkbox-all"/> <span></span>
|
||||
</label>
|
||||
</span>
|
||||
</th>
|
||||
<th>{{ __('label.dharma_listing_heading_2') }}</th>
|
||||
<th>{{ __('label.created_at') }}</th>
|
||||
<th>{{ __('label.dharma_listing_heading_5') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<!-- DataTables -->
|
||||
<script src="{{ asset('public/js/datatable/jquery.dataTables.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/dataTables.bootstrap4.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/datatable-skeleton.js?v='.time()) }}"></script>
|
||||
<script>
|
||||
|
||||
$(document).on('keyup', '#title', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#status', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '#kt_reset', function () {
|
||||
$('#kt_reset').hide();
|
||||
});
|
||||
|
||||
customDataTableWidget.configuration({
|
||||
element: '#users-table',
|
||||
listingUrl: "{{ route('admin.dharma.get-listing') }}",
|
||||
deleteUrl: "{{ route("admin.dharma.destroy", ":id") }}",
|
||||
multipleActionUrl: "{{ route('admin.dharma.grid.records.action') }}",
|
||||
columns: [
|
||||
{
|
||||
data: 'checkbox_action',
|
||||
name: 'checkbox_action',
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
data: 'name',
|
||||
name: 'name',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'created_at',
|
||||
name: 'created_at',
|
||||
},
|
||||
{
|
||||
data: 'action',
|
||||
name: 'action',
|
||||
sortable: false,
|
||||
class:'text-right ws-nowrap action-col'
|
||||
}
|
||||
],
|
||||
search: [
|
||||
{
|
||||
key: 'name',
|
||||
type: 'text'
|
||||
}
|
||||
],
|
||||
defaultSortingIndex: 1,
|
||||
defaultSortingOrder: 'desc'
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
24
resources/views/backend/dharma/partials/_form.blade.php
Normal file
24
resources/views/backend/dharma/partials/_form.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<div class="card-body">
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.dharma_form_name') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('name',null,['class' => $errors->has('name') ? 'form-control is-invalid' : 'form-control','placeholder' => __('placeholder.dharma_name')]) }}
|
||||
@error('name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<button type="submit" name="save" value="save" class="btn btn-primary mr-2">
|
||||
@if(\Request::route()->getName() == 'admin.dharma.edit')
|
||||
{{ __('buttons.update') }}
|
||||
@else
|
||||
{{ __('buttons.save') }}
|
||||
@endif
|
||||
</button>
|
||||
<a href="{{ route('admin.dharma.index') }}" class="btn btn-secondary">{{ __('buttons.cancel') }}</a>
|
||||
</div>
|
||||
92
resources/views/backend/hospital/create.blade.php
Normal file
92
resources/views/backend/hospital/create.blade.php
Normal file
@@ -0,0 +1,92 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.create_hospital_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.hospitals.index') }}" class="text-muted">{{ __('breadcrumb.hospital') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.add_hospital') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.create_hospital_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::open(['route' => 'admin.hospitals.store','id' => 'createHospitalForm', 'files' => true]) }}
|
||||
@include('backend.hospital.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function demo1() {
|
||||
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
$("#createDharmaForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
116
resources/views/backend/hospital/edit.blade.php
Normal file
116
resources/views/backend/hospital/edit.blade.php
Normal file
@@ -0,0 +1,116 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.update_hospital_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ route('admin.hospitals.index') }}"
|
||||
class="text-muted">{{ __('breadcrumb.hospital') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="javascript:void(0);" class="text-muted">{{ __('breadcrumb.update_hospital') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.update_hospital_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::model($hospital,['route' => ['admin.hospitals.update', $hospital->id],'method' => 'PATCH','id' => 'updatehospitalForm', 'files' => true]) }}
|
||||
@include('backend.hospital.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function hospitalUpdateValidation() {
|
||||
|
||||
$("#updatehospitalForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function (value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
},
|
||||
contact_name : {
|
||||
required:true,
|
||||
},
|
||||
email:{
|
||||
required:true
|
||||
},
|
||||
number: {
|
||||
required:true
|
||||
},
|
||||
city : {
|
||||
required:true
|
||||
},
|
||||
state : {
|
||||
required:true
|
||||
},
|
||||
address : {
|
||||
required:true
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
this.element(element);
|
||||
},
|
||||
errorPlacement: function ( error, element ) {
|
||||
if(element.parent().hasClass('dropdown')){
|
||||
error.insertAfter( element.parent() );
|
||||
} else{
|
||||
error.insertAfter( element );
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
hospitalUpdateValidation();
|
||||
});
|
||||
</script>
|
||||
<script src="{{ asset('public/js/pages/crud/forms/widgets/bootstrap-switch.js?v=7.2.8') }}"></script>
|
||||
@endsection
|
||||
216
resources/views/backend/hospital/list.blade.php
Normal file
216
resources/views/backend/hospital/list.blade.php
Normal file
@@ -0,0 +1,216 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_hospital_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('public/js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
{{ __('breadcrumb.hospital') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header flex-wrap border-0 pt-6 pb-0">
|
||||
<div class="card-title">
|
||||
<h3>{{ __('label.listing_hospital_table_title') }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-toolbar">
|
||||
<!--begin::Button-->
|
||||
<a href="{{ route('admin.hospitals.create') }}" class="btn btn-primary font-weight-bolder">
|
||||
<i class="fas fa-plus fa-sm"></i> {{ __('buttons.create_hospital') }}
|
||||
</a>
|
||||
<!--end::Button-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="mb-7">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12 col-xl-12">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::text('name',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'title','placeholder' => __('label.search')]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 my-md-0">
|
||||
<button class="btn btn-secondary btn-secondary--icon" id="kt_reset" style="display: none">
|
||||
<span>
|
||||
<i class="la la-close"></i>
|
||||
<span>{{ __('buttons.reset') }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin: Selected Rows Group Action Form-->
|
||||
<div class="mb-2 multiple-actions" id="checkboxActionDropdown">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="font-weight-bold text-danger mr-3">Selected
|
||||
<span id="datatableSelectedRecords">0</span> records:</div>
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger mr-2 action-type" data-value="delete">Delete All</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Selected Rows Group Action Form-->
|
||||
<div id="kt_datatable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer admin-table">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="datatable datatable-default datatable-bordered datatable-loaded">
|
||||
<table class="datatable-bordered datatable-head-custom datatable-table table-hover"
|
||||
id="hospital-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span style="width: 20px;">
|
||||
<label class="checkbox checkbox-single">
|
||||
<input type="checkbox"
|
||||
name="checkbox_action[]" id="checkbox-all"/> <span></span>
|
||||
</label>
|
||||
</span>
|
||||
</th>
|
||||
<th>{{ __('label.hospital_listing_heading_2') }}</th>
|
||||
<th>{{ __('label.hospital_listing_heading_3') }}</th>
|
||||
<th>{{ __('label.hospital_listing_heading_4') }}</th>
|
||||
<th>{{ __('label.hospital_listing_heading_5') }}</th>
|
||||
<th>{{ __('label.hospital_listing_heading_6') }}</th>
|
||||
<th>{{ __('label.hospital_listing_heading_8') }}</th>
|
||||
<th>{{ __('label.hospital_listing_heading_7') }}</th>
|
||||
<th>{{ __('label.hospital_listing_heading_9') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<!-- DataTables -->
|
||||
<script src="{{ asset('public/js/datatable/jquery.dataTables.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/dataTables.bootstrap4.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/datatable-skeleton.js?v='.time()) }}"></script>
|
||||
<script>
|
||||
|
||||
$(document).on('keyup', '#title', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#status', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '#kt_reset', function () {
|
||||
$('#kt_reset').hide();
|
||||
});
|
||||
|
||||
customDataTableWidget.configuration({
|
||||
element: '#hospital-table',
|
||||
listingUrl: "{{ route('admin.hospitals.listing') }}",
|
||||
deleteUrl: "{{ route("admin.hospitals.destroy", ":id") }}",
|
||||
multipleActionUrl: "",
|
||||
columns: [
|
||||
{
|
||||
data: 'checkbox_action',
|
||||
name: 'checkbox_action',
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
data: 'name',
|
||||
name: 'name',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'contact_name',
|
||||
name: 'contact_name',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'email',
|
||||
name: 'email',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'city',
|
||||
name: 'city',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'state',
|
||||
name: 'state',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'hospital_status',
|
||||
name: 'hospital_status',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'created_at',
|
||||
name: 'created_at',
|
||||
},
|
||||
{
|
||||
data: 'action',
|
||||
name: 'action',
|
||||
sortable: false,
|
||||
class:'text-right ws-nowrap action-col'
|
||||
}
|
||||
],
|
||||
search: [
|
||||
{
|
||||
key: 'name',
|
||||
type: 'text'
|
||||
}
|
||||
],
|
||||
defaultSortingIndex: 7,
|
||||
defaultSortingOrder: 'desc'
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
112
resources/views/backend/hospital/partials/_form.blade.php
Normal file
112
resources/views/backend/hospital/partials/_form.blade.php
Normal file
@@ -0,0 +1,112 @@
|
||||
<div class="card-body">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>{{ __('label.hospital_form_name') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('name',null,['class' => $errors->has('name') ? 'form-control is-invalid' : 'form-control']) }}
|
||||
@error('name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>{{ __('label.hospital_form_contact') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('contact_name',null,['class' => $errors->has('contact_name') ? 'form-control is-invalid' : 'form-control']) }}
|
||||
@error('contact_name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>{{ __('label.hospital_form_email') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::email('email',null,['class' => $errors->has('email') ? 'form-control is-invalid' : 'form-control']) }}
|
||||
@error('email')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>{{ __('label.hospital_form_alter_email') }}</label>
|
||||
{{ Form::email('alter_email',null,['class' => 'form-control']) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>{{ __('label.hospital_form_photo') }} <span class="text-danger">*</span></label><br/>
|
||||
{{ Form::file('photo',null,['class' => $errors->has('photo') ? 'form-control is-invalid' : 'form-control']) }}
|
||||
@error('photo')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>{{ __('label.hospital_form_number') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('number',null,['class' => $errors->has('number') ? 'form-control is-invalid' : 'form-control']) }}
|
||||
@error('number')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>{{ __('label.hospital_form_city') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('city',null,['class' => $errors->has('city') ? 'form-control is-invalid' : 'form-control']) }}
|
||||
@error('city')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>{{ __('label.hospital_form_state') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('state',null,['class' => $errors->has('state') ? 'form-control is-invalid' : 'form-control']) }}
|
||||
@error('state')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>{{ __('label.area') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('area',null,['class' => $errors->has('area') ? 'form-control is-invalid' : 'form-control']) }}
|
||||
@error('area')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>{{ __('label.hospital_form_address') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::textarea('address',null,['class' => $errors->has('name') ? 'form-control is-invalid' : 'form-control']) }}
|
||||
@error('address')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>{{ __('label.hospital_form_benefits') }}</label>
|
||||
{{ Form::textarea('benefits',null,['class' => 'form-control']) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<button type="submit" name="save" value="save" class="btn btn-primary mr-2">
|
||||
@if(\Request::route()->getName() == 'admin.hospitals.edit')
|
||||
{{ __('buttons.update') }}
|
||||
@else
|
||||
{{ __('buttons.save') }}
|
||||
@endif
|
||||
</button>
|
||||
<a href="{{ route('admin.hospitals.index') }}" class="btn btn-secondary">{{ __('buttons.cancel') }}</a>
|
||||
</div>
|
||||
|
||||
24
resources/views/backend/includes/breadcrumb.blade.php
Normal file
24
resources/views/backend/includes/breadcrumb.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="" class="text-muted">{!! trans('label.home') !!}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
<a href="" class="text-muted">Dashboard</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,7 @@
|
||||
@if(Session::has('success'))
|
||||
<p class="alert alert-success">{{ Session::get('message') }}</p>
|
||||
@endif
|
||||
|
||||
@if(Session::has('error'))
|
||||
<p class="alert alert-danger">{{ Session::get('message') }}</p>
|
||||
@endif
|
||||
14
resources/views/backend/includes/footer.blade.php
Normal file
14
resources/views/backend/includes/footer.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<!--begin::Footer-->
|
||||
<div class="footer bg-white py-4 d-flex flex-lg-column" id="kt_footer">
|
||||
<!--begin::Container-->
|
||||
<div class="container-fluid d-flex flex-column flex-md-row align-items-center justify-content-between">
|
||||
<!--begin::Copyright-->
|
||||
<div class="text-dark order-2 order-md-1">
|
||||
<span class="text-muted font-weight-bold mr-2">{{date('Y')}} ©</span>
|
||||
<a target="_blank" class="text-dark-75 text-hover-primary">{{ app_name()}}</a>
|
||||
</div>
|
||||
<!--end::Copyright-->
|
||||
</div>
|
||||
<!--end::Container-->
|
||||
</div>
|
||||
<!--end::Footer-->
|
||||
718
resources/views/backend/includes/header.blade.php
Normal file
718
resources/views/backend/includes/header.blade.php
Normal file
@@ -0,0 +1,718 @@
|
||||
<!--begin::Header-->
|
||||
<div id="kt_header" class="header header-fixed">
|
||||
<!--begin::Container-->
|
||||
<div class="container-fluid d-flex align-items-stretch justify-content-between">
|
||||
<!--begin::Header Menu Wrapper-->
|
||||
<div class="header-menu-wrapper header-menu-wrapper-left" id="kt_header_menu_wrapper"></div>
|
||||
<!--end::Header Menu Wrapper-->
|
||||
<!--begin::Topbar-->
|
||||
<div class="topbar">
|
||||
<!--begin::Search-->
|
||||
<div class="dropdown" id="kt_quick_search_toggle">
|
||||
<!--begin::Toggle-->
|
||||
<div class="topbar-item" data-toggle="dropdown" data-offset="10px,0px">
|
||||
<div class="btn btn-icon btn-clean btn-lg btn-dropdown mr-1">
|
||||
<span class="svg-icon svg-icon-xl svg-icon-primary">
|
||||
<!--begin::Svg Icon | path:assets/media/svg/icons/General/Search.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<rect x="0" y="0" width="24" height="24" />
|
||||
<path d="M14.2928932,16.7071068 C13.9023689,16.3165825 13.9023689,15.6834175 14.2928932,15.2928932 C14.6834175,14.9023689 15.3165825,14.9023689 15.7071068,15.2928932 L19.7071068,19.2928932 C20.0976311,19.6834175 20.0976311,20.3165825 19.7071068,20.7071068 C19.3165825,21.0976311 18.6834175,21.0976311 18.2928932,20.7071068 L14.2928932,16.7071068 Z" fill="#000000" fill-rule="nonzero" opacity="0.3" />
|
||||
<path d="M11,16 C13.7614237,16 16,13.7614237 16,11 C16,8.23857625 13.7614237,6 11,6 C8.23857625,6 6,8.23857625 6,11 C6,13.7614237 8.23857625,16 11,16 Z M11,18 C7.13400675,18 4,14.8659932 4,11 C4,7.13400675 7.13400675,4 11,4 C14.8659932,4 18,7.13400675 18,11 C18,14.8659932 14.8659932,18 11,18 Z" fill="#000000" fill-rule="nonzero" />
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Toggle-->
|
||||
<!--begin::Dropdown-->
|
||||
<div class="dropdown-menu p-0 m-0 dropdown-menu-right dropdown-menu-anim-up dropdown-menu-lg">
|
||||
<div class="quick-search quick-search-dropdown" id="kt_quick_search_dropdown">
|
||||
<!--begin:Form-->
|
||||
<form method="get" class="quick-search-form">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">
|
||||
<span class="svg-icon svg-icon-lg">
|
||||
<!--begin::Svg Icon | path:assets/media/svg/icons/General/Search.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<rect x="0" y="0" width="24" height="24" />
|
||||
<path d="M14.2928932,16.7071068 C13.9023689,16.3165825 13.9023689,15.6834175 14.2928932,15.2928932 C14.6834175,14.9023689 15.3165825,14.9023689 15.7071068,15.2928932 L19.7071068,19.2928932 C20.0976311,19.6834175 20.0976311,20.3165825 19.7071068,20.7071068 C19.3165825,21.0976311 18.6834175,21.0976311 18.2928932,20.7071068 L14.2928932,16.7071068 Z" fill="#000000" fill-rule="nonzero" opacity="0.3" />
|
||||
<path d="M11,16 C13.7614237,16 16,13.7614237 16,11 C16,8.23857625 13.7614237,6 11,6 C8.23857625,6 6,8.23857625 6,11 C6,13.7614237 8.23857625,16 11,16 Z M11,18 C7.13400675,18 4,14.8659932 4,11 C4,7.13400675 7.13400675,4 11,4 C14.8659932,4 18,7.13400675 18,11 C18,14.8659932 14.8659932,18 11,18 Z" fill="#000000" fill-rule="nonzero" />
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<input type="text" class="form-control" placeholder="Search..." />
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text">
|
||||
<i class="quick-search-close ki ki-close icon-sm text-muted"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<!--end::Form-->
|
||||
<!--begin::Scroll-->
|
||||
<div class="quick-search-wrapper scroll" data-scroll="true" data-height="325" data-mobile-height="200"></div>
|
||||
<!--end::Scroll-->
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Dropdown-->
|
||||
</div>
|
||||
<!--end::Search-->
|
||||
|
||||
<!--begin::User-->
|
||||
<div class="topbar-item">
|
||||
<div class="btn btn-icon w-auto btn-clean d-flex align-items-center btn-lg px-2" id="kt_quick_user_toggle">
|
||||
<span class="text-muted font-weight-bold font-size-base d-none d-md-inline mr-1">Hi,</span>
|
||||
<span class="text-dark-50 font-weight-bolder font-size-base d-none d-md-inline mr-3">{{ !empty(loggedInUser()->name) ? loggedInUser()->name : '' }}</span>
|
||||
<span class="symbol symbol-35 symbol-light-success">
|
||||
<span class="symbol-label font-size-h5 font-weight-bold">{{ !empty(loggedInUser()->name) ? ucfirst(mb_substr(loggedInUser()->name ?? 'Admin', 0, 1)) : '' }}</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::User-->
|
||||
</div>
|
||||
<!--end::Topbar-->
|
||||
</div>
|
||||
<!--end::Container-->
|
||||
</div>
|
||||
<!--end::Header-->
|
||||
|
||||
<!--begin::Quick Panel-->
|
||||
<div id="kt_quick_panel" class="offcanvas offcanvas-right pt-5 pb-10">
|
||||
<!--begin::Header-->
|
||||
<div class="offcanvas-header offcanvas-header-navs d-flex align-items-center justify-content-between mb-5">
|
||||
<ul class="nav nav-bold nav-tabs nav-tabs-line nav-tabs-line-3x nav-tabs-primary flex-grow-1 px-10" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" data-toggle="tab" href="#kt_quick_panel_logs">Audit Logs</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-toggle="tab" href="#kt_quick_panel_notifications">Notifications</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-toggle="tab" href="#kt_quick_panel_settings">Settings</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="offcanvas-close mt-n1 pr-5">
|
||||
<a href="#" class="btn btn-xs btn-icon btn-light btn-hover-primary" id="kt_quick_panel_close">
|
||||
<i class="ki ki-close icon-xs text-muted"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Header-->
|
||||
<!--begin::Content-->
|
||||
<div class="offcanvas-content px-10">
|
||||
<div class="tab-content">
|
||||
<!--begin::Tabpane-->
|
||||
<div class="tab-pane fade show pt-3 pr-5 mr-n5 active" id="kt_quick_panel_logs" role="tabpanel">
|
||||
<!--begin::Section-->
|
||||
<div class="mb-15">
|
||||
<h5 class="font-weight-bold mb-5">System Messages</h5>
|
||||
<!--begin: Item-->
|
||||
<div class="d-flex align-items-center flex-wrap mb-5">
|
||||
<div class="symbol symbol-50 symbol-light mr-5">
|
||||
<span class="symbol-label">
|
||||
<img src="{{ asset('public/images/svg/misc/006-plurk.svg') }}" class="h-50 align-self-center" alt="" />
|
||||
</span>
|
||||
</div>
|
||||
<div class="d-flex flex-column flex-grow-1 mr-2">
|
||||
<a href="#" class="font-weight-bolder text-dark-75 text-hover-primary font-size-lg mb-1">Top Authors</a>
|
||||
<span class="text-muted font-weight-bold">Most Successful Fellas</span>
|
||||
</div>
|
||||
<span class="btn btn-sm btn-light font-weight-bolder py-1 my-lg-0 my-2 text-dark-50">+82$</span>
|
||||
</div>
|
||||
<!--end: Item-->
|
||||
<!--begin: Item-->
|
||||
<div class="d-flex align-items-center flex-wrap mb-5">
|
||||
<div class="symbol symbol-50 symbol-light mr-5">
|
||||
<span class="symbol-label">
|
||||
<img src="{{ asset('public/images/svg/misc/015-telegram.svg') }}" class="h-50 align-self-center" alt="" />
|
||||
</span>
|
||||
</div>
|
||||
<div class="d-flex flex-column flex-grow-1 mr-2">
|
||||
<a href="#" class="font-weight-bolder text-dark-75 text-hover-primary font-size-lg mb-1">Popular Authors</a>
|
||||
<span class="text-muted font-weight-bold">Most Successful Fellas</span>
|
||||
</div>
|
||||
<span class="btn btn-sm btn-light font-weight-bolder my-lg-0 my-2 py-1 text-dark-50">+280$</span>
|
||||
</div>
|
||||
<!--end: Item-->
|
||||
<!--begin: Item-->
|
||||
<div class="d-flex align-items-center flex-wrap mb-5">
|
||||
<div class="symbol symbol-50 symbol-light mr-5">
|
||||
<span class="symbol-label">
|
||||
<img src="{{ asset('public/images/svg/misc/003-puzzle.svg') }}" class="h-50 align-self-center" alt="" />
|
||||
</span>
|
||||
</div>
|
||||
<div class="d-flex flex-column flex-grow-1 mr-2">
|
||||
<a href="#" class="font-weight-bolder text-dark-75 text-hover-primary font-size-lg mb-1">New Users</a>
|
||||
<span class="text-muted font-weight-bold">Most Successful Fellas</span>
|
||||
</div>
|
||||
<span class="btn btn-sm btn-light font-weight-bolder my-lg-0 my-2 py-1 text-dark-50">+4500$</span>
|
||||
</div>
|
||||
<!--end: Item-->
|
||||
<!--begin: Item-->
|
||||
<div class="d-flex align-items-center flex-wrap mb-5">
|
||||
<div class="symbol symbol-50 symbol-light mr-5">
|
||||
<span class="symbol-label">
|
||||
<img src="{{ asset('public/images/svg/misc/005-bebo.svg') }}" class="h-50 align-self-center" alt="" />
|
||||
</span>
|
||||
</div>
|
||||
<div class="d-flex flex-column flex-grow-1 mr-2">
|
||||
<a href="#" class="font-weight-bolder text-dark-75 text-hover-primary font-size-lg mb-1">Active Customers</a>
|
||||
<span class="text-muted font-weight-bold">Most Successful Fellas</span>
|
||||
</div>
|
||||
<span class="btn btn-sm btn-light font-weight-bolder my-lg-0 my-2 py-1 text-dark-50">+4500$</span>
|
||||
</div>
|
||||
<!--end: Item-->
|
||||
<!--begin: Item-->
|
||||
<div class="d-flex align-items-center flex-wrap">
|
||||
<div class="symbol symbol-50 symbol-light mr-5">
|
||||
<span class="symbol-label">
|
||||
<img src="{{ asset('public/images/svg/misc/014-kickstarter.svg') }}" class="h-50 align-self-center" alt="" />
|
||||
</span>
|
||||
</div>
|
||||
<div class="d-flex flex-column flex-grow-1 mr-2">
|
||||
<a href="#" class="font-weight-bolder text-dark-75 text-hover-primary font-size-lg mb-1">Bestseller Theme</a>
|
||||
<span class="text-muted font-weight-bold">Most Successful Fellas</span>
|
||||
</div>
|
||||
<span class="btn btn-sm btn-light font-weight-bolder my-lg-0 my-2 py-1 text-dark-50">+4500$</span>
|
||||
</div>
|
||||
<!--end: Item-->
|
||||
</div>
|
||||
<!--end::Section-->
|
||||
<!--begin::Section-->
|
||||
<div class="mb-5">
|
||||
<h5 class="font-weight-bold mb-5">Notifications</h5>
|
||||
<!--begin: Item-->
|
||||
<div class="d-flex align-items-center bg-light-warning rounded p-5 mb-5">
|
||||
<span class="svg-icon svg-icon-warning mr-5">
|
||||
<span class="svg-icon svg-icon-lg">
|
||||
<!--begin::Svg Icon | path:assets/media/svg/icons/Home/Library.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<rect x="0" y="0" width="24" height="24" />
|
||||
<path d="M5,3 L6,3 C6.55228475,3 7,3.44771525 7,4 L7,20 C7,20.5522847 6.55228475,21 6,21 L5,21 C4.44771525,21 4,20.5522847 4,20 L4,4 C4,3.44771525 4.44771525,3 5,3 Z M10,3 L11,3 C11.5522847,3 12,3.44771525 12,4 L12,20 C12,20.5522847 11.5522847,21 11,21 L10,21 C9.44771525,21 9,20.5522847 9,20 L9,4 C9,3.44771525 9.44771525,3 10,3 Z" fill="#000000" />
|
||||
<rect fill="#000000" opacity="0.3" transform="translate(17.825568, 11.945519) rotate(-19.000000) translate(-17.825568, -11.945519)" x="16.3255682" y="2.94551858" width="3" height="18" rx="1" />
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
</span>
|
||||
<div class="d-flex flex-column flex-grow-1 mr-2">
|
||||
<a href="#" class="font-weight-normal text-dark-75 text-hover-primary font-size-lg mb-1">Another purpose persuade</a>
|
||||
<span class="text-muted font-size-sm">Due in 2 Days</span>
|
||||
</div>
|
||||
<span class="font-weight-bolder text-warning py-1 font-size-lg">+28%</span>
|
||||
</div>
|
||||
<!--end: Item-->
|
||||
<!--begin: Item-->
|
||||
<div class="d-flex align-items-center bg-light-success rounded p-5 mb-5">
|
||||
<span class="svg-icon svg-icon-success mr-5">
|
||||
<span class="svg-icon svg-icon-lg">
|
||||
<!--begin::Svg Icon | path:assets/media/svg/icons/Communication/Write.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<rect x="0" y="0" width="24" height="24" />
|
||||
<path d="M12.2674799,18.2323597 L12.0084872,5.45852451 C12.0004303,5.06114792 12.1504154,4.6768183 12.4255037,4.38993949 L15.0030167,1.70195304 L17.5910752,4.40093695 C17.8599071,4.6812911 18.0095067,5.05499603 18.0083938,5.44341307 L17.9718262,18.2062508 C17.9694575,19.0329966 17.2985816,19.701953 16.4718324,19.701953 L13.7671717,19.701953 C12.9505952,19.701953 12.2840328,19.0487684 12.2674799,18.2323597 Z" fill="#000000" fill-rule="nonzero" transform="translate(14.701953, 10.701953) rotate(-135.000000) translate(-14.701953, -10.701953)" />
|
||||
<path d="M12.9,2 C13.4522847,2 13.9,2.44771525 13.9,3 C13.9,3.55228475 13.4522847,4 12.9,4 L6,4 C4.8954305,4 4,4.8954305 4,6 L4,18 C4,19.1045695 4.8954305,20 6,20 L18,20 C19.1045695,20 20,19.1045695 20,18 L20,13 C20,12.4477153 20.4477153,12 21,12 C21.5522847,12 22,12.4477153 22,13 L22,18 C22,20.209139 20.209139,22 18,22 L6,22 C3.790861,22 2,20.209139 2,18 L2,6 C2,3.790861 3.790861,2 6,2 L12.9,2 Z" fill="#000000" fill-rule="nonzero" opacity="0.3" />
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
</span>
|
||||
<div class="d-flex flex-column flex-grow-1 mr-2">
|
||||
<a href="#" class="font-weight-normal text-dark-75 text-hover-primary font-size-lg mb-1">Would be to people</a>
|
||||
<span class="text-muted font-size-sm">Due in 2 Days</span>
|
||||
</div>
|
||||
<span class="font-weight-bolder text-success py-1 font-size-lg">+50%</span>
|
||||
</div>
|
||||
<!--end: Item-->
|
||||
<!--begin: Item-->
|
||||
<div class="d-flex align-items-center bg-light-danger rounded p-5 mb-5">
|
||||
<span class="svg-icon svg-icon-danger mr-5">
|
||||
<span class="svg-icon svg-icon-lg">
|
||||
<!--begin::Svg Icon | path:assets/media/svg/icons/Communication/Group-chat.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<rect x="0" y="0" width="24" height="24" />
|
||||
<path d="M16,15.6315789 L16,12 C16,10.3431458 14.6568542,9 13,9 L6.16183229,9 L6.16183229,5.52631579 C6.16183229,4.13107011 7.29290239,3 8.68814808,3 L20.4776218,3 C21.8728674,3 23.0039375,4.13107011 23.0039375,5.52631579 L23.0039375,13.1052632 L23.0206157,17.786793 C23.0215995,18.0629336 22.7985408,18.2875874 22.5224001,18.2885711 C22.3891754,18.2890457 22.2612702,18.2363324 22.1670655,18.1421277 L19.6565168,15.6315789 L16,15.6315789 Z" fill="#000000" />
|
||||
<path d="M1.98505595,18 L1.98505595,13 C1.98505595,11.8954305 2.88048645,11 3.98505595,11 L11.9850559,11 C13.0896254,11 13.9850559,11.8954305 13.9850559,13 L13.9850559,18 C13.9850559,19.1045695 13.0896254,20 11.9850559,20 L4.10078614,20 L2.85693427,21.1905292 C2.65744295,21.3814685 2.34093638,21.3745358 2.14999706,21.1750444 C2.06092565,21.0819836 2.01120804,20.958136 2.01120804,20.8293182 L2.01120804,18.32426 C1.99400175,18.2187196 1.98505595,18.1104045 1.98505595,18 Z M6.5,14 C6.22385763,14 6,14.2238576 6,14.5 C6,14.7761424 6.22385763,15 6.5,15 L11.5,15 C11.7761424,15 12,14.7761424 12,14.5 C12,14.2238576 11.7761424,14 11.5,14 L6.5,14 Z M9.5,16 C9.22385763,16 9,16.2238576 9,16.5 C9,16.7761424 9.22385763,17 9.5,17 L11.5,17 C11.7761424,17 12,16.7761424 12,16.5 C12,16.2238576 11.7761424,16 11.5,16 L9.5,16 Z" fill="#000000" opacity="0.3" />
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
</span>
|
||||
<div class="d-flex flex-column flex-grow-1 mr-2">
|
||||
<a href="#" class="font-weight-normel text-dark-75 text-hover-primary font-size-lg mb-1">Purpose would be to persuade</a>
|
||||
<span class="text-muted font-size-sm">Due in 2 Days</span>
|
||||
</div>
|
||||
<span class="font-weight-bolder text-danger py-1 font-size-lg">-27%</span>
|
||||
</div>
|
||||
<!--end: Item-->
|
||||
<!--begin: Item-->
|
||||
<div class="d-flex align-items-center bg-light-info rounded p-5">
|
||||
<span class="svg-icon svg-icon-info mr-5">
|
||||
<span class="svg-icon svg-icon-lg">
|
||||
<!--begin::Svg Icon | path:assets/media/svg/icons/General/Attachment2.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<rect x="0" y="0" width="24" height="24" />
|
||||
<path d="M11.7573593,15.2426407 L8.75735931,15.2426407 C8.20507456,15.2426407 7.75735931,15.6903559 7.75735931,16.2426407 C7.75735931,16.7949254 8.20507456,17.2426407 8.75735931,17.2426407 L11.7573593,17.2426407 L11.7573593,18.2426407 C11.7573593,19.3472102 10.8619288,20.2426407 9.75735931,20.2426407 L5.75735931,20.2426407 C4.65278981,20.2426407 3.75735931,19.3472102 3.75735931,18.2426407 L3.75735931,14.2426407 C3.75735931,13.1380712 4.65278981,12.2426407 5.75735931,12.2426407 L9.75735931,12.2426407 C10.8619288,12.2426407 11.7573593,13.1380712 11.7573593,14.2426407 L11.7573593,15.2426407 Z" fill="#000000" opacity="0.3" transform="translate(7.757359, 16.242641) rotate(-45.000000) translate(-7.757359, -16.242641)" />
|
||||
<path d="M12.2426407,8.75735931 L15.2426407,8.75735931 C15.7949254,8.75735931 16.2426407,8.30964406 16.2426407,7.75735931 C16.2426407,7.20507456 15.7949254,6.75735931 15.2426407,6.75735931 L12.2426407,6.75735931 L12.2426407,5.75735931 C12.2426407,4.65278981 13.1380712,3.75735931 14.2426407,3.75735931 L18.2426407,3.75735931 C19.3472102,3.75735931 20.2426407,4.65278981 20.2426407,5.75735931 L20.2426407,9.75735931 C20.2426407,10.8619288 19.3472102,11.7573593 18.2426407,11.7573593 L14.2426407,11.7573593 C13.1380712,11.7573593 12.2426407,10.8619288 12.2426407,9.75735931 L12.2426407,8.75735931 Z" fill="#000000" transform="translate(16.242641, 7.757359) rotate(-45.000000) translate(-16.242641, -7.757359)" />
|
||||
<path d="M5.89339828,3.42893219 C6.44568303,3.42893219 6.89339828,3.87664744 6.89339828,4.42893219 L6.89339828,6.42893219 C6.89339828,6.98121694 6.44568303,7.42893219 5.89339828,7.42893219 C5.34111353,7.42893219 4.89339828,6.98121694 4.89339828,6.42893219 L4.89339828,4.42893219 C4.89339828,3.87664744 5.34111353,3.42893219 5.89339828,3.42893219 Z M11.4289322,5.13603897 C11.8194565,5.52656326 11.8194565,6.15972824 11.4289322,6.55025253 L10.0147186,7.96446609 C9.62419433,8.35499039 8.99102936,8.35499039 8.60050506,7.96446609 C8.20998077,7.5739418 8.20998077,6.94077682 8.60050506,6.55025253 L10.0147186,5.13603897 C10.4052429,4.74551468 11.0384079,4.74551468 11.4289322,5.13603897 Z M0.600505063,5.13603897 C0.991029355,4.74551468 1.62419433,4.74551468 2.01471863,5.13603897 L3.42893219,6.55025253 C3.81945648,6.94077682 3.81945648,7.5739418 3.42893219,7.96446609 C3.0384079,8.35499039 2.40524292,8.35499039 2.01471863,7.96446609 L0.600505063,6.55025253 C0.209980772,6.15972824 0.209980772,5.52656326 0.600505063,5.13603897 Z" fill="#000000" opacity="0.3" transform="translate(6.014719, 5.843146) rotate(-45.000000) translate(-6.014719, -5.843146)" />
|
||||
<path d="M17.9142136,15.4497475 C18.4664983,15.4497475 18.9142136,15.8974627 18.9142136,16.4497475 L18.9142136,18.4497475 C18.9142136,19.0020322 18.4664983,19.4497475 17.9142136,19.4497475 C17.3619288,19.4497475 16.9142136,19.0020322 16.9142136,18.4497475 L16.9142136,16.4497475 C16.9142136,15.8974627 17.3619288,15.4497475 17.9142136,15.4497475 Z M23.4497475,17.1568542 C23.8402718,17.5473785 23.8402718,18.1805435 23.4497475,18.5710678 L22.0355339,19.9852814 C21.6450096,20.3758057 21.0118446,20.3758057 20.6213203,19.9852814 C20.2307961,19.5947571 20.2307961,18.9615921 20.6213203,18.5710678 L22.0355339,17.1568542 C22.4260582,16.76633 23.0592232,16.76633 23.4497475,17.1568542 Z M12.6213203,17.1568542 C13.0118446,16.76633 13.6450096,16.76633 14.0355339,17.1568542 L15.4497475,18.5710678 C15.8402718,18.9615921 15.8402718,19.5947571 15.4497475,19.9852814 C15.0592232,20.3758057 14.4260582,20.3758057 14.0355339,19.9852814 L12.6213203,18.5710678 C12.2307961,18.1805435 12.2307961,17.5473785 12.6213203,17.1568542 Z" fill="#000000" opacity="0.3" transform="translate(18.035534, 17.863961) scale(1, -1) rotate(45.000000) translate(-18.035534, -17.863961)" />
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
</span>
|
||||
<div class="d-flex flex-column flex-grow-1 mr-2">
|
||||
<a href="#" class="font-weight-normel text-dark-75 text-hover-primary font-size-lg mb-1">The best product</a>
|
||||
<span class="text-muted font-size-sm">Due in 2 Days</span>
|
||||
</div>
|
||||
<span class="font-weight-bolder text-info py-1 font-size-lg">+8%</span>
|
||||
</div>
|
||||
<!--end: Item-->
|
||||
</div>
|
||||
<!--end::Section-->
|
||||
</div>
|
||||
<!--end::Tabpane-->
|
||||
<!--begin::Tabpane-->
|
||||
<div class="tab-pane fade pt-2 pr-5 mr-n5" id="kt_quick_panel_notifications" role="tabpanel">
|
||||
<!--begin::Nav-->
|
||||
<div class="navi navi-icon-circle navi-spacer-x-0">
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="navi-item">
|
||||
<div class="navi-link rounded">
|
||||
<div class="symbol symbol-50 mr-3">
|
||||
<div class="symbol-label">
|
||||
<i class="flaticon-bell text-success icon-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold font-size-lg">5 new user generated report</div>
|
||||
<div class="text-muted">Reports based on sales</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="navi-item">
|
||||
<div class="navi-link rounded">
|
||||
<div class="symbol symbol-50 mr-3">
|
||||
<div class="symbol-label">
|
||||
<i class="flaticon2-box text-danger icon-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold font-size-lg">2 new items submited</div>
|
||||
<div class="text-muted">by Grog John</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="navi-item">
|
||||
<div class="navi-link rounded">
|
||||
<div class="symbol symbol-50 mr-3">
|
||||
<div class="symbol-label">
|
||||
<i class="flaticon-psd text-primary icon-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold font-size-lg">79 PSD files generated</div>
|
||||
<div class="text-muted">Reports based on sales</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="navi-item">
|
||||
<div class="navi-link rounded">
|
||||
<div class="symbol symbol-50 mr-3">
|
||||
<div class="symbol-label">
|
||||
<i class="flaticon2-supermarket text-warning icon-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold font-size-lg">$2900 worth producucts sold</div>
|
||||
<div class="text-muted">Total 234 items</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="navi-item">
|
||||
<div class="navi-link rounded">
|
||||
<div class="symbol symbol-50 mr-3">
|
||||
<div class="symbol-label">
|
||||
<i class="flaticon-paper-plane-1 text-success icon-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold font-size-lg">4.5h-avarage response time</div>
|
||||
<div class="text-muted">Fostest is Barry</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="navi-item">
|
||||
<div class="navi-link rounded">
|
||||
<div class="symbol symbol-50 mr-3">
|
||||
<div class="symbol-label">
|
||||
<i class="flaticon-safe-shield-protection text-danger icon-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold font-size-lg">3 Defence alerts</div>
|
||||
<div class="text-muted">40% less alerts thar last week</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="navi-item">
|
||||
<div class="navi-link rounded">
|
||||
<div class="symbol symbol-50 mr-3">
|
||||
<div class="symbol-label">
|
||||
<i class="flaticon-notepad text-primary icon-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold font-size-lg">Avarage 4 blog posts per author</div>
|
||||
<div class="text-muted">Most posted 12 time</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="navi-item">
|
||||
<div class="navi-link rounded">
|
||||
<div class="symbol symbol-50 mr-3">
|
||||
<div class="symbol-label">
|
||||
<i class="flaticon-users-1 text-warning icon-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold font-size-lg">16 authors joined last week</div>
|
||||
<div class="text-muted">9 photodrapehrs, 7 designer</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="navi-item">
|
||||
<div class="navi-link rounded">
|
||||
<div class="symbol symbol-50 mr-3">
|
||||
<div class="symbol-label">
|
||||
<i class="flaticon2-box text-info icon-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold font-size-lg">2 new items have been submited</div>
|
||||
<div class="text-muted">by Grog John</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="navi-item">
|
||||
<div class="navi-link rounded">
|
||||
<div class="symbol symbol-50 mr-3">
|
||||
<div class="symbol-label">
|
||||
<i class="flaticon2-download text-success icon-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold font-size-lg">2.8 GB-total downloads size</div>
|
||||
<div class="text-muted">Mostly PSD end AL concepts</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="navi-item">
|
||||
<div class="navi-link rounded">
|
||||
<div class="symbol symbol-50 mr-3">
|
||||
<div class="symbol-label">
|
||||
<i class="flaticon2-supermarket text-danger icon-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold font-size-lg">$2900 worth producucts sold</div>
|
||||
<div class="text-muted">Total 234 items</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="navi-item">
|
||||
<div class="navi-link rounded">
|
||||
<div class="symbol symbol-50 mr-3">
|
||||
<div class="symbol-label">
|
||||
<i class="flaticon-bell text-primary icon-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold font-size-lg">7 new user generated report</div>
|
||||
<div class="text-muted">Reports based on sales</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
<!--begin::Item-->
|
||||
<a href="#" class="navi-item">
|
||||
<div class="navi-link rounded">
|
||||
<div class="symbol symbol-50 mr-3">
|
||||
<div class="symbol-label">
|
||||
<i class="flaticon-paper-plane-1 text-success icon-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold font-size-lg">4.5h-avarage response time</div>
|
||||
<div class="text-muted">Fostest is Barry</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!--end::Item-->
|
||||
</div>
|
||||
<!--end::Nav-->
|
||||
</div>
|
||||
<!--end::Tabpane-->
|
||||
<!--begin::Tabpane-->
|
||||
<div class="tab-pane fade pt-3 pr-5 mr-n5" id="kt_quick_panel_settings" role="tabpanel">
|
||||
<form class="form">
|
||||
<!--begin::Section-->
|
||||
<div>
|
||||
<h5 class="font-weight-bold mb-3">Customer Care</h5>
|
||||
<div class="form-group mb-0 row">
|
||||
<label class="col-8 col-form-label">Enable Notifications:</label>
|
||||
<div class="col-4 text-right">
|
||||
<span class="switch switch-success switch-sm">
|
||||
<label>
|
||||
<input type="checkbox" checked="checked" name="select" />
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group mb-0 row">
|
||||
<label class="col-8 col-form-label">Enable Case Tracking:</label>
|
||||
<div class="col-4 text-right">
|
||||
<span class="switch switch-success switch-sm">
|
||||
<label>
|
||||
<input type="checkbox" name="quick_panel_notifications_2" />
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group mb-0 row">
|
||||
<label class="col-8 col-form-label">Support Portal:</label>
|
||||
<div class="col-4 text-right">
|
||||
<span class="switch switch-success switch-sm">
|
||||
<label>
|
||||
<input type="checkbox" checked="checked" name="select" />
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Section-->
|
||||
<div class="separator separator-dashed my-6"></div>
|
||||
<!--begin::Section-->
|
||||
<div class="pt-2">
|
||||
<h5 class="font-weight-bold mb-3">Reports</h5>
|
||||
<div class="form-group mb-0 row">
|
||||
<label class="col-8 col-form-label">Generate Reports:</label>
|
||||
<div class="col-4 text-right">
|
||||
<span class="switch switch-sm switch-danger">
|
||||
<label>
|
||||
<input type="checkbox" checked="checked" name="select" />
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group mb-0 row">
|
||||
<label class="col-8 col-form-label">Enable Report Export:</label>
|
||||
<div class="col-4 text-right">
|
||||
<span class="switch switch-sm switch-danger">
|
||||
<label>
|
||||
<input type="checkbox" name="select" />
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group mb-0 row">
|
||||
<label class="col-8 col-form-label">Allow Data Collection:</label>
|
||||
<div class="col-4 text-right">
|
||||
<span class="switch switch-sm switch-danger">
|
||||
<label>
|
||||
<input type="checkbox" checked="checked" name="select" />
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Section-->
|
||||
<div class="separator separator-dashed my-6"></div>
|
||||
<!--begin::Section-->
|
||||
<div class="pt-2">
|
||||
<h5 class="font-weight-bold mb-3">Memebers</h5>
|
||||
<div class="form-group mb-0 row">
|
||||
<label class="col-8 col-form-label">Enable Member singup:</label>
|
||||
<div class="col-4 text-right">
|
||||
<span class="switch switch-sm switch-primary">
|
||||
<label>
|
||||
<input type="checkbox" checked="checked" name="select" />
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group mb-0 row">
|
||||
<label class="col-8 col-form-label">Allow User Feedbacks:</label>
|
||||
<div class="col-4 text-right">
|
||||
<span class="switch switch-sm switch-primary">
|
||||
<label>
|
||||
<input type="checkbox" name="select" />
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group mb-0 row">
|
||||
<label class="col-8 col-form-label">Enable Customer Portal:</label>
|
||||
<div class="col-4 text-right">
|
||||
<span class="switch switch-sm switch-primary">
|
||||
<label>
|
||||
<input type="checkbox" checked="checked" name="select" />
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Section-->
|
||||
</form>
|
||||
</div>
|
||||
<!--end::Tabpane-->
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Content-->
|
||||
</div>
|
||||
<!--end::Quick Panel-->
|
||||
|
||||
<!-- begin::User Panel-->
|
||||
<div id="kt_quick_user" class="offcanvas offcanvas-right p-10">
|
||||
<!--begin::Header-->
|
||||
<div class="offcanvas-header d-flex align-items-center justify-content-between pb-5">
|
||||
<h3 class="font-weight-bold m-0">User Profile</h3>
|
||||
<a href="#" class="btn btn-xs btn-icon btn-light btn-hover-primary" id="kt_quick_user_close">
|
||||
<i class="ki ki-close icon-xs text-muted"></i>
|
||||
</a>
|
||||
</div>
|
||||
<!--end::Header-->
|
||||
<!--begin::Content-->
|
||||
<div class="offcanvas-content pr-5 mr-n5">
|
||||
<!--begin::Header-->
|
||||
<div class="d-flex align-items-center mt-5">
|
||||
<div class="symbol symbol-100 mr-5">
|
||||
<div class="symbol-label" style="background-image:url('{{ asset('public/images/users/default.jpg') }}')"></div>
|
||||
<i class="symbol-badge bg-success"></i>
|
||||
</div>
|
||||
<div class="d-flex flex-column">
|
||||
<a href="#" class="font-weight-bold font-size-h5 text-dark-75 text-hover-primary">{{ !empty(loggedInUser()->name) ? loggedInUser()->name : '' }}</a>
|
||||
<div class="text-muted mt-1">Admin</div>
|
||||
<div class="navi mt-2">
|
||||
<a href="#" class="navi-item">
|
||||
<span class="navi-link p-0 pb-2">
|
||||
<span class="navi-icon mr-1">
|
||||
<span class="svg-icon svg-icon-lg svg-icon-primary">
|
||||
<!--begin::Svg Icon | path:assets/media/svg/icons/Communication/Mail-notification.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<rect x="0" y="0" width="24" height="24" />
|
||||
<path d="M21,12.0829584 C20.6747915,12.0283988 20.3407122,12 20,12 C16.6862915,12 14,14.6862915 14,18 C14,18.3407122 14.0283988,18.6747915 14.0829584,19 L5,19 C3.8954305,19 3,18.1045695 3,17 L3,8 C3,6.8954305 3.8954305,6 5,6 L19,6 C20.1045695,6 21,6.8954305 21,8 L21,12.0829584 Z M18.1444251,7.83964668 L12,11.1481833 L5.85557487,7.83964668 C5.4908718,7.6432681 5.03602525,7.77972206 4.83964668,8.14442513 C4.6432681,8.5091282 4.77972206,8.96397475 5.14442513,9.16035332 L11.6444251,12.6603533 C11.8664074,12.7798822 12.1335926,12.7798822 12.3555749,12.6603533 L18.8555749,9.16035332 C19.2202779,8.96397475 19.3567319,8.5091282 19.1603533,8.14442513 C18.9639747,7.77972206 18.5091282,7.6432681 18.1444251,7.83964668 Z" fill="#000000" />
|
||||
<circle fill="#000000" opacity="0.3" cx="19.5" cy="17.5" r="2.5" />
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
</span>
|
||||
<span class="navi-text text-muted text-hover-primary">{{ !empty(loggedInUser()->email) ? loggedInUser()->email : '' }}</span>
|
||||
</span>
|
||||
</a>
|
||||
<a onclick="event.preventDefault();
|
||||
document.getElementById('logout-form').submit();" class="btn btn-sm btn-light-primary font-weight-bolder py-2 px-5">Sign Out</a>
|
||||
<form id="logout-form" action="{{ route('admin.logout') }}" method="POST" style="display: none;">
|
||||
@csrf
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Header-->
|
||||
<!--begin::Separator-->
|
||||
<div class="separator separator-dashed mt-8 mb-5"></div>
|
||||
<!--end::Separator-->
|
||||
<div class="navi navi-spacer-x-0 p-0">
|
||||
<a href="{{route('admin.account-setting.index',['change-password'])}}" class="navi-item">
|
||||
<div class="navi-link">
|
||||
<div class="symbol symbol-40 bg-light mr-3">
|
||||
<div class="symbol-label">
|
||||
<span class="svg-icon svg-icon-dark-75 svg-icon-2x">
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px"
|
||||
viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<rect x="0" y="0" width="24" height="24"/>
|
||||
<path
|
||||
d="M18.6225,9.75 L18.75,9.75 C19.9926407,9.75 21,10.7573593 21,12 C21,13.2426407 19.9926407,14.25 18.75,14.25 L18.6854912,14.249994 C18.4911876,14.250769 18.3158978,14.366855 18.2393549,14.5454486 C18.1556809,14.7351461 18.1942911,14.948087 18.3278301,15.0846699 L18.372535,15.129375 C18.7950334,15.5514036 19.03243,16.1240792 19.03243,16.72125 C19.03243,17.3184208 18.7950334,17.8910964 18.373125,18.312535 C17.9510964,18.7350334 17.3784208,18.97243 16.78125,18.97243 C16.1840792,18.97243 15.6114036,18.7350334 15.1896699,18.3128301 L15.1505513,18.2736469 C15.008087,18.1342911 14.7951461,18.0956809 14.6054486,18.1793549 C14.426855,18.2558978 14.310769,18.4311876 14.31,18.6225 L14.31,18.75 C14.31,19.9926407 13.3026407,21 12.06,21 C10.8173593,21 9.81,19.9926407 9.81,18.75 C9.80552409,18.4999185 9.67898539,18.3229986 9.44717599,18.2361469 C9.26485393,18.1556809 9.05191298,18.1942911 8.91533009,18.3278301 L8.870625,18.372535 C8.44859642,18.7950334 7.87592081,19.03243 7.27875,19.03243 C6.68157919,19.03243 6.10890358,18.7950334 5.68746499,18.373125 C5.26496665,17.9510964 5.02757002,17.3784208 5.02757002,16.78125 C5.02757002,16.1840792 5.26496665,15.6114036 5.68716991,15.1896699 L5.72635306,15.1505513 C5.86570889,15.008087 5.90431906,14.7951461 5.82064513,14.6054486 C5.74410223,14.426855 5.56881236,14.310769 5.3775,14.31 L5.25,14.31 C4.00735931,14.31 3,13.3026407 3,12.06 C3,10.8173593 4.00735931,9.81 5.25,9.81 C5.50008154,9.80552409 5.67700139,9.67898539 5.76385306,9.44717599 C5.84431906,9.26485393 5.80570889,9.05191298 5.67216991,8.91533009 L5.62746499,8.870625 C5.20496665,8.44859642 4.96757002,7.87592081 4.96757002,7.27875 C4.96757002,6.68157919 5.20496665,6.10890358 5.626875,5.68746499 C6.04890358,5.26496665 6.62157919,5.02757002 7.21875,5.02757002 C7.81592081,5.02757002 8.38859642,5.26496665 8.81033009,5.68716991 L8.84944872,5.72635306 C8.99191298,5.86570889 9.20485393,5.90431906 9.38717599,5.82385306 L9.49484664,5.80114977 C9.65041313,5.71688974 9.7492905,5.55401473 9.75,5.3775 L9.75,5.25 C9.75,4.00735931 10.7573593,3 12,3 C13.2426407,3 14.25,4.00735931 14.25,5.25 L14.249994,5.31450877 C14.250769,5.50881236 14.366855,5.68410223 14.552824,5.76385306 C14.7351461,5.84431906 14.948087,5.80570889 15.0846699,5.67216991 L15.129375,5.62746499 C15.5514036,5.20496665 16.1240792,4.96757002 16.72125,4.96757002 C17.3184208,4.96757002 17.8910964,5.20496665 18.312535,5.626875 C18.7350334,6.04890358 18.97243,6.62157919 18.97243,7.21875 C18.97243,7.81592081 18.7350334,8.38859642 18.3128301,8.81033009 L18.2736469,8.84944872 C18.1342911,8.99191298 18.0956809,9.20485393 18.1761469,9.38717599 L18.1988502,9.49484664 C18.2831103,9.65041313 18.4459853,9.7492905 18.6225,9.75 Z"
|
||||
fill="#000000" fill-rule="nonzero" opacity="0.3"/>
|
||||
<path
|
||||
d="M12,15 C13.6568542,15 15,13.6568542 15,12 C15,10.3431458 13.6568542,9 12,9 C10.3431458,9 9,10.3431458 9,12 C9,13.6568542 10.3431458,15 12,15 Z"
|
||||
fill="#000000"/>
|
||||
</g>
|
||||
</svg>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navi-text">
|
||||
<div class="font-weight-bold">{{trans('menu.backend.side_menu.account_setting')}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<!--end::Content-->
|
||||
</div>
|
||||
<!-- end::User Panel-->
|
||||
|
||||
<!--begin::Scrolltop-->
|
||||
<div id="kt_scrolltop" class="scrolltop">
|
||||
<span class="svg-icon">
|
||||
<!--begin::Svg Icon | path:assets/media/svg/icons/Navigation/Up-2.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<polygon points="0 0 24 0 24 24 0 24" />
|
||||
<rect fill="#000000" opacity="0.3" x="11" y="10" width="2" height="10" rx="1" />
|
||||
<path d="M6.70710678,12.7071068 C6.31658249,13.0976311 5.68341751,13.0976311 5.29289322,12.7071068 C4.90236893,12.3165825 4.90236893,11.6834175 5.29289322,11.2928932 L11.2928932,5.29289322 C11.6714722,4.91431428 12.2810586,4.90106866 12.6757246,5.26284586 L18.6757246,10.7628459 C19.0828436,11.1360383 19.1103465,11.7686056 18.7371541,12.1757246 C18.3639617,12.5828436 17.7313944,12.6103465 17.3242754,12.2371541 L12.0300757,7.38413782 L6.70710678,12.7071068 Z" fill="#000000" fill-rule="nonzero" />
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
</div>
|
||||
<!--end::Scrolltop-->
|
||||
194
resources/views/backend/includes/modal-sample.blade.php
Normal file
194
resources/views/backend/includes/modal-sample.blade.php
Normal file
@@ -0,0 +1,194 @@
|
||||
<button data-toggle="modal" data-target="#exampleModal">Open Modal</button>
|
||||
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content card card-custom">
|
||||
<div class="card-header justify-content-center">
|
||||
<div class="card-title mb-0">
|
||||
<h3 class="card-label mb-0">Modal title
|
||||
</h3>
|
||||
</div>
|
||||
<button type="button" class="close position-absolute" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
<!-- Layout-1 -->
|
||||
<div class="row mb-10">
|
||||
<div class="col-6">
|
||||
<div class="row font-size-md mb-2">
|
||||
<div class="col-sm-5 text-muted text-right">Project Name :</div>
|
||||
<div class="col-sm-7">
|
||||
<div class="line-height-xl">
|
||||
Test
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row font-size-md mb-2">
|
||||
<div class="col-sm-5 text-muted text-right">Project Hours :</div>
|
||||
<div class="col-sm-7">
|
||||
<div class="line-height-xl">
|
||||
12
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row font-size-md mb-2">
|
||||
<div class="col-sm-5 text-muted text-right">Project Manager :</div>
|
||||
<div class="col-sm-7">
|
||||
<div class="line-height-xl">
|
||||
Ruchit P.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row font-size-md mb-2">
|
||||
<div class="col-sm-5 text-muted text-right">Team Size :</div>
|
||||
<div class="col-sm-7">
|
||||
<div class="line-height-xl">
|
||||
15
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<div class="row font-size-md mb-2">
|
||||
<div class="col-sm-5 text-muted text-right">Project Name :</div>
|
||||
<div class="col-sm-7">
|
||||
<div class="line-height-xl">
|
||||
Test
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row font-size-md mb-2">
|
||||
<div class="col-sm-5 text-muted text-right">Project Hours :</div>
|
||||
<div class="col-sm-7">
|
||||
<div class="line-height-xl">
|
||||
12
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row font-size-md mb-2">
|
||||
<div class="col-sm-5 text-muted text-right">Project Manager :</div>
|
||||
<div class="col-sm-7">
|
||||
<div class="line-height-xl">
|
||||
Ruchit P.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row font-size-md mb-2">
|
||||
<div class="col-sm-5 text-muted text-right">Team Size :</div>
|
||||
<div class="col-sm-7">
|
||||
<div class="line-height-xl">
|
||||
15
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Layout-1 -->
|
||||
|
||||
<!--- Layout-2 -->
|
||||
<div class="imgwrap w-100 max-w-100 mb-4">
|
||||
<img src="{{asset('images/misc/bg-1.jpg')}}" alt="bg-1" class="w-100 max-w-100 rounded" />
|
||||
</div>
|
||||
<div class="line-height-xl mb-10">
|
||||
<p>Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...</p>
|
||||
</div>
|
||||
<!--- Layout-2 -->
|
||||
|
||||
<!-- Layout-3 -->
|
||||
<div class="row mb-10">
|
||||
<div class="col-sm-4">
|
||||
<img src="{{asset('images/misc/bg-2.jpg')}}" alt="bg-2" class="w-100 mx-100 rounded" />
|
||||
</div>
|
||||
<div class="col-sm-8">
|
||||
<div class="line-height-xl mb-4">
|
||||
<p>Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Layout-3 -->
|
||||
|
||||
<!-- Layout-4 -->
|
||||
<div class="row mb-10">
|
||||
<div class="col-sm-8">
|
||||
<div class="line-height-xl mb-4">
|
||||
<p>Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
Custom text for testing...Custom text for testing...
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<img src="{{asset('images/misc/bg-2.jpg')}}" alt="bg-2" class="w-100 mx-100 rounded" />
|
||||
</div>
|
||||
</div>
|
||||
<!-- Layout-4 -->
|
||||
|
||||
<!-- Layout 5 -->
|
||||
<div class="row mb-10">
|
||||
<div class="col-12">
|
||||
<div class="row mb-4">
|
||||
<div class="col-12">
|
||||
<h3 class="text-dark mb-2 font-size-lg">1. Why FAQ Pages Are a Priority Are a Priority?
|
||||
</h3>
|
||||
<p class="text-muted mb-2">Because FAQ pages can bring in new visitors to your website via organic search and drive them to related pages – most typically deeper blog pages and service pages closely related to the questions being resolved.
|
||||
</p>
|
||||
<p class="text-muted mb-2">
|
||||
The FAQ page is one of the best ways to help people visiting your site.
|
||||
</p>
|
||||
<p class="text-muted mb-2">
|
||||
They will get their intended destination faster because you are removing any possible knowledge (informational and often trust) barriers.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-4">
|
||||
<div class="col-12">
|
||||
<h3 class="text-dark mb-2 font-size-lg">2. Why FAQ Pages Are a Priority Are a PriorityAre a PriorityAre a PriorityAre a Priority?
|
||||
</h3>
|
||||
<p class="text-muted mb-2">Because FAQ pages can bring in new visitors to your website via organic search and drive them to related pages – most typically deeper blog pages and service pages closely related to the questions being resolved.
|
||||
</p>
|
||||
<p class="text-muted mb-2">
|
||||
The FAQ page is one of the best ways to help people visiting your site.
|
||||
</p>
|
||||
<p class="text-muted mb-2">
|
||||
They will get their intended destination faster because you are removing any possible knowledge (informational and often trust) barriers.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Layout 5 -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
206
resources/views/backend/includes/sidebar.blade.php
Normal file
206
resources/views/backend/includes/sidebar.blade.php
Normal file
@@ -0,0 +1,206 @@
|
||||
<!--begin::Aside-->
|
||||
<div class="aside aside-left aside-fixed d-flex flex-column flex-row-auto" id="kt_aside">
|
||||
<!--begin::Brand-->
|
||||
<div class="brand flex-column-auto" id="kt_brand">
|
||||
<!--begin::Logo-->
|
||||
<a href="{{ route('admin.dashboard') }}" class="brand-logo">
|
||||
<img alt="Logo" src="{{ asset('public/images/logos/Global-Jain-Logo.png') }}" width="150"/>
|
||||
</a>
|
||||
<!--end::Logo-->
|
||||
<!--begin::Toggle-->
|
||||
<button class="brand-toggle btn btn-sm px-0" id="kt_aside_toggle">
|
||||
<span class="svg-icon svg-icon svg-icon-xl">
|
||||
<!--begin::Svg Icon | path:assets/media/svg/icons/Navigation/Angle-double-left.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px"
|
||||
height="24px" viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<polygon points="0 0 24 0 24 24 0 24"/>
|
||||
<path
|
||||
d="M5.29288961,6.70710318 C4.90236532,6.31657888 4.90236532,5.68341391 5.29288961,5.29288961 C5.68341391,4.90236532 6.31657888,4.90236532 6.70710318,5.29288961 L12.7071032,11.2928896 C13.0856821,11.6714686 13.0989277,12.281055 12.7371505,12.675721 L7.23715054,18.675721 C6.86395813,19.08284 6.23139076,19.1103429 5.82427177,18.7371505 C5.41715278,18.3639581 5.38964985,17.7313908 5.76284226,17.3242718 L10.6158586,12.0300721 L5.29288961,6.70710318 Z"
|
||||
fill="#000000" fill-rule="nonzero"
|
||||
transform="translate(8.999997, 11.999999) scale(-1, 1) translate(-8.999997, -11.999999)"/>
|
||||
<path
|
||||
d="M10.7071009,15.7071068 C10.3165766,16.0976311 9.68341162,16.0976311 9.29288733,15.7071068 C8.90236304,15.3165825 8.90236304,14.6834175 9.29288733,14.2928932 L15.2928873,8.29289322 C15.6714663,7.91431428 16.2810527,7.90106866 16.6757187,8.26284586 L22.6757187,13.7628459 C23.0828377,14.1360383 23.1103407,14.7686056 22.7371482,15.1757246 C22.3639558,15.5828436 21.7313885,15.6103465 21.3242695,15.2371541 L16.0300699,10.3841378 L10.7071009,15.7071068 Z"
|
||||
fill="#000000" fill-rule="nonzero" opacity="0.3"
|
||||
transform="translate(15.999997, 11.999999) scale(-1, 1) rotate(-270.000000) translate(-15.999997, -11.999999)"/>
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
</button>
|
||||
<!--end::Toolbar-->
|
||||
</div>
|
||||
<!--end::Brand-->
|
||||
<!--begin::Aside Menu-->
|
||||
<div class="aside-menu-wrapper flex-column-fluid" id="kt_aside_menu_wrapper">
|
||||
<!--begin::Menu Container-->
|
||||
<div id="kt_aside_menu" class="aside-menu my-4" data-menu-vertical="1" data-menu-scroll="1"
|
||||
data-menu-dropdown-timeout="500">
|
||||
<!--begin::Menu Nav-->
|
||||
<ul class="menu-nav">
|
||||
@hasanyrole(config('access.users.admin_role').'|'.config('access.users.super_admin_role'))
|
||||
<li class="menu-item menu-item-submenu {{ request()->routeIs('admin.dashboard') ? 'menu-item-active' : '' }}"
|
||||
aria-haspopup="true">
|
||||
<a href="{{ route('admin.dashboard') }}" class="menu-link">
|
||||
<span class="svg-icon menu-icon">
|
||||
<!--begin::Svg Icon | path:assets/media/svg/icons/Design/Layers.svg-->
|
||||
|
||||
<!-- <i class="fab fa-buffer"></i> -->
|
||||
<i class="fas fa-tachometer-alt menu-icon"></i>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="menu-text">{{ __('menu.backend.dashboard') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endhasanyrole
|
||||
@hasanyrole(config('access.users.admin_role').'|'.config('access.users.super_admin_role'))
|
||||
<li class="menu-item menu-link {{ request()->routeIs('admin.dharma.*') ? 'menu-item-open' : '' }}"
|
||||
>
|
||||
<a href="{{ route('admin.dharma.index') }}" class="menu-link">
|
||||
<span class="svg-icon menu-icon">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Design/Bucket.svg-->
|
||||
<i class="fas fa-book-open menu-icon"></i>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="menu-text">{{ __('menu.backend.dharma.management') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endhasanyrole
|
||||
@hasanyrole(config('access.users.admin_role').'|'.config('access.users.super_admin_role'))
|
||||
<li class="menu-item menu-link {{ request()->routeIs('admin.jati.*') ? 'menu-item-open' : '' }}"
|
||||
>
|
||||
<a href="{{ route('admin.jati.index') }}" class="menu-link">
|
||||
<span class="svg-icon menu-icon">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Design/Bucket.svg-->
|
||||
<i class="fas fa-book-open menu-icon"></i>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="menu-text">{{ __('menu.backend.jati.management') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endhasanyrole
|
||||
@hasanyrole(config('access.users.admin_role').'|'.config('access.users.super_admin_role'))
|
||||
<li class="menu-item menu-link {{ request()->routeIs('admin.sampraday.*') ? 'menu-item-open' : '' }}"
|
||||
>
|
||||
<a href="{{ route('admin.sampraday.index') }}" class="menu-link">
|
||||
<span class="svg-icon menu-icon">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Design/Bucket.svg-->
|
||||
<i class="fas fa-book-open menu-icon"></i>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="menu-text">{{ __('menu.backend.sampraday.management') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endhasanyrole
|
||||
@hasanyrole(config('access.users.admin_role').'|'.config('access.users.super_admin_role'))
|
||||
<li class="menu-item menu-link {{ request()->routeIs('admin.sant.*') ? 'menu-item-open' : '' }}"
|
||||
>
|
||||
<a href="{{ route('admin.sant.index') }}" class="menu-link">
|
||||
<span class="svg-icon menu-icon">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Design/Bucket.svg-->
|
||||
<i class="fas fa-book-open menu-icon"></i>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="menu-text">{{ __('menu.backend.sant.management') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endhasanyrole
|
||||
@hasanyrole(config('access.users.admin_role').'|'.config('access.users.super_admin_role'))
|
||||
<li class="menu-item menu-link {{ request()->routeIs('admin.chaturmas-date.*') ? 'menu-item-open' : '' }}"
|
||||
>
|
||||
<a href="{{ route('admin.chaturmas-date.index') }}" class="menu-link">
|
||||
<span class="svg-icon menu-icon">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Design/Bucket.svg-->
|
||||
<i class="fas fa-book-open menu-icon"></i>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="menu-text">{{ __('menu.backend.chaturmas_dates.management') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endhasanyrole
|
||||
@hasanyrole(config('access.users.admin_role').'|'.config('access.users.super_admin_role'))
|
||||
<li class="menu-item menu-link {{ request()->routeIs('admin.hospitals.*') ? 'menu-item-open' : '' }}"
|
||||
>
|
||||
<a href="{{ route('admin.hospitals.index') }}" class="menu-link">
|
||||
<span class="svg-icon menu-icon">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Design/Bucket.svg-->
|
||||
<i class="fas fa-book-open menu-icon"></i>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="menu-text">{{ __('menu.backend.hospital.management') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endhasanyrole
|
||||
@hasanyrole(config('access.users.admin_role').'|'.config('access.users.super_admin_role'))
|
||||
<li class="menu-item menu-link {{ request()->routeIs('admin.certificates.*') ? 'menu-item-open' : '' }}"
|
||||
>
|
||||
<a href="{{ route('admin.certificates.index') }}" class="menu-link">
|
||||
<span class="svg-icon menu-icon">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Design/Bucket.svg-->
|
||||
<i class="fas fa-book-open menu-icon"></i>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="menu-text">{{ __('menu.backend.certificate.management') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endhasanyrole
|
||||
@hasanyrole(config('access.users.admin_role').'|'.config('access.users.super_admin_role'))
|
||||
<li class="menu-item menu-link {{ request()->routeIs('admin.sanghs.*') ? 'menu-item-open' : '' }}"
|
||||
>
|
||||
<a href="{{ route('admin.sanghs.index') }}" class="menu-link">
|
||||
<span class="svg-icon menu-icon">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Design/Bucket.svg-->
|
||||
<i class="fas fa-book-open menu-icon"></i>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="menu-text">{{ __('menu.backend.sangh.management') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endhasanyrole
|
||||
{{-- @hasanyrole(config('access.users.admin_role').'|'.config('access.users.super_admin_role'))
|
||||
<li class="menu-item menu-link {{ request()->routeIs('admin.roles.*') ? 'menu-item-open' : '' }}"
|
||||
>
|
||||
<a href="{{ route('admin.roles.index') }}" class="menu-link">
|
||||
<span class="svg-icon menu-icon">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Design/Bucket.svg-->
|
||||
<i class="fas fa-book-open menu-icon"></i>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="menu-text">{{ __('menu.backend.role.management') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endhasanyrole --}}
|
||||
{{-- @hasanyrole(config('access.users.admin_role').'|'.config('access.users.super_admin_role'))
|
||||
<li class="menu-item menu-link {{ request()->routeIs('admin.admin.user.*') ? 'menu-item-open' : '' }}"
|
||||
>
|
||||
<a href="{{ route('admin.admin.user.index') }}" class="menu-link">
|
||||
<span class="svg-icon menu-icon">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Design/Bucket.svg-->
|
||||
<i class="fas fa-book-open menu-icon"></i>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="menu-text">{{ __('menu.backend.admin.management') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endhasanyrole --}}
|
||||
{{-- @hasanyrole(config('access.users.admin_role').'|'.config('access.users.super_admin_role'))
|
||||
<li class="menu-item menu-link {{ request()->routeIs('admin.user.*') ? 'menu-item-open' : '' }}"
|
||||
>
|
||||
<a href="{{ route('admin.user.index') }}" class="menu-link">
|
||||
<span class="svg-icon menu-icon">
|
||||
<!--begin::Svg Icon | path:/metronic/theme/html/demo1/dist/assets/media/svg/icons/Design/Bucket.svg-->
|
||||
<i class="fas fa-book-open menu-icon"></i>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
<span class="menu-text">{{ __('menu.backend.user.management') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endhasanyrole --}}
|
||||
</ul>
|
||||
<!--end::Menu Nav-->
|
||||
</div>
|
||||
<!--end::Menu Container-->
|
||||
</div>
|
||||
<!--end::Aside Menu-->
|
||||
</div>
|
||||
<!--end::Aside-->
|
||||
99
resources/views/backend/jati/create.blade.php
Normal file
99
resources/views/backend/jati/create.blade.php
Normal file
@@ -0,0 +1,99 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.create_jati_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.jati.index') }}" class="text-muted">{{ __('breadcrumb.jatis') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.add_jati') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.create_jati_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::open(['route' => 'admin.jati.store','id' => 'createJatiForm', 'files' => true]) }}
|
||||
@include('backend.jati.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function demo1() {
|
||||
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
$("#createJatiForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
},
|
||||
errorPlacement: function ( error, element ) {
|
||||
if(element.parent().hasClass('dropdown')){
|
||||
error.insertAfter( element.parent() );
|
||||
} else{
|
||||
error.insertAfter( element );
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
103
resources/views/backend/jati/edit.blade.php
Normal file
103
resources/views/backend/jati/edit.blade.php
Normal file
@@ -0,0 +1,103 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.update_jati_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.jati.index') }}" class="text-muted">{{ __('breadcrumb.jatis') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.edit_jati') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.update_jati_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::model($jati,['route' => ['admin.jati.update', $jati->id],'method' => 'PATCH','id' => 'updateJatiForm', 'files' => true]) }}
|
||||
@include('backend.jati.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function demo1() {
|
||||
|
||||
$("#updateJatiForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
},
|
||||
//dharma: {
|
||||
// required: true
|
||||
//}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
this.element(element);
|
||||
},
|
||||
errorPlacement: function ( error, element ) {
|
||||
if(element.parent().hasClass('dropdown')){
|
||||
error.insertAfter( element.parent() );
|
||||
} else{
|
||||
error.insertAfter( element );
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
});
|
||||
</script>
|
||||
<script src="{{ asset('/js/pages/crud/forms/widgets/bootstrap-switch.js?v=7.2.8') }}"></script>
|
||||
@endsection
|
||||
222
resources/views/backend/jati/list.blade.php
Normal file
222
resources/views/backend/jati/list.blade.php
Normal file
@@ -0,0 +1,222 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_jati_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('public/js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.jatis') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header flex-wrap border-0 pt-6 pb-0">
|
||||
<div class="card-title">
|
||||
<h3>{{ __('label.listing_jati_table_title') }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-toolbar">
|
||||
<!--begin::Button-->
|
||||
<a href="{{ route('admin.jati.create') }}" class="btn btn-primary font-weight-bolder">
|
||||
<i class="fas fa-plus fa-sm"></i> {{ __('buttons.create_jati') }}
|
||||
</a>
|
||||
<!--end::Button-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="mb-7">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12 col-xl-12">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::text('name',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'title','placeholder' => __('label.search')]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::select('status',['1' => 'Active','0' => 'Inactive'],null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'status','title' => __('placeholder.select_status')]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 my-md-0">
|
||||
<button class="btn btn-secondary btn-secondary--icon" id="kt_reset" style="display: none">
|
||||
<span>
|
||||
<i class="la la-close"></i>
|
||||
<span>{{ __('buttons.reset') }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin: Selected Rows Group Action Form-->
|
||||
<div class="mb-2 multiple-actions" id="checkboxActionDropdown">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="font-weight-bold text-danger mr-3">Selected
|
||||
<span id="datatableSelectedRecords">0</span> records:</div>
|
||||
<div class="dropdown mr-2">
|
||||
<button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown">{{ __('label.update_action') }}</button>
|
||||
<div class="dropdown-menu dropdown-menu-sm">
|
||||
<ul class="nav nav-hover flex-column">
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(0);" data-value="active" class="nav-link action-type">
|
||||
<span class="nav-text">{{ __('label.active') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(0);" data-value="inactive" class="nav-link action-type">
|
||||
<span class="nav-text">{{ __('label.inactive') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger mr-2 action-type" data-value="delete">Delete All</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Selected Rows Group Action Form-->
|
||||
<div id="kt_datatable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer admin-table">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="datatable datatable-default datatable-bordered datatable-loaded">
|
||||
<table class="datatable-bordered datatable-head-custom datatable-table table-hover"
|
||||
id="users-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span style="width: 20px;">
|
||||
<label class="checkbox checkbox-single">
|
||||
<input type="checkbox"
|
||||
name="checkbox_action[]" id="checkbox-all"/> <span></span>
|
||||
</label>
|
||||
</span>
|
||||
</th>
|
||||
<th>{{ __('label.jati_listing_heading_2') }}</th>
|
||||
<th>{{ __('label.jati_listing_heading_3') }}</th>
|
||||
<th>{{ __('label.jati_listing_heading_4') }}</th>
|
||||
<th>{{ __('label.created_at') }}</th>
|
||||
<th>{{ __('label.jati_listing_heading_5') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<!-- DataTables -->
|
||||
<script src="{{ asset('public/js/datatable/jquery.dataTables.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/dataTables.bootstrap4.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/datatable-skeleton.js?v='.time()) }}"></script>
|
||||
<script>
|
||||
|
||||
$(document).on('keyup', '#title', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#status', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '#kt_reset', function () {
|
||||
$('#kt_reset').hide();
|
||||
});
|
||||
|
||||
customDataTableWidget.configuration({
|
||||
element: '#users-table',
|
||||
listingUrl: "{{ route('admin.jati.get-listing') }}",
|
||||
deleteUrl: "{{ route("admin.jati.destroy", ":id") }}",
|
||||
multipleActionUrl: "{{ route('admin.jati.grid.records.action') }}",
|
||||
columns: [
|
||||
{
|
||||
data: 'checkbox_action',
|
||||
name: 'checkbox_action',
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
data: 'name',
|
||||
name: 'name',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'dharma_id',
|
||||
name: 'dharma_id',
|
||||
},
|
||||
{
|
||||
data: 'status',
|
||||
name: 'status',
|
||||
},
|
||||
{
|
||||
data: 'created_at',
|
||||
name: 'created_at',
|
||||
},
|
||||
{
|
||||
data: 'action',
|
||||
name: 'action',
|
||||
sortable: false,
|
||||
class:'text-right ws-nowrap action-col'
|
||||
}
|
||||
],
|
||||
search: [
|
||||
{
|
||||
key: 'status',
|
||||
type: 'select'
|
||||
},
|
||||
{
|
||||
key: 'name',
|
||||
type: 'text'
|
||||
},
|
||||
],
|
||||
defaultSortingIndex: 1,
|
||||
defaultSortingOrder: 'desc'
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
44
resources/views/backend/jati/partials/_form.blade.php
Normal file
44
resources/views/backend/jati/partials/_form.blade.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.jati_form_name') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('name',null,['class' => $errors->has('name') ? 'form-control is-invalid' : 'form-control','placeholder' => __('placeholder.jati_name')]) }}
|
||||
@error('name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.jati_dharma_name') }} </label>
|
||||
{{ Form::select('dharma', $dharma, (isset($jati->dharma_id) && !empty($jati->dharma_id)) ? $jati->dharma_id : null,['class' => $errors->has('dharma') ? 'form-control selectpicker is-invalid dharma' : 'form-control selectpicker','title' => __('placeholder.jati_dharma_name'),'data-live-search' => 'true','data-allow-clear' => 'true']) }}
|
||||
@error('dharma')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-1 col-form-label">{{ __('label.status') }}</label>
|
||||
<div class="col-3">
|
||||
<span class="switch switch-outline switch-icon switch-primary">
|
||||
<label>
|
||||
{{ Form::checkbox('status',$jati->status ?? null,isset($jati->status) && $jati->status == 1 ? 'checked' : '') }}
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<button type="submit" name="save" value="save" class="btn btn-primary mr-2">
|
||||
@if(\Request::route()->getName() == 'admin.jati.edit')
|
||||
{{ __('buttons.update') }}
|
||||
@else
|
||||
{{ __('buttons.save') }}
|
||||
@endif
|
||||
</button>
|
||||
<a href="{{ route('admin.jati.index') }}" class="btn btn-secondary">{{ __('buttons.cancel') }}</a>
|
||||
</div>
|
||||
193
resources/views/backend/layouts/app.blade.php
Normal file
193
resources/views/backend/layouts/app.blade.php
Normal file
@@ -0,0 +1,193 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ app()->getLocale() }}">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>@yield('title')</title>
|
||||
<meta name="description" content="@yield('meta_description', app_name())">
|
||||
<meta name="author" content="@yield('meta_author', app_name())">
|
||||
@yield('meta')
|
||||
|
||||
@stack('before-styles')
|
||||
|
||||
<!-- Check if the language is set to RTL, so apply the RTL layouts -->
|
||||
<!-- Otherwise apply the normal LTR layouts -->
|
||||
<link rel="shortcut icon" href="{{asset('public//img/favicon.ico')}}" type="image/x-icon" />
|
||||
<link rel="apple-touch-icon" href="{{asset('public//img/favicon.ico')}}" />
|
||||
<link rel="apple-touch-icon-precomposed" href="{{asset('public//img/favicon.ico')}}" />
|
||||
<!--begin::Fonts-->
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700" />
|
||||
<!--end::Fonts-->
|
||||
|
||||
<link href="{{ asset('public/plugins/custom/prismjs/prismjs.bundle.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('public/plugins/global/plugins.bundle.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('public/css/style.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('public/css/backend/custom.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.2/font/bootstrap-icons.css">
|
||||
|
||||
<!--begin::Global Theme Styles(used by all pages)-->
|
||||
<link href="{{ asset('public/css/themes/layout/header/base/light.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('public/css/themes/layout/header/menu/light.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('public/css/themes/layout/brand/dark.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('public/css/themes/layout/aside/dark.css') }}" rel="stylesheet" type="text/css" />
|
||||
<!--end::Global Theme Styles-->
|
||||
@stack('after-styles')
|
||||
</head>
|
||||
|
||||
<body id="kt_body" class="header-fixed header-mobile-fixed subheader-enabled subheader-fixed aside-enabled aside-fixed aside-minimize-hoverable page-loading">
|
||||
|
||||
<!--begin::Main-->
|
||||
<!--begin::Header Mobile-->
|
||||
<div id="kt_header_mobile" class="header-mobile align-items-center header-mobile-fixed">
|
||||
<!--begin::Logo-->
|
||||
<a href="{{ route('admin.dashboard') }}">
|
||||
<img alt="Logo" src="{{ asset('public/images/logos/logo.png') }}" />
|
||||
</a>
|
||||
<!--end::Logo-->
|
||||
<!--begin::Toolbar-->
|
||||
<div class="d-flex align-items-center">
|
||||
<!--begin::Aside Mobile Toggle-->
|
||||
<button class="btn p-0 burger-icon burger-icon-left" id="kt_aside_mobile_toggle">
|
||||
<span></span>
|
||||
</button>
|
||||
<!--end::Aside Mobile Toggle-->
|
||||
<!--begin::Header Menu Mobile Toggle-->
|
||||
<button class="btn p-0 burger-icon ml-4" id="kt_header_mobile_toggle">
|
||||
<span></span>
|
||||
</button>
|
||||
<!--end::Header Menu Mobile Toggle-->
|
||||
<!--begin::Topbar Mobile Toggle-->
|
||||
<button class="btn btn-hover-text-primary p-0 ml-2" id="kt_header_mobile_topbar_toggle">
|
||||
<span class="svg-icon svg-icon-xl">
|
||||
<!--begin::Svg Icon | path:assets/media/svg/icons/General/User.svg-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<polygon points="0 0 24 0 24 24 0 24" />
|
||||
<path d="M12,11 C9.790861,11 8,9.209139 8,7 C8,4.790861 9.790861,3 12,3 C14.209139,3 16,4.790861 16,7 C16,9.209139 14.209139,11 12,11 Z" fill="#000000" fill-rule="nonzero" opacity="0.3" />
|
||||
<path d="M3.00065168,20.1992055 C3.38825852,15.4265159 7.26191235,13 11.9833413,13 C16.7712164,13 20.7048837,15.2931929 20.9979143,20.2 C21.0095879,20.3954741 20.9979143,21 20.2466999,21 C16.541124,21 11.0347247,21 3.72750223,21 C3.47671215,21 2.97953825,20.45918 3.00065168,20.1992055 Z" fill="#000000" fill-rule="nonzero" />
|
||||
</g>
|
||||
</svg>
|
||||
<!--end::Svg Icon-->
|
||||
</span>
|
||||
</button>
|
||||
<!--end::Topbar Mobile Toggle-->
|
||||
</div>
|
||||
<!--end::Toolbar-->
|
||||
</div>
|
||||
<!--end::Header Mobile-->
|
||||
<div class="d-flex flex-column flex-root">
|
||||
<!--begin::Page-->
|
||||
<div class="d-flex flex-row flex-column-fluid page">
|
||||
@include('backend.includes.sidebar')
|
||||
<!--begin::Wrapper-->
|
||||
<div class="d-flex flex-column flex-row-fluid wrapper" id="kt_wrapper">
|
||||
@yield('breadcrumb')
|
||||
@include('backend.includes.header')
|
||||
<!--begin::Content-->
|
||||
<div class="content d-flex flex-column flex-column-fluid" id="kt_content">
|
||||
|
||||
@yield('content')
|
||||
</div>
|
||||
<!--end::Content-->
|
||||
@include('backend.includes.footer')
|
||||
</div>
|
||||
<!--end::Wrapper-->
|
||||
</div>
|
||||
<!--end::Page-->
|
||||
</div>
|
||||
<!--end::Main-->
|
||||
<!-- Scripts -->
|
||||
@yield('before-scripts')
|
||||
<script>
|
||||
var HOST_URL = '{{ env("APP_URL")."admin" }}';
|
||||
</script>
|
||||
<!--begin::Global Config(global config for global JS scripts)-->
|
||||
<script>
|
||||
var KTAppSettings = {
|
||||
"breakpoints": {
|
||||
"sm": 576,
|
||||
"md": 768,
|
||||
"lg": 992,
|
||||
"xl": 1200,
|
||||
"xxl": 1200
|
||||
},
|
||||
"colors": {
|
||||
"theme": {
|
||||
"base": {
|
||||
"white": "#ffffff",
|
||||
"primary": "#3699FF",
|
||||
"secondary": "#E5EAEE",
|
||||
"success": "#1BC5BD",
|
||||
"info": "#8950FC",
|
||||
"warning": "#FFA800",
|
||||
"danger": "#F64E60",
|
||||
"light": "#F3F6F9",
|
||||
"dark": "#212121"
|
||||
},
|
||||
"light": {
|
||||
"white": "#ffffff",
|
||||
"primary": "#E1F0FF",
|
||||
"secondary": "#ECF0F3",
|
||||
"success": "#C9F7F5",
|
||||
"info": "#EEE5FF",
|
||||
"warning": "#FFF4DE",
|
||||
"danger": "#FFE2E5",
|
||||
"light": "#F3F6F9",
|
||||
"dark": "#D6D6E0"
|
||||
},
|
||||
"inverse": {
|
||||
"white": "#ffffff",
|
||||
"primary": "#ffffff",
|
||||
"secondary": "#212121",
|
||||
"success": "#ffffff",
|
||||
"info": "#ffffff",
|
||||
"warning": "#ffffff",
|
||||
"danger": "#ffffff",
|
||||
"light": "#464E5F",
|
||||
"dark": "#ffffff"
|
||||
}
|
||||
},
|
||||
"gray": {
|
||||
"gray-100": "#F3F6F9",
|
||||
"gray-200": "#ECF0F3",
|
||||
"gray-300": "#E5EAEE",
|
||||
"gray-400": "#D6D6E0",
|
||||
"gray-500": "#B5B5C3",
|
||||
"gray-600": "#80808F",
|
||||
"gray-700": "#464E5F",
|
||||
"gray-800": "#1B283F",
|
||||
"gray-900": "#212121"
|
||||
}
|
||||
},
|
||||
"font-family": "Poppins"
|
||||
};
|
||||
</script>
|
||||
<!--end::Global Config-->
|
||||
<script src="{{ asset('public/plugins/global/plugins.bundle.js') }}"></script>
|
||||
<script src="{{ asset('public/plugins/custom/prismjs/prismjs.bundle.js') }}"></script>
|
||||
<script src="{{ asset('public/js/scripts.bundle.js') }}"></script>
|
||||
<script src="{{ asset('public/js/pages/widgets.js') }}"></script>
|
||||
<script src="{{ asset('public/js/pages/crud/ktdatatable/base/data-local.js') }}"></script>
|
||||
|
||||
<script src="{{ asset('public/js/pages/crud/forms/widgets/bootstrap-datepicker.js?v=7.0.4') }}"></script>
|
||||
<script src="{{ asset('public/js/pages/crud/forms/widgets/bootstrap-datetimepicker.js?v=7.2.8') }}"></script>
|
||||
<script src="{{ asset('public/js/pages/crud/forms/widgets/bootstrap-timepicker.js?v=7.0.4') }}"></script>
|
||||
<script src="{{ asset('public/js/pages/crud/forms/widgets/bootstrap-daterangepicker.js?v=7.0.4') }}"></script>
|
||||
|
||||
<script src="{{ asset('public/js/pages/crud/forms/widgets/bootstrap-select.js?v=7.0.4') }}"></script>
|
||||
<script src="{{ asset('public/js/pages/crud/forms/widgets/select2.js?v=7.0.4') }}"></script>
|
||||
|
||||
{{-- <script src="{{ asset('public/js/pages/crud/forms/widgets/tagify.js?v=7.0.4') }}"></script> --}}
|
||||
<script src="{{ asset('public/js/pages/crud/forms/widgets/bootstrap-touchspin.js?v=7.0.4') }}"></script>
|
||||
<script src="{{ asset('public/js/pages/crud/forms/widgets/ion-range-slider.js?v=7.0.4') }}"></script>
|
||||
<script src="{{ asset('public/js/pages/crud/forms/widgets/form-repeater.js?v=7.0.4') }}"></script>
|
||||
|
||||
<script src="{{ asset('public/js/custom.js') }}"></script>
|
||||
@yield('after-scripts')
|
||||
@include('includes.partials.flash-messages')
|
||||
@yield('popup')
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,2 @@
|
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.1/jquery.validate.min.js"></script>
|
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.1/additional-methods.min.js"></script>
|
||||
54
resources/views/backend/layouts/login.blade.php
Normal file
54
resources/views/backend/layouts/login.blade.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<!--[if IE 8]>
|
||||
<html lang="en" class="ie8 no-js"> <![endif]-->
|
||||
<!--[if IE 9]>
|
||||
<html lang="en" class="ie9 no-js"> <![endif]-->
|
||||
<!--[if !IE]><!-->
|
||||
<html lang="en">
|
||||
<!--<![endif]-->
|
||||
<!-- BEGIN HEAD -->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||
<title>@yield('title')</title>
|
||||
<link rel="shortcut icon" src=""/>
|
||||
<link rel="shortcut icon" href="" type="image/x-icon"/>
|
||||
<link rel="apple-touch-icon" href=""/>
|
||||
<link rel="apple-touch-icon-precomposed" href=""/>
|
||||
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
@yield('meta')
|
||||
|
||||
@stack('before-styles')
|
||||
|
||||
<link href="{{ asset('public/css/pages/login/login-1.css') }}" rel="stylesheet" type="text/css"/>
|
||||
<link href="{{ asset('public/plugins/global/plugins.bundle.css') }}" rel="stylesheet" type="text/css"/>
|
||||
<link href="{{ asset('public/plugins/custom/prismjs/prismjs.bundle.css') }}" rel="stylesheet" type="text/css"/>
|
||||
<link href="{{ asset('public/css/style.css') }}" rel="stylesheet" type="text/css"/>
|
||||
<link href="{{ asset('public/css/themes/layout/header/base/light.css') }}" rel="stylesheet" type="text/css"/>
|
||||
<link href="{{ asset('public/css/themes/layout/header/menu/light.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@stack('after-styles')
|
||||
</head>
|
||||
<!-- END HEAD -->
|
||||
<body id="kt_body"
|
||||
class="header-mobile-fixed subheader-enabled aside-enabled aside-fixed aside-secondary-enabled page-loading">
|
||||
<!--begin::Main-->
|
||||
<div class="d-flex flex-column flex-root">
|
||||
@yield('content')
|
||||
</div>
|
||||
<!-- Scripts -->
|
||||
|
||||
<script src="{{ asset('public/js/app.js') }}" data-turbolinks-track="reload"></script>
|
||||
|
||||
@yield('before-scripts')
|
||||
<script src="{{ asset('public/plugins/global/plugins.bundle.js') }}"></script>
|
||||
<script src="{{ asset('public/plugins/custom/prismjs/prismjs.bundle.js') }}"></script>
|
||||
<script src="{{ asset('public/js/scripts.bundle.js') }}"></script><!--
|
||||
<script src="{{ asset('js/pages/custom/login/login-general.js') }}"></script> -->
|
||||
|
||||
@yield('after-scripts')
|
||||
|
||||
@include('includes.partials.flash-messages')
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,247 @@
|
||||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
|
||||
<head>
|
||||
<!-- NAME: SELL PRODUCTS -->
|
||||
<!--[if gte mso 15]>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:AllowPNG/>
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
<![endif]-->
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
|
||||
<title>Certificate Approved</title>
|
||||
|
||||
<style type="text/css">
|
||||
body * {
|
||||
font-family: 'Roboto';
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 10px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img,
|
||||
a img {
|
||||
border: 0;
|
||||
height: auto;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
body,
|
||||
#bodyTable,
|
||||
#bodyCell {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mcnPreviewText {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#outlook a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
table {
|
||||
mso-table-lspace: 0pt;
|
||||
mso-table-rspace: 0pt;
|
||||
}
|
||||
|
||||
.ReadMsgBody {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
blockquote {
|
||||
mso-line-height-rule: exactly;
|
||||
}
|
||||
|
||||
a[href^=tel],
|
||||
a[href^=sms] {
|
||||
color: inherit;
|
||||
cursor: default;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
body,
|
||||
table,
|
||||
blockquote {
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass,
|
||||
.ExternalClass p,
|
||||
.ExternalClass td,
|
||||
.ExternalClass div,
|
||||
.ExternalClass span,
|
||||
.ExternalClass font {
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
a[x-apple-data-detectors] {
|
||||
color: inherit !important;
|
||||
text-decoration: none !important;
|
||||
font-size: inherit !important;
|
||||
font-family: inherit !important;
|
||||
font-weight: inherit !important;
|
||||
line-height: inherit !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0"
|
||||
style="max-width: 500px;width: 100%; margin: auto; background-color: #000;">
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 40px 10px;">
|
||||
<img style="width: 160px;display: block;margin: auto;"
|
||||
src="{{ asset('images/logos/Global-Jain-Logo.png') }}"
|
||||
alt="Logo"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 20px 30px;">
|
||||
<img style="width: 145px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/mail7.png') }}" alt="Mail icon"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td
|
||||
style="padding: 5px 30px;text-align: center;font-size: 20px; font-weight: 700;color: #e1ccbe;">
|
||||
Dear {{ $data?->hospital?->name }} - Admin,
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 30px;">
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
We are writing to inform you that Jain Sangh has approved a request under the "Jain Health Care" Discount Scheme for {{ $data?->full_name }}. The approval allows the patient to avail a discount at your hospital.
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Please refer to the attached approval letter for your kind perusal.
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
The patient will present the approval letter along with a copy of their Aadhar card at your
|
||||
administration office within the next 48 hours to utilize this benefit.
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Please facilitate the necessary arrangements to ensure a smooth process for the patient.
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
If you have any questions or need further assistance, please do not hesitate to contact us
|
||||
<a href="mailto:jainhealthcare@globaljain.net">JainHealthCare@globaljain.net</a>
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Best Regards,
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Shree Jain Sangh Admin
|
||||
</p>
|
||||
<p style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
<a href="{{env('APP_URL')}}">www.globaljain.net</a> | <a href="mailto:jainhealthcare@globalJain.net">JainHealthCare@GlobalJain.net</a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 30px;text-align: center;">
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none; display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/facebook.png') }}" alt="Mail icon"/>
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Facebook</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/twitter.png') }}" alt="Mail icon"/>
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Twitter</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/instagram.png') }}" alt="Mail icon"/>
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Instagram</p>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 5px 30px 20px 30px;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
© 2022, {{env('APP_NAME')}}. All Rights Reserved.
|
||||
{{-- If you do not wish to receive these emails, --}}
|
||||
{{-- <a href="javascript:void(0);"
|
||||
style="font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;text-decoration: underline;">unsubscribe
|
||||
here</a> --}}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,241 @@
|
||||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
|
||||
<head>
|
||||
<!-- NAME: SELL PRODUCTS -->
|
||||
<!--[if gte mso 15]>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:AllowPNG/>
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
<![endif]-->
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
|
||||
<title>Certificate Approved</title>
|
||||
|
||||
<style type="text/css">
|
||||
body * {
|
||||
font-family: 'Roboto';
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 10px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img,
|
||||
a img {
|
||||
border: 0;
|
||||
height: auto;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
body,
|
||||
#bodyTable,
|
||||
#bodyCell {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mcnPreviewText {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#outlook a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
table {
|
||||
mso-table-lspace: 0pt;
|
||||
mso-table-rspace: 0pt;
|
||||
}
|
||||
|
||||
.ReadMsgBody {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
blockquote {
|
||||
mso-line-height-rule: exactly;
|
||||
}
|
||||
|
||||
a[href^=tel],
|
||||
a[href^=sms] {
|
||||
color: inherit;
|
||||
cursor: default;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
body,
|
||||
table,
|
||||
blockquote {
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass,
|
||||
.ExternalClass p,
|
||||
.ExternalClass td,
|
||||
.ExternalClass div,
|
||||
.ExternalClass span,
|
||||
.ExternalClass font {
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
a[x-apple-data-detectors] {
|
||||
color: inherit !important;
|
||||
text-decoration: none !important;
|
||||
font-size: inherit !important;
|
||||
font-family: inherit !important;
|
||||
font-weight: inherit !important;
|
||||
line-height: inherit !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0"
|
||||
style="max-width: 500px;width: 100%; margin: auto; background-color: #000;">
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 40px 10px;">
|
||||
<img style="width: 160px;display: block;margin: auto;"
|
||||
src="{{ asset('images/logos/Global-Jain-Logo.png') }}"
|
||||
alt="Logo"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 20px 30px;">
|
||||
<img style="width: 145px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/mail7.png') }}" alt="Mail icon"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td
|
||||
style="padding: 5px 30px;text-align: center;font-size: 20px; font-weight: 700;color: #e1ccbe;">
|
||||
Dear {{ $data?->full_name }},
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 30px;">
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
We are pleased to inform you that your request to avail the Jain Health Care discount facility at {{ $data?->hospital?->name }} has been approved.
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Please note that the discount is valid only for the next 48 hours. To avail of the discount, you are
|
||||
required to submit this approval letter attached along with a copy of your Aadhar card to the
|
||||
hospital administration.
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
If you have any questions or need further assistance, please do not hesitate to contact us
|
||||
<a href="mailto:jainhealthcare@globaljain.net">JainHealthCare@globaljain.net</a>
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Best Regards,
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Shree Jain Sangh Admin
|
||||
</p>
|
||||
<p style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
<a href="{{env('APP_URL')}}">www.globaljain.net</a> | <a href="mailto:jainhealthcare@globalJain.net">JainHealthCare@GlobalJain.net</a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="padding: 20px 30px;text-align: center;">
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none; display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/facebook.png') }}" alt="Mail icon"/>
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Facebook</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/twitter.png') }}" alt="Mail icon"/>
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Twitter</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/instagram.png') }}" alt="Mail icon"/>
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Instagram</p>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 5px 30px 20px 30px;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
© 2022, {{env('APP_NAME')}}. All Rights Reserved.
|
||||
{{-- If you do not wish to receive these emails, --}}
|
||||
{{-- <a href="javascript:void(0);"
|
||||
style="font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;text-decoration: underline;">unsubscribe
|
||||
here</a> --}}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,240 @@
|
||||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
|
||||
<head>
|
||||
<!-- NAME: SELL PRODUCTS -->
|
||||
<!--[if gte mso 15]>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:AllowPNG/>
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
<![endif]-->
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
|
||||
<title>Certificate Rejection</title>
|
||||
|
||||
<style type="text/css">
|
||||
body * {
|
||||
font-family: 'Roboto';
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 10px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img,
|
||||
a img {
|
||||
border: 0;
|
||||
height: auto;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
body,
|
||||
#bodyTable,
|
||||
#bodyCell {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mcnPreviewText {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#outlook a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
table {
|
||||
mso-table-lspace: 0pt;
|
||||
mso-table-rspace: 0pt;
|
||||
}
|
||||
|
||||
.ReadMsgBody {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
blockquote {
|
||||
mso-line-height-rule: exactly;
|
||||
}
|
||||
|
||||
a[href^=tel],
|
||||
a[href^=sms] {
|
||||
color: inherit;
|
||||
cursor: default;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
body,
|
||||
table,
|
||||
blockquote {
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass,
|
||||
.ExternalClass p,
|
||||
.ExternalClass td,
|
||||
.ExternalClass div,
|
||||
.ExternalClass span,
|
||||
.ExternalClass font {
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
a[x-apple-data-detectors] {
|
||||
color: inherit !important;
|
||||
text-decoration: none !important;
|
||||
font-size: inherit !important;
|
||||
font-family: inherit !important;
|
||||
font-weight: inherit !important;
|
||||
line-height: inherit !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0"
|
||||
style="max-width: 500px;width: 100%; margin: auto; background-color: #000;">
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 40px 10px;">
|
||||
<img style="width: 160px;display: block;margin: auto;"
|
||||
src="{{ asset('images/logos/Global-Jain-Logo.png') }}"
|
||||
alt="Logo"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 20px 30px;">
|
||||
<img style="width: 145px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/mail7.png') }}" alt="Mail icon"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td
|
||||
style="padding: 5px 30px;text-align: center;font-size: 20px; font-weight: 700;color: #e1ccbe;">
|
||||
Dear {{ $data?->full_name }},
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 30px;">
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
We regret to inform you that your request to avail the Jain Health Care discount facility at
|
||||
{{ $data?->hospital?->name }} has been rejected. The reason for this decision is {{ $data?->rejection_reason }}
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
You are welcome to submit a new request. Please ensure that all necessary documents and
|
||||
details are included to facilitate a smoother review process.
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
If you have any questions or need further assistance, please do not hesitate to contact us
|
||||
<a href="mailto:jainhealthcare@globaljain.net">JainHealthCare@globaljain.net</a>
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Best Regards,
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Shree Jain Sangh Admin
|
||||
</p>
|
||||
<p style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
<a href="{{env('APP_URL')}}">www.globaljain.net</a> | <a href="mailto:jainhealthcare@globalJain.net">JainHealthCare@GlobalJain.net</a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 30px;text-align: center;">
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none; display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/facebook.png') }}" alt="Mail icon"/>
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Facebook</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/twitter.png') }}" alt="Mail icon"/>
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Twitter</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/instagram.png') }}" alt="Mail icon"/>
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Instagram</p>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 5px 30px 20px 30px;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
© 2022, {{env('APP_NAME')}}. All Rights Reserved.
|
||||
{{-- If you do not wish to receive these emails, --}}
|
||||
{{-- <a href="javascript:void(0);"
|
||||
style="font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;text-decoration: underline;">unsubscribe
|
||||
here</a> --}}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,243 @@
|
||||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
|
||||
<head>
|
||||
<!-- NAME: SELL PRODUCTS -->
|
||||
<!--[if gte mso 15]>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:AllowPNG/>
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
<![endif]-->
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
|
||||
<title>Certificate Request</title>
|
||||
|
||||
<style type="text/css">
|
||||
body * {
|
||||
font-family: 'Roboto';
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 10px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img,
|
||||
a img {
|
||||
border: 0;
|
||||
height: auto;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
body,
|
||||
#bodyTable,
|
||||
#bodyCell {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mcnPreviewText {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#outlook a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
table {
|
||||
mso-table-lspace: 0pt;
|
||||
mso-table-rspace: 0pt;
|
||||
}
|
||||
|
||||
.ReadMsgBody {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
blockquote {
|
||||
mso-line-height-rule: exactly;
|
||||
}
|
||||
|
||||
a[href^=tel],
|
||||
a[href^=sms] {
|
||||
color: inherit;
|
||||
cursor: default;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
body,
|
||||
table,
|
||||
blockquote {
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass,
|
||||
.ExternalClass p,
|
||||
.ExternalClass td,
|
||||
.ExternalClass div,
|
||||
.ExternalClass span,
|
||||
.ExternalClass font {
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
a[x-apple-data-detectors] {
|
||||
color: inherit !important;
|
||||
text-decoration: none !important;
|
||||
font-size: inherit !important;
|
||||
font-family: inherit !important;
|
||||
font-weight: inherit !important;
|
||||
line-height: inherit !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0"
|
||||
style="max-width: 500px;width: 100%; margin: auto; background-color: #000;">
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 40px 10px;">
|
||||
<img style="width: 160px;display: block;margin: auto;"
|
||||
src="{{ asset('images/logos/Global-Jain-Logo.png') }}"
|
||||
alt="Logo"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 20px 30px;">
|
||||
<img style="width: 145px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/mail7.png') }}" alt="Mail icon"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td
|
||||
style="padding: 5px 30px;text-align: center;font-size: 20px; font-weight: 700;color: #e1ccbe;">
|
||||
Dear Sangh admin,
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 30px;">
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
I am writing to inform you that {{ ucfirst($data->full_name ) }} has submitted a request to avail of the Jain
|
||||
Health Care discount facility at
|
||||
{{ ucfirst($data?->hospital?->name) }}.
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Below are his contact details
|
||||
<ul style="color:#fff">
|
||||
<li>Patient’s cell no: {{ $data?->user?->mobile }}</li>
|
||||
<li>Patient’s email Id: {{ $data?->email }}</li>
|
||||
</ul>
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Please review and process the request.
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Best Regards,
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
{{ ucfirst($data->full_name ) }}
|
||||
</p>
|
||||
<p style="margin: 0;padding: 10px 0;text-align: left;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
<a href="{{env('APP_URL')}}">www.globaljain.net</a> | <a href="mailto:jainhealthcare@globalJain.net">JainHealthCare@GlobalJain.net</a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 30px;text-align: center;">
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none; display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/facebook.png') }}" alt="Mail icon"/>
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Facebook</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/twitter.png') }}" alt="Mail icon"/>
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Twitter</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/instagram.png') }}" alt="Mail icon"/>
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Instagram</p>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 5px 30px 20px 30px;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
© 2022, {{env('APP_NAME')}}. All Rights Reserved.
|
||||
{{-- If you do not wish to receive these emails, --}}
|
||||
{{-- <a href="javascript:void(0);"
|
||||
style="font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;text-decoration: underline;">unsubscribe
|
||||
here</a> --}}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
89
resources/views/backend/role/create.blade.php
Normal file
89
resources/views/backend/role/create.blade.php
Normal file
@@ -0,0 +1,89 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.create_role_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<!-- <ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ route('admin.roles.index') }}" class="text-muted">{{ __('breadcrumb.roles') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.roles.create') }}" class="text-muted">{{ __('breadcrumb.create_role') }}</a>
|
||||
</li>
|
||||
</ul> -->
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.create_role_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::open(['route' => 'admin.roles.store','id' => 'createDharmaForm', 'files' => true]) }}
|
||||
@include('backend.role.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function demo1() {
|
||||
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
$("#createDharmaForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
90
resources/views/backend/role/edit.blade.php
Normal file
90
resources/views/backend/role/edit.blade.php
Normal file
@@ -0,0 +1,90 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.update_role_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
{{-- <div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<!-- <ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ route('admin.roles.index') }}" class="text-muted">{{ __('breadcrumb.roles') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="javascript:void(0);" class="text-muted">{{ __('breadcrumb.update_role') }}</a>
|
||||
</li>
|
||||
</ul> -->
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div> --}}
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.update_role_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::model($role,['route' => ['admin.roles.update', $role->id],'method' => 'PATCH','id' => 'updateroleForm', 'files' => true]) }}
|
||||
@include('backend.role.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function demo1() {
|
||||
|
||||
$("#updateroleForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
this.element(element);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
});
|
||||
</script>
|
||||
<script src="{{ asset('/js/pages/crud/forms/widgets/bootstrap-switch.js?v=7.2.8') }}"></script>
|
||||
@endsection
|
||||
179
resources/views/backend/role/list.blade.php
Normal file
179
resources/views/backend/role/list.blade.php
Normal file
@@ -0,0 +1,179 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_role_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.roles.index') }}"
|
||||
class="text-muted">{{ __('breadcrumb.roles') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header flex-wrap border-0 pt-6 pb-0">
|
||||
<div class="card-title">
|
||||
<h3>{{ __('label.listing_role_table_title') }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-toolbar">
|
||||
<!--begin::Button-->
|
||||
<a href="{{ route('admin.roles.create') }}" class="btn btn-primary font-weight-bolder">
|
||||
<i class="fas fa-plus fa-sm"></i> {{ __('buttons.create_role') }}
|
||||
</a>
|
||||
<!--end::Button-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="mb-7">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12 col-xl-12">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::text('name',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'title','placeholder' => __('label.search')]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 my-md-0">
|
||||
<button class="btn btn-secondary btn-secondary--icon" id="kt_reset" style="display: none">
|
||||
<span>
|
||||
<i class="la la-close"></i>
|
||||
<span>{{ __('buttons.reset') }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin: Selected Rows Group Action Form-->
|
||||
<div class="mb-2 multiple-actions" id="checkboxActionDropdown">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="font-weight-bold text-danger mr-3">Selected
|
||||
<span id="datatableSelectedRecords">0</span> records:</div>
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger mr-2 action-type" data-value="delete">Delete All</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Selected Rows Group Action Form-->
|
||||
<div id="kt_datatable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer admin-table">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="datatable datatable-default datatable-bordered datatable-loaded">
|
||||
<table class="datatable-bordered datatable-head-custom datatable-table table-hover"
|
||||
id="users-table">
|
||||
<thead>
|
||||
<tr>
|
||||
{{-- <th>
|
||||
<span style="width: 20px;">
|
||||
<label class="checkbox checkbox-single">
|
||||
<input type="checkbox"
|
||||
name="checkbox_action[]" id="checkbox-all"/> <span></span>
|
||||
</label>
|
||||
</span>
|
||||
</th> --}}
|
||||
<th>{{ __('label.role_listing_heading_2') }}</th>
|
||||
<th>{{ __('label.role_listing_heading_3') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<!-- DataTables -->
|
||||
<script src="{{ asset('js/datatable/jquery.dataTables.min.js') }}"></script>
|
||||
<script src="{{ asset('js/datatable/dataTables.bootstrap4.min.js') }}"></script>
|
||||
<script src="{{ asset('js/datatable/datatable-skeleton.js?v='.time()) }}"></script>
|
||||
<script>
|
||||
|
||||
$(document).on('keyup', '#title', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#status', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '#kt_reset', function () {
|
||||
$('#kt_reset').hide();
|
||||
});
|
||||
|
||||
customDataTableWidget.configuration({
|
||||
element: '#users-table',
|
||||
listingUrl: "{{ route('admin.roles.get-listing') }}",
|
||||
deleteUrl: "{{ route("admin.roles.destroy", ":id") }}",
|
||||
multipleActionUrl: "{{ route('admin.roles.grid.records.action') }}",
|
||||
columns: [
|
||||
// {
|
||||
// data: 'checkbox_action',
|
||||
// name: 'checkbox_action',
|
||||
// sortable: false
|
||||
// },
|
||||
{
|
||||
data: 'name',
|
||||
name: 'name',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'action',
|
||||
name: 'action',
|
||||
sortable: false,
|
||||
class:'text-right ws-nowrap action-col'
|
||||
}
|
||||
],
|
||||
search: [
|
||||
{
|
||||
key: 'name',
|
||||
type: 'text'
|
||||
}
|
||||
],
|
||||
defaultSortingIndex: 1,
|
||||
defaultSortingOrder: 'desc'
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
55
resources/views/backend/role/partials/_form.blade.php
Normal file
55
resources/views/backend/role/partials/_form.blade.php
Normal file
@@ -0,0 +1,55 @@
|
||||
<div class="card-body">
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.role_form_name') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('name',null,['class' => $errors->has('name') ? 'form-control is-invalid' : 'form-control','placeholder' => __('placeholder.role_name')]) }}
|
||||
@error('name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label for="validationCustom01">Permissions</label>
|
||||
<table class="table table-bordered py-4">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Module</th>
|
||||
<th scope="col">View</th>
|
||||
<th scope="col">Add</th>
|
||||
<th scope="col">Edit</th>
|
||||
<th scope="col">Delete</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($permissions as $key => $permissiona)
|
||||
<pre>
|
||||
</pre>
|
||||
<tr>
|
||||
<th scope="row"> {{ $key }} </th>
|
||||
@foreach($permissiona as $permission)
|
||||
<td>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="permissions[]" id="{{ $permission->id }}" value="{{ $permission->id }}" @if(in_array($permission->id, $rolePermissions)) checked="checked" @endif />
|
||||
<label for="{{ $permission->id }}">{{ $permission->name }}</label>
|
||||
</div>
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<button type="submit" name="save" value="save" class="btn btn-primary mr-2">
|
||||
@if(\Request::route()->getName() == 'admin.roles.edit')
|
||||
{{ __('buttons.update') }}
|
||||
@else
|
||||
{{ __('buttons.save') }}
|
||||
@endif
|
||||
</button>
|
||||
<a href="{{ route('admin.roles.index') }}" class="btn btn-secondary">{{ __('buttons.cancel') }}</a>
|
||||
</div>
|
||||
137
resources/views/backend/sampraday/create.blade.php
Normal file
137
resources/views/backend/sampraday/create.blade.php
Normal file
@@ -0,0 +1,137 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.create_sampraday_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.sampraday.index') }}" class="text-muted">{{ __('breadcrumb.sampradays') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.add_sampraday') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.create_sampraday_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::open(['route' => 'admin.sampraday.store','id' => 'createJatiForm', 'files' => true]) }}
|
||||
@include('backend.sampraday.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
var dharma_id = false;
|
||||
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': "{{ csrf_token() }}"
|
||||
}
|
||||
});
|
||||
|
||||
function demo1() {
|
||||
|
||||
}
|
||||
|
||||
function getGachadhiPati() {
|
||||
$.ajax({
|
||||
url: "{{ route('admin.dharma.gachadhi-pati') }}",
|
||||
type: "POST",
|
||||
data: {
|
||||
'dharma_id': $('#dharma').val(),
|
||||
},
|
||||
success: function (data) {
|
||||
$('#sants').empty();
|
||||
var emptyOption = new Option('Select the class name', '', false, false);
|
||||
$('#sants').append(emptyOption);
|
||||
$.each(data.gachadhi_paties, function (index, gachadhi_pati) {
|
||||
if (dharma_id == gachadhi_pati.id) {
|
||||
var newOption = new Option(gachadhi_pati.name, gachadhi_pati.id, true, true);
|
||||
} else {
|
||||
var newOption = new Option(gachadhi_pati.name, gachadhi_pati.id, false, false);
|
||||
}
|
||||
$('#sants').append(newOption);
|
||||
});
|
||||
$('#sants').selectpicker('refresh');
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
$(document).on('change', '#dharma', function (e) {
|
||||
getGachadhiPati();
|
||||
});
|
||||
$("#createJatiForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
},
|
||||
dharma_id: {
|
||||
required: true
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
},
|
||||
errorPlacement: function ( error, element ) {
|
||||
if(element.parent().hasClass('dropdown')){
|
||||
error.insertAfter( element.parent() );
|
||||
} else{
|
||||
error.insertAfter( element );
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
141
resources/views/backend/sampraday/edit.blade.php
Normal file
141
resources/views/backend/sampraday/edit.blade.php
Normal file
@@ -0,0 +1,141 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.update_sampraday_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.sampraday.index') }}" class="text-muted">{{ __('breadcrumb.sampradays') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.edit_sampraday') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.update_sampraday_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::model($sampraday,['route' => ['admin.sampraday.update', $sampraday->id],'method' => 'PATCH','id' => 'updateJatiForm', 'files' => true]) }}
|
||||
@include('backend.sampraday.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
|
||||
var dharma_id = "{{ isset($sampraday) ? $sampraday->dharma_id : false}}";
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': "{{ csrf_token() }}"
|
||||
}
|
||||
});
|
||||
function getGachadhiPati() {
|
||||
$('#sants').selectpicker('destroy');
|
||||
$.ajax({
|
||||
url: "{{ route('admin.dharma.gachadhi-pati') }}",
|
||||
type: "POST",
|
||||
data: {
|
||||
'dharma_id': $('#dharma').val(),
|
||||
},
|
||||
success: function (data) {
|
||||
$('#sants').empty();
|
||||
var emptyOption = new Option('Select the class name', '', false, false);
|
||||
$('#sants').append(emptyOption);
|
||||
$.each(data.gachadhi_paties, function (index, gachadhi_pati) {
|
||||
if (dharma_id == gachadhi_pati.id) {
|
||||
var newOption = new Option(gachadhi_pati.name, gachadhi_pati.id, true, true);
|
||||
} else {
|
||||
var newOption = new Option(gachadhi_pati.name, gachadhi_pati.id, false, false);
|
||||
}
|
||||
$('#sants').append(newOption);
|
||||
});
|
||||
$('#sants').selectpicker('refresh').trigger('change');
|
||||
}
|
||||
})
|
||||
}
|
||||
function demo1() {
|
||||
|
||||
$("#updateJatiForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
},
|
||||
dharma_id: {
|
||||
required: true
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
this.element(element);
|
||||
},
|
||||
errorPlacement: function ( error, element ) {
|
||||
if(element.parent().hasClass('dropdown')){
|
||||
error.insertAfter( element.parent() );
|
||||
} else{
|
||||
error.insertAfter( element );
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (dharma_id > 0) {
|
||||
getGachadhiPati();
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
$(document).on('change', '#dharma', function (e) {
|
||||
getGachadhiPati();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src="{{ asset('/js/pages/crud/forms/widgets/bootstrap-switch.js?v=7.2.8') }}"></script>
|
||||
@endsection
|
||||
217
resources/views/backend/sampraday/list.blade.php
Normal file
217
resources/views/backend/sampraday/list.blade.php
Normal file
@@ -0,0 +1,217 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_sampraday_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('public/js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.sampradays') }}
|
||||
</li>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header flex-wrap border-0 pt-6 pb-0">
|
||||
<div class="card-title">
|
||||
<h3>{{ __('label.listing_sampraday_table_title') }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-toolbar">
|
||||
<!--begin::Button-->
|
||||
<a href="{{ route('admin.sampraday.create') }}" class="btn btn-primary font-weight-bolder">
|
||||
<i class="fas fa-plus fa-sm"></i> {{ __('buttons.create_sampraday') }}
|
||||
</a>
|
||||
<!--end::Button-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="mb-7">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12 col-xl-12">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::text('name',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'title','placeholder' => __('label.search')]) }}
|
||||
</div>
|
||||
</div>
|
||||
{{-- <div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
<label class="mr-3 mb-0 d-none d-md-block">{{ __('label.status')}}</label>
|
||||
{{ Form::select('status',['1' => 'Active','0' => 'Inactive'],null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'status','title' => __('placeholder.select_status')]) }}
|
||||
</div>
|
||||
</div> --}}
|
||||
<div class="col-md-3 my-md-0">
|
||||
<button class="btn btn-secondary btn-secondary--icon" id="kt_reset" style="display: none">
|
||||
<span>
|
||||
<i class="la la-close"></i>
|
||||
<span>{{ __('buttons.reset') }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin: Selected Rows Group Action Form-->
|
||||
<div class="mb-2 multiple-actions" id="checkboxActionDropdown">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="font-weight-bold text-danger mr-3">Selected
|
||||
<span id="datatableSelectedRecords">0</span> records:</div>
|
||||
{{-- <div class="dropdown mr-2">
|
||||
<button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown">{{ __('label.update_action') }}</button>
|
||||
<div class="dropdown-menu dropdown-menu-sm">
|
||||
<ul class="nav nav-hover flex-column">
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(0);" data-value="active" class="nav-link action-type">
|
||||
<span class="nav-text">{{ __('label.active') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(0);" data-value="inactive" class="nav-link action-type">
|
||||
<span class="nav-text">{{ __('label.inactive') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div> --}}
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger mr-2 action-type" data-value="delete">Delete All</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Selected Rows Group Action Form-->
|
||||
<div id="kt_datatable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer admin-table">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="datatable datatable-default datatable-bordered datatable-loaded">
|
||||
<table class="datatable-bordered datatable-head-custom datatable-table table-hover"
|
||||
id="users-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span style="width: 20px;">
|
||||
<label class="checkbox checkbox-single">
|
||||
<input type="checkbox"
|
||||
name="checkbox_action[]" id="checkbox-all"/> <span></span>
|
||||
</label>
|
||||
</span>
|
||||
</th>
|
||||
<th>{{ __('label.sampraday_listing_heading_2') }}</th>
|
||||
<th>{{ __('label.sampraday_listing_heading_6') }}</th>
|
||||
<th>{{ __('label.created_at') }}</th>
|
||||
<th>{{ __('label.sampraday_listing_heading_5') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<!-- DataTables -->
|
||||
<script src="{{ asset('public/js/datatable/jquery.dataTables.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/dataTables.bootstrap4.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/datatable-skeleton.js?v='.time()) }}"></script>
|
||||
<script>
|
||||
|
||||
$(document).on('keyup', '#title', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#status', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '#kt_reset', function () {
|
||||
$('#kt_reset').hide();
|
||||
});
|
||||
|
||||
customDataTableWidget.configuration({
|
||||
element: '#users-table',
|
||||
listingUrl: "{{ route('admin.sampraday.get-listing') }}",
|
||||
deleteUrl: "{{ route("admin.sampraday.destroy", ":id") }}",
|
||||
multipleActionUrl: "{{ route('admin.sampraday.grid.records.action') }}",
|
||||
columns: [
|
||||
{
|
||||
data: 'checkbox_action',
|
||||
name: 'checkbox_action',
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
data: 'name',
|
||||
name: 'name',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'dharma_id',
|
||||
name: 'dharma_id',
|
||||
},
|
||||
{
|
||||
data: 'created_at',
|
||||
name: 'created_at',
|
||||
},
|
||||
{
|
||||
data: 'action',
|
||||
name: 'action',
|
||||
sortable: false,
|
||||
class:'text-right ws-nowrap action-col'
|
||||
}
|
||||
],
|
||||
search: [
|
||||
{
|
||||
key: 'status',
|
||||
type: 'select'
|
||||
},
|
||||
{
|
||||
key: 'name',
|
||||
type: 'text'
|
||||
}
|
||||
],
|
||||
defaultSortingIndex: 1,
|
||||
defaultSortingOrder: 'desc'
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
53
resources/views/backend/sampraday/partials/_form.blade.php
Normal file
53
resources/views/backend/sampraday/partials/_form.blade.php
Normal file
@@ -0,0 +1,53 @@
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.sampraday_form_name') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('name',null,['class' => $errors->has('name') ? 'form-control is-invalid' : 'form-control','placeholder' => __('placeholder.sampraday_name')]) }}
|
||||
@error('name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.jati_dharma_name') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::select('dharma_id', $dharma, (isset($sampraday->dharma_id) && !empty($sampraday->dharma_id)) ? $sampraday->dharma_id : null,['id' => 'dharma', 'class' => $errors->has('dharma_id') ? 'form-control selectpicker is-invalid dharma' : 'form-control selectpicker','title' => __('placeholder.jati_dharma_name'),'data-live-search' => 'true','data-allow-clear' => 'true']) }}
|
||||
@error('dharma_id')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.listing_sampraday_form_gachadhi_pati') }}</label>
|
||||
{{ Form::select('sant_id', [], (isset($sampraday->sant_id) && !empty($sampraday->sant_id)) ? $sampraday->sant_id : null,['id' => 'sants', 'class' => $errors->has('sant_id') ? 'form-control selectpicker is-invalid guru_id' : 'form-control selectpicker','title' => __('placeholder.sant_guru'),'data-live-search' => 'true','data-allow-clear' => 'true']) }}
|
||||
@error('sant_id')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- <div class="form-group row">
|
||||
<label class="col-1 col-form-label">{{ __('label.status') }}</label>
|
||||
<div class="col-3">
|
||||
<span class="switch switch-outline switch-icon switch-primary">
|
||||
<label>
|
||||
{{ Form::checkbox('status',$sampraday->status ?? null,isset($sampraday->status) && $sampraday->status == 1 ? 'checked' : '') }}
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div> --}}
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<button type="submit" name="save" value="save" class="btn btn-primary mr-2">
|
||||
@if(\Request::route()->getName() == 'admin.sampraday.edit')
|
||||
{{ __('buttons.update') }}
|
||||
@else
|
||||
{{ __('buttons.save') }}
|
||||
@endif
|
||||
</button>
|
||||
<a href="{{ route('admin.sampraday.index') }}" class="btn btn-secondary">{{ __('buttons.cancel') }}</a>
|
||||
</div>
|
||||
172
resources/views/backend/sangh/detail.blade.php
Normal file
172
resources/views/backend/sangh/detail.blade.php
Normal file
@@ -0,0 +1,172 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.view_sangh_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.sanghs.index') }}" class="text-muted">{{ __('breadcrumb.sangh') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.view_sangh_request') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.view_sangh_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::model($sangh,['route' => ['admin.sanghs.update', $sangh->id],'method' => 'PATCH','id' => 'updateSanghForm', 'files' => true]) }}
|
||||
@include('backend.sangh.partials._form')
|
||||
{{ Form::close() }}
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAoZv-67UKDVz5Rp3fa3e2xcHunahFGKOc&libraries=places"></script>
|
||||
<script>
|
||||
function initializeAutocomplete() {
|
||||
const input = document.getElementById('sangh_address');
|
||||
const autocomplete = new google.maps.places.Autocomplete(input, {
|
||||
types: ['geocode'],
|
||||
componentRestrictions: {'country': ['IN']}
|
||||
});
|
||||
|
||||
autocomplete.addListener('place_changed', function() {
|
||||
const place = autocomplete.getPlace();
|
||||
lat = place.geometry.location.lat();
|
||||
lng = place.geometry.location.lng();
|
||||
document.getElementById('latitude').value = lat;
|
||||
document.getElementById('longitude').value = lng;
|
||||
|
||||
|
||||
input.value = place.formatted_address;
|
||||
});
|
||||
}
|
||||
|
||||
google.maps.event.addDomListener(window, 'load', initializeAutocomplete);
|
||||
|
||||
|
||||
|
||||
function demo1() {
|
||||
$("#updateSanghForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
// sangh_type: {
|
||||
// required: true,
|
||||
// },
|
||||
// state: {
|
||||
// required: true,
|
||||
// },
|
||||
// city: {
|
||||
// required: true,
|
||||
// },
|
||||
sangh_address: {
|
||||
required: true,
|
||||
},
|
||||
sangh_name: {
|
||||
required: true,
|
||||
},
|
||||
// number_of_members: {
|
||||
// required: true,
|
||||
// },
|
||||
// aaradhana_bhavan: {
|
||||
// required: true,
|
||||
// },
|
||||
// pathshala: {
|
||||
// required: true,
|
||||
// },
|
||||
// number_of_students: {
|
||||
// required: true,
|
||||
// },
|
||||
// library: {
|
||||
// required: true,
|
||||
// },
|
||||
// aayambilshala: {
|
||||
// required: true,
|
||||
// },
|
||||
// bhojanshala: {
|
||||
// required: true,
|
||||
// },
|
||||
// tiffin_service: {
|
||||
// required: true,
|
||||
// },
|
||||
// mahila_mandal: {
|
||||
// required: true,
|
||||
// },
|
||||
reject_reason: {
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
submitHandler: function(form) {
|
||||
form.submit();
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
this.element(element);
|
||||
},
|
||||
errorPlacement: function ( error, element ) {
|
||||
if(element.parent().hasClass('dropdown')){
|
||||
error.insertAfter( element.parent() );
|
||||
} else{
|
||||
error.insertAfter( element );
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
$("input[name$='status']").change(function(){
|
||||
if ($(this).val() === 'Rejected') {
|
||||
$('.reject_reason').show();
|
||||
} else if ($(this).val() === 'Approved' || $(this).val() === '') {
|
||||
$('.reject_reason').hide();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
187
resources/views/backend/sangh/list.blade.php
Normal file
187
resources/views/backend/sangh/list.blade.php
Normal file
@@ -0,0 +1,187 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_sanghs_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('public/js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
{{ __('breadcrumb.sangh') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header flex-wrap border-0 pt-6 pb-0">
|
||||
<div class="card-title">
|
||||
<h3>{{ __('label.listing_sanghs_table_title') }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="mb-7">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12 col-xl-12">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::text('name',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'title','placeholder' => __('label.search')]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 my-md-0">
|
||||
<button class="btn btn-secondary btn-secondary--icon" id="kt_reset" style="display: none">
|
||||
<span>
|
||||
<i class="la la-close"></i>
|
||||
<span>{{ __('buttons.reset') }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin: Selected Rows Group Action Form-->
|
||||
<div class="mb-2 multiple-actions" id="checkboxActionDropdown">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="font-weight-bold text-danger mr-3">Selected
|
||||
<span id="datatableSelectedRecords">0</span> records:</div>
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger mr-2 action-type" data-value="delete">Delete All</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Selected Rows Group Action Form-->
|
||||
<div id="kt_datatable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer admin-table">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="datatable datatable-default datatable-bordered datatable-loaded">
|
||||
<table class="datatable-bordered datatable-head-custom datatable-table table-hover"
|
||||
id="sangh-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span style="width: 20px;">
|
||||
<label class="checkbox checkbox-single">
|
||||
<input type="checkbox"
|
||||
name="checkbox_action[]" id="checkbox-all"/> <span></span>
|
||||
</label>
|
||||
</span>
|
||||
</th>
|
||||
<th>{{ __('label.sangh_listing_heading_1') }}</th>
|
||||
<th>{{ __('label.sangh_listing_heading_2') }}</th>
|
||||
<th>{{ __('label.sangh_listing_heading_3') }}</th>
|
||||
<th>{{ __('label.sangh_listing_heading_4') }}</th>
|
||||
<th>{{ __('label.sangh_listing_heading_5') }}</th>
|
||||
<th>{{ __('label.sangh_listing_heading_6') }}</th>
|
||||
<th>{{ __('label.sangh_listing_heading_7') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<!-- DataTables -->
|
||||
<script src="{{ asset('public/js/datatable/jquery.dataTables.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/dataTables.bootstrap4.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/datatable-skeleton.js?v='.time()) }}"></script>
|
||||
<script>
|
||||
|
||||
$(document).on('click', '#kt_reset', function () {
|
||||
$('#kt_reset').hide();
|
||||
});
|
||||
|
||||
customDataTableWidget.configuration({
|
||||
element: '#sangh-table',
|
||||
listingUrl: "{{ route('admin.sanghs.listing') }}",
|
||||
deleteUrl: "{{ route("admin.hospitals.destroy", ":id") }}",
|
||||
multipleActionUrl: "",
|
||||
columns: [
|
||||
{
|
||||
data: 'checkbox_action',
|
||||
name: 'checkbox_action',
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
data: 'name',
|
||||
name: 'name',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'sangh_type',
|
||||
name: 'sangh_type',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'dharma',
|
||||
name: 'dharma',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'sampraday',
|
||||
name: 'sampraday',
|
||||
searchable: false,
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
data: 'mobile_number',
|
||||
name: 'mobile_number',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'status',
|
||||
name: 'status',
|
||||
sortable: false,
|
||||
},
|
||||
{
|
||||
data: 'action',
|
||||
name: 'action',
|
||||
sortable: false,
|
||||
class:'text-right ws-nowrap action-col'
|
||||
}
|
||||
],
|
||||
search: [
|
||||
{
|
||||
key: 'name',
|
||||
type: 'text'
|
||||
}
|
||||
],
|
||||
defaultSortingIndex: 0,
|
||||
defaultSortingOrder: 'desc'
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
413
resources/views/backend/sangh/partials/_form.blade.php
Normal file
413
resources/views/backend/sangh/partials/_form.blade.php
Normal file
@@ -0,0 +1,413 @@
|
||||
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>Sangh DB Id</label>
|
||||
<input disabled type="text" class="form-control" placeholder="Trust Registration Number" value="{{ $sangh->id }}" name="sangh_id">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>Sangh Type<span class="text-danger">*</span></label>
|
||||
<select class="form-control" name="sangh_type" disabled>
|
||||
<option disabled selected>Please select sangh</option>
|
||||
@foreach (config('common-variables.sangh_types') as $type)
|
||||
<option value="{{ $type['id'] }}" {{ $type['id'] == $sangh->sangh_type ? 'selected' : '' }}>{{ $type['value'] }}</option>
|
||||
@endforeach
|
||||
@error('sangh_type')
|
||||
<div class="alert alert-danger">{{ $message }}</div>
|
||||
@enderror
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label>Derasar Type</label>
|
||||
<select class="form-control" name="derasar_type" disabled>
|
||||
<option disabled selected>Please select derasar</option>
|
||||
@foreach (config('common-variables.derasar_type') as $type)
|
||||
<option value="{{ $type['id'] }}" {{ $type['id'] == $sangh->type_of_template ? 'selected' : '' }} >{{ $type['value'] }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>Dharma</label>
|
||||
<select class="form-control" name="dharma" disabled>
|
||||
<option disabled selected>Please select dharma</option>
|
||||
@foreach($dharma as $item)
|
||||
<option value="{{ $item->id }}" {{ $item->id == $sangh->dharma_id ? 'selected' : '' }} >{{ $item->name }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label>Sampraday</label>
|
||||
<select class="form-control" name="sampraday" disabled>
|
||||
<option disabled selected>Please select sampraday</option>
|
||||
@foreach($sampraday as $item)
|
||||
<option value="{{ $item->id }}" {{ $item->id == $sangh->sampraday_id ? 'selected' : '' }} >{{ $item->name }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>Mulnayak Bhagwan Name</label>
|
||||
<select class="form-control" name="mulnayak_bhagwan_name" disabled>
|
||||
<option disabled selected>Please select sampraday</option>
|
||||
@foreach (config('common-variables.mulnayak_bhagwan') as $type)
|
||||
<option value="{{ $type['id'] }}" {{ $type['id'] == $sangh->mulnayak_bhagwan_name ? 'selected' : '' }}>{{ $type['value'] }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label>Sangh name<span class="text-danger">*</span></label>
|
||||
<input type="text" class="form-control" placeholder="Sangh name" value="{{ $sangh->name }}" name="sangh_name">
|
||||
@error('sangh_name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>Trust Registration Number</label>
|
||||
<input disabled type="text" class="form-control" placeholder="Trust Registration Number" value="{{ $sangh->reg_number }}" name="trust_registration_number">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label>Trust Registration Date</label>
|
||||
<input type="text" disabled class="form-control" placeholder="Trust Registration Date" name="trust_registration_date" value="{{ $sangh->reg_date }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>State<span class="text-danger">*</span></label>
|
||||
<input disabled type="text" class="form-control" placeholder="State" name="state" value="{{ $sangh->state }}">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label>City<span class="text-danger">*</span></label>
|
||||
<input disabled type="text" class="form-control" placeholder="City" name="city" value="{{ $sangh->city }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>Sangh Address<span class="text-danger">*</span></label>
|
||||
<input type="text" class="form-control" id="sangh_address" placeholder="Sangh Address" name="sangh_address" value="{{ $sangh->address }}">
|
||||
</div>
|
||||
<input type="hidden" id="latitude" name="latitude" value="{{ $sangh->latitude }}">
|
||||
<input type="hidden" id="longitude" name="longitude" value="{{ $sangh->longitude }}">
|
||||
<div class="col-md-6">
|
||||
<label>House No / Apartment Name</label>
|
||||
<input disabled type="text" class="form-control" placeholder="House No / Apartment Name" name="apartment_name" value="{{ $sangh->apartment_name }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>Pedhi / Manager Mobile Number<span class="text-danger">*</span></label>
|
||||
<input type="text" disabled class="form-control" placeholder="Pedhi / Manager Mobile Number" name="mobile_number" value="{{ $sangh->mobile_number }}">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label>Email Address</label>
|
||||
<input disabled type="textarea" class="form-control" placeholder="Email Address" name="email_address" value="{{ $sangh->email }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>Sangh Website</label>
|
||||
<input disabled type="text" class="form-control" placeholder="Sangh Website" name="sangh_website" value="{{ $sangh->sangh_website }}">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label>Number Of Members<span class="text-danger">*</span></label>
|
||||
<select class="form-control" name="number_of_members" disabled>
|
||||
<option disabled selected>Please select sampraday</option>
|
||||
@foreach (config('common-variables.number_of_members') as $type)
|
||||
<option value="{{ $type['id'] }}" {{ $type['id'] == $sangh->number_of_members ? 'selected' : '' }}>{{ $type['value'] }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>More About Sangh</label>
|
||||
<input disabled type="textarea" class="form-control" placeholder="More about sangh" name="more_about_sangh" value="{{ $sangh->about }}">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
</div>
|
||||
</div>
|
||||
<h2> Facilities of Sangh </h2>
|
||||
<div class="row">
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Swapna Chadawa Organised</label>
|
||||
<div class="radio-inline">
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="swapna_chadawa_organised" {{ $sangh->swapna_chadawa_organised_status == 1 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
Yes
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="swapna_chadawa_organised" {{ $sangh->swapna_chadawa_organised_status == 0 ? 'checked' : '' }}/>
|
||||
<span></span>
|
||||
No
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Aaradhana Bhavan<span class="text-danger">*</span></label>
|
||||
<div class="radio-inline">
|
||||
<label disabled class="radio">
|
||||
<input type="radio" name="aaradhana_bhavan" {{ $sangh->aaradhana_bhavan_status == 1 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
Yes
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="aaradhana_bhavan" {{ $sangh->aaradhana_bhavan_status == 0 ? 'checked' : '' }}/>
|
||||
<span></span>
|
||||
No
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Pathshala<span class="text-danger">*</span></label>
|
||||
<div class="radio-inline">
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="pathshala" {{ $sangh->pathshala_status == 1 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
Yes
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="pathshala" {{ $sangh->pathshala_status == 0 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
No
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@if($sangh->pathshala_status === 1)
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Number Of Students<span class="text-danger">*</span></label>
|
||||
{{-- <input type="text" class="form-control" placeholder="Number Of Students" name="number-of-students">--}}
|
||||
<select class="form-control" name="number_of_students" disabled>
|
||||
<option disabled selected>Please select number of students</option>
|
||||
@foreach (config('common-variables.number_of_students') as $type)
|
||||
<option value="{{ $type['id'] }}" {{ $type['id'] == $sangh->no_of_students ? 'selected' : '' }}>{{ $type['value'] }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Library (Gyanbhandar)<span class="text-danger">*</span></label>
|
||||
<div class="radio-inline">
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="library" {{ $sangh->library_status == 1 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
Yes
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="library" {{ $sangh->library_status == 0 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
No
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@if($sangh->library_status === 1)
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Library Name <span class="text-danger">*</span></label>
|
||||
<input disabled type="text" class="form-control" placeholder="Library Name" name="library_name" value="{{ $sangh->library_name }}">
|
||||
</div>
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Librarian Name <span class="text-danger">*</span></label>
|
||||
<input disabled type="text" class="form-control" placeholder="Librarian Name" name="librarian_name" value="{{ $sangh->librarian_name }}">
|
||||
</div>
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Mobile no. <span class="text-danger">*</span></label>
|
||||
<input disabled type="text" class="form-control" placeholder="Librarian Mobile Number" name="librarian_mobile_number" value="{{ $sangh->librarian_mobile_number }}">
|
||||
</div>
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Number Of Books <span class="text-danger">*</span></label>
|
||||
<select class="form-control" name="number_of_books" disabled>
|
||||
<option disabled selected>Number of books</option>
|
||||
@foreach (config('common-variables.number_of_books') as $type)
|
||||
<option value="{{ $type['id'] }}" {{ $type['id'] == $sangh->number_of_books ? 'selected' : '' }}>{{ $type['value'] }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
@endif
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Aayambilshala<span class="text-danger">*</span></label>
|
||||
<div class="radio-inline">
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="aayambilshala" {{ $sangh->aayambilshala_status == 1 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
Yes
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="aayambilshala" {{ $sangh->aayambilshala_status == 0 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
No
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Bhojanshala<span class="text-danger">*</span></label>
|
||||
<div class="radio-inline">
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="bhojanshala" {{ $sangh->bhojanshala_status == 1 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
Yes
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="bhojanshala" {{ $sangh->bhojanshala_status == 0 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
No
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Tiffin Service<span class="text-danger">*</span></label>
|
||||
<div class="radio-inline">
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="tiffin_service" {{ $sangh->tifin_service_status == 1 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
Yes
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="tiffin_service" {{ $sangh->tifin_service_status == 0 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
No
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Mahila Mandal<span class="text-danger">*</span></label>
|
||||
<div class="radio-inline">
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="mahila_mandal" {{ $sangh->mahila_mandal_status == 1 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
Yes
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="mahila_mandal" {{ $sangh->mahila_mandal_status == 0 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
No
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 form-group">
|
||||
<label>Yuva Mandal<span class="text-danger">*</span></label>
|
||||
<div class="radio-inline">
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="yuva_mandal" {{ $sangh->yuva_mandal_status == 1 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
Yes
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input disabled type="radio" name="yuva_mandal" {{ $sangh->yuva_mandal_status == 0 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
No
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>Sangh Bank Details</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-6 form-group">
|
||||
<label>Bank Account Number</label>
|
||||
<input disabled type="text" class="form-control" placeholder="Bank Account Number" name="bank_account_number" value="{{ $sangh->bank_account_number }}">
|
||||
</div>
|
||||
<div class="col-md-6 form-group">
|
||||
<label>IFSC</label>
|
||||
<input disabled type="text" class="form-control" placeholder="IFSC" name="ifsc" value="{{ $sangh->bank_ifsc }}" >
|
||||
</div>
|
||||
</div>
|
||||
<h2>Bank Branch</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-6 form-group">
|
||||
<label>Bank Branch</label>
|
||||
<input disabled type="text" class="form-control" placeholder="Bank Branch" name="bank_branch" value="{{ $sangh->bank_branch }}" >
|
||||
</div>
|
||||
<div class="col-md-6 form-group">
|
||||
<label>UPI ID</label>
|
||||
<input disabled type="text" class="form-control" placeholder="UPI ID" name="upi_id" value="{{ $sangh->bank_upi_id }}" >
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>Created By</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-6 form-group">
|
||||
<label>User Name</label>
|
||||
<input disabled type="text" class="form-control" placeholder="User Name" name="user_name" value="{{ $sangh->createdBy->name }}" >
|
||||
</div>
|
||||
<div class="col-md-6 form-group">
|
||||
<label>User Mobile</label>
|
||||
<input disabled type="text" class="form-control" placeholder="User Mobile" name="user_mobile" value="{{ $sangh->createdBy->mobile}}" >
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6 form-group">
|
||||
<!-- <label>Upload QR Code <span class="text-danger">*</span></label><br>
|
||||
<input type="file" class="valid" name="qr-code"> -->
|
||||
<div class="image-input image-input-outline" id="kt_image_1">
|
||||
<label>QR Image</label>
|
||||
<div class="image-input-wrapper" style="background-image: url('{{ asset($sangh->bank_qr_code) }}')"></div>
|
||||
<span class="btn btn-xs btn-icon btn-circle btn-white btn-hover-text-primary btn-shadow" data-action="cancel"
|
||||
data-toggle="tooltip" title="Cancel avatar">
|
||||
<i class="ki ki-bold-close icon-xs text-muted"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 form-group">
|
||||
{{-- <label>Change Profile Image</label><br>--}}
|
||||
{{-- <input type="file" class="valid" name="qr-code">--}}
|
||||
<div class="image-input image-input-outline" id="kt_image_1">
|
||||
<label>Avatar Image<span class="text-danger">*</span></label>
|
||||
<div class="image-input-wrapper" style="background-image: url('{{ asset($sangh->avatar) }}')"></div>
|
||||
<span class="btn btn-xs btn-icon btn-circle btn-white btn-hover-text-primary btn-shadow" data-action="cancel"
|
||||
data-toggle="tooltip" title="Cancel avatar">
|
||||
<i class="ki ki-bold-close icon-xs text-muted"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@if($sangh->sangh_status == 0 || $sangh->sangh_status == 2)
|
||||
<div class="row">
|
||||
<div class="col-md-4 form-group">
|
||||
{{-- <label>Rejection Reason</label>
|
||||
<textarea type="text" class="form-control" placeholder="Rejection reason" id="reject_reason" name="reject_reason" >{{ $sangh->reject_reason }}</textarea> --}}
|
||||
<div class="radio-inline">
|
||||
<label class="radio radio-success">
|
||||
<input type="radio" value="Approved" name="status" />
|
||||
<span></span>
|
||||
Approved
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input type="radio" value="Rejected" name="status" {{ $sangh->sangh_status == 2 ? 'checked' : '' }} />
|
||||
<span></span>
|
||||
Rejected
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@if($sangh->sangh_status == 0 || $sangh->sangh_status == 2 )
|
||||
<div class="row">
|
||||
<div class="col-md-4 reject_reason form-group" style="{{ ($sangh->sangh_status == 2) ? 'display:block' : "display:none" }}">
|
||||
<label>Rejection Reason:</label>
|
||||
<textarea type="text" class="form-control" placeholder="Rejection reason" id="reject_reason" name="reject_reason" >{{ $sangh->reject_reason }}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<button class="btn btn-success">Update</button>
|
||||
<!-- <button type="submit" name="reject" class="btn btn-danger mr-2">Cancel</button> -->
|
||||
<a href="{{ route('admin.sanghs.index') }}" class="btn btn-secondary">Cancel</a>
|
||||
</div>
|
||||
203
resources/views/backend/sant/create.blade.php
Normal file
203
resources/views/backend/sant/create.blade.php
Normal file
@@ -0,0 +1,203 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.create_sant_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.sant.index') }}" class="text-muted">{{ __('breadcrumb.sants') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.add_sant') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.create_sant_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::open(['route' => 'admin.sant.store','id' => 'createSantForm', 'files' => true]) }}
|
||||
@include('backend.sant.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
var dharma_id = false;
|
||||
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': "{{ csrf_token() }}"
|
||||
}
|
||||
});
|
||||
|
||||
function getSampraday() {
|
||||
$.ajax({
|
||||
url: "{{ route('admin.dharma.sampradaies') }}",
|
||||
type: "POST",
|
||||
data: {
|
||||
'dharma_id': $('#dharma').val(),
|
||||
},
|
||||
success: function (data) {
|
||||
$('#sampradaies').empty();
|
||||
console.log(data);
|
||||
// var emptyOption = new Option('Select the sampraday name', '', false, false);
|
||||
// $('#sampradaies').append(emptyOption);
|
||||
$.each(data.sampradaies, function (index, sampraday) {
|
||||
console.log(sampraday);
|
||||
if (dharma_id == sampraday.id) {
|
||||
var newOption = new Option(sampraday.name, sampraday.id, true, true);
|
||||
} else {
|
||||
var newOption = new Option(sampraday.name, sampraday.id, false, false);
|
||||
}
|
||||
$('#sampradaies').append(newOption);
|
||||
});
|
||||
$('#sampradaies').selectpicker('refresh');
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
var input = document.getElementById('honor'),
|
||||
// init Tagify script on the above inputs
|
||||
tagify = new Tagify(input, {
|
||||
whitelist: '',
|
||||
duplicates :true
|
||||
})
|
||||
|
||||
// "remove all honors" button event listener
|
||||
document.getElementById('honor_remove').addEventListener('click', tagify.removeAllTags.bind(tagify));
|
||||
|
||||
// Chainable event listeners
|
||||
tagify.on('add', onAddTag)
|
||||
|
||||
// tag added callback
|
||||
function onAddTag(e) {
|
||||
tagify.off('add', onAddTag) // exmaple of removing a custom Tagify event
|
||||
}
|
||||
|
||||
$('.datepicker').datepicker({
|
||||
format: 'yyyy-mm-dd',
|
||||
});
|
||||
|
||||
$(document).ready(function () {
|
||||
$(document).on('change', '#dharma', function (e) {
|
||||
getSampraday();
|
||||
});
|
||||
$("#createSantForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
var maxFileLimit = 5 * 1000000;
|
||||
$(document).on('change', '.avatar-image', function () {
|
||||
viewAvatarImage(this);
|
||||
$('.is_remove_avatar_image').val(1);
|
||||
});
|
||||
function viewAvatarImage(input) {
|
||||
if (input.files && input.files[0]) {
|
||||
var file = input.files[0];
|
||||
if (file.size < maxFileLimit) {
|
||||
var fileType = file["type"];
|
||||
var validImageTypes = ["image/jpg", "image/jpeg", "image/png"];
|
||||
if ($.inArray(fileType, validImageTypes) > 0) {
|
||||
// invalid file type code goes here.
|
||||
var reader = new FileReader();
|
||||
reader.onload = function (e) {
|
||||
$('.avatar-image-preview').attr('src', e.target.result);
|
||||
$('.avatar-image-preview-div').css('display', 'flex');
|
||||
}
|
||||
reader.readAsDataURL(input.files[0]);
|
||||
} else {
|
||||
$('.avatar-image').val('');
|
||||
$('#avatar-custom-file-label').text('{{ __("label.choose_image") }}');
|
||||
toastr.error('{{ __("label.image_type") }}');
|
||||
}
|
||||
} else {
|
||||
$('.avatar-image').val('');
|
||||
$('#avatar-custom-file-label').text('{{ __("label.choose_image") }}');
|
||||
toastr.error('{{ __("label.max_image_size") }}');
|
||||
}
|
||||
}
|
||||
}
|
||||
$(document).on('click', '.avatar-image-remove-button', function () {
|
||||
$('.is_remove_avatar_image').val(1);
|
||||
$('.avatar-image').val('');
|
||||
$('.avatar-image-preview-div').css('display', 'none');
|
||||
$('#avatar-custom-file-label').text('{{ __("label.choose_image") }}');
|
||||
});
|
||||
</script>
|
||||
|
||||
{{-- Google Map script --}}
|
||||
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAoZv-67UKDVz5Rp3fa3e2xcHunahFGKOc&libraries=places&callback=dummy"></script>
|
||||
<script>
|
||||
google.maps.event.addDomListener(window, 'load', initialize);
|
||||
function initialize() {
|
||||
var input = document.getElementById('diksha_place');
|
||||
var autocomplete = new google.maps.places.Autocomplete(input);
|
||||
autocomplete.addListener('place_changed', function () {
|
||||
var place = autocomplete.getPlace();
|
||||
$('#latitude_show').val(place.geometry['location'].lat());
|
||||
$('#longitude_show').val(place.geometry['location'].lng());
|
||||
$('#diksha_place_latitude').val(place.geometry['location'].lat());
|
||||
$('#diksha_place_longitude').val(place.geometry['location'].lng());
|
||||
$("#latitudeArea").removeAttr('hidden');
|
||||
$("#longtitudeArea").removeAttr('hidden');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
@endsection
|
||||
219
resources/views/backend/sant/edit.blade.php
Normal file
219
resources/views/backend/sant/edit.blade.php
Normal file
@@ -0,0 +1,219 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.update_sant_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.sant.index') }}" class="text-muted">{{ __('breadcrumb.sants') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.edit_sant') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.update_sant_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::model($sant,['route' => ['admin.sant.update', $sant->id],'method' => 'PATCH','id' => 'updateSantForm', 'files' => true]) }}
|
||||
@include('backend.sant.partials._form')
|
||||
{{ Form::close() }}
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
var dharma_id = "{{ isset($sant) ? $sant->sampraday_id : false}}";
|
||||
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': "{{ csrf_token() }}"
|
||||
}
|
||||
});
|
||||
|
||||
function getSampraday() {
|
||||
$.ajax({
|
||||
url: "{{ route('admin.dharma.sampradaies') }}",
|
||||
type: "POST",
|
||||
data: {
|
||||
'dharma_id': $('#dharma').val(),
|
||||
},
|
||||
success: function (data) {
|
||||
$('#sampradaies').empty();
|
||||
console.log(data);
|
||||
// var emptyOption = new Option('Select the sampraday name', '', false, false);
|
||||
// $('#sampradaies').append(emptyOption);
|
||||
$.each(data.sampradaies, function (index, sampraday) {
|
||||
console.log(sampraday);
|
||||
if (dharma_id == sampraday.id) {
|
||||
var newOption = new Option(sampraday.name, sampraday.id, true, true);
|
||||
} else {
|
||||
var newOption = new Option(sampraday.name, sampraday.id, false, false);
|
||||
}
|
||||
$('#sampradaies').append(newOption);
|
||||
});
|
||||
$('#sampradaies').selectpicker('refresh');
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
var input = document.getElementById('honor'),
|
||||
// init Tagify script on the above inputs
|
||||
tagify = new Tagify(input, {
|
||||
whitelist: {!! collect($sant->honor) !!},
|
||||
duplicates :true
|
||||
})
|
||||
|
||||
// "remove all honors" button event listener
|
||||
document.getElementById('honor_remove').addEventListener('click', tagify.removeAllTags.bind(tagify));
|
||||
|
||||
// Chainable event listeners
|
||||
tagify.on('add', onAddTag)
|
||||
|
||||
// tag added callback
|
||||
function onAddTag(e) {
|
||||
tagify.off('add', onAddTag) // exmaple of removing a custom Tagify event
|
||||
}
|
||||
|
||||
$('.datepicker').datepicker({
|
||||
format: 'yyyy-mm-dd',
|
||||
});
|
||||
|
||||
if (dharma_id > 0) {
|
||||
getSampraday();
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
$(document).on('change', '#dharma', function (e) {
|
||||
getSampraday();
|
||||
});
|
||||
|
||||
$(document).on('change', '#dharmaCheckbox', function (e) {
|
||||
var isChecked = $('#dharmaCheckbox').is(":checked");
|
||||
if (isChecked) {
|
||||
$('#sampradayCheckbox').prop('checked', true);
|
||||
} else {
|
||||
$('#sampradayCheckbox').prop('checked', false);
|
||||
}
|
||||
});
|
||||
|
||||
$("#updateSantForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
var maxFileLimit = 5 * 1000000;
|
||||
$(document).on('change', '.avatar-image', function () {
|
||||
viewAvatarImage(this);
|
||||
$('.is_remove_avatar_image').val(1);
|
||||
});
|
||||
function viewAvatarImage(input) {
|
||||
if (input.files && input.files[0]) {
|
||||
var file = input.files[0];
|
||||
if (file.size < maxFileLimit) {
|
||||
var fileType = file["type"];
|
||||
var validImageTypes = ["image/jpg", "image/jpeg", "image/png"];
|
||||
if ($.inArray(fileType, validImageTypes) > 0) {
|
||||
// invalid file type code goes here.
|
||||
var reader = new FileReader();
|
||||
reader.onload = function (e) {
|
||||
$('.avatar-image-preview').attr('src', e.target.result);
|
||||
$('.avatar-image-preview-div').css('display', 'flex');
|
||||
}
|
||||
reader.readAsDataURL(input.files[0]);
|
||||
} else {
|
||||
$('.avatar-image').val('');
|
||||
$('#avatar-custom-file-label').text('{{ __("label.choose_image") }}');
|
||||
toastr.error('{{ __("label.image_type") }}');
|
||||
}
|
||||
} else {
|
||||
$('.avatar-image').val('');
|
||||
$('#avatar-custom-file-label').text('{{ __("label.choose_image") }}');
|
||||
toastr.error('{{ __("label.max_image_size") }}');
|
||||
}
|
||||
}
|
||||
}
|
||||
$(document).on('click', '#avatar-image-remove-button', function () {
|
||||
$('.is_remove_avatar_image').val(1);
|
||||
$('.avatar-image').val('');
|
||||
$('.avatar-image-preview-div').css('display', 'none');
|
||||
$('#avatar-custom-file-label').text('{{ __("label.choose_image") }}');
|
||||
});
|
||||
|
||||
</script>
|
||||
<script src="{{ asset('public/js/pages/crud/forms/widgets/bootstrap-switch.js?v=7.2.8') }}"></script>
|
||||
|
||||
{{-- Google Map script --}}
|
||||
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAoZv-67UKDVz5Rp3fa3e2xcHunahFGKOc&libraries=places&callback=dummy"></script>
|
||||
<script>
|
||||
google.maps.event.addDomListener(window, 'load', initialize);
|
||||
function initialize() {
|
||||
var input = document.getElementById('diksha_place');
|
||||
var autocomplete = new google.maps.places.Autocomplete(input);
|
||||
autocomplete.addListener('place_changed', function () {
|
||||
var place = autocomplete.getPlace();
|
||||
$('#latitude_show').val(place.geometry['location'].lat());
|
||||
$('#longitude_show').val(place.geometry['location'].lng());
|
||||
$('#diksha_place_latitude').val(place.geometry['location'].lat());
|
||||
$('#diksha_place_longitude').val(place.geometry['location'].lng());
|
||||
$("#latitudeArea").removeAttr('hidden');
|
||||
$("#longtitudeArea").removeAttr('hidden');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
@endsection
|
||||
394
resources/views/backend/sant/list.blade.php
Normal file
394
resources/views/backend/sant/list.blade.php
Normal file
@@ -0,0 +1,394 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_sant_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('public/js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.sants') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header flex-wrap border-0 pt-6 pb-0">
|
||||
<div class="card-title">
|
||||
<h3>{{ __('label.listing_sant_table_title') }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-toolbar">
|
||||
<!-- begin::Button -->
|
||||
<form id="import" action="{{route('admin.sant.import-sant')}}" method="POST" enctype="multipart/form-data">
|
||||
@csrf
|
||||
<input type="file" id="file" class="file-input" name="file" accept=".xlsx, .csv, .xls" data-original-title="import" required>
|
||||
<button class="btn btn-success font-weight-bolder mr-2" type="submit">
|
||||
<i class="fas fa-upload fa-sm"></i> {{ __('buttons.import') }}
|
||||
</button>
|
||||
</form>
|
||||
<!--end::Button-->
|
||||
<!-- begin::Button -->
|
||||
<a href="{{ route('admin.sant.create') }}" class="btn btn-primary font-weight-bolder">
|
||||
<i class="fas fa-plus fa-sm"></i> {{ __('buttons.create_sant') }}
|
||||
</a>
|
||||
<!--end::Button-->
|
||||
</div>
|
||||
</div>
|
||||
<div style="text-align: right; margin-right:25px;">
|
||||
<a href="{{ asset('assets/sample_sant.xlsx') }}" class="btn btn-sm btn-secondary font-weight-bolder">
|
||||
<i class="fas fa-download fa-sm"></i> Download Sample File
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="mb-7">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12 col-xl-12">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::text('name',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'title','placeholder' => __('label.search')]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::select('status',['2' => 'Active','1' => 'Inactive'],null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'status', 'data-live-search' => 'true','data-allow-clear' => 'true', 'title' => __('placeholder.select_status')]) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-2 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::select('verification_status',['1' => 'Approved', '2' => 'In-Review', '3' => 'Sent Back', '4' => 'Approved & In-Review', '5' => 'Approved & Sent back', '6' => 'Rejected'],null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'status', 'data-live-search' => 'true','data-allow-clear' => 'true', 'title' => __('placeholder.select_verification_status')]) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-2 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::select('dharma_id', $dharmas, null, ['class' => 'form-control selectpicker datatable-input change-action','id' => 'dharma_id', 'data-live-search' => 'true','data-allow-clear' => 'true', 'title' => __('placeholder.sant_select_dharma')]) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-2 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
{{ Form::select('sampraday_id', $sampradaies, null, ['class' => 'form-control selectpicker datatable-input change-action','id' => 'sampraday_id', 'data-live-search' => 'true','title' => __('placeholder.sant_select_sampraday')]) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 my-md-0">
|
||||
<button class="btn btn-secondary btn-secondary--icon" id="kt_reset" style="display: none; margin-top:10px;">
|
||||
<span>
|
||||
<i class="la la-close"></i>
|
||||
<span>{{ __('buttons.reset') }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin: Selected Rows Group Action Form-->
|
||||
<div class="mb-2 multiple-actions" id="checkboxActionDropdown">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="font-weight-bold text-danger mr-3">Selected
|
||||
<span id="datatableSelectedRecords">0</span> records:</div>
|
||||
<div class="dropdown mr-2">
|
||||
<button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown">{{ __('label.update_action') }}</button>
|
||||
<div class="dropdown-menu dropdown-menu-sm">
|
||||
<ul class="nav nav-hover flex-column">
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(0);" data-value="active" class="nav-link action-type">
|
||||
<span class="nav-text">{{ __('label.active') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(0);" data-value="inactive" class="nav-link action-type">
|
||||
<span class="nav-text">{{ __('label.inactive') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <a href="javascript:void(0);" class="btn btn-sm btn-danger mr-2 action-type" data-value="delete">Delete All</a> -->
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Selected Rows Group Action Form-->
|
||||
<div id="kt_datatable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer admin-table">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="datatable datatable-default datatable-bordered datatable-loaded">
|
||||
<table class="datatable-bordered datatable-head-custom datatable-table table-hover table table-hover responsive nowrap"
|
||||
id="users-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span style="width: 20px;">
|
||||
<label class="checkbox checkbox-single">
|
||||
<input type="checkbox"
|
||||
name="checkbox_action[]" id="checkbox-all"/> <span></span>
|
||||
</label>
|
||||
</span>
|
||||
</th>
|
||||
<th>{{ __('label.sant_listing_heading_2') }}</th>
|
||||
<th>{{ __('label.sant_listing_heading_3') }}</th>
|
||||
<th>{{ __('label.sant_listing_heading_4') }}</th>
|
||||
<th>{{ __('label.sant_listing_heading_5') }}</th>
|
||||
{{-- <th>{{ __('label.created_at') }}</th> --}}
|
||||
<th>{{ __('label.updated_at') }}</th>
|
||||
<th>{{ __('label.thana') }}</th>
|
||||
{{-- <th class="text-wrap">{{ __('label.approved_thana') }}</th>
|
||||
<th class="text-wrap">{{ __('label.pending_thana') }}</th> --}}
|
||||
<th class="text-wrap">{{ __('label.sant_verification_status') }}</th>
|
||||
<th>{{ __('label.sant_listing_heading_6') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<!-- DataTables -->
|
||||
<script src="{{ asset('public/js/datatable/jquery.dataTables.min.js') }}"></script>
|
||||
{{-- <script src="https://cdn.datatables.net/responsive/1.0.4/js/dataTables.responsive.js"></script> --}}
|
||||
<script src="{{ asset('public/js/datatable/dataTables.bootstrap4.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/datatable-skeleton.js?v='.time()) }}"></script>
|
||||
{{-- <script>
|
||||
$(document).ready(function() {
|
||||
$("#users-table").DataTable({
|
||||
aaSorting: [],
|
||||
responsive: true,
|
||||
|
||||
columnDefs: [
|
||||
{
|
||||
responsivePriority: 1,
|
||||
targets: 0
|
||||
},
|
||||
{
|
||||
responsivePriority: 2,
|
||||
targets: -1
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
$(".dataTables_filter input")
|
||||
.attr("placeholder", "Search here...")
|
||||
.css({
|
||||
width: "300px",
|
||||
display: "inline-block"
|
||||
});
|
||||
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
});
|
||||
</script> --}}
|
||||
<script>
|
||||
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': "{{ csrf_token() }}"
|
||||
}
|
||||
});
|
||||
|
||||
function getSampraday() {
|
||||
$.ajax({
|
||||
url: "{{ route('admin.dharma.sampradaies') }}",
|
||||
type: "POST",
|
||||
data: {
|
||||
'dharma_id': $('#dharma_id').val(),
|
||||
},
|
||||
success: function (data) {
|
||||
$('#sampraday_id').empty();
|
||||
console.log(data);
|
||||
var emptyOption = new Option('Select the sampraday name', '', false, false);
|
||||
// $('#sampraday_id').append(emptyOption);
|
||||
$.each(data.sampradaies, function (index, sampraday) {
|
||||
console.log(sampraday);
|
||||
if (dharma_id == sampraday.id) {
|
||||
var newOption = new Option(sampraday.name, sampraday.id, true, true);
|
||||
} else {
|
||||
var newOption = new Option(sampraday.name, sampraday.id, false, false);
|
||||
}
|
||||
$('#sampraday_id').append(newOption);
|
||||
});
|
||||
$('#sampraday_id').selectpicker('refresh');
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
$(document).on('keyup', '#title', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '' && $('#dharma_id').val() === '' && $('#sampraday_id').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#status', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '' && $('#verification_status').val() === '' && $('#dharma_id').val() === '' && $('#sampraday_id').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#verification_status', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '' && $('#verification_status').val() === '' && $('#dharma_id').val() === '' && $('#sampraday_id').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#dharma_id', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '' && $('#verification_status').val() === '' && $('#dharma_id').val() === '' && $('#sampraday_id').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#dharma_id', function (e) {
|
||||
getSampraday();
|
||||
});
|
||||
|
||||
$(document).on('change', '#sampraday_id', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '' && $('#verification_status').val() === '' && $('#dharma_id').val() === '' && $('#sampraday_id').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '#kt_reset', function () {
|
||||
$('#kt_reset').hide();
|
||||
$('#sampraday_id').empty();
|
||||
$('#sampraday_id').selectpicker('refresh');
|
||||
});
|
||||
|
||||
customDataTableWidget.configuration({
|
||||
element: '#users-table',
|
||||
listingUrl: "{{ route('admin.sant.get-listing') }}",
|
||||
deleteUrl: "{{ route("admin.sant.destroy", ":id") }}",
|
||||
multipleActionUrl: "{{ route('admin.sant.grid.records.action') }}",
|
||||
columns: [
|
||||
{
|
||||
data: 'checkbox_action',
|
||||
name: 'checkbox_action',
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
data: 'name',
|
||||
name: 'name',
|
||||
class: "text-wrap",
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'sampraday_id',
|
||||
name: 'sampraday_id',
|
||||
class: "text-wrap",
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'dharma_id',
|
||||
name: 'dharma_id',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'status',
|
||||
name: 'status',
|
||||
},
|
||||
// {
|
||||
// data: 'created_at',
|
||||
// name: 'created_at',
|
||||
// },
|
||||
{
|
||||
data: 'updated_at',
|
||||
name: 'updated_at',
|
||||
},
|
||||
|
||||
{
|
||||
data: 'thana',
|
||||
name: 'thana',
|
||||
},
|
||||
// {
|
||||
// data: 'approved_thana',
|
||||
// name: 'approved_thana',
|
||||
// },
|
||||
// {
|
||||
// data: 'pending_thana',
|
||||
// name: 'pending_thana',
|
||||
// },
|
||||
{
|
||||
data: 'verification_status',
|
||||
name: 'verification_status',
|
||||
},
|
||||
{
|
||||
data: 'action',
|
||||
name: 'action',
|
||||
sortable: false,
|
||||
class:'text-right ws-nowrap action-col'
|
||||
}
|
||||
|
||||
],
|
||||
search: [
|
||||
{
|
||||
key: 'status',
|
||||
type: 'select'
|
||||
},
|
||||
{
|
||||
key: 'verification_status',
|
||||
type: 'select'
|
||||
},
|
||||
{
|
||||
key: 'dharma_id',
|
||||
type: 'select'
|
||||
},
|
||||
{
|
||||
key: 'sampraday_id',
|
||||
type: 'select'
|
||||
},
|
||||
{
|
||||
key: 'name',
|
||||
type: 'text'
|
||||
}
|
||||
],
|
||||
defaultSortingIndex: 5,
|
||||
defaultSortingOrder: 'desc'
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
521
resources/views/backend/sant/partials/_form.blade.php
Normal file
521
resources/views/backend/sant/partials/_form.blade.php
Normal file
@@ -0,0 +1,521 @@
|
||||
<div class="card-body">
|
||||
|
||||
<div class="form-group row">
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.sant_dharma_name') }} </label>
|
||||
{{ Form::select('dharma_id',$dharmaName,(isset($sant->dharma_id) && !empty($sant->dharma_id)) ? $sant->dharma_id : null,['id' => 'dharma', 'class' => $errors->has('dharma_id') ? 'form-control selectpicker is-invalid dharma_id' : 'form-control selectpicker','title' => __('placeholder.sant_dharma_name'),'data-live-search' => 'true','data-allow-clear' => 'true']) }}
|
||||
@error('dharma_id')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status == 2)
|
||||
<div class="form-check">
|
||||
<input class="form-check-input mt-2" type="checkbox" value="1" id="dharmaCheckbox" name="dharmaCheckbox" onchange="document.getElementById('send_back').disabled = !this.checked;">
|
||||
<label class="form-check-label mt-1" for="dharmaCheckbox">
|
||||
<font color="#EC7063">
|
||||
{{ __('label.need_to_update') }}
|
||||
</font>
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
<label class="mt-2">Current Data: <font color="blue">{{ $santLive->dharm->name ?? "-" }} </font> </label>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.sant_sampraday_name') }} </label>
|
||||
{{ Form::select('sampraday_id',$sampradayName,(isset($sant->sampraday_id) && !empty($sant->sampraday_id)) ? $sant->sampraday_id : null,['id' => 'sampradaies', 'class' => $errors->has('sampraday_id') ? 'form-control selectpicker is-invalid sampraday_id' : 'form-control selectpicker','title' => __('placeholder.sant_sampraday_name'),'data-live-search' => 'true','data-allow-clear' => 'true']) }}
|
||||
@error('sampraday_id')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status == 2)
|
||||
<div class="form-check">
|
||||
<input class="form-check-input mt-2" type="checkbox" value="1" id="sampradayCheckbox" name="sampradayCheckbox" onchange="document.getElementById('send_back').disabled = !this.checked;">
|
||||
<label class="form-check-label mt-1" for="sampradayCheckbox">
|
||||
<font color="#EC7063">
|
||||
{{ __('label.need_to_update') }}
|
||||
</font>
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
<label class="mt-2">Current Data: <font color="blue">{{ $santLive->sampraday->name ?? "-" }} </font> </label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.sant_form_name') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('name',null,['class' => $errors->has('name') ? 'form-control is-invalid' : 'form-control','placeholder' => __('placeholder.sant_name')]) }}
|
||||
@error('name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status == 2)
|
||||
<div class="form-check">
|
||||
<input class="form-check-input mt-2" type="checkbox" value="1" id="nameCheckbox" name="nameCheckbox" onchange="document.getElementById('send_back').disabled = !this.checked;">
|
||||
<label class="form-check-label mt-1" for="nameCheckbox">
|
||||
<font color="#EC7063">
|
||||
{{ __('label.need_to_update') }}
|
||||
</font>
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
<label class="mt-2">Current Data: <font color="blue">{{ $santLive->name ?? "-" }} </font> </label>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.sant_honor') }} </label>
|
||||
<input id="honor" class="form-control tagify" name='honor' placeholder='type...'
|
||||
value='{{old('honor',isset($sant->honor) && !empty($sant->honor) ? implode(', ', $sant->honor) : '')}}'/>
|
||||
<div class="mt-3">
|
||||
<a href="javascript:;" id="honor_remove" class="btn btn-sm btn-light-primary font-weight-bold">Remove
|
||||
honors</a>
|
||||
</div>
|
||||
<label class="mt-2">Current Data: <font color="blue">{{ isset($santLive->honor) ? implode(',', $santLive->honor) : "-" }} </font> </label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.sant_birth_date') }} </label>
|
||||
<div class="input-group date">
|
||||
{{ Form::text('birth_date',null,['autocomplete' => 'off','class' => $errors->has('birth_date') ? 'form-control datepicker is-invalid' : 'form-control datepicker','placeholder' => __('placeholder.sant_birth_date')]) }}
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text">
|
||||
<i class="fas fa-calendar-alt"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@error('birth_date')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status == 2)
|
||||
<div class="form-check">
|
||||
<input class="form-check-input mt-2" type="checkbox" value="1" id="birthDateCheckbox" name="birthDateCheckbox" onchange="document.getElementById('send_back').disabled = !this.checked;">
|
||||
<label class="form-check-label mt-1" for="birthDateCheckbox">
|
||||
<font color="#EC7063">
|
||||
{{ __('label.need_to_update') }}
|
||||
</font>
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
<label class="mt-2">Current Data: <font color="blue">{{ $santLive->birth_date ?? "-" }} </font> </label>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.sant_gender') }}</label>
|
||||
{{ Form::select('gender',trans('sant.gender'),(isset($sant->gender) && !empty($sant->gender)) ? $sant->gender : null,['class' => $errors->has('gender') ? 'form-control selectpicker is-invalid gender' : 'form-control selectpicker','title' => __('placeholder.sant_gender'),'data-live-search' => 'true','data-allow-clear' => 'true']) }}
|
||||
@error('gender')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status == 2)
|
||||
<div class="form-check">
|
||||
<input class="form-check-input mt-2" type="checkbox" value="1" id="genderCheckbox" name="genderCheckbox" onchange="document.getElementById('send_back').disabled = !this.checked;">
|
||||
<label class="form-check-label mt-1" for="genderCheckbox">
|
||||
<font color="#EC7063">
|
||||
{{ __('label.need_to_update') }}
|
||||
</font>
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
@if (!empty($santLive->gender) && $santLive->gender == 1)
|
||||
<label class="mt-2">Current Data: <font color="blue">Maharaj Saheb</font> </label>
|
||||
@elseif (!empty($santLive->gender) && $santLive->gender == 2)
|
||||
<label class="mt-2">Current Data: <font color="blue">Mahasati Ji</font> </label>
|
||||
@else
|
||||
<label class="mt-2">Current Data: <font color="blue">-</font> </label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.sant_diksha_date') }} </label>
|
||||
<div class="input-group date">
|
||||
{{ Form::text('diksha_date',null,['autocomplete' => 'off','class' => $errors->has('diksha_date') ? 'form-control datepicker is-invalid' : 'form-control datepicker','placeholder' => __('placeholder.sant_diksha_date')]) }}
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text">
|
||||
<i class="fas fa-calendar-alt"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@error('diksha_date')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status == 2)
|
||||
<div class="form-check">
|
||||
<input class="form-check-input mt-2" type="checkbox" value="1" id="dikshaDateCheckbox" name="dikshaDateCheckbox" onchange="document.getElementById('send_back').disabled = !this.checked;">
|
||||
<label class="form-check-label mt-1" for="dikshaDateCheckbox">
|
||||
<font color="#EC7063">
|
||||
{{ __('label.need_to_update') }}
|
||||
</font>
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
<label class="mt-2">Current Data: <font color="blue">{{ $santLive->diksha_date ?? "-" }} </font> </label>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.sant_diksha_place') }} </label>
|
||||
{{ Form::text('diksha_place',null,['class' => $errors->has('diksha_place') ? 'form-control is-invalid' : 'form-control', 'id' => 'diksha_place','placeholder' => __('placeholder.sant_diksha_place')]) }}
|
||||
@error('diksha_place')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status == 2)
|
||||
<div class="form-check">
|
||||
<input class="form-check-input mt-2" type="checkbox" value="1" id="dikshaPlaceCheckbox" name="dikshaPlaceCheckbox" onchange="document.getElementById('send_back').disabled = !this.checked;">
|
||||
<label class="form-check-label mt-1" for="dikshaPlaceCheckbox">
|
||||
<font color="#EC7063">
|
||||
{{ __('label.need_to_update') }}
|
||||
</font>
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
<label class="mt-2">Current Data: <font color="blue">{{ $santLive->diksha_place ?? "-" }} </font> </label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6 mt-3" id="latitudeArea" hidden>
|
||||
<label>{{ __('label.latitude') }}</label>
|
||||
<input type="text" id="latitude_show" name="latitude_show" class="form-control" disabled>
|
||||
</div>
|
||||
<input type="hidden" id="diksha_place_latitude" name="diksha_place_latitude" class="form-control">
|
||||
|
||||
<div class="col-md-6 mt-3" id="longtitudeArea" hidden>
|
||||
<label>{{ __('label.longitude') }}</label>
|
||||
<input type="text" name="longitude_show" id="longitude_show" class="form-control" disabled>
|
||||
</div>
|
||||
<input type="hidden" name="diksha_place_longitude" id="diksha_place_longitude" class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.sant_guru') }}</label>
|
||||
{{ Form::select('guru_id',$guruName,(isset($sant->guru_id) && !empty($sant->guru_id)) ? $sant->guru_id : null,['class' => $errors->has('guru_id') ? 'form-control selectpicker is-invalid guru_id' : 'form-control selectpicker','title' => __('placeholder.sant_guru'),'data-live-search' => 'true','data-allow-clear' => 'true']) }}
|
||||
@error('guru_id')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status == 2)
|
||||
<div class="form-check">
|
||||
<input class="form-check-input mt-2" type="checkbox" value="1" id="guruCheckbox" name="guruCheckbox" onchange="document.getElementById('send_back').disabled = !this.checked;">
|
||||
<label class="form-check-label mt-1" for="guruCheckbox">
|
||||
<font color="#EC7063">
|
||||
{{ __('label.need_to_update') }}
|
||||
</font>
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
<label class="mt-2">Current Data: <font color="blue">{{ $santLive->guru->name ?? "-" }} </font> </label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.sant_father_name') }} </label>
|
||||
{{ Form::text('father_name',null,['class' => $errors->has('father_name') ? 'form-control is-invalid' : 'form-control','placeholder' => __('placeholder.sant_father_name')]) }}
|
||||
@error('father_name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status == 2)
|
||||
<div class="form-check">
|
||||
<input class="form-check-input mt-2" type="checkbox" value="1" id="fatherCheckbox" name="fatherCheckbox" onchange="document.getElementById('send_back').disabled = !this.checked;">
|
||||
<label class="form-check-label mt-1" for="fatherCheckbox">
|
||||
<font color="#EC7063">
|
||||
{{ __('label.need_to_update') }}
|
||||
</font>
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
<label class="mt-2">Current Data: <font color="blue">{{ $santLive->father_name ?? "-" }} </font> </label>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.sant_mother_name') }} </label>
|
||||
{{ Form::text('mother_name',null,['class' => $errors->has('mother_name') ? 'form-control is-invalid' : 'form-control','placeholder' => __('placeholder.sant_mother_name')]) }}
|
||||
@error('mother_name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status == 2)
|
||||
<div class="form-check">
|
||||
<input class="form-check-input mt-2" type="checkbox" value="1" id="motherCheckbox" name="motherCheckbox" onchange="document.getElementById('send_back').disabled = !this.checked;">
|
||||
<label class="form-check-label mt-1" for="motherCheckbox">
|
||||
<font color="#EC7063">
|
||||
{{ __('label.need_to_update') }}
|
||||
</font>
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
<label class="mt-2">Current Data: <font color="blue">{{ $santLive->mother_name ?? "-" }} </font> </label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
{{-- <div class="col-md-6">
|
||||
<label>{{ __('label.sant_profile_verified_at') }} </label>
|
||||
<div class="input-group date">
|
||||
{{ Form::text('profile_verified_at',null,['autocomplete' => 'off','class' => $errors->has('profile_verified_at') ? 'form-control datepicker is-invalid' : 'form-control datepicker','placeholder' => __('placeholder.sant_profile_verified_at')]) }}
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text">
|
||||
<i class="fas fa-calendar-alt"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@error('profile_verified_at')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div> --}}
|
||||
|
||||
<div class="col-md-12">
|
||||
<label>{{ __('label.sant_about') }}</label>
|
||||
{{ Form::textarea('about',null,['class' => $errors->has('about') ? 'form-control is-invalid' : 'form-control','placeholder' => __('placeholder.sant_about')]) }}
|
||||
@error('about')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status == 2)
|
||||
<div class="form-check">
|
||||
<input class="form-check-input mt-2" type="checkbox" value="1" id="aboutCheckbox" name="aboutCheckbox" onchange="document.getElementById('send_back').disabled = !this.checked;">
|
||||
<label class="form-check-label mt-1" for="aboutCheckbox">
|
||||
<font color="#EC7063">
|
||||
{{ __('label.need_to_update') }}
|
||||
</font>
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
<label class="mt-2">Current Data: <font color="blue">{{ $santLive->about ?? "-" }} </font> </label>
|
||||
</div>
|
||||
|
||||
{{-- <div class="col-md-6">
|
||||
<label>{{ __('label.sant_qualification') }} </label>
|
||||
{{ Form::text('qualification',null,['class' => $errors->has('qualification') ? 'form-control is-invalid' : 'form-control','placeholder' => __('placeholder.sant_qualification')]) }}
|
||||
@error('qualification')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div> --}}
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.sant_avatar') }} </label>
|
||||
<div class="custom-file">
|
||||
<input type="file" name="avatar"
|
||||
class="custom-file-input avatar-image @if($errors->has('avatar')) is-invalid @endif"
|
||||
id="customFile"/>
|
||||
<label id="avatar-custom-file-label" class="custom-file-label"
|
||||
for="customFile">{{ __('label.choose_image') }}</label>
|
||||
<span class="form-text text-inverse-muted">{{ __('label.image_type') }}</span>
|
||||
@error('avatar')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status == 2)
|
||||
<div class="form-check">
|
||||
<input class="form-check-input mt-2" type="checkbox" value="1" id="avatarCheckbox" name="avatarCheckbox" onchange="document.getElementById('send_back').disabled = !this.checked;">
|
||||
<label class="form-check-label mt-1" for="avatarCheckbox">
|
||||
<font color="#EC7063">
|
||||
{{ __('label.need_to_update') }}
|
||||
</font>
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit')
|
||||
<div class="col-lg-9 col-xl-6">
|
||||
<div class="form-group row">
|
||||
<div class="col-md-3">
|
||||
<label>{{ __('label.sant_created_by') }} </label>
|
||||
<div class="mt-2">{{ $sant->createdBy->name ?? '-' }}</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<label>{{ __('label.sant_updated_by') }} </label>
|
||||
<div class="mt-2">{{ $sant->updatedBy->name ?? '-' }}</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.thana_updated_by') }} </label>
|
||||
<div class="mt-2">{{ isset($thana->updatedBy) ? ($thana->updatedBy->name) : '-' }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if(\Request::route()->getName() != 'admin.sant.edit')
|
||||
<div class="col-md-6">
|
||||
<label class="col-5 col-form-label">{{ __('label.status') }}</label>
|
||||
<div class="col-3">
|
||||
<span class="switch switch-outline switch-icon switch-primary">
|
||||
<label>
|
||||
{{ Form::checkbox('status',$sant->status ?? null,isset($sant->status) && $sant->status == 2 ? 'checked' : '') }}
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group row avatar-image-preview-div"
|
||||
@if(isset($sant->avatar) && !empty($sant->avatar)) style="display: flex"
|
||||
@else style="display: none" @endif>
|
||||
<!--begin::Image-->
|
||||
<div class="col-lg-9 col-xl-6">
|
||||
<div class="image-input image-input-outline">
|
||||
<img
|
||||
src="{{(isset($sant) && !empty($sant->avatar)) ? $sant->avatar : ''}}"
|
||||
class="image-input-wrapper avatar-image-preview">
|
||||
<label
|
||||
class="btn btn-xs btn-icon btn-circle btn-white btn-hover-text-primary btn-shadow avatar-image-remove-button"
|
||||
data-action="change" data-toggle="tooltip" title="" data-original-title="Remove Image" id="avatar-image-remove-button">
|
||||
<i class="fa fa-trash icon-sm text-muted"></i>
|
||||
</label>
|
||||
<input type="hidden" name="is_remove_avatar_image" class="is_remove_avatar_image" value="
|
||||
{{ isset($sant->avatar) && !empty($sant->avatar) ? 0 : 1 }}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- <div class="form-group row avatar-image-preview-div"
|
||||
@if(isset($santLive->avatar) && !empty($santLive->avatar)) style="display: flex"
|
||||
@else style="display: none" @endif>
|
||||
<!--begin::Image-->
|
||||
<div class="col-lg-9 col-xl-6">
|
||||
<div class="image-input image-input-outline">
|
||||
<img
|
||||
src="{{(isset($santLive) && !empty($santLive->avatar)) ? $sant->avatar : ''}}"
|
||||
class="image-input-wrapper avatar-image-preview">
|
||||
<label
|
||||
class="btn btn-xs btn-icon btn-circle btn-white btn-hover-text-primary btn-shadow avatar-image-remove-button"
|
||||
data-action="change" data-toggle="tooltip" title="" data-original-title="Remove Image" id="avatar-image-remove-button">
|
||||
<i class="fa fa-trash icon-sm text-muted"></i>
|
||||
</label>
|
||||
<input type="hidden" name="is_remove_avatar_image" class="is_remove_avatar_image" value="
|
||||
{{ isset($santLive->avatar) && !empty($santLive->avatar) ? 0 : 1 }}">
|
||||
</div>
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
<div class="form-group row">
|
||||
@if (isset($thanaMembers))
|
||||
@forelse($thanaMembers as $thanaMember)
|
||||
<!--begin::Image-->
|
||||
<div class="col-lg-3 col-xl-3">
|
||||
<div class="col-lg-4 col-xl-4">
|
||||
<div class="image-input image-input-outline">
|
||||
<img
|
||||
src="{{(isset($thanaMember) && !empty($thanaMember->avatar)) ? $thanaMember->avatar : ''}}"
|
||||
class="image-input-wrapper avatar-image">
|
||||
<label
|
||||
class="btn btn-xs btn-icon btn-circle btn-white btn-hover-text-primary btn-shadow avatar-image-remove-button"
|
||||
data-action="change" data-toggle="tooltip" title="" data-original-title="Remove Thana" id="thana-remove-button-{{$thanaMember->pivot->id}}">
|
||||
<a href="{{route('admin.sant.remove-thana',['santID' => $thanaMember->id,'id' => $thanaMember->pivot->id])}}"><i class="fa fa-trash icon-sm text-muted"></i></a>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="col-12 col-form-label">{{ $thanaMember->name }}</label>
|
||||
<label class="col-12 col-form-label">Approve</label>
|
||||
<div class="col-3">
|
||||
<span class="switch switch-outline switch-icon switch-primary">
|
||||
<label>
|
||||
{{ Form::checkbox('status['.$thanaMember->pivot->id.']',$thanaMember->pivot->is_approved ?? null,isset($thanaMember->pivot->is_approved) && $thanaMember->pivot->is_approved == 1 ? 'checked' : '') }}
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@empty
|
||||
{{-- <p>No thana</p> --}}
|
||||
@endforelse
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<button type="submit" name="save" value="save" class="btn btn-primary mr-2">
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit')
|
||||
{{ __('buttons.approve') }}
|
||||
@else
|
||||
{{ __('buttons.save') }}
|
||||
@endif
|
||||
</button>
|
||||
|
||||
<!-- When sant profile is in reivew -->
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status == 2)
|
||||
<button type="button" name="send_back" id="send_back" data-target="#sendBackModal" value="save" class="btn btn-warning mr-2 trigger-btn" data-toggle="modal" disabled>
|
||||
{{ __('buttons.send_back') }}
|
||||
</button>
|
||||
{{-- <input type="checkbox" onchange="document.getElementById('sendNewSms').disabled = !this.checked;" /> --}}
|
||||
|
||||
<button type="button" name="reject" data-target="#rejectModal" value="save" class="btn btn-danger mr-2 trigger-btn" data-toggle="modal">
|
||||
{{ __('buttons.reject') }}
|
||||
</button>
|
||||
@endif
|
||||
|
||||
<!-- When sant profile is not in reivew -->
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit' && $sant->verification_status != 2)
|
||||
<button type="button" name="send_back" id="send_back" data-target="#sendBackModal" value="save" class="btn btn-warning mr-2 trigger-btn" data-toggle="modal">
|
||||
{{ __('buttons.send_back') }}
|
||||
</button>
|
||||
|
||||
<button type="button" name="reject" data-target="#rejectModal" value="save" class="btn btn-danger mr-2 trigger-btn" data-toggle="modal">
|
||||
{{ __('buttons.reject') }}
|
||||
</button>
|
||||
@endif
|
||||
|
||||
<a href="{{ route('admin.sant.index') }}" class="btn btn-secondary">{{ __('buttons.cancel') }}</a>
|
||||
</div>
|
||||
|
||||
<!-- Send back Modal -->
|
||||
<div class="modal fade" id="sendBackModal" tabindex="-1" aria-labelledby="sendBackModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-centered">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="sendBackModalLabel">Reason For Send Back</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<textarea class="form-control" name="send_back_desc" rows="6" required></textarea>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
||||
<a href="#">
|
||||
<button type="submit" class="btn btn-primary" name="modalBtn" value="send_back">Submit</button></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Reject Modal -->
|
||||
<div class="modal fade" id="rejectModal" tabindex="-1" aria-labelledby="rejectModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-centered">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="rejectModalLabel">Reason For Reject</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<textarea class="form-control" name="reject_desc" rows="6" required></textarea>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
||||
<a href="#">
|
||||
<button type="submit" class="btn btn-primary" name="modalBtn" value="reject">Submit</button></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
112
resources/views/backend/sant/sant-chaturmas/create.blade.php
Normal file
112
resources/views/backend/sant/sant-chaturmas/create.blade.php
Normal file
@@ -0,0 +1,112 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title','Chaturmas'.' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.sant.chaturmas.index', $sant->id) }}" class="text-muted">{{ __('breadcrumb.chaturmases') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.add_chaturmas') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
Add Chaturmas
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::open(['route' => ['admin.sant.chaturmas.store',$sant->id],'id' => 'createSantChaturmasForm', 'files' => true]) }}
|
||||
@include('backend.sant.sant-chaturmas.partials._form')
|
||||
{{ Form::close() }}
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function demo1() {
|
||||
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
$("#createSantChaturmasForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
{{-- Google Map script --}}
|
||||
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAoZv-67UKDVz5Rp3fa3e2xcHunahFGKOc&libraries=places&callback=dummy"></script>
|
||||
<script>
|
||||
google.maps.event.addDomListener(window, 'load', initialize);
|
||||
function initialize() {
|
||||
var input = document.getElementById('place');
|
||||
var autocomplete = new google.maps.places.Autocomplete(input);
|
||||
autocomplete.addListener('place_changed', function () {
|
||||
var place = autocomplete.getPlace();
|
||||
var state = place.address_components.find(item => item.types.includes('administrative_area_level_1'));
|
||||
|
||||
$('#latitude_show').val(place.geometry['location'].lat());
|
||||
$('#longitude_show').val(place.geometry['location'].lng());
|
||||
$('#latitude').val(place.geometry['location'].lat());
|
||||
$('#longitude').val(place.geometry['location'].lng());
|
||||
$("#latitudeArea").removeAttr('hidden');
|
||||
$("#longtitudeArea").removeAttr('hidden');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
@endsection
|
||||
128
resources/views/backend/sant/sant-chaturmas/edit.blade.php
Normal file
128
resources/views/backend/sant/sant-chaturmas/edit.blade.php
Normal file
@@ -0,0 +1,128 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title','Chaturmas'.' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.sant.chaturmas.index', $sant->id) }}" class="text-muted">{{ __('breadcrumb.chaturmases') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.edit_chaturmas') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
Edit Chaturmas
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::model($chaturma, ['route' => ['admin.sant.chaturmas.update', $sant->id, $chaturma->id], 'method' => 'PATCH', 'id' => 'createSantChaturmasForm', 'files' => true]) }}
|
||||
@include('backend.sant.sant-chaturmas.partials._form')
|
||||
{{ Form::close() }}
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function demo1() {
|
||||
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
$("#createSantChaturmasForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
}
|
||||
});
|
||||
|
||||
var sants = "{{implode(',',$santName)}}";
|
||||
$('.approve-chaturmas').change(function() {
|
||||
if (this.checked && sants != "") {
|
||||
$('.approve-modal').show();
|
||||
}
|
||||
});
|
||||
|
||||
$('.agree').click(function() {
|
||||
$('.approve-modal').hide();
|
||||
});
|
||||
|
||||
$('.close-modal').click(function(e) {
|
||||
$('.approve-modal').hide();
|
||||
$('input:checked').removeAttr('checked');
|
||||
$('.approve-chaturmas').click();
|
||||
e.preventDefault();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
{{-- Google Map script --}}
|
||||
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAoZv-67UKDVz5Rp3fa3e2xcHunahFGKOc&libraries=places&callback=dummy"></script>
|
||||
<script>
|
||||
google.maps.event.addDomListener(window, 'load', initialize);
|
||||
function initialize() {
|
||||
var input = document.getElementById('place');
|
||||
var autocomplete = new google.maps.places.Autocomplete(input);
|
||||
autocomplete.addListener('place_changed', function () {
|
||||
var place = autocomplete.getPlace();
|
||||
$('#latitude_show').val(place.geometry['location'].lat());
|
||||
$('#longitude_show').val(place.geometry['location'].lng());
|
||||
$('#latitude').val(place.geometry['location'].lat());
|
||||
$('#longitude').val(place.geometry['location'].lng());
|
||||
$("#latitudeArea").removeAttr('hidden');
|
||||
$("#longtitudeArea").removeAttr('hidden');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
@endsection
|
||||
210
resources/views/backend/sant/sant-chaturmas/list.blade.php
Normal file
210
resources/views/backend/sant/sant-chaturmas/list.blade.php
Normal file
@@ -0,0 +1,210 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_chaturmas_table_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('public/js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.sant.index') }}" class="text-muted">{{ __('breadcrumb.sants') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.chaturmases') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header flex-wrap border-0 pt-6 pb-0">
|
||||
<div class="card-title">
|
||||
<h3>{{ $sant->name.'\'s' ?? "" }} {{ __('label.listing_chaturmas_table_title') }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-toolbar">
|
||||
<!--begin::Button-->
|
||||
<a href="{{ route('admin.sant.chaturmas.create',$sant->id) }}" class="btn btn-primary font-weight-bolder">
|
||||
<i class="fas fa-plus fa-sm"></i> {{ __('buttons.create_chaturmas') }}
|
||||
</a>
|
||||
<!--end::Button-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="mb-7">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12 col-xl-12">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
<label class="mr-3 mb-0 d-none d-md-block">{{ __('label.vihar_search_title')}}</label>
|
||||
{{ Form::text('name',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'title','title' => 'Enter Name']) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 my-md-0">
|
||||
<button class="btn btn-secondary btn-secondary--icon" id="kt_reset" style="display: none">
|
||||
<span>
|
||||
<i class="la la-close"></i>
|
||||
<span>{{ __('buttons.reset') }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin: Selected Rows Group Action Form-->
|
||||
<div class="mb-2 multiple-actions" id="checkboxActionDropdown">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="font-weight-bold text-danger mr-3">Selected
|
||||
<span id="datatableSelectedRecords">0</span> records:</div>
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger mr-2 action-type" data-value="delete">Delete All</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Selected Rows Group Action Form-->
|
||||
<div id="kt_datatable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer admin-table">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="datatable datatable-default datatable-bordered datatable-loaded">
|
||||
<table class="datatable-bordered datatable-head-custom datatable-table table-hover"
|
||||
id="users-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span style="width: 20px;">
|
||||
<label class="checkbox checkbox-single">
|
||||
<input type="checkbox"
|
||||
name="checkbox_action[]" id="checkbox-all"/> <span></span>
|
||||
</label>
|
||||
</span>
|
||||
</th>
|
||||
<th>Place</th>
|
||||
<th>Year</th>
|
||||
{{-- <th>From</th> --}}
|
||||
<th>Updated By</th>
|
||||
<th>Status</th>
|
||||
<th>Created At</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<!-- DataTables -->
|
||||
<script src="{{ asset('public/js/datatable/jquery.dataTables.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/dataTables.bootstrap4.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/datatable-skeleton.js?v='.time()) }}"></script>
|
||||
<script>
|
||||
|
||||
$(document).on('keyup', '#title', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#status', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '#kt_reset', function () {
|
||||
$('#kt_reset').hide();
|
||||
});
|
||||
|
||||
customDataTableWidget.configuration({
|
||||
element: '#users-table',
|
||||
listingUrl: "{{ route('admin.sant.chaturmas.get-listing', $sant->id) }}",
|
||||
{{--deleteUrl: "{{ route("admin.sant.chaturmas.destroy", $sant->id, ":id") }}",--}}
|
||||
multipleActionUrl: "{{ route('admin.sant.chaturmas.grid.records.action', $sant->id) }}",
|
||||
columns: [
|
||||
{
|
||||
data: 'checkbox_action',
|
||||
name: 'checkbox_action',
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
data: 'place',
|
||||
name: 'place',
|
||||
},
|
||||
{
|
||||
data: 'chaturmas_date_id',
|
||||
name: 'chaturmas_date_id',
|
||||
},
|
||||
// {
|
||||
// data: 'from',
|
||||
// name: 'from',
|
||||
// },
|
||||
{
|
||||
data: 'updated_by',
|
||||
name: 'updated_by',
|
||||
},
|
||||
{
|
||||
data: 'status',
|
||||
name: 'status',
|
||||
class: 'ws-nowrap'
|
||||
},
|
||||
{
|
||||
data:'created_at',
|
||||
name:'created_at'
|
||||
},
|
||||
{
|
||||
data: 'action',
|
||||
name: 'action',
|
||||
sortable: false,
|
||||
class:'text-right ws-nowrap action-col'
|
||||
}
|
||||
],
|
||||
search: [
|
||||
{
|
||||
key: 'name',
|
||||
type: 'text'
|
||||
}
|
||||
],
|
||||
defaultSortingIndex: 5,
|
||||
defaultSortingOrder: 'desc'
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
@@ -0,0 +1,89 @@
|
||||
<div class="card-body">
|
||||
|
||||
<div class="form-group row">
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.chaturmas_year') }}</label>
|
||||
{{ Form::select('chaturmas_date_id', $years, (isset($chaturma->chaturmas_date_id) && !empty($chaturma->chaturmas_date_id)) ? $chaturma->chaturmas_date_id : null,['class' => $errors->has('chaturmas_date_id') ? 'form-control selectpicker is-invalid year_id' : 'form-control selectpicker','title' => __('placeholder.chaturmas_year'),'data-live-search' => 'true','data-allow-clear' => 'true']) }}
|
||||
@error('chaturmas_date_id')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.chaturmas_place') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('place',$chaturma->place ?? $sanghAddress,['class' => $errors->has('place') ? 'form-control is-invalid' : 'form-control', 'id' => 'place', 'placeholder' => __('placeholder.chaturmas_place')]) }}
|
||||
@error('place')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6 mt-3" id="latitudeArea" hidden>
|
||||
<label>{{ __('label.latitude') }}</label>
|
||||
<input type="text" id="latitude_show" name="latitude_show" class="form-control" disabled>
|
||||
</div>
|
||||
<input type="hidden" id="latitude" name="latitude" class="form-control">
|
||||
|
||||
<div class="col-md-6 mt-3" id="longtitudeArea" hidden>
|
||||
<label>{{ __('label.longitude') }}</label>
|
||||
<input type="text" name="longitude_show" id="longitude_show" class="form-control" disabled>
|
||||
</div>
|
||||
<input type="hidden" name="longitude" id="longitude" class="form-control">
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-2 col-form-label">{{ __('label.is_approved') }}</label>
|
||||
<div class="col-3">
|
||||
<span class="switch switch-outline switch-icon switch-primary">
|
||||
<label>
|
||||
{{ Form::checkbox('is_approved', $chaturma->is_approved ?? 1, isset($chaturma->is_approved) && $chaturma->is_approved == 1 ? 'checked' : '', ['class' => 'approve-chaturmas']) }}
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<button type="submit" name="save" value="save" class="btn btn-primary mr-2">
|
||||
@if(\Request::route()->getName() == 'admin.sant.edit')
|
||||
{{ __('buttons.update') }}
|
||||
@else
|
||||
{{ __('buttons.save') }}
|
||||
@endif
|
||||
</button>
|
||||
<a href="{{ route('admin.sant.chaturmas.index', $sant->id) }}" class="btn btn-secondary">{{ __('buttons.cancel') }}</a>
|
||||
</div>
|
||||
|
||||
<div class="approve-modal" style="display: none;">
|
||||
<div class="swal2-container swal2-center swal2-backdrop-show" style="overflow-y: auto;">
|
||||
<div aria-labelledby="swal2-title" aria-describedby="swal2-content"
|
||||
class="swal2-popup swal2-modal swal2-icon-warning swal2-show" tabindex="-1" role="dialog" aria-live="assertive"
|
||||
aria-modal="true" style="display: flex;">
|
||||
<div class="swal2-header">
|
||||
<ul class="swal2-progress-steps" style="display: none;"></ul>
|
||||
<div class="swal2-icon swal2-error" style="display: none;"></div>
|
||||
<div class="swal2-icon swal2-question" style="display: none;"></div>
|
||||
<div class="swal2-icon swal2-warning swal2-icon-show" style="display: flex;">
|
||||
<div class="swal2-icon-content">!</div>
|
||||
</div>
|
||||
<div class="swal2-icon swal2-info" style="display: none;"></div>
|
||||
<div class="swal2-icon swal2-success" style="display: none;"></div><img class="swal2-image"
|
||||
style="display: none;">
|
||||
<h2 class="swal2-title" id="swal2-title" style="display: flex;">Are you sure?</h2>
|
||||
<button type="button" class="swal2-close" aria-label="Close this dialog" style="display: none;">×</button>
|
||||
</div>
|
||||
<div class="mt-3" style="text-align: center;">
|
||||
<p>This will also approve chaturmas of following sants: <b>{!! isset($santName) ? implode(",<br>",$santName) : null !!}</b></p>
|
||||
</div>
|
||||
<div class="swal2-actions">
|
||||
<button type="button" class="swal2-cancel swal2-styled close-modal" aria-label="" style="display: inline-block;">No, cancel!</button>
|
||||
<button type="button" class="swal2-confirm swal2-styled agree" aria-label="" style="display: inline-block; border-left-color: rgb(48, 133, 214); border-right-color: rgb(48, 133, 214);">
|
||||
Yes, approve it!</button>
|
||||
</div>
|
||||
<div class="swal2-footer" style="display: none;"></div>
|
||||
<div class="swal2-timer-progress-bar-container">
|
||||
<div class="swal2-timer-progress-bar" style="display: none;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
199
resources/views/backend/sant/sant-vihar/create.blade.php
Normal file
199
resources/views/backend/sant/sant-vihar/create.blade.php
Normal file
@@ -0,0 +1,199 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.create_vihar_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.sant.vihar.index', $sant->id) }}" class="text-muted">{{ __('breadcrumb.vihar') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.add_vihar') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.create_vihar_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::open(['route' => ['admin.sant.vihar.store', $sant->id], 'id' => 'createViharForm', 'files' => true]) }}
|
||||
@include('backend.sant.sant-vihar.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function demo1() {
|
||||
|
||||
$('#start_time, #end_time').timepicker().on('changeTime.timepicker', function(e) {
|
||||
let timePicked = $(this).val();
|
||||
// only H:i
|
||||
(timePicked.length < 5) ? $(this).val("0" + timePicked) : '';
|
||||
});
|
||||
|
||||
$.validator.addMethod('validDate', function (value, element) {
|
||||
return this.optional(element) || /^(0?[1-9]|1[012])[ /](0?[1-9]|[12][0-9]|3[01])[ /][0-9]{4}$/.test(value);
|
||||
}, 'Please provide a date in the mm/dd/yyyy format');
|
||||
|
||||
$.validator.addMethod('dateBefore', function (value, element, params) {
|
||||
// if end date is valid, validate it as well
|
||||
var end = $(params);
|
||||
if (!end.data('validation.running')) {
|
||||
$(element).data('validation.running', true);
|
||||
setTimeout($.proxy(
|
||||
|
||||
function () {
|
||||
this.element(end);
|
||||
}, this), 0);
|
||||
// Ensure clearing the 'flag' happens after the validation of 'end' to prevent endless looping
|
||||
setTimeout(function () {
|
||||
$(element).data('validation.running', false);
|
||||
}, 0);
|
||||
}
|
||||
return this.optional(element) || this.optional(end[0]) || new Date(value) < new Date(end.val());
|
||||
|
||||
}, 'Must be before corresponding end date');
|
||||
|
||||
$.validator.addMethod('dateAfter', function (value, element, params) {
|
||||
// if start date is valid, validate it as well
|
||||
var start = $(params);
|
||||
if (!start.data('validation.running')) {
|
||||
$(element).data('validation.running', true);
|
||||
setTimeout($.proxy(
|
||||
|
||||
function () {
|
||||
this.element(start);
|
||||
}, this), 0);
|
||||
setTimeout(function () {
|
||||
$(element).data('validation.running', false);
|
||||
}, 0);
|
||||
}
|
||||
return this.optional(element) || this.optional(start[0]) || new Date(value) > new Date($(params).val());
|
||||
|
||||
}, 'Must be after corresponding Start date');
|
||||
}
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
$("#createViharForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
from: {
|
||||
required: true,
|
||||
},
|
||||
to: {
|
||||
required: true,
|
||||
},
|
||||
start_date: {
|
||||
dateBefore: '#end_date',
|
||||
required: true
|
||||
},
|
||||
// end_date: {
|
||||
// dateAfter: '#start_date',
|
||||
// required: true
|
||||
// },
|
||||
start_time: {
|
||||
required: true
|
||||
}
|
||||
// end_time: {
|
||||
// required: true
|
||||
// }
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
},
|
||||
errorPlacement: function ( error, element ) {
|
||||
if(element.parent().hasClass('input-group')){
|
||||
error.insertAfter( element.parent() );
|
||||
} else{
|
||||
error.insertAfter( element );
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
{{-- Google Map script --}}
|
||||
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAoZv-67UKDVz5Rp3fa3e2xcHunahFGKOc&libraries=places&callback=dummy"></script>
|
||||
<script>
|
||||
google.maps.event.addDomListener(window, 'load', initialize);
|
||||
function initialize() {
|
||||
var from = document.getElementById('from');
|
||||
var to = document.getElementById('to');
|
||||
var fromautocomplete = new google.maps.places.Autocomplete(from);
|
||||
var toautocomplete = new google.maps.places.Autocomplete(to);
|
||||
|
||||
fromautocomplete.addListener('place_changed', function () {
|
||||
var fromplace = fromautocomplete.getPlace();
|
||||
$('#from_latitude_show').val(fromplace.geometry['location'].lat());
|
||||
$('#from_longitude_show').val(fromplace.geometry['location'].lng());
|
||||
|
||||
$('#from_latitude').val(fromplace.geometry['location'].lat());
|
||||
$('#from_longitude').val(fromplace.geometry['location'].lng());
|
||||
|
||||
$("#fromLatitudeArea").removeAttr('hidden');
|
||||
$("#fromLongtitudeArea").removeAttr('hidden');
|
||||
});
|
||||
|
||||
toautocomplete.addListener('place_changed', function () {
|
||||
var toplace = toautocomplete.getPlace();
|
||||
$('#to_latitude_show').val(toplace.geometry['location'].lat());
|
||||
$('#to_longitude_show').val(toplace.geometry['location'].lng());
|
||||
|
||||
$('#to_latitude').val(toplace.geometry['location'].lat());
|
||||
$('#to_longitude').val(toplace.geometry['location'].lng());
|
||||
|
||||
$("#toLatitudeArea").removeAttr('hidden');
|
||||
$("#toLongtitudeArea").removeAttr('hidden');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
@endsection
|
||||
205
resources/views/backend/sant/sant-vihar/edit.blade.php
Normal file
205
resources/views/backend/sant/sant-vihar/edit.blade.php
Normal file
@@ -0,0 +1,205 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.update_vihar_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.sant.vihar.index', $sant->id) }}" class="text-muted">{{ __('breadcrumb.vihar') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.edit_vihar') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.update_vihar_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::model($vihar,['route' => ['admin.sant.vihar.update', $sant->id, $vihar->id],'method' => 'PATCH','id' => 'updateViharForm', 'files' => true]) }}
|
||||
@include('backend.sant.sant-vihar.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
function demo1() {
|
||||
|
||||
$('#start_time, #end_time').timepicker().on('changeTime.timepicker', function(e) {
|
||||
let timePicked = $(this).val();
|
||||
// only H:i
|
||||
(timePicked.length < 5) ? $(this).val("0" + timePicked) : '';
|
||||
});
|
||||
|
||||
$.validator.addMethod('validDate', function (value, element) {
|
||||
return this.optional(element) || /^(0?[1-9]|1[012])[ /](0?[1-9]|[12][0-9]|3[01])[ /][0-9]{4}$/.test(value);
|
||||
}, 'Please provide a date in the mm/dd/yyyy format');
|
||||
|
||||
$.validator.addMethod('dateBefore', function (value, element, params) {
|
||||
// if end date is valid, validate it as well
|
||||
var end = $(params);
|
||||
if (!end.data('validation.running')) {
|
||||
$(element).data('validation.running', true);
|
||||
setTimeout($.proxy(
|
||||
|
||||
function () {
|
||||
this.element(end);
|
||||
}, this), 0);
|
||||
// Ensure clearing the 'flag' happens after the validation of 'end' to prevent endless looping
|
||||
setTimeout(function () {
|
||||
$(element).data('validation.running', false);
|
||||
}, 0);
|
||||
}
|
||||
return this.optional(element) || this.optional(end[0]) || new Date(value) < new Date(end.val());
|
||||
|
||||
}, 'Must be before corresponding to date');
|
||||
|
||||
$.validator.addMethod('dateAfter', function (value, element, params) {
|
||||
// if start date is valid, validate it as well
|
||||
var start = $(params);
|
||||
if (!start.data('validation.running')) {
|
||||
$(element).data('validation.running', true);
|
||||
setTimeout($.proxy(
|
||||
|
||||
function () {
|
||||
this.element(start);
|
||||
}, this), 0);
|
||||
setTimeout(function () {
|
||||
$(element).data('validation.running', false);
|
||||
}, 0);
|
||||
}
|
||||
return this.optional(element) || this.optional(start[0]) || new Date(value) > new Date($(params).val());
|
||||
|
||||
}, 'Must be after corresponding from date');
|
||||
|
||||
$("#updateViharForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
from: {
|
||||
required: true,
|
||||
},
|
||||
to: {
|
||||
required: true,
|
||||
},
|
||||
start_date: {
|
||||
dateBefore: '#end_date',
|
||||
required: true
|
||||
},
|
||||
// end_date: {
|
||||
// dateAfter: '#start_date',
|
||||
// required: true
|
||||
// },
|
||||
start_time: {
|
||||
required: true
|
||||
}
|
||||
// end_time: {
|
||||
// required: true
|
||||
// }
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
},
|
||||
errorPlacement: function ( error, element ) {
|
||||
if(element.parent().hasClass('input-group')){
|
||||
error.insertAfter( element.parent() );
|
||||
} else{
|
||||
error.insertAfter( element );
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
demo1();
|
||||
let start_time = $("#start_time").val();
|
||||
let end_time = $("#end_time").val();
|
||||
// only H:i
|
||||
(start_time.length < 5) ? $("#start_time").val("0" + start_time) : '';
|
||||
(end_time.length < 5) ? $("#end_time").val("0" + end_time) : '';
|
||||
});
|
||||
</script>
|
||||
<script src="{{ asset('/js/pages/crud/forms/widgets/bootstrap-switch.js?v=7.2.8') }}"></script>
|
||||
|
||||
{{-- Google Map script --}}
|
||||
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAoZv-67UKDVz5Rp3fa3e2xcHunahFGKOc&libraries=places&callback=dummy"></script>
|
||||
<script>
|
||||
google.maps.event.addDomListener(window, 'load', initialize);
|
||||
function initialize() {
|
||||
var from = document.getElementById('from');
|
||||
var to = document.getElementById('to');
|
||||
var fromautocomplete = new google.maps.places.Autocomplete(from);
|
||||
var toautocomplete = new google.maps.places.Autocomplete(to);
|
||||
|
||||
fromautocomplete.addListener('place_changed', function () {
|
||||
var fromplace = fromautocomplete.getPlace();
|
||||
$('#from_latitude_show').val(fromplace.geometry['location'].lat());
|
||||
$('#from_longitude_show').val(fromplace.geometry['location'].lng());
|
||||
|
||||
$('#from_latitude').val(fromplace.geometry['location'].lat());
|
||||
$('#from_longitude').val(fromplace.geometry['location'].lng());
|
||||
|
||||
$("#fromLatitudeArea").removeAttr('hidden');
|
||||
$("#fromLongtitudeArea").removeAttr('hidden');
|
||||
});
|
||||
|
||||
toautocomplete.addListener('place_changed', function () {
|
||||
var toplace = toautocomplete.getPlace();
|
||||
$('#to_latitude_show').val(toplace.geometry['location'].lat());
|
||||
$('#to_longitude_show').val(toplace.geometry['location'].lng());
|
||||
|
||||
$('#to_latitude').val(toplace.geometry['location'].lat());
|
||||
$('#to_longitude').val(toplace.geometry['location'].lng());
|
||||
|
||||
$("#toLatitudeArea").removeAttr('hidden');
|
||||
$("#toLongtitudeArea").removeAttr('hidden');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
@endsection
|
||||
198
resources/views/backend/sant/sant-vihar/list.blade.php
Normal file
198
resources/views/backend/sant/sant-vihar/list.blade.php
Normal file
@@ -0,0 +1,198 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_vihar_table_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('public/js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-muted">{{ __('breadcrumb.dashboard') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.sant.index') }}" class="text-muted">{{ __('breadcrumb.sants') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
{{ __('breadcrumb.vihar') }}
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header flex-wrap border-0 pt-6 pb-0">
|
||||
<div class="card-title">
|
||||
<h3>{{ $sant->name.'\'s' ?? "" }} {{ __('label.listing_vihar_table_title') }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-toolbar">
|
||||
<!--begin::Button-->
|
||||
<a href="{{ route('admin.sant.vihar.create', $sant->id) }}" class="btn btn-primary font-weight-bolder">
|
||||
<i class="fas fa-plus fa-sm"></i> {{ __('buttons.create_vihar') }}
|
||||
</a>
|
||||
<!--end::Button-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="mb-7">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12 col-xl-12">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
<label class="mr-3 mb-0 d-none d-md-block">{{ __('label.vihar_search_title')}}</label>
|
||||
{{ Form::text('from',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'title','title' => __('placeholder.vihar_search_title_placeholder')]) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 my-md-0">
|
||||
<button class="btn btn-secondary btn-secondary--icon" id="kt_reset" style="display: none">
|
||||
<span>
|
||||
<i class="la la-close"></i>
|
||||
<span>{{ __('buttons.reset') }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin: Selected Rows Group Action Form-->
|
||||
<div class="mb-2 multiple-actions" id="checkboxActionDropdown">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="font-weight-bold text-danger mr-3">Selected
|
||||
<span id="datatableSelectedRecords">0</span> records:</div>
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger mr-2 action-type" data-value="delete">Delete All</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Selected Rows Group Action Form-->
|
||||
<div id="kt_datatable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer admin-table">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="datatable datatable-default datatable-bordered datatable-loaded">
|
||||
<table class="datatable-bordered datatable-head-custom datatable-table table-hover"
|
||||
id="vihars-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span style="width: 20px;">
|
||||
<label class="checkbox checkbox-single">
|
||||
<input type="checkbox"
|
||||
name="checkbox_action[]" id="checkbox-all"/> <span></span>
|
||||
</label>
|
||||
</span>
|
||||
</th>
|
||||
<th>{{ __('label.vihar_listing_heading_3') }}</th>
|
||||
<th>{{ __('label.vihar_listing_heading_4') }}</th>
|
||||
<th>{{ __('label.vihar_listing_heading_5') }}</th>
|
||||
<th>{{ __('label.vihar_listing_heading_7') }}</th>
|
||||
<th>{{ __('label.created_at') }}</th>
|
||||
<th>{{ __('label.vihar_listing_heading_9') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<!-- DataTables -->
|
||||
<script src="{{ asset('public/js/datatable/jquery.dataTables.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/dataTables.bootstrap4.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/datatable-skeleton.js?v='.time()) }}"></script>
|
||||
<script>
|
||||
|
||||
$(document).on('keyup', '#title', function () {
|
||||
if ($('#title').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '#kt_reset', function () {
|
||||
$('#kt_reset').hide();
|
||||
});
|
||||
|
||||
customDataTableWidget.configuration({
|
||||
element: '#vihars-table',
|
||||
listingUrl: "{{ route('admin.sant.vihar.get-listing', $sant->id) }}",
|
||||
deleteUrl: "{{ route('admin.sant.vihar.get-listing', $sant->id, ":id") }}",
|
||||
multipleActionUrl: "{{ route('admin.sant.vihar.grid.records.action', $sant->id) }}",
|
||||
columns: [
|
||||
{
|
||||
data: 'checkbox_action',
|
||||
name: 'checkbox_action',
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
data: 'from',
|
||||
name: 'from',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'to',
|
||||
name: 'to',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'start_date',
|
||||
name: 'start_date',
|
||||
},
|
||||
{
|
||||
data: 'start_time',
|
||||
name: 'start_time',
|
||||
},
|
||||
{
|
||||
data: 'created_at',
|
||||
name: 'created_at',
|
||||
},
|
||||
{
|
||||
data: 'action',
|
||||
name: 'action',
|
||||
sortable: false,
|
||||
class:'text-right ws-nowrap action-col'
|
||||
}
|
||||
],
|
||||
search: [
|
||||
{
|
||||
key: 'from',
|
||||
type: 'text'
|
||||
},
|
||||
],
|
||||
defaultSortingIndex: 3,
|
||||
defaultSortingOrder: 'desc'
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
102
resources/views/backend/sant/sant-vihar/partials/_form.blade.php
Normal file
102
resources/views/backend/sant/sant-vihar/partials/_form.blade.php
Normal file
@@ -0,0 +1,102 @@
|
||||
<div class="card-body">
|
||||
|
||||
<div class="form-group row">
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.vihar_from') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('from',null,['class' => $errors->has('from') ? 'form-control is-invalid' : 'form-control', 'id' => 'from','placeholder' => __('placeholder.vihar_from')]) }}
|
||||
@error('from')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.vihar_to') }} <span class="text-danger">*</span></label>
|
||||
{{ Form::text('to',null,['class' => $errors->has('to') ? 'form-control is-invalid' : 'form-control', 'id' => 'to','placeholder' => __('placeholder.vihar_to')]) }}
|
||||
@error('to')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6 mt-3" id="fromLatitudeArea" hidden>
|
||||
<label>{{ __('label.from_latitude') }}</label>
|
||||
<input type="text" id="from_latitude_show" name="from_latitude_show" class="form-control" disabled>
|
||||
</div>
|
||||
<input type="hidden" id="from_latitude" name="from_latitude" class="form-control">
|
||||
|
||||
<div class="col-md-6 mt-3" id="fromLongtitudeArea" hidden>
|
||||
<label>{{ __('label.from_longitude') }}</label>
|
||||
<input type="text" name="from_longitude_show" id="from_longitude_show" class="form-control" disabled>
|
||||
</div>
|
||||
<input type="hidden" name="from_longitude" id="from_longitude" class="form-control">
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6 mt-3" id="toLatitudeArea" hidden>
|
||||
<label>{{ __('label.to_latitude') }}</label>
|
||||
<input type="text" id="to_latitude_show" name="to_latitude_show" class="form-control" disabled>
|
||||
</div>
|
||||
<input type="hidden" id="to_latitude" name="to_latitude" class="form-control">
|
||||
|
||||
<div class="col-md-6 mt-3" id="toLongtitudeArea" hidden>
|
||||
<label>{{ __('label.to_longitude') }}</label>
|
||||
<input type="text" name="to_longitude_show" id="to_longitude_show" class="form-control" disabled>
|
||||
</div>
|
||||
<input type="hidden" name="to_longitude" id="to_longitude" class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.vihar_start_date') }} <span class="text-danger">*</span></label>
|
||||
<div class="input-group date">
|
||||
{{ Form::text('start_date',null,['id' => 'start_date', 'autocomplete' => 'off','class' => $errors->has('start_date') ? 'form-control date-picker is-invalid' : 'form-control date-picker','placeholder' => __('placeholder.vihar_start_date')]) }}
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text">
|
||||
<i class="fas fa-calendar-alt"></i>
|
||||
</span>
|
||||
</div>
|
||||
@error('start_date')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.vihar_start_time') }} <span class="text-danger">*</span></label>
|
||||
<div class="input-group">
|
||||
{{ Form::text('start_time',null,['id' => 'start_time', 'autocomplete' => 'off', 'readonly' => 'readonly','class' => $errors->has('start_time') ? 'form-control time-vihar is-invalid' : 'form-control','placeholder' => __('placeholder.vihar_start_time')]) }}
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text">
|
||||
<i class="fas fa-clock"></i>
|
||||
</span>
|
||||
</div>
|
||||
@error('start_time')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-2 col-form-label">{{ __('label.is_approved') }}</label>
|
||||
<div class="col-3">
|
||||
<span class="switch switch-outline switch-icon switch-primary">
|
||||
<label>
|
||||
{{ Form::checkbox('is_approved', $vihar->is_approved ?? null, isset($vihar->is_approved) && $vihar->is_approved == 1 ? 'checked' : 'checked') }}
|
||||
<span></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<button type="submit" name="save" value="save" class="btn btn-primary mr-2">
|
||||
@if(\Request::route()->getName() == 'admin.sant.vihar.edit')
|
||||
{{ __('buttons.update') }}
|
||||
@else
|
||||
{{ __('buttons.save') }}
|
||||
@endif
|
||||
</button>
|
||||
<a href="{{ route('admin.sant.vihar.index', $sant->id) }}" class="btn btn-secondary">{{ __('buttons.cancel') }}</a>
|
||||
</div>
|
||||
157
resources/views/backend/user/create.blade.php
Normal file
157
resources/views/backend/user/create.blade.php
Normal file
@@ -0,0 +1,157 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.create_user_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<!-- <ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ route('admin.user.index') }}" class="text-muted">{{ __('breadcrumb.users') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.user.create') }}" class="text-muted">{{ __('breadcrumb.create_user') }}</a>
|
||||
</li>
|
||||
</ul> -->
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.create_user_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::open(['route' => 'admin.user.store','id' => 'createUserForm', 'files' => true]) }}
|
||||
@include('backend.user.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
$('.datepicker').datepicker({
|
||||
format: 'yyyy-mm-dd',
|
||||
});
|
||||
|
||||
$(document).ready(function () {
|
||||
$("#createUserForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
},
|
||||
email: {
|
||||
required: true,
|
||||
},
|
||||
mobile: {
|
||||
required: true,
|
||||
},
|
||||
avatar: {
|
||||
required: true,
|
||||
extension: "jpg|jpeg|png",
|
||||
},
|
||||
gender: {
|
||||
required: true,
|
||||
},
|
||||
dharma_id: {
|
||||
required: true,
|
||||
},
|
||||
jati_id: {
|
||||
required: true,
|
||||
},
|
||||
profession: {
|
||||
required: true,
|
||||
},
|
||||
profession_speciality: {
|
||||
required: true,
|
||||
},
|
||||
/*native_place: {
|
||||
required: true,
|
||||
},
|
||||
current_location: {
|
||||
required: true,
|
||||
}*/
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
var maxFileLimit = 5 * 1000000;
|
||||
$(document).on('change', '.avatar-image', function () {
|
||||
viewAvatarImage(this);
|
||||
$('.is_remove_avatar_image').val(1);
|
||||
});
|
||||
function viewAvatarImage(input) {
|
||||
if (input.files && input.files[0]) {
|
||||
var file = input.files[0];
|
||||
if (file.size < maxFileLimit) {
|
||||
var fileType = file["type"];
|
||||
var validImageTypes = ["image/jpg", "image/jpeg", "image/png"];
|
||||
if ($.inArray(fileType, validImageTypes) > 0) {
|
||||
// invalid file type code goes here.
|
||||
var reader = new FileReader();
|
||||
reader.onload = function (e) {
|
||||
$('.avatar-image-preview').attr('src', e.target.result);
|
||||
$('.avatar-image-preview-div').css('display', 'flex');
|
||||
}
|
||||
reader.readAsDataURL(input.files[0]);
|
||||
} else {
|
||||
$('.avatar-image').val('');
|
||||
$('#avatar-custom-file-label').text('{{ __("label.choose_image") }}');
|
||||
toastr.error('{{ __("label.image_type") }}');
|
||||
}
|
||||
} else {
|
||||
$('.avatar-image').val('');
|
||||
$('#avatar-custom-file-label').text('{{ __("label.choose_image") }}');
|
||||
toastr.error('{{ __("label.max_image_size") }}');
|
||||
}
|
||||
}
|
||||
}
|
||||
$(document).on('click', '.avatar-image-remove-button', function () {
|
||||
$('.is_remove_avatar_image').val(1);
|
||||
$('.avatar-image').val('');
|
||||
$('.avatar-image-preview-div').css('display', 'none');
|
||||
$('#avatar-custom-file-label').text('{{ __("label.choose_image") }}');
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
162
resources/views/backend/user/edit.blade.php
Normal file
162
resources/views/backend/user/edit.blade.php
Normal file
@@ -0,0 +1,162 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.update_user_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<!-- <ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ route('admin.user.index') }}" class="text-muted">{{ __('breadcrumb.users') }}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="javascript:void(0);" class="text-muted">{{ __('breadcrumb.update_user') }}</a>
|
||||
</li>
|
||||
</ul> -->
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
{{ __('label.update_user_form_title') }}
|
||||
</h3>
|
||||
<div class="card-toolbar">
|
||||
<div class="example-tools justify-content-center">
|
||||
<span class="example-toggle" data-toggle="tooltip" title="View code"></span>
|
||||
<span class="example-copy" data-toggle="tooltip" title="Copy code"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Form-->
|
||||
{{ Form::model($user,['route' => ['admin.user.update', $user->id],'method' => 'PATCH','id' => 'updateUserForm', 'files' => true]) }}
|
||||
@include('backend.user.partials._form')
|
||||
{{ Form::close() }}
|
||||
|
||||
<!--end::Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
@component('backend.layouts.components.validation')@endcomponent
|
||||
<script>
|
||||
|
||||
$('.datepicker').datepicker({
|
||||
format: 'yyyy-mm-dd',
|
||||
});
|
||||
|
||||
$(document).ready(function () {
|
||||
$("#updateUserForm").validate({
|
||||
errorClass: 'is-invalid',
|
||||
normalizer: function(value) {
|
||||
return $.trim(value);
|
||||
},
|
||||
rules: {
|
||||
name: {
|
||||
required: true,
|
||||
},
|
||||
email: {
|
||||
required: true,
|
||||
},
|
||||
mobile: {
|
||||
required: true,
|
||||
},
|
||||
avatar: {
|
||||
required: true,
|
||||
extension: "jpg|jpeg|png",
|
||||
},
|
||||
gender: {
|
||||
required: true,
|
||||
},
|
||||
dharma_id: {
|
||||
required: true,
|
||||
},
|
||||
jati_id: {
|
||||
required: true,
|
||||
},
|
||||
profession: {
|
||||
required: true,
|
||||
},
|
||||
speciality_of_profession: {
|
||||
required: true,
|
||||
},
|
||||
native_place: {
|
||||
required: true,
|
||||
},
|
||||
current_location: {
|
||||
required: true,
|
||||
},
|
||||
status: {
|
||||
required:true,
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
// "eager" validation
|
||||
// this.element(element);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
var maxFileLimit = 5 * 1000000;
|
||||
$(document).on('change', '.avatar-image', function () {
|
||||
viewAvatarImage(this);
|
||||
$('.is_remove_avatar_image').val(1);
|
||||
});
|
||||
function viewAvatarImage(input) {
|
||||
if (input.files && input.files[0]) {
|
||||
var file = input.files[0];
|
||||
if (file.size < maxFileLimit) {
|
||||
var fileType = file["type"];
|
||||
var validImageTypes = ["image/jpg", "image/jpeg", "image/png"];
|
||||
if ($.inArray(fileType, validImageTypes) > 0) {
|
||||
// invalid file type code goes here.
|
||||
var reader = new FileReader();
|
||||
reader.onload = function (e) {
|
||||
$('.avatar-image-preview').attr('src', e.target.result);
|
||||
$('.avatar-image-preview-div').css('display', 'flex');
|
||||
}
|
||||
reader.readAsDataURL(input.files[0]);
|
||||
} else {
|
||||
$('.avatar-image').val('');
|
||||
$('#avatar-custom-file-label').text('{{ __("label.choose_image") }}');
|
||||
toastr.error('{{ __("label.image_type") }}');
|
||||
}
|
||||
} else {
|
||||
$('.avatar-image').val('');
|
||||
$('#avatar-custom-file-label').text('{{ __("label.choose_image") }}');
|
||||
toastr.error('{{ __("label.max_image_size") }}');
|
||||
}
|
||||
}
|
||||
}
|
||||
$(document).on('click', '.avatar-image-remove-button', function () {
|
||||
$('.is_remove_avatar_image').val(1);
|
||||
$('.avatar-image').val('');
|
||||
$('.avatar-image-preview-div').css('display', 'none');
|
||||
$('#avatar-custom-file-label').text('{{ __("label.choose_image") }}');
|
||||
});
|
||||
|
||||
</script>
|
||||
<script src="{{ asset('/js/pages/crud/forms/widgets/bootstrap-switch.js?v=7.2.8') }}"></script>
|
||||
@endsection
|
||||
222
resources/views/backend/user/list.blade.php
Normal file
222
resources/views/backend/user/list.blade.php
Normal file
@@ -0,0 +1,222 @@
|
||||
@extends('backend.layouts.app')
|
||||
|
||||
@section('title',__('label.listing_user_page_title').' | '.env('APP_NAME'))
|
||||
|
||||
@push('after-styles')
|
||||
<!-- DataTables -->
|
||||
<link href="{{ asset('public/js/datatable/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css"/>
|
||||
@endpush
|
||||
|
||||
@section('breadcrumb')
|
||||
<div class="subheader py-2 py-lg-4 subheader-solid" id="kt_subheader">
|
||||
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
||||
<!--begin::Info-->
|
||||
<div class="d-flex align-items-center flex-wrap mr-1">
|
||||
<!--begin::Page Heading-->
|
||||
<div class="d-flex align-items-baseline mr-5">
|
||||
<!--begin::Page Title-->
|
||||
<!--end::Page Title-->
|
||||
<!--begin::Breadcrumb-->
|
||||
<ul class="breadcrumb breadcrumb-transparent breadcrumb-dot font-weight-bold p-0 my-2 font-size-sm">
|
||||
<li class="breadcrumb-item active">
|
||||
<a href="{{ route('admin.user.index') }}"
|
||||
class="text-muted">{{ __('breadcrumb.users') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!--end::Breadcrumb-->
|
||||
</div>
|
||||
<!--end::Page Heading-->
|
||||
</div>
|
||||
<!--end::Info-->
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<div class="card card-custom">
|
||||
<div class="card-header flex-wrap border-0 pt-6 pb-0">
|
||||
<div class="card-title">
|
||||
<h3>{{ __('label.listing_user_table_title') }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-toolbar">
|
||||
<!--begin::Button-->
|
||||
<a href="{{ route('admin.user.create') }}" class="btn btn-primary font-weight-bolder">
|
||||
<i class="fas fa-plus fa-sm"></i> {{ __('buttons.create_user') }}
|
||||
</a>
|
||||
<!--end::Button-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="mb-7">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-12 col-xl-12">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
<label class="mr-3 mb-0 d-none d-md-block">{{ __('label.user_search_title')}}</label>
|
||||
{{ Form::text('name',null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'title','title' => __('placeholder.user_search_title_placeholder')]) }}
|
||||
</div>
|
||||
</div>
|
||||
{{-- <div class="col-md-3 my-2 my-md-0">
|
||||
<div class="d-flex align-items-center">
|
||||
<label class="mr-3 mb-0 d-none d-md-block">{{ __('label.status')}}</label>
|
||||
{{ Form::select('status',['1' => 'Active','0' => 'Inactive'],null,['class' => 'form-control selectpicker datatable-input change-action','id' => 'status','title' => __('placeholder.select_status')]) }}
|
||||
</div>
|
||||
</div> --}}
|
||||
<div class="col-md-3 my-md-0">
|
||||
<button class="btn btn-secondary btn-secondary--icon" id="kt_reset" style="display: none">
|
||||
<span>
|
||||
<i class="la la-close"></i>
|
||||
<span>{{ __('buttons.reset') }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin: Selected Rows Group Action Form-->
|
||||
<div class="mb-2 multiple-actions" id="checkboxActionDropdown">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="font-weight-bold text-danger mr-3">Selected
|
||||
<span id="datatableSelectedRecords">0</span> records:</div>
|
||||
{{--<div class="dropdown mr-2">
|
||||
<button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown">{{ __('label.update_action') }}</button>
|
||||
<div class="dropdown-menu dropdown-menu-sm">
|
||||
<ul class="nav nav-hover flex-column">
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(0);" data-value="active" class="nav-link action-type">
|
||||
<span class="nav-text">{{ __('label.active') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(0);" data-value="inactive" class="nav-link action-type">
|
||||
<span class="nav-text">{{ __('label.inactive') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div> --}}
|
||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger mr-2 action-type" data-value="delete">Delete All</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--end: Selected Rows Group Action Form-->
|
||||
<div id="kt_datatable_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer admin-table">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="datatable datatable-default datatable-bordered datatable-loaded">
|
||||
<table class="datatable-bordered datatable-head-custom datatable-table table-hover"
|
||||
id="users-table">
|
||||
<thead>
|
||||
<tr>
|
||||
{{---<th>
|
||||
<span style="width: 20px;">
|
||||
<label class="checkbox checkbox-single">
|
||||
<input type="checkbox"
|
||||
name="checkbox_action[]" id="checkbox-all"/> <span></span>
|
||||
</label>
|
||||
</span>
|
||||
</th> --}}
|
||||
<th>{{ __('label.user_listing_heading_2') }}</th>
|
||||
<th>{{ __('label.user_listing_heading_3') }}</th>
|
||||
{{--<th>{{ __('label.user_listing_heading_4') }}</th> --}}
|
||||
<th>{{ __('label.created_at') }}</th>
|
||||
<th>{{ __('label.user_listing_heading_5') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('after-scripts')
|
||||
<!-- DataTables -->
|
||||
<script src="{{ asset('public/js/datatable/jquery.dataTables.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/dataTables.bootstrap4.min.js') }}"></script>
|
||||
<script src="{{ asset('public/js/datatable/datatable-skeleton.js?v='.time()) }}"></script>
|
||||
<script>
|
||||
|
||||
$(document).on('keyup', '#title', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#status', function () {
|
||||
if ($('#title').val() === '' && $('#status').val() === '') {
|
||||
$('#kt_reset').hide();
|
||||
} else {
|
||||
$('#kt_reset').show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '#kt_reset', function () {
|
||||
$('#kt_reset').hide();
|
||||
});
|
||||
|
||||
customDataTableWidget.configuration({
|
||||
element: '#users-table',
|
||||
listingUrl: "{{ route('admin.user.get-listing') }}",
|
||||
deleteUrl: "{{ route("admin.user.destroy", ":id") }}",
|
||||
multipleActionUrl: "{{ route('admin.user.grid.records.action') }}",
|
||||
columns: [
|
||||
/* {
|
||||
data: 'checkbox_action',
|
||||
name: 'checkbox_action',
|
||||
sortable: false
|
||||
},*/
|
||||
{
|
||||
data: 'name',
|
||||
name: 'name',
|
||||
searchable: true
|
||||
},
|
||||
{
|
||||
data: 'email',
|
||||
name: 'email'
|
||||
},
|
||||
/* {
|
||||
data: 'status',
|
||||
name: 'status',
|
||||
},*/
|
||||
{
|
||||
data: 'created_at',
|
||||
name: 'created_at',
|
||||
},
|
||||
{
|
||||
data: 'action',
|
||||
name: 'action',
|
||||
sortable: false,
|
||||
class:'text-right ws-nowrap action-col'
|
||||
}
|
||||
],
|
||||
search: [
|
||||
/*{
|
||||
key: 'status',
|
||||
type: 'select'
|
||||
},*/
|
||||
{
|
||||
key: 'name',
|
||||
type: 'text'
|
||||
}
|
||||
],
|
||||
defaultSortingIndex: 1,
|
||||
defaultSortingOrder: 'desc'
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
140
resources/views/backend/user/partials/_form.blade.php
Normal file
140
resources/views/backend/user/partials/_form.blade.php
Normal file
@@ -0,0 +1,140 @@
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.user_full_name') }}<span class="text-danger">*</span></label>
|
||||
{{ Form::text('name',null,['class' => $errors->has('name') ? 'form-control is-invalid' : 'form-control','placeholder' =>__('placeholder.user_full_name')]) }}
|
||||
@error('name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.user_email') }}<span class="text-danger">*</span></label>
|
||||
{{ Form::text('email',null,['class' => $errors->has('email') ? 'form-control is-invalid' : 'form-control','placeholder' =>__('placeholder.email')]) }}
|
||||
@error('email')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.user_mobile') }}<span class="text-danger">*</span></label>
|
||||
{{ Form::text('mobile',null,['class' => $errors->has('mobile') ? 'form-control is-invalid' : 'form-control','placeholder' =>__('placeholder.user_mobile')]) }}
|
||||
@error('mobile')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.user_gender') }}<span class="text-danger">*</span></label>
|
||||
{{ Form::select('gender',['1'=>'Male','2'=>'Female'],(isset($userDetail->gender) && !empty($userDetail->gender)) ? $userDetail->gender : null,['class' => $errors->has('gender') ? 'form-control selectpicker is-invalid gender' : 'form-control selectpicker','title' => __('placeholder.user_gender'),'data-live-search' => 'true','data-allow-clear' => 'true']) }}
|
||||
@error('gender')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.user_dharma') }}<span class="text-danger">*</span></label>
|
||||
{{ Form::select('dharma_id',$dharmaList,(isset($user->dharma_id) && !empty($user->dharma_id)) ? $user->dharma_id : null,['class' => $errors->has('dharma_id') ? 'form-control selectpicker is-invalid dharma_id' : 'form-control selectpicker','title' => __('placeholder.user_dharma'),'data-live-search' => 'true','data-allow-clear' => 'true']) }}
|
||||
@error('dharma_id')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.user_jati') }}<span class="text-danger">*</span></label>
|
||||
{{ Form::select('jati_id',$jatiList,(isset($userDetail->jati_id) && !empty($userDetail->jati_id)) ? $userDetail->jati_id : null,['class' => $errors->has('jati_id') ? 'form-control selectpicker is-invalid jati_id' : 'form-control selectpicker','title' => __('placeholder.user_jati'),'data-live-search' => 'true','data-allow-clear' => 'true']) }}
|
||||
@error('jati_id')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.user_profession') }}<span class="text-danger">*</span></label>
|
||||
{{ Form::select('profession',['0'=>'Profession 1','1'=>'Profession 2','2'=>'Profession 3'],(isset($userDetail->profession) && !empty($userDetail->profession)) ? $userDetail->profession : null,['class' => $errors->has('profession') ? 'form-control selectpicker is-invalid profession' : 'form-control selectpicker','title' =>__('placeholder.user_profession'),'data-live-search' => 'true','data-allow-clear' => 'true']) }}
|
||||
@error('profession')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.user_speciality_of_profession') }}<span class="text-danger">*</span></label>
|
||||
{{ Form::text('profession_speciality',null,['class' => $errors->has('rofession_speciality') ? 'form-control is-invalid' : 'form-control','placeholder' => __('placeholder.user_speciality_of_profession')]) }}
|
||||
@error('profession_speciality')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{--<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>Native Place<span class="text-danger">*</span></label>
|
||||
{{ Form::text('native_place',null,['class' => $errors->has('native_place') ? 'form-control is-invalid' : 'form-control','placeholder' => 'Enter Native place']) }}
|
||||
@error('native_place')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label>Current Location<span class="text-danger">*</span></label>
|
||||
{{ Form::text('current_location',null,['class' => $errors->has('current_location') ? 'form-control is-invalid' : 'form-control','placeholder' => 'Enter Current Location']) }}
|
||||
@error('current_location')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-md-6">
|
||||
<label>{{ __('label.user_avatar') }}<span class="text-danger">*</span></label>
|
||||
<div class="custom-file">
|
||||
<input type="file" name="avatar"
|
||||
class="custom-file-input avatar-image @if($errors->has('avatar')) is-invalid @endif"
|
||||
id="customFile"/>
|
||||
<label id="avatar-custom-file-label" class="custom-file-label"
|
||||
for="customFile">{{ __('label.choose_image') }}</label>
|
||||
<span class="form-text text-inverse-muted">{{ __('label.image_type') }}</span>
|
||||
@error('avatar')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row avatar-image-preview-div"
|
||||
@if(isset($user->avatar) && !empty($user->avatar)) style="display: flex"
|
||||
@else style="display: none" @endif>
|
||||
<!--begin::Image-->
|
||||
<div class="col-lg-9 col-xl-6">
|
||||
<div class="image-input image-input-outline">
|
||||
<img
|
||||
src="{{(isset($user) && !empty($user->avatar)) ? $user->avatar : ''}}"
|
||||
class="image-input-wrapper avatar-image-preview">
|
||||
<label
|
||||
class="btn btn-xs btn-icon btn-circle btn-white btn-hover-text-primary btn-shadow avatar-image-remove-button"
|
||||
data-action="change" data-toggle="tooltip" title="" data-original-title="Remove Image">
|
||||
<i class="fa fa-trash icon-sm text-muted"></i>
|
||||
</label>
|
||||
<input type="hidden" name="is_remove_avatar_image" class="is_remove_avatar_image" value="
|
||||
{{ isset($user->avatar) && !empty($user->avatar) ? 0 : 1 }}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<button type="submit" name="save" value="save" class="btn btn-primary mr-2">
|
||||
@if(\Request::route()->getName() == 'admin.user.edit')
|
||||
{{ __('buttons.update') }}
|
||||
@else
|
||||
{{ __('buttons.save') }}
|
||||
@endif
|
||||
</button>
|
||||
<a href="{{ route('admin.user.index') }}" class="btn btn-secondary">{{ __('buttons.cancel') }}</a>
|
||||
</div>
|
||||
|
||||
260
resources/views/frontend/mail/account-activation.blade.php
Normal file
260
resources/views/frontend/mail/account-activation.blade.php
Normal file
@@ -0,0 +1,260 @@
|
||||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
|
||||
<head>
|
||||
<!-- NAME: SELL PRODUCTS -->
|
||||
<!--[if gte mso 15]>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:AllowPNG/>
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
<![endif]-->
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
|
||||
<title>Account Activation</title>
|
||||
|
||||
<style type="text/css">
|
||||
body * {
|
||||
font-family: 'Roboto';
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 10px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img,
|
||||
a img {
|
||||
border: 0;
|
||||
height: auto;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
body,
|
||||
#bodyTable,
|
||||
#bodyCell {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mcnPreviewText {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#outlook a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
table {
|
||||
mso-table-lspace: 0pt;
|
||||
mso-table-rspace: 0pt;
|
||||
}
|
||||
|
||||
.ReadMsgBody {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
blockquote {
|
||||
mso-line-height-rule: exactly;
|
||||
}
|
||||
|
||||
a[href^=tel],
|
||||
a[href^=sms] {
|
||||
color: inherit;
|
||||
cursor: default;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
body,
|
||||
table,
|
||||
blockquote {
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass,
|
||||
.ExternalClass p,
|
||||
.ExternalClass td,
|
||||
.ExternalClass div,
|
||||
.ExternalClass span,
|
||||
.ExternalClass font {
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
a[x-apple-data-detectors] {
|
||||
color: inherit !important;
|
||||
text-decoration: none !important;
|
||||
font-size: inherit !important;
|
||||
font-family: inherit !important;
|
||||
font-weight: inherit !important;
|
||||
line-height: inherit !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0"
|
||||
style="max-width: 500px;width: 100%; margin: auto; background-color: #000;">
|
||||
<tr>
|
||||
<td
|
||||
style="padding:20px 30px 5px 30px;text-align: center;font-size: 30px; font-weight: 500;color: #2094e2;text-transform: uppercase;">
|
||||
{{env('APP_NAME')}}
|
||||
{{-- <img style="width: 145px;display: block;margin: auto;" src="{{ asset('mail/bizb-logo.png') }}"
|
||||
alt="Logo" /> --}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td
|
||||
style="padding:0 30px 5px 30px;text-align: center;font-size: 25px; font-weight: 550;color: #e1ccbe;text-transform: uppercase;">
|
||||
Account Verification
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 20px 30px;">
|
||||
<img style="width: 145px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/mail7.png') }}" alt="Mail icon" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td
|
||||
style="padding: 5px 30px;text-align: center;font-size: 20px; font-weight: 700;color: #e1ccbe;">
|
||||
Hello {{ $user->name }},
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 30px;">
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0; text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Thank you for connecting with {{env('APP_NAME')}}
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Please add the verification code given below to your {{env('APP_NAME')}} application
|
||||
verification page.
|
||||
</p>
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
If you did not sign up to the {{env('APP_NAME')}}, please ignore this email or create
|
||||
the new account.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px;font-size: 15px;color: #fff;text-align: center;">
|
||||
Verification Code
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0px 30px 5px 30px;">
|
||||
<table
|
||||
style="background-color: #333333;border-radius: 5px;border-collapse: separate !important; max-width: 350px;width: 100%;"
|
||||
align="center" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="padding: 15px;text-align: center;">
|
||||
<span
|
||||
style="letter-spacing: 28.8px;font-weight: 400;font-size: 24px;color: #fff;padding-left: 28px;display: block;line-height: 23px;">{{ $otp }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 30px;">
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0; text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
For any help, feel free to contact team {{env('APP_NAME')}} at support@globaljain.com
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 30px;text-align: center;">
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none; display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/facebook.png') }}" alt="Mail icon" />
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Facebook</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/twitter.png') }}" alt="Mail icon" />
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Twitter</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/instagram.png') }}" alt="Mail icon" />
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Instagram</p>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 5px 30px 20px 30px;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
© 2022, {{env('APP_NAME')}}, All Rights Reserved.
|
||||
If you do not wish to receive these emails,
|
||||
<a href="javascript:void(0);"
|
||||
style="font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;text-decoration: underline;">unsubscribe
|
||||
here</a></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
365
resources/views/frontend/mail/report.blade.php
Normal file
365
resources/views/frontend/mail/report.blade.php
Normal file
@@ -0,0 +1,365 @@
|
||||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
|
||||
<head>
|
||||
<!-- NAME: SELL PRODUCTS -->
|
||||
<!--[if gte mso 15]>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:AllowPNG/>
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
<![endif]-->
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
|
||||
<title>Account Activation</title>
|
||||
|
||||
<style type="text/css">
|
||||
body * {
|
||||
font-family: 'Roboto';
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 10px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img,
|
||||
a img {
|
||||
border: 0;
|
||||
height: auto;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
body,
|
||||
#bodyTable,
|
||||
#bodyCell {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mcnPreviewText {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#outlook a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
table {
|
||||
mso-table-lspace: 0pt;
|
||||
mso-table-rspace: 0pt;
|
||||
}
|
||||
|
||||
.ReadMsgBody {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
blockquote {
|
||||
mso-line-height-rule: exactly;
|
||||
}
|
||||
|
||||
a[href^=tel],
|
||||
a[href^=sms] {
|
||||
color: inherit;
|
||||
cursor: default;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
body,
|
||||
table,
|
||||
blockquote {
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass,
|
||||
.ExternalClass p,
|
||||
.ExternalClass td,
|
||||
.ExternalClass div,
|
||||
.ExternalClass span,
|
||||
.ExternalClass font {
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
a[x-apple-data-detectors] {
|
||||
color: inherit !important;
|
||||
text-decoration: none !important;
|
||||
font-size: inherit !important;
|
||||
font-family: inherit !important;
|
||||
font-weight: inherit !important;
|
||||
line-height: inherit !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0"
|
||||
style="max-width: 500px;width: 100%; margin: auto; background-color: #000;">
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 40px 10px;">
|
||||
<img style="width: 160px;display: block;margin: auto;" src="{{ asset('images/logos/Global-Jain-Logo.png') }}"
|
||||
alt="Logo" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td
|
||||
style="padding:0 30px 5px 30px;text-align: center;font-size: 25px; font-weight: 350;color: #e1ccbe;text-transform: uppercase; margin-top:10px;">
|
||||
<b>Report Request!</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 20px 30px;">
|
||||
<img style="width: 145px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/mail7.png') }}" alt="Mail icon" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td
|
||||
style="padding: 5px 30px;text-align: center;font-size: 20px; font-weight: 700;color: #e1ccbe;">
|
||||
Hello Admin,
|
||||
{{-- {{ $user->name ?? "" }}, --}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 30px;">
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
There is a new <b style="color: #e1ccbe;">{{ $reportSubject ?? "" }}</b> report request generated! <br>Check the details below.
|
||||
</p>
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
@if (isset($type) && $type == 1)
|
||||
<tr>
|
||||
<h2
|
||||
style="margin: 0 0 8px 0;font-size: 20px;font-weight: 700;text-transform: uppercase;background-color: #0d0d0d;color: #d69f7a;text-align: center;">
|
||||
Shravak Profile
|
||||
</h2>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px; background-color: #0d0d0d; color: #d69f7a; font-size: 15px">Shravak Name:</td>
|
||||
<td style="padding: 10px; background-color: #0d0d0d;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
{{ $reportedFor->name ?? "" }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@elseif (isset($type) && $type == 2)
|
||||
<tr>
|
||||
<h2
|
||||
style="margin: 0 0 8px 0;font-size: 20px;font-weight: 700;text-transform: uppercase;background-color: #0d0d0d;color: #d69f7a;text-align: center;">
|
||||
Post
|
||||
</h2>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px; background-color: #0d0d0d; color: #d69f7a; font-size: 15px">Post Added By:</td>
|
||||
<td style="padding: 10px; background-color: #0d0d0d;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
{{ $reportedFor->createdBy->name ?? "" }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px; background-color: #0d0d0d; color: #d69f7a; font-size: 15px">Post Caption:</td>
|
||||
<td style="padding: 10px; background-color: #0d0d0d;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
{{ $reportedFor->description ?? "" }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@elseif (isset($type) && $type == 3)
|
||||
<tr>
|
||||
<h2
|
||||
style="margin: 0 0 8px 0;font-size: 20px;font-weight: 700;text-transform: uppercase;background-color: #0d0d0d;color: #d69f7a;text-align: center;">
|
||||
Comment
|
||||
</h2>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px; background-color: #0d0d0d; color: #d69f7a; font-size: 15px">Post Added By:</td>
|
||||
<td style="padding: 10px; background-color: #0d0d0d;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
{{ $reportedFor->post->createdBy->name ?? "" }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px; background-color: #0d0d0d; color: #d69f7a; font-size: 15px">Post Caption:</td>
|
||||
<td style="padding: 10px; background-color: #0d0d0d;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
{{ $reportedFor->post->description ?? "" }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px; background-color: #0d0d0d; color: #d69f7a; font-size: 15px">Comment:</td>
|
||||
<td style="padding: 10px; background-color: #0d0d0d;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
{{ $reportedFor->comment ?? "" }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px; background-color: #0d0d0d; color: #d69f7a; font-size: 15px">Comment Added By:</td>
|
||||
<td style="padding: 10px; background-color: #0d0d0d;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
{{ $reportedFor->user->name ?? "" }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px; background-color: #0d0d0d; color: #d69f7a; font-size: 15px">Report Description:</td>
|
||||
<td style="padding: 10px; background-color: #0d0d0d;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
{{ $description ?? "" }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px; background-color: #0d0d0d; color: #d69f7a; font-size: 15px">Reported By:</td>
|
||||
<td style="padding: 10px; background-color: #0d0d0d;">
|
||||
{{-- @if((new \Jenssegers\Agent\Agent())->isMobile())
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
<a href="https:://globaljain.net/page/shravak-other-profile/{{$user->id}}">
|
||||
{{ $user->name ?? "" }}
|
||||
</a>
|
||||
</p>
|
||||
@else --}}
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
{{ $user->name ?? "" }}
|
||||
</p>
|
||||
{{-- @endif --}}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{{-- <p
|
||||
style="margin: 0;padding: 10px 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
{{ $description ?? "" }}
|
||||
</p> --}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
{{-- <td style="padding: 20px 30px;">
|
||||
<table
|
||||
style="background-color: #e1ccbe;border-radius: 5px;border-collapse: separate !important; max-width: 350px;width: 100%;"
|
||||
align="center" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="padding: 15px;">
|
||||
<a style="color: #000000;font-size: 20px;font-weight: 400;text-align: center; text-decoration: none;text-transform: uppercase;display: block;"
|
||||
href="#">Check Chaturmas</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td> --}}
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 30px;">
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0; text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
For any help, feel free to contact team {{env('APP_NAME')}} at connect@globaljain.net
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 30px;text-align: center;">
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none; display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/facebook.png') }}" alt="Mail icon" />
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Facebook</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/twitter.png') }}" alt="Mail icon" />
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Twitter</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/instagram.png') }}" alt="Mail icon" />
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Instagram</p>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 5px 30px 20px 30px;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
© 2022, {{env('APP_NAME')}}. All Rights Reserved.
|
||||
{{-- If you do not wish to receive these emails, --}}
|
||||
{{-- <a href="javascript:void(0);"
|
||||
style="font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;text-decoration: underline;">unsubscribe
|
||||
here</a> --}}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
231
resources/views/frontend/mail/sangh/sangh-request-sent.blade.php
Normal file
231
resources/views/frontend/mail/sangh/sangh-request-sent.blade.php
Normal file
@@ -0,0 +1,231 @@
|
||||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
|
||||
<head>
|
||||
<!-- NAME: SELL PRODUCTS -->
|
||||
<!--[if gte mso 15]>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:AllowPNG/>
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
<![endif]-->
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
|
||||
<title>Account Activation</title>
|
||||
|
||||
<style type="text/css">
|
||||
body * {
|
||||
font-family: 'Roboto';
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 10px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img,
|
||||
a img {
|
||||
border: 0;
|
||||
height: auto;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
body,
|
||||
#bodyTable,
|
||||
#bodyCell {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mcnPreviewText {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#outlook a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
table {
|
||||
mso-table-lspace: 0pt;
|
||||
mso-table-rspace: 0pt;
|
||||
}
|
||||
|
||||
.ReadMsgBody {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
blockquote {
|
||||
mso-line-height-rule: exactly;
|
||||
}
|
||||
|
||||
a[href^=tel],
|
||||
a[href^=sms] {
|
||||
color: inherit;
|
||||
cursor: default;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
body,
|
||||
table,
|
||||
blockquote {
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass,
|
||||
.ExternalClass p,
|
||||
.ExternalClass td,
|
||||
.ExternalClass div,
|
||||
.ExternalClass span,
|
||||
.ExternalClass font {
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
a[x-apple-data-detectors] {
|
||||
color: inherit !important;
|
||||
text-decoration: none !important;
|
||||
font-size: inherit !important;
|
||||
font-family: inherit !important;
|
||||
font-weight: inherit !important;
|
||||
line-height: inherit !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0"
|
||||
style="max-width: 500px;width: 100%; margin: auto; background-color: #000;">
|
||||
<tr>
|
||||
<td
|
||||
style="padding:20px 30px 5px 30px;text-align: center;font-size: 30px; font-weight: 500;color: #2094e2;text-transform: uppercase;">
|
||||
{{env('APP_NAME')}}
|
||||
{{-- <img style="width: 145px;display: block;margin: auto;" src="{{ asset('mail/bizb-logo.png') }}"
|
||||
alt="Logo" /> --}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td
|
||||
style="padding:0 30px 5px 30px;text-align: center;font-size: 25px; font-weight: 550;color: #e1ccbe;text-transform: uppercase;">
|
||||
Sangh Request
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 20px 30px;">
|
||||
<img style="width: 145px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/mail7.png') }}" alt="Mail icon" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td
|
||||
style="padding: 5px 30px;text-align: center;font-size: 20px; font-weight: 700;color: #e1ccbe;">
|
||||
Hello Admin,
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 30px;">
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0; text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
Thank you for sending request for sangh {{ $data?->name ?? '' }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 30px;">
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0; text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
For any help, feel free to contact team {{env('APP_NAME')}} at support@globaljain.com
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 30px;text-align: center;">
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none; display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/facebook.png') }}" alt="Mail icon" />
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Facebook</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/twitter.png') }}" alt="Mail icon" />
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Twitter</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/instagram.png') }}" alt="Mail icon" />
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Instagram</p>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 5px 30px 20px 30px;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
© 2022, {{env('APP_NAME')}}, All Rights Reserved.
|
||||
If you do not wish to receive these emails,
|
||||
<a href="javascript:void(0);"
|
||||
style="font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;text-decoration: underline;">unsubscribe
|
||||
here</a></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
264
resources/views/frontend/mail/wrong-chaturmas.blade.php
Normal file
264
resources/views/frontend/mail/wrong-chaturmas.blade.php
Normal file
@@ -0,0 +1,264 @@
|
||||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||
|
||||
<head>
|
||||
<!-- NAME: SELL PRODUCTS -->
|
||||
<!--[if gte mso 15]>
|
||||
<xml>
|
||||
<o:OfficeDocumentSettings>
|
||||
<o:AllowPNG/>
|
||||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||
</o:OfficeDocumentSettings>
|
||||
</xml>
|
||||
<![endif]-->
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
|
||||
<title>Account Activation</title>
|
||||
|
||||
<style type="text/css">
|
||||
body * {
|
||||
font-family: 'Roboto';
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 10px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img,
|
||||
a img {
|
||||
border: 0;
|
||||
height: auto;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
body,
|
||||
#bodyTable,
|
||||
#bodyCell {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mcnPreviewText {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#outlook a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
table {
|
||||
mso-table-lspace: 0pt;
|
||||
mso-table-rspace: 0pt;
|
||||
}
|
||||
|
||||
.ReadMsgBody {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
blockquote {
|
||||
mso-line-height-rule: exactly;
|
||||
}
|
||||
|
||||
a[href^=tel],
|
||||
a[href^=sms] {
|
||||
color: inherit;
|
||||
cursor: default;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
li,
|
||||
td,
|
||||
body,
|
||||
table,
|
||||
blockquote {
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
.ExternalClass,
|
||||
.ExternalClass p,
|
||||
.ExternalClass td,
|
||||
.ExternalClass div,
|
||||
.ExternalClass span,
|
||||
.ExternalClass font {
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
a[x-apple-data-detectors] {
|
||||
color: inherit !important;
|
||||
text-decoration: none !important;
|
||||
font-size: inherit !important;
|
||||
font-family: inherit !important;
|
||||
font-weight: inherit !important;
|
||||
line-height: inherit !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0"
|
||||
style="max-width: 500px;width: 100%; margin: auto; background-color: #000;">
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 40px 10px;">
|
||||
<img style="width: 160px;display: block;margin: auto;" src="{{ asset('images/logos/Global-Jain-Logo.png') }}"
|
||||
alt="Logo" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td
|
||||
style="padding:0 30px 5px 30px;text-align: center;font-size: 25px; font-weight: 350;color: #e1ccbe;text-transform: uppercase; margin-top:10px;">
|
||||
<b>Wrong Chaturmas Detail!</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: center;padding: 20px 30px;">
|
||||
<img style="width: 145px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/mail7.png') }}" alt="Mail icon" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td
|
||||
style="padding: 5px 30px;text-align: center;font-size: 20px; font-weight: 700;color: #e1ccbe;">
|
||||
Hello Admin,
|
||||
{{-- {{ $user->name ?? "" }}, --}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 30px;">
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
There is some wrong information given to the below chaturmas. You can check or edit the details below.
|
||||
</p>
|
||||
<span style="float: left; color: #e1ccbe; padding-top: 10px; font-weight: bold;">Sant: <font color="#fff">{{ $sant->name }}</font></span>
|
||||
<span style="float: right; color: #e1ccbe; padding-top: 10px; font-weight: bold;">Reported By: <font color="#fff">{{ $user->name }}</font></span>
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="padding: 20px; background-color: #0d0d0d;">
|
||||
<h2
|
||||
style="margin: 0 0 8px 0;font-size: 20px;font-weight: 700;text-transform: uppercase;color: #e1ccbe;text-align: center;">
|
||||
DESCRIPTION</h2>
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
{{ $description ?? "" }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{{-- <p
|
||||
style="margin: 0;padding: 10px 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
{{ $description ?? "" }}
|
||||
</p> --}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px 30px">
|
||||
<span style="background-color: #303030;height: 1px;display: block;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 30px;">
|
||||
<table
|
||||
style="background-color: #e1ccbe;border-radius: 5px;border-collapse: separate !important; max-width: 350px;width: 100%;"
|
||||
align="center" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="padding: 15px;">
|
||||
<a style="color: #000000;font-size: 20px;font-weight: 400;text-align: center; text-decoration: none;text-transform: uppercase;display: block;"
|
||||
href="{{route('admin.sant.chaturmas.edit', [$santID, $chaturmasID])}}">Check Chaturmas</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 30px;">
|
||||
<p
|
||||
style="margin: 0;padding: 10px 0; text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
For any help, feel free to contact team {{env('APP_NAME')}} at connect@globaljain.net
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 30px;text-align: center;">
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none; display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/facebook.png') }}" alt="Mail icon" />
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Facebook</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/twitter.png') }}" alt="Mail icon" />
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Twitter</p>
|
||||
</a>
|
||||
<a href="javascript:void(0);"
|
||||
style="text-decoration: none;display: inline-block;text-align: center;margin: 0 15px;">
|
||||
<img style="width: 38px;display: block;margin: auto;"
|
||||
src="{{ asset('images/mail/instagram.png') }}" alt="Mail icon" />
|
||||
<p style="font-size: 11px;color: #565656;margin: 5px 0 0 0;">Instagram</p>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 5px 30px 20px 30px;">
|
||||
<p
|
||||
style="margin: 0;text-align: center;font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;">
|
||||
© 2022, {{env('APP_NAME')}}. All Rights Reserved.
|
||||
{{-- If you do not wish to receive these emails, --}}
|
||||
{{-- <a href="javascript:void(0);"
|
||||
style="font-size: 15px; line-height: 24px; font-weight: 400;color: #fff;text-decoration: underline;">unsubscribe
|
||||
here</a> --}}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
23
resources/views/home.blade.php
Normal file
23
resources/views/home.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Dashboard') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
@if (session('status'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{ __('You are logged in!') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
39
resources/views/includes/partials/flash-messages.blade.php
Normal file
39
resources/views/includes/partials/flash-messages.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
@if ($errors->any())
|
||||
<!-- @foreach ($errors->all() as $error)
|
||||
<script>
|
||||
toastr.error('{{$error}}');
|
||||
</script>
|
||||
@endforeach -->
|
||||
@elseif (session()->get('flash_success'))
|
||||
<script>
|
||||
toastr.success("{{session()->get('flash_success')}}");
|
||||
</script>
|
||||
@elseif (session()->get('flash_warning'))
|
||||
<script>
|
||||
toastr.warning("{{session()->get('flash_warning')}}");
|
||||
</script>
|
||||
@elseif (session()->get('flash_info'))
|
||||
<script>
|
||||
toastr.info("{{session()->get('flash_info')}}");
|
||||
</script>
|
||||
@elseif (session()->get('flash_error'))
|
||||
<script>
|
||||
toastr.error("{{session()->get('flash_error')}}");
|
||||
</script>
|
||||
@elseif (session()->get('flash_message'))
|
||||
<script>
|
||||
toastr.info("{{session()->get('flash_info')}}");
|
||||
</script>
|
||||
@elseif (session()->get('status'))
|
||||
<script>
|
||||
toastr.success("{{session()->get('status')}}");
|
||||
</script>
|
||||
@endif
|
||||
|
||||
@if(session()->get('message_success') || session()->get('message_error'))
|
||||
<script>
|
||||
$('html, body').animate({
|
||||
scrollTop: $(".stay-informed ").offset().top-150
|
||||
}, 1000);
|
||||
</script>
|
||||
@endif
|
||||
83
resources/views/layouts/app.blade.php
Normal file
83
resources/views/layouts/app.blade.php
Normal file
@@ -0,0 +1,83 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- CSRF Token -->
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<title>{{ config('app.name', 'Laravel') }}</title>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="{{ asset('js/app.js') }}" defer></script>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
||||
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
|
||||
|
||||
<!-- Styles -->
|
||||
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="{{ url('/') }}">
|
||||
{{ config('app.name', 'Laravel') }}
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{ __('Toggle navigation') }}">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<!-- Left Side Of Navbar -->
|
||||
<ul class="navbar-nav me-auto">
|
||||
|
||||
</ul>
|
||||
|
||||
<!-- Right Side Of Navbar -->
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<!-- Authentication Links -->
|
||||
@guest
|
||||
@if (Route::has('login'))
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ route('login') }}">{{ __('Login') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@if (Route::has('register'))
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ route('register') }}">{{ __('Register') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@else
|
||||
<li class="nav-item dropdown">
|
||||
<a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
|
||||
{{ Auth::user()->name }}
|
||||
</a>
|
||||
|
||||
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
|
||||
<a class="dropdown-item" href="{{ route('logout') }}"
|
||||
onclick="event.preventDefault();
|
||||
document.getElementById('logout-form').submit();">
|
||||
{{ __('Logout') }}
|
||||
</a>
|
||||
|
||||
<form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
|
||||
@csrf
|
||||
</form>
|
||||
</div>
|
||||
</li>
|
||||
@endguest
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main class="py-4">
|
||||
@yield('content')
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
10
resources/views/vendor/larecipe/partials/404.blade.php
vendored
Normal file
10
resources/views/vendor/larecipe/partials/404.blade.php
vendored
Normal file
File diff suppressed because one or more lines are too long
13
resources/views/vendor/larecipe/partials/logo.blade.php
vendored
Normal file
13
resources/views/vendor/larecipe/partials/logo.blade.php
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<svg height="30px" viewBox="0 0 46 46" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<defs></defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="Jelly-icons" transform="translate(-647.000000, -437.000000)" fill-rule="nonzero">
|
||||
<g id="coupon" transform="translate(640.000000, 430.000000)">
|
||||
<rect id="range" fill="#000000" opacity="0" x="0" y="0" width="60" height="60"></rect>
|
||||
<path d="M7.67578125,12.7324219 L7.67578125,43.78125 C7.67578125,49.4414062 10.4765625,51.1289062 10.4765625,51.1289062 C12.0234375,52.6699219 14.53125,52.6699219 16.078125,51.1289062 C17.625,49.5878906 20.1328125,49.5878906 21.6796875,51.1289062 C23.2265625,52.6699219 25.734375,52.6699219 27.28125,51.1289062 C28.828125,49.5878906 31.3359375,49.5878906 32.8828125,51.1289062 C34.4296875,52.6699219 36.9375,52.6699219 38.484375,51.1289062 C40.03125,49.5878906 42.5390625,49.5878906 44.0859375,51.1289062 C45.6328125,52.6699219 48.140625,52.6699219 49.6875,51.1289062 C49.6875,51.1289062 52.4882812,49.2128906 52.4882812,43.78125 C52.4882812,38.3496094 52.4765625,12.7324219 52.4765625,12.7324219 C52.4765625,9.83789063 50.1152344,7.49414063 47.2089844,7.49414063 L12.9316406,7.49414063 C10.0371094,7.49414063 7.67578125,9.83789063 7.67578125,12.7324219 Z" id="appearance" fill="#787AF6"></path>
|
||||
<path d="M17.3261719,16.5996094 C16.2011719,16.5996094 15.2871094,17.5136719 15.2871094,18.6386719 L15.2871094,21.2109375 C15.2871094,22.3359375 16.2011719,23.25 17.3261719,23.25 L45.8496094,23.25 C46.9746094,23.25 47.8886719,22.3359375 47.8886719,21.2109375 L47.8886719,18.6386719 C47.8886719,17.5136719 46.9746094,16.5996094 45.8496094,16.5996094 L17.3261719,16.5996094 Z M29.5488281,27.8085938 L17.3261719,27.8085938 C16.2011719,27.8085938 15.2871094,27.9726562 15.2871094,29.0976562 C15.2871094,30.2226562 16.2011719,30.3867188 17.3261719,30.3867188 L29.5488281,30.3867188 C30.6738281,30.3867188 31.5878906,30.2226562 31.5878906,29.0976562 C31.5878906,27.9726562 30.6738281,27.8085938 29.5488281,27.8085938 Z M29.5488281,34.9394531 L17.3261719,34.9394531 C16.2011719,34.9394531 15.2871094,35.1035156 15.2871094,36.2285156 C15.2871094,37.3535156 16.2011719,37.5175781 17.3261719,37.5175781 L29.5488281,37.5175781 C30.6738281,37.5175781 31.5878906,37.3535156 31.5878906,36.2285156 C31.5878906,35.1035156 30.6738281,34.9394531 29.5488281,34.9394531 Z" id="section" fill="#FFFFFF"></path>
|
||||
<path d="M11.34375,16.3886719 C10.7636719,16.3886719 10.2890625,15.9140625 10.2890625,15.3339844 L10.2890625,14.7539062 C10.2890625,12.0644531 12.4804688,9.87304688 15.1699219,9.87304688 L16.1132812,9.87304688 C16.6933594,9.87304688 17.1679688,10.3476562 17.1679688,10.9277344 C17.1679688,11.5078125 16.6933594,11.9824219 16.1132812,11.9824219 L15.1640625,11.9824219 C13.6347656,11.9824219 12.3925781,13.2246094 12.3925781,14.7539062 L12.3925781,15.3339844 C12.3984375,15.9140625 11.9238281,16.3886719 11.34375,16.3886719 Z M11.34375,20.4667969 C10.7636719,20.4667969 10.2890625,19.9921875 10.2890625,19.4121094 L10.2890625,18.796875 C10.2890625,18.2167969 10.7636719,17.7421875 11.34375,17.7421875 C11.9238281,17.7421875 12.3984375,18.2167969 12.3984375,18.796875 L12.3984375,19.4121094 C12.3984375,19.9921875 11.9238281,20.4667969 11.34375,20.4667969 Z" id="highlight" fill="#FFFFFF"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
71
resources/views/vendor/larecipe/partials/nav.blade.php
vendored
Normal file
71
resources/views/vendor/larecipe/partials/nav.blade.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<div class="fixed pin-t pin-x z-40">
|
||||
<div class="bg-gradient-primary text-white h-1"></div>
|
||||
|
||||
<nav class="flex items-center justify-between text-black bg-navbar shadow-xs h-16">
|
||||
<div class="flex items-center flex-no-shrink">
|
||||
<a href="{{ url('/') }}" class="flex items-center flex-no-shrink text-black mx-4">
|
||||
@include("larecipe::partials.logo")
|
||||
|
||||
<p class="inline-block font-semibold mx-1 text-grey-dark">
|
||||
{{ config('app.name') }}
|
||||
</p>
|
||||
</a>
|
||||
|
||||
<div class="switch">
|
||||
<input type="checkbox" name="1" id="1" v-model="sidebar" class="switch-checkbox" />
|
||||
<label class="switch-label" for="1"></label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="block mx-4 flex items-center">
|
||||
@if(config('larecipe.search.enabled'))
|
||||
<larecipe-button id="search-button"
|
||||
:type="searchBox ? 'primary' : 'link'"
|
||||
@click="searchBox = ! searchBox"
|
||||
class="px-4">
|
||||
<i class="fas fa-search" id="search-button-icon"></i>
|
||||
</larecipe-button>
|
||||
@endif
|
||||
|
||||
<larecipe-button tag="a" href="https://github.com/saleem-hadad/larecipe" target="__blank" type="black" class="mx-2 px-4">
|
||||
<i class="fab fa-github"></i>
|
||||
</larecipe-button>
|
||||
|
||||
{{-- versions dropdown --}}
|
||||
<larecipe-dropdown>
|
||||
<larecipe-button type="primary" class="flex">
|
||||
{{ $currentVersion }} <i class="mx-1 fa fa-angle-down"></i>
|
||||
</larecipe-button>
|
||||
|
||||
<template slot="list">
|
||||
<ul class="list-reset">
|
||||
@foreach ($versions as $version)
|
||||
<li class="py-2 hover:bg-grey-lightest">
|
||||
<a class="px-6 text-grey-darkest" href="{{ route('larecipe.show', ['version' => $version, 'page' => $currentSection]) }}">{{ $version }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</template>
|
||||
</larecipe-dropdown>
|
||||
{{-- /versions dropdown --}}
|
||||
|
||||
@auth
|
||||
{{-- account --}}
|
||||
<larecipe-dropdown>
|
||||
<larecipe-button type="white" class="ml-2">
|
||||
{{ auth()->user()->name ?? 'Account' }} <i class="fa fa-angle-down"></i>
|
||||
</larecipe-button>
|
||||
|
||||
<template slot="list">
|
||||
<form action="/logout" method="POST">
|
||||
{{ csrf_field() }}
|
||||
|
||||
<button type="submit" class="py-2 px-4 text-white bg-danger inline-flex"><i class="fa fa-power-off mr-2"></i> Logout</button>
|
||||
</form>
|
||||
</template>
|
||||
</larecipe-dropdown>
|
||||
{{-- /account --}}
|
||||
@endauth
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
3
resources/views/vendor/larecipe/partials/sidebar.blade.php
vendored
Normal file
3
resources/views/vendor/larecipe/partials/sidebar.blade.php
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="sidebar" :class="[{'is-hidden': ! sidebar}]">
|
||||
{!! $index !!}
|
||||
</div>
|
||||
11
resources/views/web/apple-app-site-association.blade.php
Normal file
11
resources/views/web/apple-app-site-association.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"applinks": {
|
||||
"apps": [],
|
||||
"details": [
|
||||
{
|
||||
"appID": "JL89UUB4WQ.com.globaljain.social",
|
||||
"paths": ["*"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
284
resources/views/web/contribution.blade.php
Normal file
284
resources/views/web/contribution.blade.php
Normal file
@@ -0,0 +1,284 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Global Jain</title>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
|
||||
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65"
|
||||
crossorigin="anonymous">
|
||||
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: Gilroy;
|
||||
src: url("public/fonts/Gilroy/Gilroy-Regular.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Gilroy-medium;
|
||||
src: url("public/fonts/Gilroy/Gilroy-Medium.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Gilroy-semi;
|
||||
src: url("public/fonts/Gilroy/Gilroy-SemiBold.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Gilroy-bold;
|
||||
src: url("public/fonts/Gilroy/Gilroy-Bold.ttf");
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #FAFAFA;
|
||||
font-family: Gilroy;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
header {
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
header .contact-btn {
|
||||
background: #2482A7;
|
||||
height: 40px;
|
||||
padding: 0 15px;
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
font-weight: 500;
|
||||
font-family: Gilroy-bold;
|
||||
}
|
||||
|
||||
.content {
|
||||
min-height: calc(100vh - 200px);
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
.content .content-title {
|
||||
font-size: 28px;
|
||||
color: #666666;
|
||||
font-family: Gilroy-medium;
|
||||
}
|
||||
|
||||
.content .content-subtitle {
|
||||
font-size: 28px;
|
||||
color: #000000;
|
||||
font-family: Gilroy-bold;
|
||||
}
|
||||
|
||||
.content .contribute-text {
|
||||
color: #2482A7;
|
||||
font-size: 20px;
|
||||
font-family: Gilroy-semi;
|
||||
}
|
||||
|
||||
.content .scan-text {
|
||||
color: #89888C;
|
||||
font-family: Gilroy-semi;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.content .scan-box {
|
||||
background-color: #ffffff;
|
||||
border-radius: 8px;
|
||||
width: 190px;
|
||||
height: 190px;
|
||||
box-shadow: 0px 3px 6px #00000029;
|
||||
}
|
||||
|
||||
|
||||
.content .detail-box {
|
||||
background-color: #ffffff;
|
||||
border-radius: 8px;
|
||||
width: 330px;
|
||||
height: 190px;
|
||||
padding: 12px 16px;
|
||||
box-shadow: 0px 3px 6px #00000029;
|
||||
}
|
||||
|
||||
.content .detail-box .detail-title {
|
||||
color: #585858;
|
||||
font-family: Gilroy-medium;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.content .detail-box .detail-value {
|
||||
color: #2482A7;
|
||||
font-family: Gilroy-semi;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.thanks-msg {
|
||||
color: #4E9C81;
|
||||
font-size: 22px;
|
||||
font-family: Gilroy-semi;
|
||||
}
|
||||
|
||||
.support-msg {
|
||||
color: #666666;
|
||||
font-size: 18px;
|
||||
font-family: Gilroy-medium;
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: #FAFAFA;
|
||||
text-align: center;
|
||||
padding: 0 0 20px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.banner-img {
|
||||
margin: auto;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 767px) {
|
||||
.content {
|
||||
padding: 20px 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.banner-img {
|
||||
width: 232px;
|
||||
}
|
||||
|
||||
header {
|
||||
height: 68px;
|
||||
}
|
||||
|
||||
header img {
|
||||
width: 142px;
|
||||
}
|
||||
|
||||
.content .content-title,
|
||||
.content .content-subtitle {
|
||||
font-size: 14px;
|
||||
max-width: 220px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
header .contact-btn{
|
||||
height:30px;
|
||||
width: 100px;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
}
|
||||
.content .scan-box{
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
margin: 0 auto 10px;
|
||||
}
|
||||
.content .scan-box img{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.content .scan-text{
|
||||
font-size: 14px;
|
||||
}
|
||||
.content .thanks-msg{
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
}
|
||||
.content .support-msg{
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
.content .contribute-text{
|
||||
font-size: 14px;
|
||||
}
|
||||
.content .pay-btn {
|
||||
width: 100%;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
.thanks-msg {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.support-msg {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header class="bg-white">
|
||||
<div class="container d-flex align-items-center
|
||||
justify-content-between h-100">
|
||||
<a href="{{ url('/') }}"><img src="{{ asset('public/images/web/global-jain-logo.svg') }}" alt="logo" /></a>
|
||||
<a href="mailto:connect@globaljain.net" title="Contact" class="contact-btn">CONTACT</a>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content">
|
||||
<div class="container d-flex align-items-center
|
||||
justify-content-center flex-column h-100">
|
||||
<p class="content-title">Your generous contribution will help strengthen the</p>
|
||||
<p class="content-subtitle mb-3 mb-md-5">Global Jain Platform.</p>
|
||||
<div class="row w-100 align-items-center py-lg-5">
|
||||
<div class="col-md-12 col-xl-6">
|
||||
<img src="{{ asset('public/images/web/banner.png') }}" alt="banner" class="banner-img" />
|
||||
</div>
|
||||
<div class="col-md-12 col-xl-6">
|
||||
<p class="contribute-text text-center text-uppercase my-2 mb-md-4">TO CONTRIBUTE</p>
|
||||
<div class="d-flex align-items-center justify-content-center flex-wrap flex-md-nowrap">
|
||||
<div class="qr-section">
|
||||
<p class="scan-text text-center mb-2
|
||||
text-uppercase">SCAN AND CONTRIBUTE</p>
|
||||
<div class="d-flex align-items-center
|
||||
justify-content-center scan-box">
|
||||
<img src="{{ asset('public/images/web/qr.png') }}" alt="QR" />
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<p class="scan-text text-center mb-2
|
||||
text-uppercase">BANK DETAILS</p>
|
||||
<div class="d-flex flex-column
|
||||
justify-content-between detail-box">
|
||||
<div class="d-flex align-items-center
|
||||
justify-content-between w-100">
|
||||
<p class="detail-title">Account Number</p>
|
||||
<p class="detail-value">50200063726000</p>
|
||||
</div>
|
||||
<div class="d-flex align-items-center
|
||||
justify-content-between w-100">
|
||||
<p class="detail-title">Holder Name</p>
|
||||
<p class="detail-value">NIRVED</p>
|
||||
</div>
|
||||
<div class="d-flex align-items-center
|
||||
justify-content-between w-100">
|
||||
<p class="detail-title">IFSC</p>
|
||||
<p class="detail-value">HDFC0000223</p>
|
||||
</div>
|
||||
<div class="d-flex align-items-center
|
||||
justify-content-between w-100">
|
||||
<p class="detail-title">Bank Name</p>
|
||||
<p class="detail-value">HDFC Bank</p>
|
||||
</div>
|
||||
<div class="d-flex align-items-center
|
||||
justify-content-between w-100">
|
||||
<p class="detail-title">Bank Branch</p>
|
||||
<p class="detail-value">PUNE - PASHAN</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
<p class="thanks-msg mt-3">Thank you in advance for your contribution</p>
|
||||
<p class="support-msg">It's supporters like you that help us change the world everyday.</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
499
resources/views/web/landing-new.blade.php
Normal file
499
resources/views/web/landing-new.blade.php
Normal file
@@ -0,0 +1,499 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<meta name="title" content="{{ $createdBy ? $createdBy : 'Global Jain' }}">
|
||||
<meta name="description"
|
||||
content="{{ $post->description ?? 'World\'s first and largest religious social networking platform for jains' }}">
|
||||
<meta name="location" content="{{ $post->location ?? '' }}">
|
||||
<meta name="latitude" content="{{ $post->latitude ?? '' }}">
|
||||
<meta name="longitude" content="{{ $post->longitude ?? '' }}">
|
||||
{{-- <meta name="image"
|
||||
content="{{ isset($post->postImages[0]) ? env('AWS_URL') . $post->postImages[0]->image_name : asset('images/web/global-jain-logo.svg') }}"> --}}
|
||||
<meta name="image"
|
||||
content="{{ isset($post->postImages[0]) ? $post->postImages[0]->image_name : '' }}">
|
||||
|
||||
<meta property="og:title" content="{{ $createdBy ? $createdBy : 'Global Jain' }}">
|
||||
<meta property="og:description"
|
||||
content="{{ $post->description ?? "World's first and largest religious social networking platform for jains" }}">
|
||||
<meta property="og:location" content="{{ $post->location ?? '' }}">
|
||||
<meta property="og:latitude" content="{{ $post->latitude ?? '' }}">
|
||||
<meta property="og:longitude" content="{{ $post->longitude ?? '' }}">
|
||||
<meta property="og:image"
|
||||
content="{{ isset($post->postImages[0]) ? $post->postImages[0]->image_name : '' }}">
|
||||
<meta property="og:image:secure_url"
|
||||
content="{{ isset($post->postImages[0]) ? $post->postImages[0]->image_name : '' }}">
|
||||
<meta property="og:image:type"
|
||||
content="{{ isset($post->postImages[0]) ? 'image/' . pathinfo(strtok($post->postImages[0]->image_name, '?'), PATHINFO_EXTENSION) : 'svg' }}" />
|
||||
<meta property="og:image:width" content="500" />
|
||||
<meta property="og:image:height" content="500" />
|
||||
<meta property="og:image:alt" content="Global Jain" />
|
||||
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:site" content="@globaljain" />
|
||||
<meta name="twitter:title" content="{{ $createdBy ? $createdBy : 'Global Jain' }}" />
|
||||
<meta name="twitter:description"
|
||||
content="{{ $post->description ?? 'World\'s first and largest religious social networking platform for jains' }}" />
|
||||
<meta name="twitter:image"
|
||||
content="{{ isset($post->postImages[0]) ? $post->postImages[0]->image_name : '' }}" />
|
||||
|
||||
<title>{{ $createdBy ? $createdBy : 'Global Jain' }}</title>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('../../fonts/Gilroy/Gilroy-Bold.eot');
|
||||
src: url('../../fonts/Gilroy/Gilroy-Bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Bold.woff2') format('woff2'),
|
||||
url('../../fonts/Gilroy/Gilroy-Bold.woff') format('woff'),
|
||||
url('../../fonts/Gilroy/Gilroy-Bold.ttf') format('truetype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Bold.svg#Gilroy-Bold') format('svg');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('../../fonts/Gilroy/Gilroy-SemiBold.eot');
|
||||
src: url('../../fonts/Gilroy/Gilroy-SemiBold.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/Gilroy/Gilroy-SemiBold.woff2') format('woff2'),
|
||||
url('../../fonts/Gilroy/Gilroy-SemiBold.woff') format('woff'),
|
||||
url('../../fonts/Gilroy/Gilroy-SemiBold.ttf') format('truetype'),
|
||||
url('../../fonts/Gilroy/Gilroy-SemiBold.svg#Gilroy-SemiBold') format('svg');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('../../fonts/Gilroy/Gilroy-ExtraBold.eot');
|
||||
src: url('../../fonts/Gilroy/Gilroy-ExtraBold.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/Gilroy/Gilroy-ExtraBold.woff2') format('woff2'),
|
||||
url('../../fonts/Gilroy/Gilroy-ExtraBold.woff') format('woff'),
|
||||
url('../../fonts/Gilroy/Gilroy-ExtraBold.ttf') format('truetype'),
|
||||
url('../../fonts/Gilroy/Gilroy-ExtraBold.svg#Gilroy-ExtraBold') format('svg');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('../../fonts/Gilroy/Gilroy-Black.eot');
|
||||
src: url('../../fonts/Gilroy/Gilroy-Black.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Black.woff2') format('woff2'),
|
||||
url('../../fonts/Gilroy/Gilroy-Black.woff') format('woff'),
|
||||
url('../../fonts/Gilroy/Gilroy-Black.ttf') format('truetype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Black.svg#Gilroy-Black') format('svg');
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('../../fonts/Gilroy/Gilroy-Light.eot');
|
||||
src: url('../../fonts/Gilroy/Gilroy-Light.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Light.woff2') format('woff2'),
|
||||
url('../../fonts/Gilroy/Gilroy-Light.woff') format('woff'),
|
||||
url('../../fonts/Gilroy/Gilroy-Light.ttf') format('truetype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Light.svg#Gilroy-Light') format('svg');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('../../fonts/Gilroy/Gilroy-Heavy.eot');
|
||||
src: url('../../fonts/Gilroy/Gilroy-Heavy.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Heavy.woff2') format('woff2'),
|
||||
url('../../fonts/Gilroy/Gilroy-Heavy.woff') format('woff'),
|
||||
url('../../fonts/Gilroy/Gilroy-Heavy.ttf') format('truetype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Heavy.svg#Gilroy-Heavy') format('svg');
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('../../fonts/Gilroy/Gilroy-Regular.eot');
|
||||
src: url('../../fonts/Gilroy/Gilroy-Regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Regular.woff2') format('woff2'),
|
||||
url('../../fonts/Gilroy/Gilroy-Regular.woff') format('woff'),
|
||||
url('../../fonts/Gilroy/Gilroy-Regular.ttf') format('truetype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Regular.svg#Gilroy-Regular') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('../../fonts/Gilroy/Gilroy-Medium.eot');
|
||||
src: url('../../fonts/Gilroy/Gilroy-Medium.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Medium.woff2') format('woff2'),
|
||||
url('../../fonts/Gilroy/Gilroy-Medium.woff') format('woff'),
|
||||
url('../../fonts/Gilroy/Gilroy-Medium.ttf') format('truetype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Medium.svg#Gilroy-Medium') format('svg');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('../../fonts/Gilroy/Gilroy-Thin.eot');
|
||||
src: url('../../fonts/Gilroy/Gilroy-Thin.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Thin.woff2') format('woff2'),
|
||||
url('../../fonts/Gilroy/Gilroy-Thin.woff') format('woff'),
|
||||
url('../../fonts/Gilroy/Gilroy-Thin.ttf') format('truetype'),
|
||||
url('../../fonts/Gilroy/Gilroy-Thin.svg#Gilroy-Thin') format('svg');
|
||||
font-weight: 100;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('../../fonts/Gilroy/Gilroy-UltraLight.eot');
|
||||
src: url('../../fonts/Gilroy/Gilroy-UltraLight.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/Gilroy/Gilroy-UltraLight.woff2') format('woff2'),
|
||||
url('../../fonts/Gilroy/Gilroy-UltraLight.woff') format('woff'),
|
||||
url('../../fonts/Gilroy/Gilroy-UltraLight.ttf') format('truetype'),
|
||||
url('../../fonts/Gilroy/Gilroy-UltraLight.svg#Gilroy-UltraLight') format('svg');
|
||||
font-weight: 200;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
font-family: 'Gilroy';
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 1366px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
header {
|
||||
background: #E7F7FE;
|
||||
}
|
||||
|
||||
.top-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 26px 0;
|
||||
}
|
||||
|
||||
.top-header .top-header-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.top-header img {
|
||||
height: 40px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.top-header .contact-btn {
|
||||
background: #2482A7;
|
||||
height: 40px;
|
||||
padding: 0 15px;
|
||||
border-radius: 5px;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.top-header .contribute-btn {
|
||||
background: #2482A7;
|
||||
height: 40px;
|
||||
padding: 0 15px;
|
||||
border-radius: 5px;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.top-header .contribute-btn span,
|
||||
.top-header .contact-btn span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.top-header .contribute-btn img,
|
||||
.top-header .contact-btn img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.contain-box {
|
||||
background: #2482A7;
|
||||
height: calc(100vh - 92px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.contain-box .container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.contain-box .left-side,
|
||||
.contain-box .right-side {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.contain-box .right-side img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain p {
|
||||
font-size: 30px;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain p.title {
|
||||
font-size: 38px;
|
||||
color: #C5EDFF;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain p.title span {
|
||||
font-size: 42px;
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .line {
|
||||
width: 103px;
|
||||
height: 3px;
|
||||
background: #C5EDFF;
|
||||
margin: 35px 0;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .bottom-btn p {
|
||||
margin: 0;
|
||||
color: #C5EDFF;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .mobile-img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width:1600px) {
|
||||
.contain-box .right-side img {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width:1366px) {
|
||||
.container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.top-header {
|
||||
padding: 26px;
|
||||
}
|
||||
|
||||
.contain-box {
|
||||
padding: 0 26px;
|
||||
}
|
||||
|
||||
.contain-box .right-side img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width:767px) {
|
||||
.top-header {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.top-header .contribute-btn {
|
||||
border-radius: 50%;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.top-header .contact-btn {
|
||||
padding: 0 10px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.top-header .contribute-btn span,
|
||||
.top-header .contact-btn span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.top-header .contribute-btn img,
|
||||
.top-header .contact-btn img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.contain-box {
|
||||
padding: 0 15px;
|
||||
height: calc(100vh - 70px);
|
||||
text-align: center;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.contain-box .container {
|
||||
display: block;
|
||||
padding: 15px 0;
|
||||
}
|
||||
|
||||
.contain-box .right-side {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.contain-box .left-side {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain p {
|
||||
font-size: 20px;
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain p.title {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain p.title span {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .line {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .bottom-btn p {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .bottom-btn img {
|
||||
width: 45%;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .mobile-img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .mobile-img img {
|
||||
width: 73%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="main">
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="top-header">
|
||||
<a href="#" title="Global jain"><img src="{{ asset('images/web/global-jain-logo.svg') }}"
|
||||
alt="Logo" /></a>
|
||||
<div class="top-header-right">
|
||||
<a href="{{ route('contribution') }}" title="contribute" class="contribute-btn"
|
||||
target="_blank">
|
||||
<span>Contribute</span>
|
||||
<img src="{{ asset('images/web/contribute.svg') }}" alt="contribute" width="20" />
|
||||
</a>
|
||||
<a href="mailto:connect@globaljain.net" title="Contact" class="contact-btn">
|
||||
<span>Contact</span>
|
||||
<img src="{{ asset('images/web/contact.svg') }}" alt="contact" width="20" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="contain-box">
|
||||
<div class="container">
|
||||
<div class="left-side">
|
||||
<div class="contain">
|
||||
<p class="title"><span>WORLD'S FIRST</span> and <span>LARGEST</span> Religious Social
|
||||
Networking
|
||||
Platform</p>
|
||||
<p class="title"><span>FOR JAINS</span></p>
|
||||
<div class="line"> </div>
|
||||
<div class="mobile-img">
|
||||
<img class="landing-image" src="{{ asset('images/web/shravak-banner.png') }}" alt="Shravak Banner" /></div>
|
||||
<p class="subtitle">Connect with Shravaks you know</p>
|
||||
<div class="bottom-btn">
|
||||
<p id="btn-text">Available on</p>
|
||||
<a href="https://play.google.com/store/apps/details?id=com.globaljain.social"
|
||||
title="Playstore" target="_blank"><img src="{{ asset('images/web/playstore.svg') }}"
|
||||
alt="Playstore" /></a>
|
||||
<a href="https://apps.apple.com/us/app/global-jain/id1625670036" title="Appsotre"
|
||||
target="_blank"><img src="{{ asset('images/web/appstore.svg') }}" alt="Appstore" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right-side"><img class="landing-image" src="{{ asset('images/web/shravak-banner.png') }}"
|
||||
alt="Shravak Banner" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const header = document.getElementsByTagName("header")?.[0];
|
||||
const button = document.getElementsByClassName("contact-btn")?.[0];
|
||||
const contribute = document.getElementsByClassName("contribute-btn")?.[0];
|
||||
const hero = document.getElementsByClassName("contain-box")?.[0];
|
||||
const titles = document.getElementsByClassName("title")
|
||||
const subtitle = document.getElementsByClassName("subtitle")?.[0];
|
||||
const btnText = document.getElementById("btn-text");
|
||||
const landingImgs = document.getElementsByClassName("landing-image")
|
||||
|
||||
const lightColors = ["#DFEAE2", "#F3E1FC", "#E7F7FE"];
|
||||
const darkColors = ["#4E9C81", "#A665CC", "#2482A7"];
|
||||
const subtitleContent = ["Search Sants and follow", "Find the Sangh and be Member",
|
||||
"Connect with Shravaks you know"
|
||||
];
|
||||
const imgSrc = ["../../images/web/sant-banner.png", "../../images/web/sangh-banner.png", "../../images/web/shravak-banner.png"]
|
||||
|
||||
const totalSlides = 3;
|
||||
var count = 0;
|
||||
const interval = setInterval(() => {
|
||||
const index = count % totalSlides;
|
||||
|
||||
header.style.backgroundColor = lightColors[index];
|
||||
button.style.backgroundColor = darkColors[index];
|
||||
contribute.style.backgroundColor = darkColors[index];
|
||||
hero.style.backgroundColor = darkColors[index];
|
||||
subtitle.innerHTML = subtitleContent[index];
|
||||
btnText.style.color = lightColors[index];
|
||||
|
||||
for (let title of titles) {
|
||||
title.style.color = lightColors[index];
|
||||
}
|
||||
|
||||
for (let img of landingImgs) {
|
||||
img.src = imgSrc[index];
|
||||
}
|
||||
|
||||
count++;
|
||||
if (count === totalSlides) {
|
||||
count = 0;
|
||||
}
|
||||
}, 5000);
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
452
resources/views/web/landing.blade.php
Normal file
452
resources/views/web/landing.blade.php
Normal file
@@ -0,0 +1,452 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
|
||||
<title>Global Jain</title>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-Bold.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-Bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Bold.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-Bold.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-Bold.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Bold.svg#Gilroy-Bold') format('svg');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-SemiBold.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-SemiBold.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-SemiBold.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-SemiBold.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-SemiBold.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-SemiBold.svg#Gilroy-SemiBold') format('svg');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-ExtraBold.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-ExtraBold.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-ExtraBold.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-ExtraBold.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-ExtraBold.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-ExtraBold.svg#Gilroy-ExtraBold') format('svg');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-Black.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-Black.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Black.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-Black.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-Black.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Black.svg#Gilroy-Black') format('svg');
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-Light.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-Light.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Light.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-Light.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-Light.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Light.svg#Gilroy-Light') format('svg');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-Heavy.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-Heavy.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Heavy.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-Heavy.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-Heavy.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Heavy.svg#Gilroy-Heavy') format('svg');
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-Regular.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-Regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Regular.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-Regular.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-Regular.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Regular.svg#Gilroy-Regular') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-Medium.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-Medium.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Medium.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-Medium.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-Medium.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Medium.svg#Gilroy-Medium') format('svg');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-Thin.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-Thin.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Thin.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-Thin.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-Thin.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Thin.svg#Gilroy-Thin') format('svg');
|
||||
font-weight: 100;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-UltraLight.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-UltraLight.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-UltraLight.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-UltraLight.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-UltraLight.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-UltraLight.svg#Gilroy-UltraLight') format('svg');
|
||||
font-weight: 200;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
font-family: 'Gilroy';
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 1366px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
header {
|
||||
background: #E7F7FE;
|
||||
}
|
||||
|
||||
.top-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 26px 0;
|
||||
}
|
||||
|
||||
.top-header .top-header-right{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.top-header img {
|
||||
height: 40px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.top-header .contact-btn {
|
||||
background: #2482A7;
|
||||
height: 40px;
|
||||
padding: 0 15px;
|
||||
border-radius: 5px;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.top-header .contribute-btn {
|
||||
background: #2482A7;
|
||||
height: 40px;
|
||||
padding: 0 15px;
|
||||
border-radius: 5px;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.top-header .contribute-btn span,.top-header .contact-btn span{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.top-header .contribute-btn img,.top-header .contact-btn img{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.contain-box {
|
||||
background: #2482A7;
|
||||
height: calc(100vh - 92px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.contain-box .container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.contain-box .left-side,
|
||||
.contain-box .right-side {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.contain-box .right-side img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain p {
|
||||
font-size: 30px;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain p.title {
|
||||
font-size: 38px;
|
||||
color: #C5EDFF;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain p.title span {
|
||||
font-size: 42px;
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .line {
|
||||
width: 103px;
|
||||
height: 3px;
|
||||
background: #C5EDFF;
|
||||
margin: 35px 0;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .bottom-btn p {
|
||||
margin: 0;
|
||||
color: #C5EDFF;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .mobile-img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width:1600px) {
|
||||
.contain-box .right-side img {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width:1366px) {
|
||||
.container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.top-header {
|
||||
padding: 26px;
|
||||
}
|
||||
|
||||
.contain-box {
|
||||
padding: 0 26px;
|
||||
}
|
||||
|
||||
.contain-box .right-side img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width:767px) {
|
||||
.top-header {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.top-header .contribute-btn{
|
||||
border-radius: 50%;
|
||||
padding: 0 10px;
|
||||
}
|
||||
.top-header .contact-btn{
|
||||
padding: 0 10px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.top-header .contribute-btn span,.top-header .contact-btn span{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.top-header .contribute-btn img,.top-header .contact-btn img{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.contain-box {
|
||||
padding: 0 15px;
|
||||
height: calc(100vh - 70px);
|
||||
text-align: center;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.contain-box .container {
|
||||
display: block;
|
||||
padding: 15px 0;
|
||||
}
|
||||
|
||||
.contain-box .right-side {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.contain-box .left-side {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain p {
|
||||
font-size: 20px;
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain p.title {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain p.title span {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .line {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .bottom-btn p {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .bottom-btn img {
|
||||
width: 45%;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .mobile-img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.contain-box .left-side .contain .mobile-img img {
|
||||
width: 73%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="main">
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="top-header">
|
||||
<a href="#" title="Global jain"><img src="{{asset('public/images/web/global-jain-logo.svg')}}" alt="Logo" /></a>
|
||||
<div class="top-header-right">
|
||||
<a href="{{ route('contribution') }}" title="contribute" class="contribute-btn" target="_blank">
|
||||
<span>Contribute</span>
|
||||
<img src="{{asset('public/images/web/contribute.svg')}}" alt="contribute" width="20" />
|
||||
</a>
|
||||
<a href="mailto:connect@globaljain.net" title="Contact" class="contact-btn">
|
||||
<span>Contact</span>
|
||||
<img src="{{asset('public/images/web/contact.svg')}}" alt="contact" width="20" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="contain-box">
|
||||
<div class="container">
|
||||
<div class="left-side">
|
||||
<div class="contain">
|
||||
<p class="title"><span>WORLD'S FIRST</span> and <span>LARGEST</span> Religious Social Networking
|
||||
Platform</p>
|
||||
<p class="title"><span>FOR JAINS</span></p>
|
||||
<div class="line"> </div>
|
||||
<div class="mobile-img"><img class="landing-image" src="{{asset('public/images/web/shravak-banner.png')}}" alt="Shravak Banner" /></div>
|
||||
<p class="subtitle">Connect with Shravaks you know</p>
|
||||
<div class="bottom-btn">
|
||||
<p id="btn-text">Available on</p>
|
||||
<a href="https://play.google.com/store/apps/details?id=com.globaljain.android" title="Playstore" target="_blank"><img src="{{asset('public/images/web/playstore.svg')}}" alt="Playstore" /></a>
|
||||
<a href="https://apps.apple.com/us/app/global-jain/id1625670036" title="Appsotre" target="_blank"><img src="{{asset('public/images/web/appstore.svg')}}" alt="Appstore" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right-side"><img class="landing-image" src="{{asset('public/images/web/shravak-banner.png')}}"
|
||||
alt="Shravak Banner" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const header = document.getElementsByTagName("header")?.[0];
|
||||
const button = document.getElementsByClassName("contact-btn")?.[0];
|
||||
const contribute = document.getElementsByClassName("contribute-btn")?.[0];
|
||||
const hero = document.getElementsByClassName("contain-box")?.[0];
|
||||
const titles = document.getElementsByClassName("title")
|
||||
const subtitle = document.getElementsByClassName("subtitle")?.[0];
|
||||
const btnText = document.getElementById("btn-text");
|
||||
const landingImgs = document.getElementsByClassName("landing-image")
|
||||
|
||||
const lightColors = ["#DFEAE2", "#F3E1FC", "#E7F7FE"];
|
||||
const darkColors = ["#4E9C81", "#A665CC", "#2482A7"];
|
||||
const subtitleContent = ["Search Sants and follow", "Find the Sangh and be Member", "Connect with Shravaks you know"];
|
||||
const imgSrc = ["public/images/web/sant-banner.png", "public/images/web/sangh-banner.png", "public/images/web/shravak-banner.png"]
|
||||
|
||||
const totalSlides = 3;
|
||||
var count = 0;
|
||||
const interval = setInterval(() => {
|
||||
const index = count % totalSlides;
|
||||
|
||||
header.style.backgroundColor = lightColors[index];
|
||||
button.style.backgroundColor = darkColors[index];
|
||||
contribute.style.backgroundColor = darkColors[index];
|
||||
hero.style.backgroundColor = darkColors[index];
|
||||
subtitle.innerHTML = subtitleContent[index];
|
||||
btnText.style.color = lightColors[index];
|
||||
|
||||
for (let title of titles) {
|
||||
title.style.color = lightColors[index];
|
||||
}
|
||||
|
||||
for (let img of landingImgs) {
|
||||
img.src = imgSrc[index];
|
||||
}
|
||||
|
||||
count++;
|
||||
if (count === totalSlides) {
|
||||
count = 0;
|
||||
}
|
||||
}, 5000);
|
||||
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
184
resources/views/web/privacy-policy.blade.php
Normal file
184
resources/views/web/privacy-policy.blade.php
Normal file
@@ -0,0 +1,184 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
|
||||
<title>Privacy Policy - Global Jain</title>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-Bold.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-Bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Bold.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-Bold.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-Bold.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Bold.svg#Gilroy-Bold') format('svg');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-SemiBold.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-SemiBold.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-SemiBold.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-SemiBold.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-SemiBold.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-SemiBold.svg#Gilroy-SemiBold') format('svg');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-ExtraBold.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-ExtraBold.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-ExtraBold.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-ExtraBold.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-ExtraBold.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-ExtraBold.svg#Gilroy-ExtraBold') format('svg');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-Regular.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-Regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Regular.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-Regular.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-Regular.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Regular.svg#Gilroy-Regular') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-Medium.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-Medium.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Medium.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-Medium.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-Medium.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Medium.svg#Gilroy-Medium') format('svg');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
body {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
font-family: 'Gilroy';
|
||||
font-size: 16px;
|
||||
}
|
||||
.container {
|
||||
width: 1366px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
p strong, li, a, h2 {
|
||||
color: #2482A7;
|
||||
}
|
||||
header {
|
||||
background: #E7F7FE;
|
||||
}
|
||||
.top-header {
|
||||
padding: 26px 0;
|
||||
}
|
||||
.top-header img {
|
||||
height: 40px;
|
||||
display: block;
|
||||
}
|
||||
@media only screen and (max-width:1366px) {
|
||||
.container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.top-header {
|
||||
padding: 26px;
|
||||
}
|
||||
|
||||
.contain-box {
|
||||
padding: 0 26px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="main">
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="top-header">
|
||||
<a href="#" title="Global jain"><img src="{{asset('public/images/web/global-jain-logo.svg')}}" alt="Logo" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="contain-box">
|
||||
<div class="container">
|
||||
<div class="privacy-policy-list">
|
||||
<h2>Privacy Policy</h2>
|
||||
<p> This SERVICE is provided by Nirved at no cost and is intended for use as is.</p>
|
||||
<p>This page is used to inform visitors about our policies regarding the collection, use, and disclosure of Personal Information if anyone decided to use our Service.
|
||||
If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.
|
||||
</p>
|
||||
<p>The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at Global Jain unless otherwise defined in this Privacy Policy.
|
||||
</p>
|
||||
<p class="m-0"><strong>Information Collection and Use
|
||||
</strong></p>
|
||||
<p>For a better experience, while using our Service, we may require you to provide us with certain personally identifiable information, including but not limited to the phone number, location, email, and profile information added by the user. The information that we request will be retained by us and used as described in this privacy policy.
|
||||
The app does use third-party services that may collect information used to identify you.
|
||||
</p>
|
||||
<p>Link to the privacy policy of third-party service providers used by the app</p>
|
||||
<ul class="listing">
|
||||
<li><a href="#">Google Play Services</a></li>
|
||||
<li><a href="#">Google Analytics for Firebase</a></li>
|
||||
</ul>
|
||||
<p class="m-0"><strong>Log Data</strong></p>
|
||||
<p>We want to inform you that whenever you use our Service, in a case of an error in the app we collect data and information (through third-party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing our Service, the time and date of your use of the Service, and other statistics.</p>
|
||||
|
||||
<p class="m-0"><strong>Cookies</strong></p>
|
||||
<p>Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device's internal memory.</p>
|
||||
<p>This Service does not use these “cookies” explicitly. However, the app may use third-party code and libraries that use “cookies” to collect information and improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be able to use some portions of this Service.</p>
|
||||
|
||||
<p class="m-0"><strong>Service Providers</strong></p>
|
||||
<p>We may employ third-party companies and individuals due to the following reasons:</p>
|
||||
<ul class="listing">
|
||||
<li>To facilitate our Service;</li>
|
||||
<li>To provide the Service on our behalf;</li>
|
||||
<li>To perform Service-related services; or</li>
|
||||
<li>To assist us in analyzing how our Service is used.</li>
|
||||
</ul>
|
||||
<p>We want to inform users of this Service that these third parties have access to their Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose.
|
||||
</p>
|
||||
|
||||
<p class="m-0"><strong>Security</strong></p>
|
||||
<p>We value your trust in providing us with your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and we cannot guarantee its absolute security.
|
||||
</p>
|
||||
|
||||
<p class="m-0"><strong>Links to Other Sites</strong></p>
|
||||
<p>This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by us. Therefore, we strongly advise you to review the Privacy Policy of these websites. We have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.
|
||||
</p>
|
||||
|
||||
<p class="m-0"><strong>Children’s Privacy</strong></p>
|
||||
<p>These Services do not address anyone under the age of 13. We do not knowingly collect personally identifiable information from children under 13 years of age. In the case we discover that a child under 13 has provided us with personal information, we immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact us so that we will be able to do the necessary actions.
|
||||
</p>
|
||||
|
||||
<p class="m-0"><strong>Changes to This Privacy Policy</strong></p>
|
||||
<p>We may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. We will notify you of any changes by posting the new Privacy Policy on this page. This policy is effective as of 2022-04-18</p>
|
||||
|
||||
<p class="m-0"><strong>Contact Us</strong></p>
|
||||
<p>If you have any questions or suggestions about our Privacy Policy, do not hesitate to contact us at <a href="mailto:connect@globaljain.net">connect@globaljain.net</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
165
resources/views/web/terms-and-conditions.blade.php
Normal file
165
resources/views/web/terms-and-conditions.blade.php
Normal file
@@ -0,0 +1,165 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
|
||||
<title>Terms & Conditions - Global Jain</title>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-Bold.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-Bold.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Bold.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-Bold.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-Bold.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Bold.svg#Gilroy-Bold') format('svg');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-SemiBold.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-SemiBold.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-SemiBold.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-SemiBold.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-SemiBold.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-SemiBold.svg#Gilroy-SemiBold') format('svg');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-ExtraBold.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-ExtraBold.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-ExtraBold.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-ExtraBold.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-ExtraBold.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-ExtraBold.svg#Gilroy-ExtraBold') format('svg');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-Regular.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-Regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Regular.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-Regular.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-Regular.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Regular.svg#Gilroy-Regular') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Gilroy';
|
||||
src: url('public/fonts/Gilroy/Gilroy-Medium.eot');
|
||||
src: url('public/fonts/Gilroy/Gilroy-Medium.eot?#iefix') format('embedded-opentype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Medium.woff2') format('woff2'),
|
||||
url('public/fonts/Gilroy/Gilroy-Medium.woff') format('woff'),
|
||||
url('public/fonts/Gilroy/Gilroy-Medium.ttf') format('truetype'),
|
||||
url('public/fonts/Gilroy/Gilroy-Medium.svg#Gilroy-Medium') format('svg');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
body {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
font-family: 'Gilroy';
|
||||
font-size: 16px;
|
||||
}
|
||||
.container {
|
||||
width: 1366px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
p strong, li, a, h2 {
|
||||
color: #2482A7;
|
||||
}
|
||||
header {
|
||||
background: #E7F7FE;
|
||||
}
|
||||
.top-header {
|
||||
padding: 26px 0;
|
||||
}
|
||||
.top-header img {
|
||||
height: 40px;
|
||||
display: block;
|
||||
}
|
||||
@media only screen and (max-width:1366px) {
|
||||
.container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.top-header {
|
||||
padding: 26px;
|
||||
}
|
||||
|
||||
.contain-box {
|
||||
padding: 0 26px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="main">
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="top-header">
|
||||
<a href="#" title="Global jain"><img src="{{asset('public/images/web/global-jain-logo.svg')}}" alt="Logo" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="contain-box">
|
||||
<div class="container">
|
||||
<div class="privacy-policy-list">
|
||||
<h2>Terms & Conditions</h2>
|
||||
<p> By downloading or using the app, these terms will automatically apply to you – you should make sure therefore that you read them carefully before using the app. You’re not allowed to copy or modify the app, any part of the app, or our trademarks in any way. You’re not allowed to attempt to extract the source code of the app, and you also shouldn’t try to translate the app into other languages or make derivative versions. The app itself, and all the trademarks, copyright, database rights, and other intellectual property rights related to it, still belong to Nirved.</p>
|
||||
<p>Nirved is committed to ensuring that the app is as useful and efficient as possible. For that reason, we reserve the right to make changes to the app or to charge for its services, at any time and for any reason. We will never charge you for the app or its services without making it very clear to you exactly what you’re paying for.
|
||||
</p>
|
||||
<p>The Global Jain app stores and processes personal data that you have provided to us, to provide our Service. It’s your responsibility to keep your phone and access to the app secure. We, therefore, recommend that you do not jailbreak or root your phone, which is the process of removing software restrictions and limitations imposed by the official operating system of your device. It could make your phone vulnerable to malware/viruses/malicious programs, compromise your phone’s security features and it could mean that the Global Jain app won’t work properly or at all.</p>
|
||||
<p>The app does use third-party services that declare their Terms and Conditions.</p>
|
||||
|
||||
<p class="m-0"><strong>Link to Terms and Conditions of third-party service providers used by the app
|
||||
</strong></p>
|
||||
<ul class="listing">
|
||||
<li><a href="#">Google Play Services</a></li>
|
||||
<li><a href="#">Google Analytics for Firebase</a></li>
|
||||
</ul>
|
||||
<p>You should be aware that there are certain things that Nirved will not take responsibility for. Certain functions of the app will require the app to have an active internet connection. The connection can be Wi-Fi or provided by your mobile network provider, but Nirved cannot take responsibility for the app not working at full functionality if you don’t have access to Wi-Fi, and you don’t have any of your data allowance left.
|
||||
</p>
|
||||
|
||||
<p>If you’re using the app outside of an area with Wi-Fi, you should remember that the terms of the agreement with your mobile network provider will still apply. As a result, you may be charged by your mobile provider for the cost of data for the duration of the connection while accessing the app, or other third-party charges. In using the app, you’re accepting responsibility for any such charges, including roaming data charges if you use the app outside of your home territory (i.e. region or country) without turning off data roaming. If you are not the bill payer for the device on which you’re using the app, please be aware that we assume that you have received permission from the bill payer for using the app.
|
||||
</p>
|
||||
|
||||
<p>Along the same lines, Nirved cannot always take responsibility for the way you use the app i.e. You need to make sure that your device stays charged – if it runs out of battery and you can’t turn it on to avail of the Service, Nirved cannot accept responsibility.</p>
|
||||
<p>With respect to Nirved’s responsibility for your use of the app, when you’re using the app, it’s important to bear in mind that although we endeavour to ensure that it is updated and correct at all times, we do rely on third parties to provide information to us so that we can make it available to you. Nirved accepts no liability for any loss, direct or indirect, you experience as a result of relying wholly on this functionality of the app.</p>
|
||||
<p>At some point, we may wish to update the app. The app is currently available on Android & iOS – the requirements for both systems(and for any additional systems we decide to extend the availability of the app to) may change, and you’ll need to download the updates if you want to keep using the app. Nirved does not promise that it will always update the app so that it is relevant to you and/or works with the Android & iOS versions that you have installed on your device. However, you promise to always accept updates to the application when offered to you, We may also wish to stop providing the app, and may terminate use of it at any time without giving notice of termination to you. Unless we tell you otherwise, upon any termination, (a) the rights and licenses granted to you in these terms will end; (b) you must stop using the app, and (if needed) delete it from your device.</p>
|
||||
|
||||
<p class="m-0"><strong>Changes to This Terms and Conditions
|
||||
</strong></p>
|
||||
<p>We may update our Terms and Conditions from time to time. Thus, you are advised to review this page periodically for any changes. We will notify you of any changes by posting the new Terms and Conditions on this page.
|
||||
</p>
|
||||
<p>These terms and conditions are effective as of 2022-04-18
|
||||
</p>
|
||||
|
||||
<p class="m-0"><strong>Contact Us
|
||||
</strong></p>
|
||||
<p>If you have any questions or suggestions about our Terms and Conditions, do not hesitate to contact us at <a href="mailto:connect@globaljain.net">connect@globaljain.net</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
132
resources/views/welcome.blade.php
Normal file
132
resources/views/welcome.blade.php
Normal file
@@ -0,0 +1,132 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>Laravel</title>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap" rel="stylesheet">
|
||||
|
||||
<!-- Styles -->
|
||||
<style>
|
||||
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}a{background-color:transparent}[hidden]{display:none}html{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}*,:after,:before{box-sizing:border-box;border:0 solid #e2e8f0}a{color:inherit;text-decoration:inherit}svg,video{display:block;vertical-align:middle}video{max-width:100%;height:auto}.bg-white{--bg-opacity:1;background-color:#fff;background-color:rgba(255,255,255,var(--bg-opacity))}.bg-gray-100{--bg-opacity:1;background-color:#f7fafc;background-color:rgba(247,250,252,var(--bg-opacity))}.border-gray-200{--border-opacity:1;border-color:#edf2f7;border-color:rgba(237,242,247,var(--border-opacity))}.border-t{border-top-width:1px}.flex{display:flex}.grid{display:grid}.hidden{display:none}.items-center{align-items:center}.justify-center{justify-content:center}.font-semibold{font-weight:600}.h-5{height:1.25rem}.h-8{height:2rem}.h-16{height:4rem}.text-sm{font-size:.875rem}.text-lg{font-size:1.125rem}.leading-7{line-height:1.75rem}.mx-auto{margin-left:auto;margin-right:auto}.ml-1{margin-left:.25rem}.mt-2{margin-top:.5rem}.mr-2{margin-right:.5rem}.ml-2{margin-left:.5rem}.mt-4{margin-top:1rem}.ml-4{margin-left:1rem}.mt-8{margin-top:2rem}.ml-12{margin-left:3rem}.-mt-px{margin-top:-1px}.max-w-6xl{max-width:72rem}.min-h-screen{min-height:100vh}.overflow-hidden{overflow:hidden}.p-6{padding:1.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.pt-8{padding-top:2rem}.fixed{position:fixed}.relative{position:relative}.top-0{top:0}.right-0{right:0}.shadow{box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06)}.text-center{text-align:center}.text-gray-200{--text-opacity:1;color:#edf2f7;color:rgba(237,242,247,var(--text-opacity))}.text-gray-300{--text-opacity:1;color:#e2e8f0;color:rgba(226,232,240,var(--text-opacity))}.text-gray-400{--text-opacity:1;color:#cbd5e0;color:rgba(203,213,224,var(--text-opacity))}.text-gray-500{--text-opacity:1;color:#a0aec0;color:rgba(160,174,192,var(--text-opacity))}.text-gray-600{--text-opacity:1;color:#718096;color:rgba(113,128,150,var(--text-opacity))}.text-gray-700{--text-opacity:1;color:#4a5568;color:rgba(74,85,104,var(--text-opacity))}.text-gray-900{--text-opacity:1;color:#1a202c;color:rgba(26,32,44,var(--text-opacity))}.underline{text-decoration:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.w-5{width:1.25rem}.w-8{width:2rem}.w-auto{width:auto}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}@media (min-width:640px){.sm\:rounded-lg{border-radius:.5rem}.sm\:block{display:block}.sm\:items-center{align-items:center}.sm\:justify-start{justify-content:flex-start}.sm\:justify-between{justify-content:space-between}.sm\:h-20{height:5rem}.sm\:ml-0{margin-left:0}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:pt-0{padding-top:0}.sm\:text-left{text-align:left}.sm\:text-right{text-align:right}}@media (min-width:768px){.md\:border-t-0{border-top-width:0}.md\:border-l{border-left-width:1px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem}}@media (prefers-color-scheme:dark){.dark\:bg-gray-800{--bg-opacity:1;background-color:#2d3748;background-color:rgba(45,55,72,var(--bg-opacity))}.dark\:bg-gray-900{--bg-opacity:1;background-color:#1a202c;background-color:rgba(26,32,44,var(--bg-opacity))}.dark\:border-gray-700{--border-opacity:1;border-color:#4a5568;border-color:rgba(74,85,104,var(--border-opacity))}.dark\:text-white{--text-opacity:1;color:#fff;color:rgba(255,255,255,var(--text-opacity))}.dark\:text-gray-400{--text-opacity:1;color:#cbd5e0;color:rgba(203,213,224,var(--text-opacity))}.dark\:text-gray-500{--tw-text-opacity:1;color:#6b7280;color:rgba(107,114,128,var(--tw-text-opacity))}}
|
||||
</style>
|
||||
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Nunito', sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="antialiased">
|
||||
<div class="relative flex items-top justify-center min-h-screen bg-gray-100 dark:bg-gray-900 sm:items-center py-4 sm:pt-0">
|
||||
@if (Route::has('login'))
|
||||
<div class="hidden fixed top-0 right-0 px-6 py-4 sm:block">
|
||||
@auth
|
||||
<a href="{{ url('/home') }}" class="text-sm text-gray-700 dark:text-gray-500 underline">Home</a>
|
||||
@else
|
||||
<a href="{{ route('login') }}" class="text-sm text-gray-700 dark:text-gray-500 underline">Log in</a>
|
||||
|
||||
@if (Route::has('register'))
|
||||
<a href="{{ route('register') }}" class="ml-4 text-sm text-gray-700 dark:text-gray-500 underline">Register</a>
|
||||
@endif
|
||||
@endauth
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="max-w-6xl mx-auto sm:px-6 lg:px-8">
|
||||
<div class="flex justify-center pt-8 sm:justify-start sm:pt-0">
|
||||
<svg viewBox="0 0 651 192" fill="none" xmlns="http://www.w3.org/2000/svg" class="h-16 w-auto text-gray-700 sm:h-20">
|
||||
<g clip-path="url(#clip0)" fill="#EF3B2D">
|
||||
<path d="M248.032 44.676h-16.466v100.23h47.394v-14.748h-30.928V44.676zM337.091 87.202c-2.101-3.341-5.083-5.965-8.949-7.875-3.865-1.909-7.756-2.864-11.669-2.864-5.062 0-9.69.931-13.89 2.792-4.201 1.861-7.804 4.417-10.811 7.661-3.007 3.246-5.347 6.993-7.016 11.239-1.672 4.249-2.506 8.713-2.506 13.389 0 4.774.834 9.26 2.506 13.459 1.669 4.202 4.009 7.925 7.016 11.169 3.007 3.246 6.609 5.799 10.811 7.66 4.199 1.861 8.828 2.792 13.89 2.792 3.913 0 7.804-.955 11.669-2.863 3.866-1.908 6.849-4.533 8.949-7.875v9.021h15.607V78.182h-15.607v9.02zm-1.431 32.503c-.955 2.578-2.291 4.821-4.009 6.73-1.719 1.91-3.795 3.437-6.229 4.582-2.435 1.146-5.133 1.718-8.091 1.718-2.96 0-5.633-.572-8.019-1.718-2.387-1.146-4.438-2.672-6.156-4.582-1.719-1.909-3.032-4.152-3.938-6.73-.909-2.577-1.36-5.298-1.36-8.161 0-2.864.451-5.585 1.36-8.162.905-2.577 2.219-4.819 3.938-6.729 1.718-1.908 3.77-3.437 6.156-4.582 2.386-1.146 5.059-1.718 8.019-1.718 2.958 0 5.656.572 8.091 1.718 2.434 1.146 4.51 2.674 6.229 4.582 1.718 1.91 3.054 4.152 4.009 6.729.953 2.577 1.432 5.298 1.432 8.162-.001 2.863-.479 5.584-1.432 8.161zM463.954 87.202c-2.101-3.341-5.083-5.965-8.949-7.875-3.865-1.909-7.756-2.864-11.669-2.864-5.062 0-9.69.931-13.89 2.792-4.201 1.861-7.804 4.417-10.811 7.661-3.007 3.246-5.347 6.993-7.016 11.239-1.672 4.249-2.506 8.713-2.506 13.389 0 4.774.834 9.26 2.506 13.459 1.669 4.202 4.009 7.925 7.016 11.169 3.007 3.246 6.609 5.799 10.811 7.66 4.199 1.861 8.828 2.792 13.89 2.792 3.913 0 7.804-.955 11.669-2.863 3.866-1.908 6.849-4.533 8.949-7.875v9.021h15.607V78.182h-15.607v9.02zm-1.432 32.503c-.955 2.578-2.291 4.821-4.009 6.73-1.719 1.91-3.795 3.437-6.229 4.582-2.435 1.146-5.133 1.718-8.091 1.718-2.96 0-5.633-.572-8.019-1.718-2.387-1.146-4.438-2.672-6.156-4.582-1.719-1.909-3.032-4.152-3.938-6.73-.909-2.577-1.36-5.298-1.36-8.161 0-2.864.451-5.585 1.36-8.162.905-2.577 2.219-4.819 3.938-6.729 1.718-1.908 3.77-3.437 6.156-4.582 2.386-1.146 5.059-1.718 8.019-1.718 2.958 0 5.656.572 8.091 1.718 2.434 1.146 4.51 2.674 6.229 4.582 1.718 1.91 3.054 4.152 4.009 6.729.953 2.577 1.432 5.298 1.432 8.162 0 2.863-.479 5.584-1.432 8.161zM650.772 44.676h-15.606v100.23h15.606V44.676zM365.013 144.906h15.607V93.538h26.776V78.182h-42.383v66.724zM542.133 78.182l-19.616 51.096-19.616-51.096h-15.808l25.617 66.724h19.614l25.617-66.724h-15.808zM591.98 76.466c-19.112 0-34.239 15.706-34.239 35.079 0 21.416 14.641 35.079 36.239 35.079 12.088 0 19.806-4.622 29.234-14.688l-10.544-8.158c-.006.008-7.958 10.449-19.832 10.449-13.802 0-19.612-11.127-19.612-16.884h51.777c2.72-22.043-11.772-40.877-33.023-40.877zm-18.713 29.28c.12-1.284 1.917-16.884 18.589-16.884 16.671 0 18.697 15.598 18.813 16.884h-37.402zM184.068 43.892c-.024-.088-.073-.165-.104-.25-.058-.157-.108-.316-.191-.46-.056-.097-.137-.176-.203-.265-.087-.117-.161-.242-.265-.345-.085-.086-.194-.148-.29-.223-.109-.085-.206-.182-.327-.252l-.002-.001-.002-.002-35.648-20.524a2.971 2.971 0 00-2.964 0l-35.647 20.522-.002.002-.002.001c-.121.07-.219.167-.327.252-.096.075-.205.138-.29.223-.103.103-.178.228-.265.345-.066.089-.147.169-.203.265-.083.144-.133.304-.191.46-.031.085-.08.162-.104.25-.067.249-.103.51-.103.776v38.979l-29.706 17.103V24.493a3 3 0 00-.103-.776c-.024-.088-.073-.165-.104-.25-.058-.157-.108-.316-.191-.46-.056-.097-.137-.176-.203-.265-.087-.117-.161-.242-.265-.345-.085-.086-.194-.148-.29-.223-.109-.085-.206-.182-.327-.252l-.002-.001-.002-.002L40.098 1.396a2.971 2.971 0 00-2.964 0L1.487 21.919l-.002.002-.002.001c-.121.07-.219.167-.327.252-.096.075-.205.138-.29.223-.103.103-.178.228-.265.345-.066.089-.147.169-.203.265-.083.144-.133.304-.191.46-.031.085-.08.162-.104.25-.067.249-.103.51-.103.776v122.09c0 1.063.568 2.044 1.489 2.575l71.293 41.045c.156.089.324.143.49.202.078.028.15.074.23.095a2.98 2.98 0 001.524 0c.069-.018.132-.059.2-.083.176-.061.354-.119.519-.214l71.293-41.045a2.971 2.971 0 001.489-2.575v-38.979l34.158-19.666a2.971 2.971 0 001.489-2.575V44.666a3.075 3.075 0 00-.106-.774zM74.255 143.167l-29.648-16.779 31.136-17.926.001-.001 34.164-19.669 29.674 17.084-21.772 12.428-43.555 24.863zm68.329-76.259v33.841l-12.475-7.182-17.231-9.92V49.806l12.475 7.182 17.231 9.92zm2.97-39.335l29.693 17.095-29.693 17.095-29.693-17.095 29.693-17.095zM54.06 114.089l-12.475 7.182V46.733l17.231-9.92 12.475-7.182v74.537l-17.231 9.921zM38.614 7.398l29.693 17.095-29.693 17.095L8.921 24.493 38.614 7.398zM5.938 29.632l12.475 7.182 17.231 9.92v79.676l.001.005-.001.006c0 .114.032.221.045.333.017.146.021.294.059.434l.002.007c.032.117.094.222.14.334.051.124.088.255.156.371a.036.036 0 00.004.009c.061.105.149.191.222.288.081.105.149.22.244.314l.008.01c.084.083.19.142.284.215.106.083.202.178.32.247l.013.005.011.008 34.139 19.321v34.175L5.939 144.867V29.632h-.001zm136.646 115.235l-65.352 37.625V148.31l48.399-27.628 16.953-9.677v33.862zm35.646-61.22l-29.706 17.102V66.908l17.231-9.92 12.475-7.182v33.841z"/>
|
||||
</g>
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<div class="mt-8 bg-white dark:bg-gray-800 overflow-hidden shadow sm:rounded-lg">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2">
|
||||
<div class="p-6">
|
||||
<div class="flex items-center">
|
||||
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" class="w-8 h-8 text-gray-500"><path d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"></path></svg>
|
||||
<div class="ml-4 text-lg leading-7 font-semibold"><a href="https://laravel.com/docs" class="underline text-gray-900 dark:text-white">Documentation</a></div>
|
||||
</div>
|
||||
|
||||
<div class="ml-12">
|
||||
<div class="mt-2 text-gray-600 dark:text-gray-400 text-sm">
|
||||
Laravel has wonderful, thorough documentation covering every aspect of the framework. Whether you are new to the framework or have previous experience with Laravel, we recommend reading all of the documentation from beginning to end.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-6 border-t border-gray-200 dark:border-gray-700 md:border-t-0 md:border-l">
|
||||
<div class="flex items-center">
|
||||
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" class="w-8 h-8 text-gray-500"><path d="M3 9a2 2 0 012-2h.93a2 2 0 001.664-.89l.812-1.22A2 2 0 0110.07 4h3.86a2 2 0 011.664.89l.812 1.22A2 2 0 0018.07 7H19a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V9z"></path><path d="M15 13a3 3 0 11-6 0 3 3 0 016 0z"></path></svg>
|
||||
<div class="ml-4 text-lg leading-7 font-semibold"><a href="https://laracasts.com" class="underline text-gray-900 dark:text-white">Laracasts</a></div>
|
||||
</div>
|
||||
|
||||
<div class="ml-12">
|
||||
<div class="mt-2 text-gray-600 dark:text-gray-400 text-sm">
|
||||
Laracasts offers thousands of video tutorials on Laravel, PHP, and JavaScript development. Check them out, see for yourself, and massively level up your development skills in the process.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-6 border-t border-gray-200 dark:border-gray-700">
|
||||
<div class="flex items-center">
|
||||
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" class="w-8 h-8 text-gray-500"><path d="M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"></path></svg>
|
||||
<div class="ml-4 text-lg leading-7 font-semibold"><a href="https://laravel-news.com/" class="underline text-gray-900 dark:text-white">Laravel News</a></div>
|
||||
</div>
|
||||
|
||||
<div class="ml-12">
|
||||
<div class="mt-2 text-gray-600 dark:text-gray-400 text-sm">
|
||||
Laravel News is a community driven portal and newsletter aggregating all of the latest and most important news in the Laravel ecosystem, including new package releases and tutorials.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-6 border-t border-gray-200 dark:border-gray-700 md:border-l">
|
||||
<div class="flex items-center">
|
||||
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" class="w-8 h-8 text-gray-500"><path d="M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
|
||||
<div class="ml-4 text-lg leading-7 font-semibold text-gray-900 dark:text-white">Vibrant Ecosystem</div>
|
||||
</div>
|
||||
|
||||
<div class="ml-12">
|
||||
<div class="mt-2 text-gray-600 dark:text-gray-400 text-sm">
|
||||
Laravel's robust library of first-party tools and libraries, such as <a href="https://forge.laravel.com" class="underline">Forge</a>, <a href="https://vapor.laravel.com" class="underline">Vapor</a>, <a href="https://nova.laravel.com" class="underline">Nova</a>, and <a href="https://envoyer.io" class="underline">Envoyer</a> help you take your projects to the next level. Pair them with powerful open source libraries like <a href="https://laravel.com/docs/billing" class="underline">Cashier</a>, <a href="https://laravel.com/docs/dusk" class="underline">Dusk</a>, <a href="https://laravel.com/docs/broadcasting" class="underline">Echo</a>, <a href="https://laravel.com/docs/horizon" class="underline">Horizon</a>, <a href="https://laravel.com/docs/sanctum" class="underline">Sanctum</a>, <a href="https://laravel.com/docs/telescope" class="underline">Telescope</a>, and more.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex justify-center mt-4 sm:items-center sm:justify-between">
|
||||
<div class="text-center text-sm text-gray-500 sm:text-left">
|
||||
<div class="flex items-center">
|
||||
<svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" stroke="currentColor" class="-mt-px w-5 h-5 text-gray-400">
|
||||
<path d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"></path>
|
||||
</svg>
|
||||
|
||||
<a href="https://laravel.bigcartel.com" class="ml-1 underline">
|
||||
Shop
|
||||
</a>
|
||||
|
||||
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" class="ml-4 -mt-px w-5 h-5 text-gray-400">
|
||||
<path d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"></path>
|
||||
</svg>
|
||||
|
||||
<a href="https://github.com/sponsors/taylorotwell" class="ml-1 underline">
|
||||
Sponsor
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ml-4 text-center text-sm text-gray-500 sm:text-right sm:ml-0">
|
||||
Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user