Skip to content

Commit

Permalink
view frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkHorseCorder committed Dec 29, 2022
1 parent bdea49e commit 5cbb6cf
Show file tree
Hide file tree
Showing 3 changed files with 222 additions and 0 deletions.
49 changes: 49 additions & 0 deletions project/resources/views/layouts/auth.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{__($gs->title)}}-@yield('title')</title>
<link rel="stylesheet" href="{{asset('assets/frontend')}}/css/bootstrap.min.css" />
<link rel="stylesheet" href="{{asset('assets/frontend')}}/css/all.min.css" />
<link rel="stylesheet" href="{{asset('assets/frontend')}}/css/main.css">
<link href="{{asset('assets/frontend/css/main.php')}}?color={{$gs->theme_color}}" rel="stylesheet" />
<link rel="shortcut icon" href="{{getPhoto($gs->favicon)}}">
@stack('style')
</head>
<body>

<div class="overlayer"></div>

@yield('content')

@if (@$gs->is_tawk)
<!--Start of Tawk.to Script-->
<script type="text/javascript">
'use strict';
var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
(function(){
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
s1.async=true;
s1.src="https://embed.tawk.to/{{ @$gs->tawk_id }}";
s1.charset='UTF-8';
s1.setAttribute('crossorigin','*');
s0.parentNode.insertBefore(s1,s0);
})();
</script>
<!--End of Tawk.to Script-->
@endif


<script src="{{asset('assets/frontend')}}/js/jquery-3.6.0.min.js"></script>
<script src="{{asset('assets/frontend')}}/js/bootstrap.min.js"></script>
<script src="{{asset('assets/frontend')}}/js/main.js"></script>
@include('notify.alert')
@stack('script')


</body>

</html>
81 changes: 81 additions & 0 deletions project/resources/views/layouts/user.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@include('other.seo')
<title>{{__($gs->title)}}-@yield('title')</title>
<link rel="stylesheet" href="{{asset('assets/frontend')}}/css/bootstrap.min.css" />
<link rel="stylesheet" href="{{asset('assets/frontend')}}/css/animate.css" />
<link rel="stylesheet" href="{{asset('assets/frontend')}}/css/all.min.css" />
<link rel="stylesheet" href="{{asset('assets/admin/css/summernote.css')}}">
<link rel="stylesheet" href="{{asset('assets/frontend')}}/css/lightbox.min.css" />
<link rel="stylesheet" href="{{asset('assets/frontend')}}/css/odometer.css"/>
<link rel="stylesheet" href="{{asset('assets/frontend')}}/css/owl.min.css"/>
<link rel="stylesheet" href="{{asset('assets/frontend')}}/css/main.css">
<link rel="stylesheet" href="{{asset('assets/user')}}/css/custom.css">
<link href="{{asset('assets/frontend/css/main.php')}}?color={{$gs->theme_color}}" rel="stylesheet" />
<link rel="shortcut icon" href="{{getPhoto($gs->favicon)}}">
@stack('style')
</head>
<body>
<!-- Overlayer -->
<span class="toTopBtn">
<i class="fas fa-angle-up"></i>
</span>
<div class="overlayer"></div>
<div class="loader"></div>
<!-- Overlayer -->
<main class="dashboard-section">
@include('user.partials.sidebar')
<article class="main--content">
@include('user.partials.header')
<div class="dashborad--content">
<div class="breadcrumb-area pt-0">
<h5 class="title mt-3">@yield('title')</h5>
<ul class="breadcrumb">
<li>
<a href="{{route('user.dashboard')}}">@langg('User Dashboard')</a>
</li>
<li>
@yield('title')
</li>
</ul>

</div>
<div class="row">
@if ($gs->kyc)
@include('user.partials.kyc_info')
@endif
</div>
@yield('content')
<div class="footer-copyright text-center mt-auto">
&copy; @langg('All Right Reserved by') <a href="{{url('/')}}" class="text--base">{{$gs->title}}</a>
</div>
</div>
</article>
</main>

<script src="{{asset('assets/frontend')}}/js/jquery-3.6.0.min.js"></script>
<script src="{{asset('assets/frontend')}}/js/bootstrap.min.js"></script>
<script src="{{asset('assets/frontend')}}/js/bootstrap.bundle.js"></script>
<script src="{{asset('assets/frontend')}}/js/viewport.jquery.js"></script>
<script src="{{asset('assets/frontend')}}/js/odometer.min.js"></script>
<script src="{{asset('assets/frontend')}}/js/owl.min.js"></script>
<script src="{{asset('assets/frontend')}}/js/lightbox.min.js"></script>
<script src="{{asset('assets/frontend')}}/js/main.js"></script>
<script src="{{asset('assets/admin/js/summernote.js')}}"></script>
@include('notify.alert')
@stack('script')

<script>
'use strict';
$('.reason').on('click',function(){
$('#modal-reason').find('.reason-text').val($(this).data('reason'))
$('#modal-reason').modal('show')
})
</script>
</body>

92 changes: 92 additions & 0 deletions project/resources/views/other/payment_load.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@

@if (in_array($gateway->keyword,['stripe','authorize']))
<div class="card border-0 mt-5">
<div class="card-header">
<h4>@langg('Card Information')</h4>
</div>
<div class="card-body">
<div class="row">
<div class="col-4">
<input type="text" name="card_number" class="form-control" placeholder="@langg('Card Number')">
</div>
<div class="col-4">
<input type="text" name="cvc" class="form-control" placeholder="@langg('CVC')">
</div>
<div class="col-2">
<input type="text" name="month" class="form-control" placeholder="@langg('Month')">
</div>
<div class="col-2">
<input type="text" name="year" class="form-control" placeholder="@langg('Year')">
</div>
</div>
</div>
</div>
@endif


@if ($gateway->keyword == 'paystack')
<input type="hidden" id="ref_id" name="ref_id" value="">
@endif


@if ($gateway->keyword == 'mercadopago')
<div class="row mt-3">
<div class="col-lg-6 mb-2">
<input class="form-control" type="text" placeholder="{{ __('Credit Card Number') }}" id="cardNumber" data-checkout="cardNumber" onselectstart="return false" autocomplete=off required />
</div>

<div class="col-lg-6 mb-2">
<input class="form-control" type="text" id="securityCode" data-checkout="securityCode" placeholder="{{ __('Security Code') }}" onselectstart="return false" autocomplete=off required />
</div>

<div class="col-lg-6 mb-2">
<input class="form-control" type="text" id="cardExpirationMonth" data-checkout="cardExpirationMonth" placeholder="{{ __('Expiration Month') }}" autocomplete=off required />
</div>

<div class="col-lg-6 mb-2">
<input class="form-control" type="text" id="cardExpirationYear" data-checkout="cardExpirationYear" placeholder="{{ __('Expiration Year') }}" autocomplete=off required />
</div>

<div class="col-lg-6 mb-2">
<input class="form-control" type="text" id="cardholderName" data-checkout="cardholderName" placeholder="{{ __('Card Holder Name') }}" required />
</div>

<div class="col-lg-6">
<label for="docType" class="col-lg-3 pl-0" id="dc-label">{{ __('Document type') }}</label>
<select class="form-control col-lg-9 pl-0" id="docType" data-checkout="docType" required>

</select>
</div>

<div class="col-lg-6">
<input class="form-control" type="text" id="docNumber" data-checkout="docNumber" placeholder="{{ __('Document Number') }}" required />
</div>

</div>


<input type="hidden" id="installments" value="1" />
<input type="hidden" name="amount" id="amount" />
<input type="hidden" name="description" />
<input type="hidden" name="paymentMethodId" />
@endif

@if ($gateway->type == 'manual')
<div class="row mt-3">
<div class="form-group col-lg-12">
<h3>@langg('Deposit Instruction')</h3>
<p>
@php
echo $gateway->details;
@endphp
</p>
</div>

<div class="form-group col-lg-12">
<label class="my-3">@langg('Please provide your transaction details')</label>
<textarea name="trx_details" class="form-control" id="" cols="30" rows="10"></textarea>
</div>
<input type="hidden" name="type" value="manual">

</div>
@endif

0 comments on commit 5cbb6cf

Please sign in to comment.