repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1 value | license stringclasses 7 values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2 classes |
|---|---|---|---|---|---|---|---|---|
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/user/appointments/create.blade.php | resources/views/user/appointments/create.blade.php | <div class="modal fade" id="createAppointment" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<form name="form-data">
@csrf
<div class="modal-header">
<h5 class="modal-title" id="staticBackdropLabel">{{__('user/my-appointment.appointment_form')}}</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="form-floating">
<select class="form-select" name="teacherId" aria-label="Floating label select example">
<option disabled selected>{{__('user/my-appointment.select')}}</option>
@foreach($teachers as $teacher)
<option value="{{$teacher->id}}">{{$teacher->name .' '. $teacher->surname}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('user/my-appointment.teacher')}}</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="carId" aria-label="Floating label select example">
<option disabled selected>{{__('user/my-appointment.select')}}</option>
@foreach($cars as $car)
<option value="{{$car->id}}">{{$car->plate_code}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('user/my-appointment.car')}}</label>
</div>
<br>
<div class="form-floating mb-3">
<input type="date" class="form-control" id="date" name="date"
min="{{\Carbon\Carbon::now()->toDateString()}}">
<label for="floatingAddress">{{__('user/my-appointment.date')}}</label>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-bs-dismiss="modal">{{__('user/my-appointment.cancel_btn')}}</button>
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('user/my-appointment.create_appontment_btn')}}
</button>
</div>
</form>
</div>
</div>
</div>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/errors/layout.blade.php | resources/views/errors/layout.blade.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@yield('title')</title>
<!-- Styles -->
<style>
html, body {
background-color: #fff;
color: #636b6f;
font-family: ui-sans-serif, 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";
font-weight: 100;
height: 100vh;
margin: 0;
}
.full-height {
height: 100vh;
}
.flex-center {
align-items: center;
display: flex;
justify-content: center;
}
.position-ref {
position: relative;
}
.content {
text-align: center;
}
.title {
font-size: 36px;
padding: 20px;
}
</style>
</head>
<body>
<div class="flex-center position-ref full-height">
<div class="content">
<div class="title">
@yield('message')
</div>
</div>
</div>
</body>
</html>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/errors/500.blade.php | resources/views/errors/500.blade.php | @extends('errors::minimal')
@section('title', __('Server Error'))
@section('code', '500')
@section('message', __('Server Error'))
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/errors/503.blade.php | resources/views/errors/503.blade.php | @extends('errors::minimal')
@section('title', __('Service Unavailable'))
@section('code', '503')
@section('message', __('Service Unavailable'))
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/errors/429.blade.php | resources/views/errors/429.blade.php | @extends('errors::minimal')
@section('title', __('Too Many Requests'))
@section('code', '429')
@section('message', __('Too Many Requests'))
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/errors/403.blade.php | resources/views/errors/403.blade.php | @extends('errors::minimal')
@section('title', __('Forbidden'))
@section('code', '403')
@section('message', __($exception->getMessage() ?: 'Forbidden'))
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/errors/401.blade.php | resources/views/errors/401.blade.php | @extends('errors::minimal')
@section('title', __('Unauthorized'))
@section('code', '401')
@section('message', __('Unauthorized'))
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/errors/minimal.blade.php | resources/views/errors/minimal.blade.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@yield('title')</title>
<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}code{font-family:monospace,monospace;font-size:1em}[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}code{font-family:Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}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-gray-400{--border-opacity:1;border-color:#cbd5e0;border-color:rgba(203,213,224,var(--border-opacity))}.border-t{border-top-width:1px}.border-r{border-right-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-xl{max-width:36rem}.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-4{padding-left:1rem;padding-right: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))}.uppercase{text-transform:uppercase}.underline{text-decoration:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tracking-wider{letter-spacing:.05em}.w-5{width:1.25rem}.w-8{width:2rem}.w-auto{width:auto}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}@-webkit-keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@-webkit-keyframes ping{0%{transform:scale(1);opacity:1}75%,to{transform:scale(2);opacity:0}}@keyframes ping{0%{transform:scale(1);opacity:1}75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:translateY(0);-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:translateY(0);-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@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))}}
</style>
<style>
body {
font-family: ui-sans-serif, 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";
}
</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 sm:pt-0">
<div class="max-w-xl mx-auto sm:px-6 lg:px-8">
<div class="flex items-center pt-8 sm:justify-start sm:pt-0">
<div class="px-4 text-lg text-gray-500 border-r border-gray-400 tracking-wider">
@yield('code')
</div>
<div class="ml-4 text-lg text-gray-500 uppercase tracking-wider">
@yield('message')
</div>
</div>
</div>
</div>
</body>
</html>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/errors/404.blade.php | resources/views/errors/404.blade.php | @extends('errors::minimal')
@section('title', __('Not Found'))
@section('code', '404')
@section('message', __('Not Found'))
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/errors/419.blade.php | resources/views/errors/419.blade.php | @extends('errors::minimal')
@section('title', __('Page Expired'))
@section('code', '419')
@section('message', __('Page Expired'))
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/profile.blade.php | resources/views/manager/profile.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.profile_edit')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@method('PUT')
@csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="name" placeholder="Üye Adı"
value="{{$user->user->name}}">
<label for="floatingFirst">{{__('manager/profile.name')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="surname" placeholder="Üye Soyadı"
value="{{$user->user->surname}}">
<label for="floatingLast">{{__('manager/profile.surname')}}</label>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" name="password" placeholder="Yeni Şifre">
<label for="floatingLast">{{__('manager/profile.new_password')}}</label>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" name="password_confirmation" id="password-confirm" placeholder="Şifre">
<label for="floatingLast">{{__('manager/profile.new_password_repeat')}}</label>
</div>
<div class="form-floating mb-3">
<input type="email" class="form-control" name="email" placeholder="Eposta Adresi"
value="{{$user->user->email}}">
<label for="floatingMail">{{__('manager/profile.email_address')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="phone" placeholder="Telefon Numarası"
value="{{$user->phone}}">
<label for="floatingPhone">{{__('manager/profile.phone')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="address" placeholder="Adres"
value="{{$user->address}}">
<label for="floatingAddress">{{__('manager/profile.address')}}</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" name="languageId" aria-label="Floating label select example">
@foreach($languages as $language)
<option
value="{{$language->id}}" {{$user->languageId == $language->id ? 'selected' : null}} >{{$language->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/profile.language')}}</label>
</div>
<div class="input-group mb-3">
<input type="file" class="form-control" name="photo">
<label class="input-group-text" for="inputGroupFile02">{{__('manager/profile.profile_photo')}}</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/profile.save_btn')}}
</button>
<a href="{{route('manager.dashboard')}}" class="btn btn-danger">{{__('manager/profile.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.profile_edit')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.profile.update')}}';
const backUrl = '{{route('manager.profile.edit')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/index.blade.php | resources/views/manager/index.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.home')}}</h2>
</blockquote>
</figure>
<!-- pay modal -->
@if(session('invoice'))
@include('manager.modal-component.pay-method')
@endif
<!-- pay modal end -->
<div class="container text-center">
<div class="row row-cols-2 d-flex justify-content-between">
<div class="alert alert-info w-100 text-start" role="alert">
@if(session('invoice'))
<i class="bi bi-info-square me-2"></i>{{__('manager/index.info_payment_error')}}
<button type="button" class="btn btn-success ms-3" data-bs-toggle="modal"
data-bs-target="#pay">
{{__('manager/index.pay_btn')}}
</button>
@else
<i class="bi bi-info-square me-2"></i> {{__('manager/index.info_payment_success')}}{{invoiceDiffDate(companyId())}}
@endif
</div>
@if(session('invoice') != true)
@endif
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.manager_panel')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('coupon.code')}}';
</script>
<script src="{{asset('js/payment.js')}}"></script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/supports.blade.php | resources/views/manager/supports.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.support')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">{{__('manager/support.tc')}}</th>
<th scope="col">{{__('manager/support.name_surname')}}</th>
<th scope="col">{{__('manager/support.why')}}</th>
<th scope="col">{{__('manager/support.contact_phone')}}</th>
<th scope="col">{{__('manager/support.created_at')}}</th>
<th scope="col">{{__('manager/support.transactions')}}</th>
</tr>
</thead>
<tbody>
@foreach($supports as $support)
<tr>
<td>{{$support->user->tc}}</td>
<td>{{$support->user->name .' '. $support->user->surname}}</td>
<td>{{$support->subject}}</td>
<td>{{$support->info->phone}}</td>
<td>{{$support->created_at}}</td>
<td>
<button type="button" class="btn btn-success" data-bs-toggle="modal"
data-bs-target="#supportShow{{$support->id}}">
<i class="bi bi-eye"></i>
</button>
<div class="modal fade" id="supportShow{{$support->id}}" data-bs-backdrop="static"
data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="staticBackdropLabel">{{$support->user->name .' '. $support->user->surname}}</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body">
{{$support->message}}
</div>
<div class="modal-footer">
<form name="form-data">
@csrf
@method('PUT')
<input type="hidden" name="status" value="1">
<button type="button" onclick="modalCreateAndUpdateButton(`${{route('manager.support.update',$support)}}`)" class="btn btn-success">{{__('manager/support.done_btn')}}</button>
</form>
</div>
</div>
</div>
</div>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.support')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/company.blade.php | resources/views/manager/company.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.company_edit')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@method('PUT')
@csrf
<div class="row">
<div class="col-md-6 col-sm-12">
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Şirket Adı"
value="{{$company->title}}">
<label for="floatingFirst">{{__('manager/company.name')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="tax_no" maxlength="11"
placeholder="Vergi No" value="{{$company->info->tax_no}}">
<label for="floatingFirst">{{__('manager/company.tax_no')}}</label>
</div>
<div class="form-floating mb-3">
<input type="email" class="form-control" name="email" placeholder="E-mail"
value="{{$company->info->email}}">
<label for="floatingFirst">{{__('manager/company.email')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="website_url" placeholder="Web Site"
value="{{$company->info->website_url}}">
<label for="floatingFirst">{{__('manager/company.website')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="phone" placeholder="Telefon"
value="{{$company->info->phone}}">
<label for="floatingFirst">{{__('manager/company.phone')}}</label>
</div>
</div>
<div class="col-md-6 col-sm-12">
<div class="form-floating mb-3">
<select class="form-select" onchange="countryChange()" id="country" name="countryId"
aria-label="Floating label select example">
<option disabled selected>{{__('manager/company.select')}}</option>
@foreach($countries as $country)
<option
value="{{$country->id}}" {{$company->info->countryId == $country->id ? 'selected' : null}}>{{$country->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/company.country')}}</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" onchange="cityChange()" id="city" name="cityId"
aria-label="Floating label select example">
@foreach($cities as $city)
<option
value="{{$city->id}}" {{$company->info->cityId == $city->id ? 'selected' : null}}>{{$city->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/company.city')}}</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" name="stateId" id="state"
aria-label="Floating label select example">
@foreach($states as $state)
<option
value="{{$state->id}}" {{$company->info->stateId == $state->id ? 'selected' : null}}>{{$state->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/company.state')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="zip_code" placeholder="Posta Kodu"
value="{{$company->info->zip_code}}">
<label for="floatingFirst">{{__('manager/company.zipcode')}}</label>
</div>
<div class="input-group mb-3">
<input type="file" class="form-control" name="logo">
<label class="input-group-text" for="inputGroupFile02">{{__('manager/company.logo')}}</label>
</div>
</div>
</div>
<div class="form-floating mb-4">
<input type="text" class="form-control" name="address" placeholder="Adres"
value="{{$company->info->address}}">
<label for="floatingFirst">{{__('manager/company.address')}}</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/company.save_btn')}}
</button>
<a href="{{route('manager.dashboard')}}" class="btn btn-danger">{{__('manager/company.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.company_edit')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.company.update')}}';
const backUrl = '{{route('manager.company.edit')}}';
</script>
<script>
function countryChange() {
const countryId = document.getElementById("country").value;
const cityUrl = "{{route('city')}}/" + countryId;
axios.get(cityUrl).then(res => {
var option = "";
Object.keys(res.data).forEach(key => {
option += "<option value=" + res.data[key].id + ">" + res.data[key].title + "</option>";
});
document.getElementById("city").innerHTML = option;
});
}
function cityChange() {
const cityId = document.getElementById("city").value;
const stateUrl = "{{route('state')}}/" + cityId;
axios.get(stateUrl).then(res => {
var option = "";
Object.keys(res.data).forEach(key => {
option += "<option value=" + res.data[key].id + ">" + res.data[key].title + "</option>";
});
document.getElementById("state").innerHTML = option;
});
}
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/notification/index.blade.php | resources/views/manager/notification/index.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.notifications')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12 mb-3">
<h4><a href="{{route('manager.notification.create')}}" class="btn btn-success">{{__('manager/menu.notification_create')}}</a>
</h4>
</div>
<div class="col-12 col-lg-12 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">{{__('manager/notification.message')}}</th>
<th scope="col">{{__('manager/notification.status')}}</th>
<th scope="col">{{__('manager/notification.date')}}</th>
</tr>
</thead>
<tbody>
@foreach($notifications as $notification)
<tr>
<td>{{$notification->message}}</td>
<td class="{{$notification->status == 0 ? 'text-warning' : 'text-success'}} fw-bold">{{$notification->status == 0 ? 'Gönderiliyor' : 'Gönderildi'}}</td>
<td>{{$notification->created_at}}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.notifications')}}</title>
@endsection
@section('css')
@include('layouts.stylesheet')
@endsection
@section('js')
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/notification/create.blade.php | resources/views/manager/notification/create.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.notification_create')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
@foreach($users as $user)
@if($user->info->companyId == companyId())
<div class="form-check">
<input class="form-check-input" type="checkbox" value="1"
name="{{$user->id}}"
id="notificationUser{{$user->id}}">
<label class="form-check-label" for="notificationUser{{$user->id}}">
{{$user->name .' '. $user->surname}}
</label>
</div>
@endif
@endforeach
<br>
<div class="form-floating">
<textarea class="form-control h-100" placeholder="Bildirim Mesajı" name="message" id="floatingTextarea2"></textarea>
<label for="floatingTextarea2">{{__('manager/notification.message')}}</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/notification.save_btn')}}</button>
<a href="{{route('manager.notification.index')}}" class="btn btn-danger">{{__('manager/notification.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.notification_create')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.notification.store')}}';
const backUrl = '{{route('manager.notification.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/teachers/edit.blade.php | resources/views/manager/teachers/edit.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.teacher_edit')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf @method('put')
<div class="form-floating mb-3">
<input type="text" class="form-control" name="tc" placeholder="TCKN" maxlength="11" value="{{$user->user->tc}}">
<label for="floatingFirst">{{__('manager/teacher/teacher-add-edit.tc')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="name" placeholder="Ad" value="{{$user->user->name}}">
<label for="floatingFirst">{{__('manager/teacher/teacher-add-edit.name')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="surname" placeholder="Soyad" value="{{$user->user->surname}}">
<label for="floatingFirst">{{__('manager/teacher/teacher-add-edit.surname')}}</label>
</div>
<div class="form-floating mb-3">
<input type="email" class="form-control" name="email" placeholder="E-posta" value="{{$user->user->email}}">
<label for="floatingFirst">{{__('manager/teacher/teacher-add-edit.email')}}</label>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" name="password" placeholder="Yeni Şifre">
<label for="floatingFirst">{{__('manager/teacher/teacher-add-edit.new_password')}}</label>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" name="password_confirmation" id="password-confirm" placeholder="Şifre">
<label for="floatingLast">{{__('manager/teacher/teacher-add-edit.new_password_repeat')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="phone" placeholder="Telefon" value="{{$user->phone}}">
<label for="floatingFirst">{{__('manager/teacher/teacher-add-edit.phone')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" id="floatingAddress" placeholder="Adres"
name="address"
value="{{$user->address}}">
<label for="floatingAddress">{{__('manager/teacher/teacher-add-edit.address')}}</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" id="floatingSelect" name="languageId">
@foreach ($languages as $language)
<option
value="{{$language->id}}" {{$language->id == $user->languageId ? 'selected' : null}}>{{$language->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/teacher/teacher-add-edit.language')}}...</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" name="status" value="1" id="flexSwitchCheckChecked" {{$user->status == 1 ? 'checked' : null}}>
<label class="form-check-label" for="flexSwitchCheckChecked">{{__('manager/teacher/teacher-add-edit.teacher_checkbox')}}</label>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/teacher/teacher-add-edit.save_btn')}}</button>
<a href="{{route('manager.course-teacher.index')}}" class="btn btn-danger">{{__('manager/teacher/teacher-add-edit.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.teacher_edit')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.course-teacher.update',$user->userId)}}';
const backUrl = '{{route('manager.course-teacher.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/teachers/index.blade.php | resources/views/manager/teachers/index.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.teachers')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('manager.course-teacher.create')}}" class="btn btn-success">{{__('manager/menu.teacher_create')}}</a></h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">{{__('manager/teacher/teacher-list.name_surname')}}</th>
<th scope="col">{{__('manager/teacher/teacher-list.email_address')}}</th>
<th scope="col">{{__('manager/teacher/teacher-list.phone_number')}}</th>
<th scope="col">{{__('manager/teacher/teacher-list.status')}}</th>
<th scope="col">{{__('manager/teacher/teacher-list.created_at')}}</th>
<th scope="col">{{__('manager/teacher/teacher-list.transactions')}}</th>
</tr>
</thead>
<tbody>
@foreach ($users as $user)
<tr>
<th scope="row">{{$user->user->name .' '. $user->user->surname}}</th>
<td>{{$user->user->email}}</td>
<td>{{$user->phone}}</td>
<td class="{{$user->status == 1 ? 'text-success' : 'text-danger'}} fw-bold">{{$user->status == 1 ? 'Aktif' : 'Pasif'}}</td>
<td>{{$user->created_at}}</td>
<td>
<a href="{{route('manager.course-teacher.edit',$user->userId)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('manager.course-teacher.destroy',$user->userId)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.teachers')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('manager.course-teacher.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/teachers/create.blade.php | resources/views/manager/teachers/create.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.teacher_create')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="tc" placeholder="TCKN" maxlength="11">
<label for="floatingFirst">{{__('manager/teacher/teacher-add-edit.tc')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="name" placeholder="Ad">
<label for="floatingFirst">{{__('manager/teacher/teacher-add-edit.name')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="surname" placeholder="Soyad">
<label for="floatingFirst">{{__('manager/teacher/teacher-add-edit.surname')}}</label>
</div>
<div class="form-floating mb-3">
<input type="email" class="form-control" name="email" placeholder="E-posta">
<label for="floatingFirst">{{__('manager/teacher/teacher-add-edit.email')}}</label>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" name="password" placeholder="Şifre">
<label for="floatingFirst">{{__('manager/teacher/teacher-add-edit.password')}}</label>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" name="password_confirmation" id="password-confirm" placeholder="Şifre">
<label for="floatingLast">{{__('manager/teacher/teacher-add-edit.password_repeat')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="phone" placeholder="Telefon">
<label for="floatingFirst">{{__('manager/teacher/teacher-add-edit.phone')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" id="floatingAddress" placeholder="Adres"
name="address">
<label for="floatingAddress">{{__('manager/teacher/teacher-add-edit.address')}}</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" id="floatingSelect" name="languageId">
@foreach ($languages as $language)
<option value="{{$language->id}}">{{$language->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/teacher/teacher-add-edit.language')}}...</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" name="status" value="1" id="flexSwitchCheckChecked" checked>
<label class="form-check-label" for="flexSwitchCheckChecked">{{__('manager/teacher/teacher-add-edit.teacher_checkbox')}}</label>
</div>
<br>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/teacher/teacher-add-edit.save_btn')}}</button>
<a href="{{route('manager.course-teacher.index')}}" class="btn btn-danger">{{__('manager/teacher/teacher-add-edit.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.teacher_create')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.course-teacher.store')}}';
const backUrl = '{{route('manager.course-teacher.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/sales/invoice.blade.php | resources/views/manager/sales/invoice.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.invoices')}}</h2>
</blockquote>
</figure>
<!-- pay modal -->
@if(session('invoice'))
@include('manager.modal-component.pay-method')
@endif
<!-- pay modal end -->
<div class="row">
<div class="col-12 col-lg-12 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">{{__('manager/invoice.number')}}</th>
<th scope="col">{{__('manager/invoice.date')}}</th>
<th scope="col">{{__('manager/invoice.general_total')}}</th>
<th scope="col">{{__('manager/invoice.status')}}</th>
<th scope="col">{{__('manager/invoice.transactions')}}</th>
</tr>
</thead>
<tbody>
@foreach ($invoices as $invoice)
<tr>
<th scope="row">{{$invoice->id}}</th>
<td>{{$invoice->created_at}}</td>
<td>{{$invoice->total_amount}}</td>
<td class="{{$invoice->status == 1 ? 'text-success' : 'text-danger'}} fw-bold">{{$invoice->status == 1 ? 'Ödendi' : 'Ödenmedi'}}</td>
<td>
@if(session('invoice'))
<button type="button" class="btn" data-bs-toggle="modal" data-bs-target="#pay">
<i class="bi bi-credit-card text-dark fs-5"></i>
</button>
@endif
<a href="{{route('manager.invoice.show',$invoice)}}" target="_blank">
<i class="bi bi-eye me-2 text-dark fs-5"></i>
</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.invoices')}}</title>
@endsection
@section('css')
@include('layouts.stylesheet')
@endsection
@section('js')
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
@include('layouts.script')
<script>
const actionUrl = '{{route('coupon.code')}}';
</script>
<script src="{{asset('js/payment.js')}}"></script>
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/sales/online-payment.blade.php | resources/views/manager/sales/online-payment.blade.php | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Online Ödeme</title>
<link rel="icon" href="{{asset('images/favicon.png')}}" type="image/x-icon"/>
</head>
<body>
{!! $paymentForm !!}
<div id="iyzipay-checkout-form" class="responsive"></div>
</body>
</html>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/live/edit.blade.php | resources/views/manager/live/edit.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.live_lesson_edit')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf @method('PUT')
<div class="form-floating mb-3">
<input type="datetime-local" class="form-control" name="live_date" placeholder="Tarih"
value="{{\Carbon\Carbon::parse($live_lesson->live_date)->format("Y-m-d\TH:i:s")}}">
<label for="floatingFirst">{{__('manager/live-lesson/live-lesson-add-edit.date')}} </label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Üye Adı"
value="{{$live_lesson->title}}">
<label for="floatingFirst">{{__('manager/live-lesson/live-lesson-add-edit.name')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="url" placeholder="Ders Link"
value="{{$live_lesson->url}}">
<label for="floatingFirst">{{__('manager/live-lesson/live-lesson-add-edit.link')}}</label>
</div>
<div class="form-floating">
<select class="form-select" name="typeId">
<option selected disabled>{{__('manager/live-lesson/live-lesson-add-edit.select')}}</option>
@foreach($types as $type)
<option
value="{{$type->id}}" {{$live_lesson->typeId == $type->id ? 'selected' : null}}>{{$type->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/live-lesson/live-lesson-add-edit.type')}}</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="periodId">
<option selected disabled>{{__('manager/live-lesson/live-lesson-add-edit.select')}}</option>
@foreach($periods as $period)
<option
value="{{$period->id}}" {{$live_lesson->periodId == $period->id ? 'selected' : null}}>{{$period->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/live-lesson/live-lesson-add-edit.period')}}</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="monthId">
<option selected disabled>{{__('manager/live-lesson/live-lesson-add-edit.select')}}</option>
@foreach($months as $month)
<option
value="{{$month->id}}" {{$live_lesson->monthId == $month->id ? 'selected' : null}}>{{$month->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/live-lesson/live-lesson-add-edit.month')}}</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="groupId">
<option selected disabled>{{__('manager/live-lesson/live-lesson-add-edit.select')}}</option>
@foreach($groups as $group)
<option
value="{{$group->id}}" {{$live_lesson->groupId == $group->id ? 'selected' : null}}>{{$group->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/live-lesson/live-lesson-add-edit.group')}}</label>
</div>
<br>
{{--<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" name="status" value="1" id="flexSwitchCheckChecked"
checked>
<label class="form-check-label" for="flexSwitchCheckChecked">{{__('manager/live-lesson/live-lesson-add-edit.trainee_checkbox')}}</label>
</div>
<br>--}}
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/live-lesson/live-lesson-add-edit.save_btn')}}
</button>
<a href="{{route('manager.live-lesson.index')}}" class="btn btn-danger">{{__('manager/live-lesson/live-lesson-add-edit.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.live_lesson_edit')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.live-lesson.update',$live_lesson)}}';
const backUrl = '{{route('manager.live-lesson.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/live/index.blade.php | resources/views/manager/live/index.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.live_lesson')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('manager.live-lesson.create')}}" class="btn btn-success">Ders Oluştur</a></h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">{{__('manager/live-lesson/live-lesson-list.name')}}</th>
<th scope="col">{{__('manager/live-lesson/live-lesson-list.join')}}</th>
<th scope="col">{{__('manager/live-lesson/live-lesson-list.type')}}</th>
<th scope="col">{{__('manager/live-lesson/live-lesson-list.date')}}</th>
<th scope="col">{{__('manager/live-lesson/live-lesson-list.transactions')}}</th>
</tr>
</thead>
<tbody>
@foreach ($live_lessons as $live_lesson)
<tr>
<td>{{$live_lesson->title}}</td>
<td>
<a href="{{url($live_lesson->url)}}" target="_blank" class="btn btn-light">{{__('manager/live-lesson/live-lesson-list.join_btn')}}</a>
</td>
<td>{{$live_lesson->type->title}}</td>
<td>{{$live_lesson->live_date}}</td>
<td>
<a href="{{route('manager.live-lesson.edit',$live_lesson)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('manager.live-lesson.destroy',$live_lesson)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.live_lesson')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('manager.live-lesson.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/live/create.blade.php | resources/views/manager/live/create.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.live_lesson_create')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating mb-3">
<input type="datetime-local" class="form-control" name="live_date">
<label for="floatingFirst">{{__('manager/live-lesson/live-lesson-add-edit.date')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Ders Adı">
<label for="floatingFirst">{{__('manager/live-lesson/live-lesson-add-edit.name')}}</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="url" placeholder="Ders Link">
<label for="floatingFirst">{{__('manager/live-lesson/live-lesson-add-edit.link')}}</label>
</div>
<div class="form-floating">
<select class="form-select" name="typeId">
<option selected disabled>{{__('manager/live-lesson/live-lesson-add-edit.select')}}</option>
@foreach($types as $type)
<option value="{{$type->id}}">{{$type->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/live-lesson/live-lesson-add-edit.type')}}</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="periodId">
<option selected disabled>{{__('manager/live-lesson/live-lesson-add-edit.select')}}</option>
@foreach($periods as $period)
<option value="{{$period->id}}">{{$period->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/live-lesson/live-lesson-add-edit.period')}}</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="monthId">
<option selected disabled>{{__('manager/live-lesson/live-lesson-add-edit.select')}}</option>
@foreach($months as $month)
<option value="{{$month->id}}">{{$month->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/live-lesson/live-lesson-add-edit.month')}}</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="groupId">
<option selected disabled>{{__('manager/live-lesson/live-lesson-add-edit.select')}}</option>
@foreach($groups as $group)
<option value="{{$group->id}}">{{$group->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/live-lesson/live-lesson-add-edit.group')}}</label>
</div>
<br>
{{--<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" value="1" name="status" id="flexSwitchCheckChecked"
checked>
<label class="form-check-label" for="flexSwitchCheckChecked">{{__('manager/live-lesson/live-lesson-add-edit.trainee_checkbox')}}</label>
</div>
<br>--}}
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/live-lesson/live-lesson-add-edit.save_btn')}}
</button>
<a href="{{route('manager.live-lesson.index')}}" class="btn btn-danger">{{__('manager/live-lesson/live-lesson-add-edit.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.live_lesson_create')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.live-lesson.store')}}';
const backUrl = '{{route('manager.live-lesson.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/modal-component/pay-method.blade.php | resources/views/manager/modal-component/pay-method.blade.php | <div class="modal fade" id="pay" aria-hidden="true" aria-labelledby="exampleModalToggleLabel" tabindex="-1">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalToggleLabel">Ödeme Seçeneğini Seçiniz</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
@foreach($payment_methods as $payment)
<button type="button" class="btn btn-success col-md-12 mb-3" data-bs-toggle="modal"
data-bs-target="#pay{{$payment->code}}">
{{$payment->title}}
</button>
@endforeach
</div>
</div>
</div>
</div>
@if($payment_methods->where('code','wire_transfer')->where('status',1)->first())
<div class="modal fade" id="paywire_transfer" aria-hidden="true" aria-labelledby="exampleModalToggleLabel2"
tabindex="-1">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalToggleLabel2">Banka Havalesi ile Ödeme</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<span class="fw-bold">Ödenecek Tutar: {{$invoice->price}}</span>
<p>Aşağıdaki iban adresine ödenecek tutar'ı göndermeniz halinde sisteminiz açılacaktır.</p>
<p>Not: Mesaj kısmına <b>adınızı soyadınızı ve şirket adınızı yazınız</b></p>
<span>Iban : {{$payment_methods->where('code','wire_transfer')->pluck('description')->first()}}</span>
</div>
<div class="modal-footer">
<button class="btn btn-success" data-bs-target="#exampleModalToggle" data-bs-toggle="modal"
data-bs-dismiss="modal">Geri git
</button>
</div>
</div>
</div>
</div>
@endif
@if($payment_methods->where('code','online')->where('status',1)->first())
<div class="modal fade" id="payonline" aria-hidden="true" aria-labelledby="exampleModalToggleLabel3"
tabindex="-1">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalToggleLabel3">Online Ödeme</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<form name="coupon-form">
@csrf
<div class="modal-body">
<span class="fw-normal mb-3">Ödenecek Tutar: {{$invoice->price}}</span><br>
<span id="discount" class="fw-normal mb-3"></span><br>
<span id="total_amount" class="fw-bold mb-3 test-success"></span>
<div class="input-group mb-3 mt-3">
<input type="text" class="form-control" name="coupon_code" placeholder="Kupon kodu" aria-label="Kupon kodu"
aria-describedby="button-addon2">
<button class="btn btn-outline-success" type="button" id="button-addon2" onclick="couponCodeBtn()">Uygula</button>
</div>
<a class="btn btn-success col-md-12" href="{{route('manager.pay.online')}}">Öde</a>
</div>
<div class="modal-footer">
<button class="btn btn-success" data-bs-target="#exampleModalToggle" data-bs-toggle="modal"
data-bs-dismiss="modal">Geri git
</button>
</div>
</form>
</div>
</div>
</div>
@endif
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/class-exam/index.blade.php | resources/views/manager/class-exam/index.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.class_exams')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('manager.class-exam.create')}}" class="btn btn-success">{{__('manager/menu.class_exam_create')}}</a></h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">{{__('manager/class_exam.question_length')}}</th>
<th scope="col">{{__('manager/class_exam.time')}}</th>
<th scope="col">{{__('manager/class_exam.status')}}</th>
<th scope="col">{{__('manager/class_exam.transactions')}}</th>
</tr>
</thead>
<tbody>
@foreach($classExams as $exam)
<tr>
<td>{{$exam->class_exam_question_type_sum_length}}</td>
<td>{{examTime($exam->class_exam_question_type_sum_length)}}</td>
<td class="{{$exam->status == 1 ? 'text-success' : 'text-danger'}} fw-bold">{{$exam->status == 1 ? 'Aktif' : 'Pasif'}}</td>
<td>
<a href="{{route('manager.class-exam.edit',$exam->id)}}">
<i class="bi {{$exam->status == 1 ? 'bi-eye-slash' : 'bi-eye'}} text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('manager.class-exam.destroy',$exam)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.class_exams')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('manager.class-exam.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/class-exam/create.blade.php | resources/views/manager/class-exam/create.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.class_exam_create')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data" onchange="changeValue()">
@csrf
<div class="form-floating col-md-12 mb-3">
<select class="form-select" id="floatingSelect1" name="periodId">
<option disabled selected>{{__('manager/class_exam.select')}}</option>
@foreach($periods as $period)
<option value="{{$period->id}}">{{$period->title}}</option>
@endforeach
</select>
<label for="floatingSelect1">{{__('manager/class_exam.period')}}</label>
</div>
<div class="form-floating col-md-12 mb-3">
<select class="form-select" id="floatingSelect2" name="monthId">
<option disabled selected>{{__('manager/class_exam.select')}}</option>
@foreach($months as $month)
<option value="{{$month->id}}">{{$month->title}}</option>
@endforeach
</select>
<label for="floatingSelect2">{{__('manager/class_exam.month')}}</label>
</div>
<div class="form-floating col-md-12 mb-3">
<select class="form-select" id="floatingSelect3" name="groupId">
<option disabled selected>{{__('manager/class_exam.select')}}</option>
@foreach($groups as $group)
<option value="{{$group->id}}">{{$group->title}}</option>
@endforeach
</select>
<label for="floatingSelect3">{{__('manager/class_exam.class')}}</label>
</div>
@foreach($types as $type)
<label class="form-label">{{$type->title}}</label>
<div class="input-group mb-3">
<input name="{{$type->id}}" type="range" class="form-range" min="1" max="25"
oninput="this.nextElementSibling.value = this.value">
<output>13</output>
</div>
@endforeach
<div class="col-md-3 rounded mb-5">
<label class="fw-bold text-danger">
{{__('manager/class_exam.question_length')}} : <span id="total"></span>
</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/class_exam.save_btn')}}
</button>
<a href="{{route('manager.car.index')}}" class="btn btn-danger">{{__('manager/class_exam.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.class_exam_create')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.class-exam.store')}}';
const backUrl = '{{route('manager.class-exam.index')}}';
</script>
<script>
let output = document.getElementsByTagName("output");
var total = 0;
for (let item of output) {
let itemOutput = parseInt(item.textContent);
total += itemOutput;
}
document.querySelector('#total').innerHTML = total;
function changeValue() {
let output = document.getElementsByTagName("output");
var total = 0;
for (let item of output) {
let itemOutput = parseInt(item.textContent);
total += itemOutput;
}
document.querySelector('#total').innerHTML = total;
}
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/layout/stylesheet.blade.php | resources/views/manager/layout/stylesheet.blade.php | <!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-9FJZSZQ37J"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-9FJZSZQ37J');
</script>
<!-- Hotjar Tracking Code for https://codenteq.com -->
<script>
(function (h, o, t, j, a, r) {
h.hj = h.hj || function () {
(h.hj.q = h.hj.q || []).push(arguments)
};
h._hjSettings = {hjid: 2746432, hjsv: 6};
a = o.getElementsByTagName('head')[0];
r = o.createElement('script');
r.async = 1;
r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;
a.appendChild(r);
})(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv=');
</script>
<link rel="stylesheet" href="{{asset('css/app.css')}}">
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/layout/app.blade.php | resources/views/manager/layout/app.blade.php | <!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="UTF-8">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="dc.language" content="{{ app()->getLocale() }}">
<meta http-equiv="content-language" content="{{ app()->getLocale() }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Quiz app uygulaması codenteq adı altında yazılmış bir online sınav uygulamasıdır.">
<meta name="author" content="Ahmet Arşiv">
<meta name="generator" content="Quiz App">
@yield('meta')
<link rel="icon" href="{{asset('images/favicon.png')}}" type="image/x-icon"/>
@include('manager.layout.stylesheet')
@yield('css')
</head>
<body>
<div class="d-flex" id="wrapper">
<div class="border-end d-flex d-sm-flex" id="sidebar-wrapper">
<div class="sidebar-heading border-bottom fw-bold">
<div class="list-group list-group-flush sidebar-menu">
<a class="sidebar-logo-link d-md-none d-lg-none d-xl-none d-xxl-none" href="{{route('manager.dashboard')}}">
<img class="sidebar-logo" src="{{ companyLogo() }}" alt="logo">
</a>
@include('manager.layout.partials.sidebar')
</div>
</div>
</div>
<div class="sidebar-toggle-button">
<a class="btn btn-light" id="sidebarToggle"><i class="bi bi-list fs-4"></i></a>
</div>
<div id="page-content-wrapper">
@include('manager.layout.partials.navbar-top')
<div class="content-app">
@yield('content')
</div>
@include('manager.layout.partials.navbar')
</div>
</div>
</body>
@include('partials.together.script')
@yield('js')
</html>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/layout/partials/navbar.blade.php | resources/views/manager/layout/partials/navbar.blade.php | <nav
class="navbar fixed-bottom bottom-navigation-mb d-flex justify-content-around d-md-none d-lg-none d-xl-none d-xxl-none">
<ul class="navbar-list mx-auto ">
<li class="navbar-item">
<a class="navbar-link" id="sidebarToggleM">
<i class="bi bi-list navbar-link-icon"></i>
</a>
</li>
<li class="navbar-item">
<a class="navbar-link text-secondary {{ request()->is('manager/appointment*') ? 'active' : '' }}"
href="{{route('manager.appointment.index')}}">
<i class="bi bi-calendar4-range navbar-link-icon"></i>
</a>
</li>
<li class="navbar-item">
<a class="navbar-link {{ request()->is('manager/dashboard') ? 'active' : '' }}"
href="{{route('manager.dashboard')}}">
<i class="bi bi-house navbar-link-icon"></i>
</a>
</li>
<li class="navbar-item">
<a class="navbar-link {{ request()->is('manager/user*') ? 'active' : '' }}"
href="{{route('manager.user.results')}}">
<i class="bi bi-clipboard-data navbar-link-icon"></i>
</a>
</li>
<li class="navbar-item">
<a class="navbar-link {{ request()->is('manager/profile*') ? 'active' : '' }}"
href="{{route('manager.profile.edit')}}">
<i class="bi bi-person navbar-link-icon"></i>
</a>
</li>
<div class="navbar-underscore"></div>
</ul>
</nav>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/layout/partials/sidebar.blade.php | resources/views/manager/layout/partials/sidebar.blade.php | <a class="sidebar-menu-list">
<a class="list-group-item list-group-item-action d-md-none d-lg-none d-xl-none d-xxl-none" type="button"
id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
<div class="profile-info-icon-sidebar me-1"><span>{{ auth()->user()->name[0] }}</span></div>
<span class="sidebar-menu-text fs-6">{{auth()->user()->name .' '. auth()->user()->surname}}</span>
<i class="bi bi-chevron-down sidebar-toggle-icon me-1"></i>
</a>
<ul class="dropdown-menu sidebar-dropdown-open d-md-none d-lg-none d-xl-none d-xxl-none"
aria-labelledby="dropdownMenuButton1">
<span class="text-secondary ms-2">ACCOUNT</span>
<li><a class="dropdown-item {{ session('invoice') == true ? 'disabled' : null}}"
href="{{route('manager.profile.edit')}}">{{__('manager/menu.profile')}}</a></li>
<li><a class="dropdown-item {{ session('invoice') == true ? 'disabled' : null}}"
href="{{route('manager.company.edit')}}">{{__('manager/menu.company')}}</a></li>
<li><a class="dropdown-item" href="{{route('manager.invoice.index')}}">{{__('manager/menu.invoices')}}</a></li>
<li><a class="dropdown-item" href="{{route('logout-user')}}">{{__('manager/menu.logout')}}</a></li>
</ul>
<a class="list-group-item list-group-item-action d-none d-md-block text-left {{ request()->is('manager/dashboard') ? 'active' : '' }}"
href="{{route('manager.dashboard')}}">
<i class="bi bi-house fs-4"></i>
<span class="sidebar-menu-text">{{__('manager/menu.home')}}</span>
</a>
<a class="list-group-item list-group-item-action text-left {{ request()->is('manager/user-operations*', 'manager/user*') ? 'active' : '' }} {{ session('invoice') == true ? 'disabled' : null}}"
type="button" id="dropdownMenuButton3" data-bs-toggle="dropdown" aria-expanded="false">
<i class="bi bi-people fs-4"></i>
<span class="sidebar-menu-text">{{__('manager/menu.trainee_transactions')}}</span>
<i class="bi bi-chevron-down sidebar-toggle-icon me-1"></i>
</a>
<ul class="dropdown-menu sidebar-dropdown-open" aria-labelledby="dropdownMenuButton3">
<span class="text-secondary ms-2">STUDENT</span>
<li><a class="dropdown-item" href="{{route('manager.user.index')}}">{{__('manager/menu.trainee_list')}}</a></li>
<li><a class="dropdown-item" href="{{route('manager.user.results')}}">{{__('manager/menu.trainee_report')}}</a>
</li>
<li><a class="dropdown-item" href="{{route('manager.user.create')}}">{{__('manager/menu.new_trainee')}}</a></li>
<li><a class="dropdown-item"
href="{{route('manager.user.excel-import')}}">{{__('manager/menu.new_trainee_excel')}}</a></li>
<li><a class="dropdown-item" href="{{route('manager.user.mebbis.import')}}">Mebbis Beta</a></li>
</ul>
<a class="list-group-item list-group-item-action text-left {{ request()->is('manager/question*') ? 'active' : '' }} {{ session('invoice') == true ? 'disabled' : null}}"
href="{{route('manager.question.index')}}">
<i class="bi bi-question-circle fs-4"></i>
<span class="sidebar-menu-text">{{__('manager/menu.questions')}}</span>
</a>
<a class="list-group-item list-group-item-action text-left {{ request()->is('manager/class-exam*') ? 'active' : '' }} {{ session('invoice') == true ? 'disabled' : null}}"
href="{{route('manager.class-exam.index')}}">
<i class="bi bi-file-richtext fs-4"></i>
<span class="sidebar-menu-text">{{__('manager/menu.class_exams')}}</span>
</a>
<a class="list-group-item list-group-item-action text-left {{ request()->is('manager/live-lesson*') ? 'active' : '' }} {{ session('invoice') == true ? 'disabled' : null}}"
href="{{route('manager.live-lesson.index')}}">
<i class="bi bi-camera-video fs-4"></i>
<span class="sidebar-menu-text">{{__('manager/menu.live_lesson')}}</span>
</a>
<a class="list-group-item list-group-item-action text-left {{ request()->is('manager/course-teacher*') ? 'active' : '' }} {{ session('invoice') == true ? 'disabled' : null}}"
href="{{route('manager.course-teacher.index')}}">
<i class="bi bi-person-plus fs-4"></i>
<span class="sidebar-menu-text">{{__('manager/menu.teachers')}}</span>
</a>
<a class="list-group-item list-group-item-action text-left d-md-none d-lg-none d-xl-none d-xxl-none {{ request()->is('manager/notification*') ? 'active' : '' }} {{ session('invoice') == true ? 'disabled' : null}}"
href="{{route('manager.notification.index')}}">
<i class="bi bi-bell fs-4"></i>
<span class="sidebar-menu-text">{{__('manager/menu.notifications')}}</span>
</a>
<a class="list-group-item list-group-item-action text-left d-md-none d-lg-none d-xl-none d-xxl-none {{ request()->is('manager/support*') ? 'active' : '' }} {{ session('invoice') == true ? 'disabled' : null}}"
href="{{route('manager.support.index')}}">
<i class="bi bi-info-circle fs-4"></i>
<span class="sidebar-menu-text">{{__('manager/menu.support')}}</span>
</a>
<a class="list-group-item list-group-item-action text-left {{ request()->is('manager/appointment-car*', 'manager/car*', 'manager/appointment*', 'manager/appointment-setting*') ? 'active' : '' }} {{ session('invoice') == true ? 'disabled' : null}}"
type="button" id="dropdownMenuButton2" data-bs-toggle="dropdown" aria-expanded="false">
<i class="bi bi-calendar4-range fs-4"></i>
<span class="sidebar-menu-text">{{__('manager/menu.car_appointment')}}</span>
<i class="bi bi-chevron-down sidebar-toggle-icon me-1"></i>
</a>
<ul class="dropdown-menu sidebar-dropdown-open" aria-labelledby="dropdownMenuButton2">
<span class="text-secondary ms-2">BOOKING</span>
<li><a class="dropdown-item" href="{{route('manager.car.index')}}">{{__('manager/menu.car')}}</a></li>
<li><a class="dropdown-item"
href="{{route('manager.appointment.index')}}">{{__('manager/menu.appointment')}}</a></li>
<li><a class="dropdown-item"
href="{{route('manager.appointment.setting')}}">{{__('manager/menu.appointment_setting')}}</a></li>
</ul>
</a>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/layout/partials/navbar-top.blade.php | resources/views/manager/layout/partials/navbar-top.blade.php | <nav class="navbar-top navbar navbar-expand-lg navbar-light bg-light border-bottom d-none d-md-block">
<div class="container-fluid">
<a class="navbar-logo-link" href="{{route('manager.dashboard')}}">
<img class="sidebar-logo" src="{{ companyLogo() }}" alt="logo">
</a>
<div class="collapse navbar-collapse d-none d-sm-block" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mt-2 mt-lg-0">
<li class="nav-item me-2">
<a href="{{route('manager.support.index')}}"
class="nav-link navbar-border {{ session('invoice') == true ? 'disabled' : null}}">
<i class="bi bi-info-circle fs-4 ms-2"></i>
</a>
</li>
<li class="nav-item me-2">
<a href="{{route('manager.notification.index')}}"
class="nav-link navbar-border {{ session('invoice') == true ? 'disabled' : null}}">
<i class="bi bi-bell fs-4 ms-2"></i>
</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link navbar-border" id="navbarDropdown" href="#" role="button"
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
@if(!auth()->user()->info->photo)
<div class="profile-info-icon-nav"><span>{{ auth()->user()->name[0] }}</span></div>
<span class="name">
{{auth()->user()->name .' '. auth()->user()->surname}}
<p class="role">{{auth()->user()->type == 2 ? 'Manager' : 'null'}}</p>
</span>
@else
<img src="{{imagePath(auth()->user()->info->photo)}}" class="rounded-circle me-1" height="30" alt="">
<span class="name">
{{auth()->user()->name .' '. auth()->user()->surname}}
<p class="role">{{auth()->user()->type == 2 ? 'Manager' : 'null'}}</p>
</span>
@endif
<i class="bi bi-chevron-down sidebar-toggle-icon me-1"></i>
</a>
<div class="dropdown-menu dropdown-menu-end navbar-dropdown-open" aria-labelledby="navbarDropdown">
<span class="text-secondary ms-2">ACCOUNT</span>
<a class="dropdown-item {{ session('invoice') == true ? 'disabled' : null}}"
href="{{route('manager.profile.edit')}}">{{__('manager/menu.profile')}}</a>
<a class="dropdown-item {{ session('invoice') == true ? 'disabled' : null}}"
href="{{route('manager.company.edit')}}">{{__('manager/menu.company')}}</a>
<a class="dropdown-item"
href="{{route('manager.invoice.index')}}">{{__('manager/menu.invoices')}}</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{{route('logout-user')}}">{{__('manager/menu.logout')}}</a>
</div>
</li>
</ul>
</div>
</div>
</nav>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/users/edit.blade.php | resources/views/manager/users/edit.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.edit_trainee')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf @method('PUT')
<div class="row g-2 col-md-12">
<div class="form-floating mb-3 col-md-6">
<input type="text" class="form-control" name="tc" placeholder="TCKN"
value="{{$user->user->tc}}">
<label for="floatingFirst">{{__('manager/user/trainee-add-edit.tc')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="text" class="form-control" name="name" placeholder="Üye Adı"
value="{{$user->user->name}}">
<label for="floatingFirst">{{__('manager/user/trainee-add-edit.name')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="text" class="form-control" name="surname" placeholder="Üye Soyadı"
value="{{$user->user->surname}}">
<label for="floatingLast">{{__('manager/user/trainee-add-edit.surname')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="email" class="form-control" name="email" placeholder="Eposta Adresi"
value="{{$user->user->email}}">
<label for="floatingMail">{{__('manager/user/trainee-add-edit.email_address')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="password" class="form-control" name="password" placeholder="Yeni Şifre">
<label>{{__('manager/user/trainee-add-edit.new_password')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="password" class="form-control" name="password_confirmation"
id="password-confirm" placeholder="Şifre">
<label
for="floatingLast">{{__('manager/user/trainee-add-edit.new_password_repeat')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="text" class="form-control" name="phone" placeholder="Telefon Numarası"
value="{{$user->phone}}">
<label for="floatingPhone">{{__('manager/user/trainee-add-edit.phone')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="text" class="form-control" name="address" placeholder="Adres"
value="{{$user->address}}">
<label for="floatingAddress">{{__('manager/user/trainee-add-edit.address')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<select class="form-select" id="floatingSelect" name="periodId">
@foreach($periods as $period)
<option
value="{{$period->id}}" {{$user->periodId == $period->id ? 'selected' : null}}>{{$period->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/user/trainee-add-edit.period')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<select class="form-select" name="monthId">
@foreach($months as $month)
<option
value="{{$month->id}}" {{$user->monthId == $month->id ? 'selected' : null}}>{{$month->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/user/trainee-add-edit.month')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<select class="form-select" name="groupId">
@foreach($groups as $group)
<option
value="{{$group->id}}" {{$user->groupId == $group->id ? 'selected' : null}}>{{$group->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/user/trainee-add-edit.group')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<select class="form-select" name="languageId">
@foreach($languages as $language)
<option
value="{{$language->id}}" {{$user->languageId == $language->id ? 'selected' : null}}>{{$language->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/user/trainee-add-edit.language')}}</label>
</div>
<div class="input-group mb-3 col-md-6">
<input type="file" class="form-control" name="photo">
<label class="input-group-text"
for="inputGroupFile02">{{__('manager/user/trainee-add-edit.profile_photo')}}</label>
</div>
<div class="form-check form-switch mb-3 col-md-6">
<input class="form-check-input" type="checkbox" id="flexSwitchCheckChecked"
name="status" value="1"
{{$user->status == 1 ? 'checked' : null}}>
<label class="form-check-label"
for="flexSwitchCheckChecked">{{__('manager/user/trainee-add-edit.status')}}</label>
</div>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()"
class="btn btn-success">{{__('manager/user/trainee-add-edit.save_btn')}}
</button>
<a href="{{route('manager.user.index')}}"
class="btn btn-danger">{{__('manager/user/trainee-add-edit.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.edit_trainee')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.user.update',$user->userId)}}';
const backUrl = '{{route('manager.user.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/users/index.blade.php | resources/views/manager/users/index.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.trainee_list')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="justify-content-around">
<form class="row g-2" method="get">
<div class="form-floating col-md-4">
<select class="form-select" id="floatingSelect1" name="period"
onchange="this.form.submit()">
<option value="0">Hepsi</option>
@foreach($periods as $period)
<option
value="{{$period->id}}" {{$period->id == request()->get('period') ? 'selected' : null}}>{{$period->title}}</option>
@endforeach
</select>
<label for="floatingSelect1">{{__('manager/user/trainee-add-edit.period')}}</label>
</div>
<div class="form-floating col-md-4">
<select class="form-select" id="floatingSelect2" name="month" onchange="this.form.submit()">
<option value="0">Hepsi</option>
@foreach($months as $month)
<option
value="{{$month->id}}" {{$month->id == request()->get('month') ? 'selected' : null}}>{{$month->title}}</option>
@endforeach
</select>
<label for="floatingSelect2">{{__('manager/user/trainee-add-edit.month')}}</label>
</div>
<div class="form-floating col-md-4">
<select class="form-select" id="floatingSelect3"
id="floatingSelect3" name="group" onchange="this.form.submit()">>
<option value="0">Hepsi</option>
@foreach($groups as $group)
<option
value="{{$group->id}}" {{$group->id == request()->get('group') ? 'selected' : null}}>{{$group->title}}</option>
@endforeach
</select>
<label for="floatingSelect3">{{__('manager/user/trainee-add-edit.group')}}</label>
</div>
</form>
</div>
<div class="col-12 col-lg-12 mt-3 row">
<h4>
<a href="{{route('manager.user.create')}}"
class="btn btn-success">{{__('manager/menu.new_trainee')}}</a>
<a href="{{route('manager.user.excel-export')}}"
class="btn btn-warning">{{__('manager/user/trainee-list.list_print')}}</a>
<button class="btn btn-danger" onclick="multipleDeleteButton(`${{route('manager.user.multiple.destroy')}}`)">Seçilenleri Sil</button>
</h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped" style="width:100%">
<thead>
<tr>
<th><input type="checkbox" onclick="checkAll()" id="checkAll"></th>
<th>{{__('manager/user/trainee-list.name_surname')}}</th>
<th>{{__('manager/user/trainee-list.tc')}}</th>
<th>{{__('manager/user/trainee-list.period')}}</th>
<th>{{__('manager/user/trainee-list.month')}}</th>
<th>{{__('manager/user/trainee-list.group')}}</th>
<th>{{__('manager/user/trainee-list.status')}}</th>
<th>{{__('manager/user/trainee-list.transactions')}}</th>
</tr>
</thead>
<tbody>
@foreach ($users as $user)
<tr>
<td><input type="checkbox" name="_check" value="{{$user->userId}}"></td>
<td>{{$user->user->name .' '. $user->user->surname}}</td>
<td>{{$user->user->tc}}</td>
<td>{{$user->period->title}}</td>
<td>{{$user->month->title}}</td>
<td>{{$user->group->title}}</td>
<td>{{$user->status == 0 ? 'Pasif' : 'Aktif'}}</td>
<td>
<a href="{{route('manager.user.edit',$user->userId)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('manager.user.destroy',$user->userId)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.trainee_list')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script src="{{asset('js/utils.js')}}"></script>
<script>
const backUrl = '{{route('manager.user.index')}}';
const __token = '{{csrf_token()}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/users/create.blade.php | resources/views/manager/users/create.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.new_trainee')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="row g-2 col-md-12">
<div class="form-floating mb-3 col-md-6">
<input type="text" class="form-control" name="tc" placeholder="TCKN" maxlength="11">
<label for="floatingFirst">{{__('manager/user/trainee-add-edit.tc')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="text" class="form-control" name="name" placeholder="Üye Adı">
<label for="floatingFirst">{{__('manager/user/trainee-add-edit.name')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="text" class="form-control" name="surname" placeholder="Üye Soyadı">
<label for="floatingLast">{{__('manager/user/trainee-add-edit.surname')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="email" class="form-control" name="email" placeholder="Eposta Adresi">
<label for="floatingMail">{{__('manager/user/trainee-add-edit.email_address')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="password" class="form-control" name="password" placeholder="Şifre">
<label>{{__('manager/user/trainee-add-edit.password')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="password" class="form-control" name="password_confirmation" id="password-confirm" placeholder="Şifre">
<label for="floatingLast">{{__('manager/user/trainee-add-edit.password_repeat')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="text" class="form-control" name="phone" placeholder="Telefon Numarası">
<label for="floatingPhone">{{__('manager/user/trainee-add-edit.phone')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<input type="text" class="form-control" name="address" placeholder="Adres">
<label for="floatingAddress">{{__('manager/user/trainee-add-edit.address')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<select class="form-select" id="floatingSelect" name="periodId">
@foreach($periods as $period)
<option value="{{$period->id}}">{{$period->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/user/trainee-add-edit.period')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<select class="form-select" name="monthId">
@foreach($months as $month)
<option value="{{$month->id}}">{{$month->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/user/trainee-add-edit.month')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<select class="form-select" name="groupId">
@foreach($groups as $group)
<option value="{{$group->id}}">{{$group->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/user/trainee-add-edit.group')}}</label>
</div>
<div class="form-floating mb-3 col-md-6">
<select class="form-select" name="languageId">
@foreach($languages as $language)
<option value="{{$language->id}}">{{$language->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/user/trainee-add-edit.language')}}</label>
</div>
<div class="input-group mb-3 col-md-6">
<input type="file" class="form-control" name="photo">
<label class="input-group-text" for="inputGroupFile02">{{__('manager/user/trainee-add-edit.profile_photo')}}</label>
</div>
<div class="form-check form-switch col-md-6">
<input class="form-check-input" type="checkbox" id="flexSwitchCheckChecked" name="status" value="1"
checked>
<label class="form-check-label" for="flexSwitchCheckChecked">{{__('manager/user/trainee-add-edit.status')}}</label>
</div>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/user/trainee-add-edit.save_btn')}}
</button>
<a href="{{route('manager.user.index')}}" class="btn btn-danger">{{__('manager/user/trainee-add-edit.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.new_trainee')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.user.store')}}';
const backUrl = '{{route('manager.user.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/users/results/index.blade.php | resources/views/manager/users/results/index.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.trainee_report')}}</h2>
</blockquote>
</figure>
<div class="container">
<div class="row row-cols-2 row-cols-lg-5 g-2 g-lg-3">
<div class="col mt-2">
<div class="p-3 border bg-light rounded-3">
<small>{{__('manager/user/trainee-report.number_test_solved')}}</small>
<h4>{{$test->count()}}</h4>
</div>
</div>
<div class="col mt-2">
<div class="p-3 border bg-light rounded-3">
<small>{{__('manager/user/trainee-report.total_correct_length')}}</small>
<h4>{{$testResults->sum('correct')}}</h4>
</div>
</div>
<div class="col mt-2">
<div class="p-3 border bg-light rounded-3">
<small>{{__('manager/user/trainee-report.total_incorrect_length')}}</small>
<h4>{{$testResults->sum('in_correct')}}</h4>
</div>
</div>
<div class="col mt-2">
<div class="p-3 border bg-light rounded-3">
<small>{{__('manager/user/trainee-report.total_blank_question_length')}}</small>
<h4>{{$testResults->sum('blank_question')}}</h4>
</div>
</div>
<div class="col mt-2">
<div class="p-3 border bg-light rounded-3">
<small>{{__('manager/user/trainee-report.average_point')}}</small>
<h4>{{totalPoint($testResults->sum('correct'),$testResults->sum('total_question'))}}</h4>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="row mt-5">
<div class="col-6">
<h4>{{__('manager/user/trainee-report.exam_detail')}}</h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">id</th>
<th scope="col">{{__('manager/user/trainee-report.name_surname')}}</th>
<th scope="col">{{__('manager/user/trainee-report.tc')}}</th>
<th scope="col">{{__('manager/user/trainee-report.number_test_solved')}}</th>
<th scope="col">{{__('manager/user/trainee-report.average_point')}}</th>
<th scope="col">{{__('manager/user/trainee-report.transactions')}}</th>
</tr>
</thead>
<tbody>
@foreach($testResults as $result)
<tr>
<th scope="row">{{$result->userId}}</th>
<td>{{$result->user->name .' '. $result->user->surname}}</td>
<td>{{$result->user->tc}}</td>
<td>{{$result->count}}</td>
<th>{{totalPoint($result->sum_correct,$result->sum_total_question)}}</th>
<td><a href="{{route('manager.user.result.detail',$result->userId)}}"><i class="bi bi-eye fs-5 text-dark"></i></a></td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.trainee_report')}}</title>
@endsection
@section('css')
@include('layouts.stylesheet')
@endsection
@section('js')
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/users/results/view.blade.php | resources/views/manager/users/results/view.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.trainee_report_detail')}}</h2>
</blockquote>
</figure>
<div class="container">
<div class="row">
<div class="col-md-6 row">
<div class="col-md-6 p-2">
<div class="p-3 border bg-light rounded-3">
<small>{{__('manager/user/trainee-report.total_exam')}}</small>
<h4>{{$results->count()}}</h4>
</div>
</div>
<div class="col-md-6 p-2">
<div class="p-3 border bg-light rounded-3">
<small>{{__('manager/user/trainee-report.total_question')}}</small>
<h4>{{$results->sum('total_question')}}</h4>
</div>
</div>
<div class="col-md-6 mt-1 p-2">
<div class="p-3 border bg-light rounded-3">
<small>{{__('manager/user/trainee-report.total_correct')}}</small>
<h4>{{$results->sum('correct')}}</h4>
</div>
</div>
<div class="col-md-6 mt-1 p-2">
<div class="p-3 border bg-light rounded-3">
<small>{{__('manager/user/trainee-report.total_incorrect')}}</small>
<h4>{{$results->sum('in_correct')}}</h4>
</div>
</div>
<div class="col-md-6 mt-1 p-2">
<div class="p-3 border bg-light rounded-3">
<small>{{__('manager/user/trainee-report.total_blank')}}</small>
<h4>{{$results->sum('blank_question')}}</h4>
</div>
</div>
<div class="col-md-6 mt-1 p-2">
<div class="p-3 border bg-light rounded-3">
<small>{{__('manager/user/trainee-report.average_point')}}</small>
<h4>{{totalPoint($results->sum('correct'),$results->sum('total_question'))}}</h4>
</div>
</div>
</div>
<div class="col-md-6 bg-light rounded">
<ul class="nav nav-pills mb-3 p-3" id="pills-tab" role="tablist">
@foreach($resultTypes as $type)
<li class="nav-item" role="presentation">
<button class="nav-link @if ($loop->first) active @endif"
id="type-{{$type->id}}-tab"
data-bs-toggle="pill"
data-bs-target="#type-{{$type->id}}" type="button" role="tab"
aria-controls="type-{{$type->id}}"
@if ($loop->first) aria-selected="true"
@else aria-selected="false" @endif>{{$type->type->title}}
</button>
</li>
@endforeach
</ul>
<div class="tab-content" id="pills-tabContent">
@foreach($resultTypes as $type)
<div class="tab-pane fade @if($loop->first) show active @endif" id="type-{{$type->id}}"
role="tabpanel"
aria-labelledby="type-{{$type->id}}">
<ul class="list-group list-group-flush">
<li class="list-group-item bg-light">{{__('manager/user/trainee-report.question_length')}}
: {{$type->sum_total_question}}</li>
<li class="list-group-item bg-light">{{__('manager/user/trainee-report.correct_length')}} : {{$type->sum_correct}}</li>
<li class="list-group-item bg-light">{{__('manager/user/trainee-report.incorrect_length')}} : {{$type->sum_in_correct}}</li>
<li class="list-group-item bg-light">{{__('manager/user/trainee-report.blank_length')}} : {{$type->sum_blank_question}}</li>
</ul>
</div>
@endforeach
</div>
</div>
</div>
</div>
</section>
<section class="container mt-5">
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">{{__('manager/user/trainee-report.exam_date')}}</th>
<th scope="col">{{__('manager/user/trainee-report.question')}}</th>
<th scope="col">{{__('manager/user/trainee-report.correct')}}</th>
<th scope="col">{{__('manager/user/trainee-report.incorrect')}}</th>
<th scope="col">{{__('manager/user/trainee-report.blank')}}</th>
<th scope="col">{{__('manager/user/trainee-report.point')}}</th>
<th scope="col">{{__('manager/user/trainee-report.result')}}</th>
</tr>
</thead>
<tbody>
@foreach($results as $result)
<tr>
<td>{{$result->created_at}}</td>
<td>{{$result->total_question}}</td>
<td>{{$result->correct}}</td>
<td>{{$result->in_correct}}</td>
<td>{{$result->blank_question}}</td>
<td>{{$result->point}}</td>
<th class="{{resultStatus($result->point) == 'Başarılı' ? 'text-success' : 'text-danger'}}">{{resultStatus($result->point)}}</th>
</tr>
@endforeach
</tbody>
</table>
</div>
<div class="row mx-auto mb-5 mt-2">
@foreach($resultTypes as $type)
<div class="col-md-3 col-sm-12 mt-2 mb-2">
<div class="card p-3 " style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">{{$type->type->title}}</h5>
<canvas id="chart{{$type->id}}" width="100%" height="100%"></canvas>
</div>
</div>
</div>
@endforeach
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.trainee_report_detail')}}</title>
@endsection
@section('css')
@include('layouts.stylesheet')
@endsection
@section('js')
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.5.1/chart.min.js"></script>
<script>
@foreach($resultTypes as $type)
let ctx{{$type->id}} = document.getElementById('chart{{$type->id}}');
let chart{{$type->id}} = new Chart(ctx{{$type->id}}, {
type: 'doughnut',
data: {
labels: [
'{{__('manager/user/trainee-report.correct')}}',
'{{__('manager/user/trainee-report.incorrect')}}',
'{{__('manager/user/trainee-report.blank')}}'
],
datasets: [{
label: 'My First Dataset',
data: [{{$type->sum_correct}}, {{$type->sum_in_correct}}, {{$type->sum_blank_question}}],
backgroundColor: [
'rgb(17,255,0)',
'rgb(232,18,18)',
'rgb(0,218,255)'
],
hoverOffset: 4
}]
},
});
@endforeach
</script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/users/import/mebbis.blade.php | resources/views/manager/users/import/mebbis.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Mebbis {{__('manager/menu.new_trainee')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="row g-2 mb-2">
<div class="form-floating col-md-3">
<select class="form-select" id="floatingSelect1" name="periodId"
>
@foreach($periods as $period)
<option
value="{{$period->id}}" >{{$period->title}}</option>
@endforeach
</select>
<label for="floatingSelect1">{{__('manager/user/trainee-add-edit.period')}}</label>
</div>
<div class="form-floating col-md-3">
<select class="form-select" id="floatingSelect2" name="monthId" >
@foreach($months as $month)
<option
value="{{$month->id}}" >{{$month->title}}</option>
@endforeach
</select>
<label for="floatingSelect2">{{__('manager/user/trainee-add-edit.month')}}</label>
</div>
<div class="form-floating col-md-3">
<select class="form-select" id="floatingSelect3"
id="floatingSelectd" name="groupId" >>
@foreach($groups as $group)
<option
value="{{$group->id}}">{{$group->title}}</option>
@endforeach
</select>
<label for="floatingSelectd">{{__('manager/user/trainee-add-edit.group')}}</label>
</div>
<div class="form-floating col-md-3">
<select class="form-select" name="languageId"
aria-label="Floating label select example">
@foreach($languages as $language)
<option value="{{$language->id}}">{{$language->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/user/trainee-add-edit.language')}}</label>
</div>
</div>
<textarea id="ckeditor" name="content"></textarea>
<input type="hidden" name="ck_editor" value="1">
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()"
class="btn btn-success">{{__('manager/user/trainee-add-edit.save_btn')}}
</button>
<a href="{{route('manager.user.index')}}"
class="btn btn-danger">{{__('manager/user/trainee-add-edit.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Mebbis {{__('manager/menu.new_trainee')}}</title>
@endsection
@section('css')
<link rel="stylesheet" href="{{asset('/plugins/toastr/toastr.min.css')}}">
@endsection
@section('js')
<script src="https://cdn.ckeditor.com/4.16.2/standard/ckeditor.js"></script>
<script>
CKEDITOR.replace('ckeditor');
</script>
<script>
const actionUrl = '{{route('manager.user.mebbis.store')}}';
const backUrl = '{{route('manager.user.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/users/import/excel.blade.php | resources/views/manager/users/import/excel.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.new_trainee_excel')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<div class="text-wrap p-3">
<p class="fs-5"></p>
<ul class="list-unstyled">
<li>{{__('manager/user/trainee-excel-import.info_title')}}</li>
<li>{{__('manager/user/trainee-excel-import.info_required_fields')}}
<ul>
<li>{{__('manager/user/trainee-excel-import.info_1')}}</li>
<li>{{__('manager/user/trainee-excel-import.info_2')}}</li>
<li>{{__('manager/user/trainee-excel-import.info_3')}}</li>
<li>{{__('manager/user/trainee-excel-import.info_4')}}</li>
<li>{{__('manager/user/trainee-excel-import.info_5')}}</li>
<li>{{__('manager/user/trainee-excel-import.info_6')}}</li>
<li>{{__('manager/user/trainee-excel-import.info_7')}}</li>
<li>{{__('manager/user/trainee-excel-import.info_8')}}</li>
<li>{{__('manager/user/trainee-excel-import.info_9')}}</li>
</ul>
</li>
<li class="text-danger fw-bold mb-3 mt-2">{{__('manager/user/trainee-excel-import.info_note')}}</li>
<li><a href="{{asset('/files/kursiyer-excel-sablon.xls')}}" class="btn btn-success" target="_blank"><i class="bi bi-download me-2"></i>{{__('manager/user/trainee-excel-import.download_template_btn')}}</a></li>
</ul>
</div>
<form name="form-data">
@csrf
<div class="input-group mb-3">
<input type="file" class="form-control" name="excel">
<label class="input-group-text" for="inputGroupFile02">{{__('manager/user/trainee-excel-import.upload_excel_list_file_input')}}</label>
</div>
<div>
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/user/trainee-excel-import.save_btn')}}
</button>
<a href="{{route('manager.user.index')}}" class="btn btn-danger">{{__('manager/user/trainee-excel-import.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.new_trainee_excel')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.user.excel-import.create')}}';
const backUrl = '{{route('manager.user.excel-import')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/question/edit.blade.php | resources/views/manager/question/edit.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.question_edit')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form class="p-2" name="form-data">
@csrf @method('PUT')
<div class="form-floating mb-3">
<select class="form-select" name="languageId">
@foreach($languages as $language)
<option
value="{{$language->id}}" {{$question->language->id == $language->id ? 'selected' : null}}>{{$language->title}}</option>
@endforeach
</select>
<label
for="floatingSelect">{{__('manager/question/question-add-edit.language_select')}}</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" name="questionImage"
{{$question->questionImage == 1 ? 'checked' : null}} id="switchQuestionImageShow">
<label class="form-check-label"
for="switchQuestionImageShow">{{__('manager/question/question-add-edit.question_photo_checkbox')}}</label>
</div>
<br>
@if($question->imagePath)
<div class="col-md-12">
<img src="{{imagePath($question->imagePath)}}" height="100" class="mb-3 w-auto" alt="">
</div>
@endif
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Başlık"
value="{{$question->title}}">
<label for="floatingFirst">{{__('manager/question/question-add-edit.question')}}</label>
</div>
<div class="input-group mb-3 d-none question-image">
<input type="file" class="form-control" name="imagePath">
<label class="input-group-text"
for="inputGroupFile02">{{__('manager/question/question-add-edit.question_photo_checkbox')}}</label>
</div>
<div class="mb-3">
<label class="mb-2">{{__('manager/question/question-add-edit.description')}}</label>
<textarea id="ckeditor" name="description">{!! $question->description !!}</textarea>
<input type="hidden" name="ck_editor" value="1">
</div>
<div class="form-floating mb-3">
<select class="form-select" name="typeId">
@foreach($types as $type)
<option
value="{{$type->id}}" {{$question->typeId == $type->id ? 'selected' : null}}>{{$type->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/question/question-add-edit.type')}}</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" name="choiceImage"
{{$question->choiceImage == 1 ? 'checked' : null}} id="switchImageShow">
<label class="form-check-label"
for="switchImageShow">{{__('manager/question/question-add-edit.choice_photo_checkbox')}}</label>
</div>
<br>
@foreach($question->choice as $key => $choice)
<!-- text choice -->
<div class="row mb-3 text-choice">
<div class="form-floating ps-1 col-10 col-md-10">
<input type="text" class="form-control " name="{{$choice->id}}"
placeholder="Cevap 0{{$key + 1}}"
value="{{$choice->title}}">
<label class=""
for="floatingFirst">{{__('manager/question/question-add-edit.choice_input')}}
0{{$key + 1}}</label>
</div>
<div class="col-2 col-md-1">
<input class="form-check-input p-3" type="checkbox" id="flexCheckDefault"
data-bs-toggle="tooltip" data-bs-placement="top"
@if($choice->path == null){{$choice->id == $choice->choiceKey->choiceId ? 'checked' : null}} @endif
name="correct_choice"
value="{{$choice->id}}"
onclick="correctChoice(this)"
title="{{__('manager/question/question-add-edit.correct_choice_checkbox')}}">
</div>
</div>
<!-- image choice -->
<div class="row mb-3 image-choice d-none">
@if($choice->path)
<div class="col-md-12">
<img src="{{imagePath($choice->path)}}" height="100" class="mb-3 w-auto" alt="">
</div>
@endif
<div class="mb-3 col-10 col-md-10">
<input type="file" class="form-control" name="{{$choice->id}}">
</div>
<div class="col-2 col-md-1">
<input class="form-check-input p-3" type="checkbox" value="{{$choice->id}}"
id="flexCheckDefault"
name="correct_choice"
data-bs-toggle="tooltip" data-bs-placement="top"
onclick="correctChoice(this)"
@if($choice->path != null){{$choice->id == $choice->choiceKey->choiceId ? 'checked' : null}} @endif
title="{{__('manager/question/question-add-edit.correct_choice_checkbox')}}">
</div>
</div>
@endforeach
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()"
class="btn btn-success">{{__('manager/question/question-add-edit.save_btn')}}
</button>
<a href="{{route('manager.question.index')}}"
class="btn btn-danger">{{__('manager/question/question-add-edit.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Soru Düzenle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script src="https://cdn.ckeditor.com/4.16.2/standard/ckeditor.js"></script>
<script>
CKEDITOR.replace('ckeditor');
</script>
<script>
const actionUrl = '{{route('manager.question.update',$question)}}';
const backUrl = '{{route('manager.question.index')}}';
</script>
<script>
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl)
})
</script>
<script>
const choiceImage = document.querySelector('#switchImageShow');
const textInput = document.querySelectorAll('.text-choice');
const imageInput = document.querySelectorAll('.image-choice');
const questionImageChoice = document.querySelector('#switchQuestionImageShow');
const questionImageInput = document.querySelector('.question-image');
choiceImage.addEventListener('click', () => {
if (choiceImage.checked == true) {
textInput.forEach((input, index) => {
textInput[index].classList.add('d-none');
imageInput[index].classList.remove('d-none');
})
} else {
textInput.forEach((input, index) => {
textInput[index].classList.remove('d-none');
imageInput[index].classList.add('d-none');
});
}
});
if (choiceImage.checked == true) {
textInput.forEach((input, index) => {
textInput[index].classList.add('d-none');
imageInput[index].classList.remove('d-none');
})
} else {
textInput.forEach((input, index) => {
textInput[index].classList.remove('d-none');
imageInput[index].classList.add('d-none');
});
}
questionImageChoice.addEventListener('click', () => {
if (questionImageChoice.checked == true)
questionImageInput.classList.remove('d-none')
else
questionImageInput.classList.add('d-none')
});
if (questionImageChoice.checked == true)
questionImageInput.classList.remove('d-none')
else
questionImageInput.classList.add('d-none')
</script>
<script>
// checkbox only select
function correctChoice(checkbox) {
var checkboxes = document.getElementsByName('correct_choice')
checkboxes.forEach((item) => {
if (item !== checkbox) item.checked = false
})
}
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/question/bug.blade.php | resources/views/manager/question/bug.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.question_bug')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">{{__('manager/question/question-list.question')}}</th>
<th scope="col">{{__('manager/question/question-list.question_language')}}</th>
<th scope="col">{{__('manager/question/question-list.created_at')}}</th>
<th scope="col">{{__('manager/question/question-list.transactions')}}</th>
</tr>
</thead>
<tbody>
@foreach ($questions as $question)
<tr>
<td>{{\Illuminate\Support\Str::limit($question->question->title, 50)}}</td>
<td>{{$question->question->language->title}}</td>
<td>{{$question->created_at}}</td>
<td>
<a href="{{route('manager.question.edit',$question->questionId)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('manager.question.bug.destroy',$question->id)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.question_bug')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('manager.question.bug')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/question/index.blade.php | resources/views/manager/question/index.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.questions')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4>
<a href="{{route('manager.question.create')}}" class="btn btn-success">{{__('manager/question/question-list.question_create')}}</a>
<a href="{{route('manager.question.bug')}}" class="btn btn-danger">{{__('manager/question/question-list.question_bugs')}}</a>
</h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">{{__('manager/question/question-list.question')}}</th>
<th scope="col">{{__('manager/question/question-list.question_language')}}</th>
<th scope="col">{{__('manager/question/question-list.created_at')}}</th>
<th scope="col">{{__('manager/question/question-list.transactions')}}</th>
</tr>
</thead>
<tbody>
@foreach ($questions as $question)
<tr>
<td>{{\Illuminate\Support\Str::limit($question->question->title, 50)}}</td>
<td>{{$question->question->language->title}}</td>
<td>{{$question->created_at}}</td>
<td>
<a href="{{route('manager.question.edit',$question->questionId)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('manager.question.destroy',$question->questionId)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.questions')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('manager.question.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/question/create.blade.php | resources/views/manager/question/create.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.question_create')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form class="p-2" name="form-data">
@csrf
<div class="form-floating mb-3">
<select class="form-select" name="languageId">
@foreach($languages as $language)
<option value="{{$language->id}}">{{$language->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/question/question-add-edit.language_select')}}</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" name="questionImage"
id="switchQuestionImageShow">
<label class="form-check-label" for="switchQuestionImageShow">{{__('manager/question/question-add-edit.question_photo_checkbox')}}</label>
</div>
<br>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Başlık">
<label for="floatingFirst">{{__('manager/question/question-add-edit.question')}}</label>
</div>
<div class="input-group mb-3 d-none question-image">
<input type="file" class="form-control" name="imagePath">
<label class="input-group-text" for="inputGroupFile02">{{__('manager/question/question-add-edit.question_photo_checkbox')}}</label>
</div>
<div class="mb-3">
<label class="mb-2">{{__('manager/question/question-add-edit.description')}}</label>
<textarea id="ckeditor" name="description"></textarea>
<input type="hidden" name="ck_editor" value="1">
</div>
<div class="form-floating mb-3">
<select class="form-select" name="typeId">
@foreach($types as $type)
<option value="{{$type->id}}">{{$type->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/question/question-add-edit.type')}}</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input " type="checkbox" name="choiceImage" id="switchImageShow">
<label class="form-check-label" for="switchImageShow">{{__('manager/question/question-add-edit.choice_photo_checkbox')}}</label>
</div>
<br>
<div class="row mb-3 text-choice">
<div class="form-floating ps-1 col-10">
<input type="text" class="form-control " name="choice_text_1" placeholder="Cevap 01">
<label class="" for="floatingFirst">{{__('manager/question/question-add-edit.choice_input')}} 01</label>
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
data-bs-toggle="tooltip" data-bs-placement="top"
name="correct_choice"
value="1"
onclick="correctChoice(this)"
title="{{__('manager/question/question-add-edit.correct_choice_checkbox')}}">
</div>
</div>
<div class="row mb-3 text-choice">
<div class="form-floating ps-1 col-10">
<input type="text" class="form-control " name="choice_text_2" placeholder="Cevap 02">
<label class="" for="floatingFirst">{{__('manager/question/question-add-edit.choice_input')}} 02</label>
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
data-bs-toggle="tooltip" data-bs-placement="top"
name="correct_choice"
value="2"
onclick="correctChoice(this)"
title="{{__('manager/question/question-add-edit.correct_choice_checkbox')}}">
</div>
</div>
<div class="row mb-3 text-choice">
<div class="form-floating ps-1 col-10">
<input type="text" class="form-control " name="choice_text_3" placeholder="Cevap 0">
<label class="" for="floatingFirst">{{__('manager/question/question-add-edit.choice_input')}} 03</label>
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
data-bs-toggle="tooltip" data-bs-placement="top"
name="correct_choice"
value="3"
onclick="correctChoice(this)"
title="{{__('manager/question/question-add-edit.correct_choice_checkbox')}}">
</div>
</div>
<div class="row mb-3 text-choice">
<div class="form-floating ps-1 col-10">
<input type="text" class="form-control " name="choice_text_4" placeholder="Cevap 04">
<label class="" for="floatingFirst">{{__('manager/question/question-add-edit.choice_input')}} 04</label>
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
data-bs-toggle="tooltip" data-bs-placement="top"
name="correct_choice"
value="4"
onclick="correctChoice(this)"
title="{{__('manager/question/question-add-edit.correct_choice_checkbox')}}">
</div>
</div>
<div class="row mb-3 image-choice d-none">
<div class="mb-3 col-10">
<input type="file" class="form-control" name="choice_image_1">
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
name="correct_choice"
value="1"
onclick="correctChoice(this)"
data-bs-toggle="tooltip" data-bs-placement="top"
title="{{__('manager/question/question-add-edit.correct_choice_checkbox')}}">
</div>
</div>
<div class="row mb-3 image-choice d-none">
<div class="mb-3 col-10">
<input type="file" class="form-control" name="choice_image_2">
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
name="correct_choice"
value="2"
onclick="correctChoice(this)"
data-bs-toggle="tooltip" data-bs-placement="top"
title="{{__('manager/question/question-add-edit.correct_choice_checkbox')}}">
</div>
</div>
<div class="row mb-3 image-choice d-none">
<div class="mb-3 col-10">
<input type="file" class="form-control" name="choice_image_3">
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
name="correct_choice"
value="3"
onclick="correctChoice(this)"
data-bs-toggle="tooltip" data-bs-placement="top"
title="{{__('manager/question/question-add-edit.correct_choice_checkbox')}}">
</div>
</div>
<div class="row mb-3 image-choice d-none">
<div class="mb-3 col-10">
<input type="file" class="form-control" name="choice_image_4">
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
name="correct_choice"
value="4"
onclick="correctChoice(this)"
data-bs-toggle="tooltip" data-bs-placement="top"
title="{{__('manager/question/question-add-edit.correct_choice_checkbox')}}">
</div>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/question/question-add-edit.save_btn')}}
</button>
<a href="{{route('manager.question.index')}}" class="btn btn-danger">{{__('manager/question/question-add-edit.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.question_create')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script src="https://cdn.ckeditor.com/4.16.2/standard/ckeditor.js"></script>
<script>
CKEDITOR.replace('ckeditor');
</script>
<script>
const actionUrl = '{{route('manager.question.store')}}';
const backUrl = '{{route('manager.question.index')}}';
</script>
<script>
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl)
})
</script>
<script>
const choiceImage = document.querySelector('#switchImageShow');
const textInput = document.querySelectorAll('.text-choice');
const imageInput = document.querySelectorAll('.image-choice');
const questionImageChoice = document.querySelector('#switchQuestionImageShow');
const questionImageInput = document.querySelector('.question-image');
choiceImage.addEventListener('click', () => {
if (choiceImage.checked == true) {
textInput.forEach((input, index) => {
textInput[index].classList.add('d-none');
imageInput[index].classList.remove('d-none');
})
} else {
textInput.forEach((input, index) => {
textInput[index].classList.remove('d-none');
imageInput[index].classList.add('d-none');
});
}
});
questionImageChoice.addEventListener('click', () => {
if (questionImageChoice.checked == true)
questionImageInput.classList.remove('d-none')
else
questionImageInput.classList.add('d-none')
});
</script>
<script>
// checkbox only select
function correctChoice(checkbox) {
var checkboxes = document.getElementsByName('correct_choice')
checkboxes.forEach((item) => {
if (item !== checkbox) item.checked = false
})
}
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/appointment/edit.blade.php | resources/views/manager/appointment/edit.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.appointment_edit')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf @method('PUT')
<div class="form-floating">
<select class="form-select" name="userId">
<option disabled selected>{{__('manager/car-appointment/appointment-add-edit.select')}}</option>
@foreach($users as $user)
<option
value="{{$user->id}}" {{$appointment->userId === $user->id ? 'selected' : null}}>{{$user->name .' '. $user->surname}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/car-appointment/appointment-add-edit.trainee')}}</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="teacherId">
<option disabled selected>{{__('manager/car-appointment/appointment-add-edit.select')}}</option>
@foreach($teachers as $teacher)
<option
value="{{$teacher->id}}" {{$appointment->teacherId === $teacher->id ? 'selected' : null}}>{{$teacher->name .' '. $teacher->surname}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/car-appointment/appointment-add-edit.teacher')}}</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="carId">
<option disabled selected>{{__('manager/car-appointment/appointment-add-edit.select')}}</option>
@foreach($cars as $car)
<option
value="{{$car->id}}" {{$appointment->carId === $car->id ? 'selected' : null}}>{{$car->plate_code}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/car-appointment/appointment-add-edit.car')}}</label>
</div>
<br>
<div class="form-floating mb-3">
<input type="date" class="form-control" name="date" placeholder="Tarih"
min="{{\Carbon\Carbon::now()->toDateString()}}"
value="{{$appointment->date}}">
<label for="floatingAddress">{{__('manager/car-appointment/appointment-add-edit.date')}}</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/car-appointment/appointment-add-edit.save_btn')}}
</button>
<a href="{{route('manager.appointment.index')}}" class="btn btn-danger">{{__('manager/car-appointment/appointment-add-edit.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.appointment_edit')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.appointment.update',$appointment)}}';
const backUrl = '{{route('manager.appointment.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/appointment/index.blade.php | resources/views/manager/appointment/index.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.appointment')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('manager.appointment.create')}}" class="btn btn-success">{{__('manager/menu.appointment_create')}}</a>
</h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">{{__('manager/car-appointment/appointment-list.trainee')}}</th>
<th scope="col">{{__('manager/car-appointment/appointment-list.teacher')}}</th>
<th scope="col">{{__('manager/car-appointment/appointment-list.car')}}</th>
<th scope="col">{{__('manager/car-appointment/appointment-list.date')}}</th>
<th scope="col">{{__('manager/car-appointment/appointment-list.status')}}</th>
<th scope="col">{{__('manager/car-appointment/appointment-list.transactions')}}</th>
</tr>
</thead>
<tbody>
@foreach($appointments as $appointment)
<tr>
<th scope="row">{{$appointment->user->name .' '. $appointment->user->surname}}</th>
<td>{{$appointment->teacher->name .' '. $appointment->teacher->surname}}</td>
<td>{{$appointment->car->plate_code}}</td>
<td>{{$appointment->date}}</td>
<td class="{{$appointment->status == 1 ? 'text-success' : 'text-danger'}} fw-bold">{{$appointment->status === 1 ? 'Aktif' : 'Pasif'}}</td>
<td>
<a href="{{route('manager.appointment.edit',$appointment)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('manager.appointment.destroy',$appointment)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.appointment')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('manager.appointment.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/appointment/create.blade.php | resources/views/manager/appointment/create.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.appointment_create')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating">
<select class="form-select" name="userId">
<option disabled selected>{{__('manager/car-appointment/appointment-add-edit.select')}}</option>
@foreach($users as $user)
<option value="{{$user->id}}">{{$user->name .' '. $user->surname}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/car-appointment/appointment-add-edit.trainee')}}</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="teacherId">
<option disabled selected>{{__('manager/car-appointment/appointment-add-edit.select')}}</option>
@foreach($teachers as $teacher)
<option value="{{$teacher->id}}">{{$teacher->name .' '. $teacher->surname}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/car-appointment/appointment-add-edit.teacher')}}</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="carId">
<option disabled selected>{{__('manager/car-appointment/appointment-add-edit.select')}}</option>
@foreach($cars as $car)
<option value="{{$car->id}}">{{$car->plate_code}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/car-appointment/appointment-add-edit.car')}}</label>
</div>
<br>
<div class="form-floating mb-3">
<input type="date" class="form-control" name="date" placeholder="Tarih"
min="{{\Carbon\Carbon::now()->toDateString()}}">
<label for="floatingAddress">{{__('manager/car-appointment/appointment-add-edit.date')}}</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/car-appointment/appointment-add-edit.save_btn')}}</button>
<a href="{{route('manager.appointment.index')}}" class="btn btn-danger">{{__('manager/car-appointment/appointment-add-edit.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.appointment_create')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.appointment.store')}}';
const backUrl = '{{route('manager.appointment.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/appointment/setting.blade.php | resources/views/manager/appointment/setting.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.appointment_setting')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<div class="card col-12 col-md-8">
<h5 class="card-header"><i class="bi bi-calendar4-range fs-5"></i> {{__('manager/car-appointment/appointment-setting.appointment_day')}}</h5>
<div class="card-body">
<form name="form-data">
@csrf
<h5 class="card-title">{{__('manager/car-appointment/appointment-setting.appointment_day_info')}}</h5>
<div class="row p-5x p-4">
@foreach($months as $key => $val)
@foreach ($val as $keys => $value)
<div class="form-check col-4">
<input class="form-check-input" type="checkbox" value="{{$keys}}"
name="{{rand()}}"
id="month{{$keys}}" {{$value == true ? 'checked' : null}}>
<label class="form-check-label" for="month{{$keys}}">
{{$keys}}
</label>
</div>
@endforeach
@endforeach
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">
{{__('manager/car-appointment/appointment-setting.save_btn')}}
</button>
<a href="{{route('manager.appointment-car')}}" class="btn btn-danger">{{__('manager/car-appointment/appointment-setting.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
<br>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.appointment_setting')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.appointment.setting.store')}}';
const backUrl = '{{route('manager.appointment.setting')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/cars/edit.blade.php | resources/views/manager/cars/edit.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.car_edit')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
@method('PUT')
<div class="form-floating mb-3">
<input type="text" class="form-control" name="plate_code" placeholder="Araç Plaka"
value="{{$car->plate_code}}">
<label for="floatingFirst">{{__('manager/car-appointment/car.plate_code')}}</label>
</div>
<div class="form-floating">
<select class="form-select" name="typeId">
@foreach($cartypes as $type)
<option
value="{{$type->id}}" {{$car->typeId == $type->id ? 'selected' : null}}>{{$type->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/car-appointment/car.type')}}</label>
</div>
<br>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" value="1" name="status" id="flexSwitchCheckChecked"
{{$car->status == 1 ? 'checked' : null}}>
<label class="form-check-label" for="flexSwitchCheckChecked">{{__('manager/car-appointment/car.car_checkbox')}}</label>
</div>
<br>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/car-appointment/car.save_btn')}}
</button>
<a href="{{route('manager.car.index')}}" class="btn btn-danger">{{__('manager/car-appointment/car.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.car_edit')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.car.update',$car)}}';
const backUrl = '{{route('manager.car.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/cars/index.blade.php | resources/views/manager/cars/index.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.car')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('manager.car.create')}}" class="btn btn-success">{{__('manager/menu.car_create')}}</a></h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">{{__('manager/car-appointment/car.plate_code')}}</th>
<th scope="col">{{__('manager/car-appointment/car.type')}}</th>
<th scope="col">{{__('manager/car-appointment/car.status')}}</th>
<th scope="col">{{__('manager/car-appointment/car.transactions')}}</th>
</tr>
</thead>
<tbody>
@foreach($cars as $car)
<tr>
<th scope="row">{{$car->plate_code}}</th>
<td>{{$car->type->title}}</td>
<td class="{{$car->status == 1 ? 'text-success' : 'text-danger'}} fw-bold">{{$car->status == 1 ? 'Aktif' : 'Pasif'}}</td>
<td>
<a href="{{route('manager.car.edit',$car)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('manager.car.destroy',$car)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>{{__('manager/menu.car')}}</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('manager.car.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/manager/cars/create.blade.php | resources/views/manager/cars/create.blade.php | @extends('manager.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>{{__('manager/menu.car_create')}}</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="plate_code" placeholder="Araç Plaka">
<label for="floatingFirst">{{__('manager/car-appointment/car.plate_code')}}</label>
</div>
<div class="form-floating">
<select class="form-select" name="typeId">
@foreach($cartypes as $type)
<option value="{{$type->id}}">{{$type->title}}</option>
@endforeach
</select>
<label for="floatingSelect">{{__('manager/car-appointment/car.type')}}</label>
</div>
<br>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" name="status" value="1" id="flexSwitchCheckChecked" checked>
<label class="form-check-label" for="flexSwitchCheckChecked">{{__('manager/car-appointment/car.car_checkbox')}}</label>
</div>
<br>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">{{__('manager/car-appointment/car.save_btn')}}</button>
<a href="{{route('manager.car.index')}}" class="btn btn-danger">{{__('manager/car-appointment/car.cancel_btn')}}</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Araç Ekle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('manager.car.store')}}';
const backUrl = '{{route('manager.car.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/profile.blade.php | resources/views/admin/profile.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Profil Düzenle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@method('PUT') @csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="name" placeholder="Üye Adı"
value="{{$user->name}}">
<label for="floatingFirst">Adı</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="surname" placeholder="Üye Soyadı"
value="{{$user->surname}}">
<label for="floatingLast">Soyadı</label>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" name="password" placeholder="Yeni Şifre">
<label for="floatingLast">Yeni Şifre</label>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" name="password_confirmation"
id="password-confirm" placeholder="Şifre">
<label for="floatingLast">Yeni Şifre Tekrar</label>
</div>
<div class="form-floating mb-3">
<input type="email" class="form-control" name="email" placeholder="Eposta Adresi"
value="{{$user->email}}">
<label for="floatingMail">Eposta Adresi</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.manager-user.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Profil Düzenle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.profile.update')}}';
const backUrl = '{{route('admin.profile.edit')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/index.blade.php | resources/views/admin/index.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Ana Sayfa</h2>
</blockquote>
</figure>
<div class="container text-center"></div>
</section>
</div>
@endsection
@section('meta')
<title>Üst Yönetici Paneli</title>
@endsection
@section('css')
@endsection
@section('js')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/period/edit.blade.php | resources/views/admin/period/edit.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Dönem Güncelle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@method('PUT')
@csrf
<div class="form-floating mb-3">
<input type="number" class="form-control" name="title" placeholder="Dönem"
value="{{$period->title}}">
<label for="floatingFirst">Dönem</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.period.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Dönem Düzenle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.period.update',$period)}}';
const backUrl = '{{route('admin.period.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/period/index.blade.php | resources/views/admin/period/index.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Dönemler</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('admin.period.create')}}" class="btn btn-success">Dönem Oluştur</a></h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped" style="width:100%">
<thead>
<tr>
<th>Dönem</th>
<th>İşlemler</th>
</tr>
</thead>
<tbody>
@foreach($periods as $period)
<tr>
<td>{{$period->title}}</td>
<td>
<a href="{{route('admin.period.edit',$period)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('admin.period.destroy',$period)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Dönemler</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('admin.period.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/period/create.blade.php | resources/views/admin/period/create.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Dönem Oluştur</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating mb-3">
<input type="number" class="form-control" name="title" placeholder="Dönem">
<label for="floatingFirst">Dönem</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.period.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Dönem Oluştur</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.period.store')}}';
const backUrl = '{{route('admin.period.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/lesson-content/edit.blade.php | resources/views/admin/lesson-content/edit.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Ders Düzenle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf @method('PUT')
<div class="form-floating mb-3">
<select class="form-select" name="languageId">
@foreach($languages as $language)
<option
value="{{$language->id}}" {{$lessonContent->languageId == $language->id ? 'selected' : null}}>{{$language->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Dil</label>
</div>
<div class="input-group mb-3">
<input type="file" class="form-control" name="file">
<label class="input-group-text" for="inputGroupFile02">Ses Dosyası</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Başlık"
value="{{$lessonContent->title}}">
<label for="floatingFirst">Başlık</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" name="typeId">
@foreach($types as $type)
<option
value="{{$type->id}}" {{$lessonContent->typeId == $type->id ? 'selected' : null}}>{{$type->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Kategori</label>
</div>
<textarea id="ckeditor" name="content">
{!! $lessonContent->content !!}
</textarea>
<input type="hidden" name="ck_editor" value="1">
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.lesson-content.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Ders Düzenle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script src="https://cdn.ckeditor.com/4.16.2/standard/ckeditor.js"></script>
<script>
CKEDITOR.replace('ckeditor');
</script>
<script>
const actionUrl = '{{route('admin.lesson-content.update',$lessonContent)}}';
const backUrl = '{{route('admin.lesson-content.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/lesson-content/index.blade.php | resources/views/admin/lesson-content/index.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Dersler</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('admin.lesson-content.create')}}" class="btn btn-success">Ders Oluştur</a></h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">Adı</th>
<th scope="col">Kategori</th>
<th scope="col">Dil</th>
<th scope="col">İşlemler</th>
</tr>
</thead>
<tbody>
@foreach($lessons as $lesson)
<tr>
<th scope="row">{{$lesson->title}}</th>
<td>{{$lesson->type->title}}</td>
<td>{{$lesson->language->title}}</td>
<td>
<a href="{{route('admin.lesson-content.edit',$lesson)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button
onclick="deleteButton(this,`${{route('admin.lesson-content.destroy',$lesson)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Dersler</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('admin.lesson-content.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/lesson-content/create.blade.php | resources/views/admin/lesson-content/create.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Ders Oluştur</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating mb-3">
<select class="form-select" name="languageId">
<option disabled selected>Seçiniz</option>
@foreach($languages as $language)
<option value="{{$language->id}}">{{$language->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Dil</label>
</div>
<div class="input-group mb-3">
<input type="file" class="form-control" name="file">
<label class="input-group-text" for="inputGroupFile02">Ses Dosyası</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Başlık">
<label for="floatingFirst">Başlık</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" name="typeId">
<option disabled selected>Seçiniz</option>
@foreach($types as $type)
<option value="{{$type->id}}">{{$type->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Kategori</label>
</div>
<textarea id="ckeditor" name="content"></textarea>
<input type="hidden" name="ck_editor" value="1">
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.lesson-content.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Ders Oluştur</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script src="https://cdn.ckeditor.com/4.16.2/standard/ckeditor.js"></script>
<script>
CKEDITOR.replace('ckeditor');
</script>
<script>
const actionUrl = '{{route('admin.lesson-content.store')}}';
const backUrl = '{{route('admin.lesson-content.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/coupon/edit.blade.php | resources/views/admin/coupon/edit.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Kupon Güncelle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf @method('PUT')
<div class="form-floating mb-3">
<input type="text" class="form-control" name="code" placeholder="Kupon Kodu"
value="{{$coupon->code}}">
<label for="floatingFirst">Kupon Kodu</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="discount" placeholder="İndirim Oranı"
value="{{$coupon->discount}}">
<label for="floatingFirst">İndirim Oranı</label>
</div>
<div class="form-floating mb-3">
<input type="date" class="form-control" name="start_date"
placeholder="Başlangıç Tarihi" value="{{$coupon->start_date}}">
<label for="floatingFirst">Başlangıç Tarihi</label>
</div>
<div class="form-floating mb-3">
<input type="date" class="form-control" name="end_date" placeholder="Bitiş Tarihi"
value="{{$coupon->end_date}}">
<label for="floatingFirst">Bitiş Tarihi</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">
Kaydet
</button>
<a href="{{route('admin.coupon.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Şirket Oluştur</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.coupon.update',$coupon)}}';
const backUrl = '{{route('admin.coupon.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/coupon/index.blade.php | resources/views/admin/coupon/index.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Kuponlar</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('admin.coupon.create')}}" class="btn btn-success">Kupon Oluştur</a></h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped" style="width:100%">
<thead>
<tr>
<th>Kupon kodu</th>
<th>İndirim Oranı</th>
<th>Başlangıç tarihi</th>
<th>Bitiş tarihi</th>
<th>İşlemler</th>
</tr>
</thead>
<tbody>
@foreach ($coupons as $coupon)
<tr>
<td>{{$coupon->code}}</td>
<td>{{$coupon->discount}}</td>
<td>{{$coupon->start_date}}</td>
<td>{{$coupon->end_date}}</td>
<td>
<a href="{{route('admin.coupon.edit',$coupon->id)}}">
<i class="bi bi-pen text-dark"></i>
</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Kuponlar</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('admin.coupon.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/coupon/create.blade.php | resources/views/admin/coupon/create.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Kupon Oluştur</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="code" placeholder="Kupon Kodu">
<label for="floatingFirst">Kupon Kodu</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="discount" placeholder="İndirim Oranı">
<label for="floatingFirst">İndirim Oranı</label>
</div>
<div class="form-floating mb-3">
<input type="date" class="form-control" name="start_date"
placeholder="Başlangıç Tarihi">
<label for="floatingFirst">Başlangıç Tarihi</label>
</div>
<div class="form-floating mb-3">
<input type="date" class="form-control" name="end_date" placeholder="Bitiş Tarihi">
<label for="floatingFirst">Bitiş Tarihi</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.coupon.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Şirket Oluştur</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.coupon.store')}}';
const backUrl = '{{route('admin.coupon.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/question-type/edit.blade.php | resources/views/admin/question-type/edit.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Kategori Güncelle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@method('PUT') @csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Kategori Adı"
value="{{$type->title}}">
<label for="floatingFirst">Kategori Adı</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.type.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Kategori Düzenle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.type.update',$type)}}';
const backUrl = '{{route('admin.type.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/question-type/index.blade.php | resources/views/admin/question-type/index.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Soru Kategorileri</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('admin.type.create')}}" class="btn btn-success">Kategori Oluştur</a></h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped" style="width:100%">
<thead>
<tr>
<th>Kategori Adı</th>
<th>İşlemler</th>
</tr>
</thead>
<tbody>
@foreach($types as $type)
<tr>
<td>{{$type->title}}</td>
<td>
<a href="{{route('admin.type.edit',$type)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('admin.type.destroy',$type)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Soru Kategorileri</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('admin.type.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/question-type/create.blade.php | resources/views/admin/question-type/create.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Kategori Oluştur</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Kategori Adı">
<label for="floatingFirst">Kategori Adı</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.type.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Kategori Oluştur</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.type.store')}}';
const backUrl = '{{route('admin.type.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/payment-plan/edit.blade.php | resources/views/admin/payment-plan/edit.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Ödeme Planı Güncelle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@method('PUT') @csrf
<div class="form-floating mb-3">
<input type="number" class="form-control" name="month" placeholder="Ay"
value="{{$paymentPlan->month}}">
<label for="floatingFirst">Ay</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="description" placeholder="Açıklama"
value="{{$paymentPlan->description}}">
<label for="floatingFirst">Açıklama</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.payment-plan.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Ödeme Planı Güncelle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.payment-plan.update',$paymentPlan)}}';
const backUrl = '{{route('admin.payment-plan.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/payment-plan/index.blade.php | resources/views/admin/payment-plan/index.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Ödeme Planları</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('admin.payment-plan.create')}}" class="btn btn-success">Ödeme Planı Oluştur</a>
</h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped" style="width:100%">
<thead>
<tr>
<th>Açıklama</th>
<th>Ay</th>
<th>İşlemler</th>
</tr>
</thead>
<tbody>
@foreach($paymentPlans as $plan)
<tr>
<td>{{$plan->description}}</td>
<td>{{$plan->month}}</td>
<td>
<a href="{{route('admin.payment-plan.edit',$plan)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button
onclick="deleteButton(this,`${{route('admin.payment-plan.destroy',$plan)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Ödeme Planları</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('admin.payment-plan.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/payment-plan/create.blade.php | resources/views/admin/payment-plan/create.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Ödeme Planı Oluştur</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating mb-3">
<input type="number" class="form-control" name="month" placeholder="Ay">
<label for="floatingFirst">Ay</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="description" placeholder="Açıklama">
<label for="floatingFirst">Açıklama</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.payment-plan.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Ödeme Planı Oluştur</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.payment-plan.store')}}';
const backUrl = '{{route('admin.payment-plan.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/group/edit.blade.php | resources/views/admin/group/edit.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Grup Güncelle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@method('PUT') @csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Dil Kodu"
value="{{$group->title}}">
<label for="floatingFirst">Ehliyet Grubu</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.group.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Grup Düzenle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.group.update',$group)}}';
const backUrl = '{{route('admin.group.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/group/index.blade.php | resources/views/admin/group/index.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Ehliyet Grupları</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('admin.group.create')}}" class="btn btn-success">Grup Oluştur</a></h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped" style="width:100%">
<thead>
<tr>
<th>Grup</th>
<th>İşlemler</th>
</tr>
</thead>
<tbody>
@foreach ($groups as $group)
<tr>
<td>{{$group->title}}</td>
<td>
<a href="{{route('admin.group.edit',$group)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('admin.group.destroy',$group)}}`)"><i
class="bi bi-trash"></i></button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Ehliyet Grupları</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('admin.company.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/group/create.blade.php | resources/views/admin/group/create.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Grup Oluştur</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Dil Kodu">
<label for="floatingFirst">Ehliyet Grubu</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.group.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Grup Oluştur</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.group.store')}}';
const backUrl = '{{route('admin.group.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/company/edit.blade.php | resources/views/admin/company/edit.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Şirket Güncelle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@method('PUT')
@csrf
<div class="row">
<div class="col-md-6 col-sm-12">
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Şirket Adı"
value="{{$company->title}}">
<label for="floatingFirst">Şirket Adı</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="subdomain"
value="{{$company->subdomain}}" placeholder="Subdomain">
<label for="floatingFirst">Subdomain</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="tax_no" maxlength="11"
placeholder="Vergi No" value="{{$company->info->tax_no}}">
<label for="floatingFirst">Vergi No</label>
</div>
<div class="form-floating mb-3">
<input type="email" class="form-control" name="email" placeholder="E-mail"
value="{{$company->info->email}}">
<label for="floatingFirst">E-mail</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="website_url" placeholder="Web Site"
value="{{$company->info->website_url}}">
<label for="floatingFirst">Web Site</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="phone" placeholder="Telefon"
value="{{$company->info->phone}}">
<label for="floatingFirst">Telefon</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" onchange="countryChange()" id="country"
name="countryId">
<option disabled selected>Seçiniz</option>
@foreach($countries as $country)
<option
value="{{$country->id}}" {{$company->info->countryId == $country->id ? 'selected' : null}}>{{$country->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Ülke</label>
</div>
</div>
<div class="col-md-6 col-sm-12">
<div class="form-floating mb-3">
<select class="form-select" onchange="cityChange()" id="city" name="cityId">
@foreach($cities as $city)
<option
value="{{$city->id}}" {{$company->info->cityId == $city->id ? 'selected' : null}}>{{$city->title}}</option>
@endforeach
</select>
<label for="floatingSelect">İl</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" name="stateId" id="state">
@foreach($states as $state)
<option
value="{{$state->id}}" {{$company->info->stateId == $state->id ? 'selected' : null}}>{{$state->title}}</option>
@endforeach
</select>
<label for="floatingSelect">İlçe</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="address" placeholder="Adres"
value="{{$company->info->address}}">
<label for="floatingFirst">Adres</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="zip_code" placeholder="Posta Kodu"
value="{{$company->info->zip_code}}">
<label for="floatingFirst">Posta Kodu</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" name="planId">
<option disabled selected>Seçiniz</option>
@foreach($paymentPlans as $paymentPlan)
<option
value="{{$paymentPlan->id}}" {{$company->info->planId == $paymentPlan->id ? 'selected' : null}}>{{$paymentPlan->description}}</option>
@endforeach
</select>
<label for="floatingSelect">Ödeme Planı</label>
</div>
<div class="form-floating mb-3">
<input type="date" class="form-control" name="start_date"
placeholder="Başlangıç Tarihi" value="{{$invoice->start_date}}">
<label for="floatingFirst">Başlangıç Tarihi</label>
</div>
<div class="form-floating mb-3">
<input type="date" class="form-control" name="end_date" disabled
placeholder="Bitiş Tarihi"
value="{{$invoice->end_date}}">
<label for="floatingFirst">Bitiş Tarihi</label>
</div>
</div>
<div class="input-group mb-3">
<input type="file" class="form-control" name="logo">
<label class="input-group-text" for="inputGroupFile02">Logo</label>
</div>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.company.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Şirket Düzenle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.company.update',$company)}}';
const backUrl = '{{route('admin.company.index')}}';
</script>
<script>
function countryChange() {
const countryId = document.getElementById("country").value;
const cityUrl = "{{route('city')}}/" + countryId;
axios.get(cityUrl).then(res => {
var option = "";
Object.keys(res.data).forEach(key => {
option += "<option value=" + res.data[key].id + ">" + res.data[key].title + "</option>";
});
document.getElementById("city").innerHTML = option;
});
}
function cityChange() {
const cityId = document.getElementById("city").value;
const stateUrl = "{{route('state')}}/" + cityId;
axios.get(stateUrl).then(res => {
var option = "";
Object.keys(res.data).forEach(key => {
option += "<option value=" + res.data[key].id + ">" + res.data[key].title + "</option>";
});
document.getElementById("state").innerHTML = option;
});
}
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/company/index.blade.php | resources/views/admin/company/index.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Şirketler</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('admin.company.create')}}" class="btn btn-success">Şirket Oluştur</a></h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped" style="width:100%">
<thead>
<tr>
<th>İd</th>
<th>Şirket Adı</th>
<th>Kalan Gün</th>
<th>Ödeme</th>
<th>Durum</th>
<th>Güncelleme Tarih</th>
<th>İşlemler</th>
</tr>
</thead>
<tbody>
@foreach ($companies as $company)
<tr>
<td>{{$company->id}}</td>
<td>{{$company->title}}</td>
<td>{{invoiceDiffDate($company->id)}}</td>
<td class="{{$company->invoice->status == 1 ? 'text-success' : 'text-danger'}} fw-bold">{{$company->invoice->status == 1 ? 'Ödeme Alındı' : 'Ödeme Alınmadı'}}</td>
<td class="{{$company->status == 1 ? 'text-success' : 'text-danger'}} fw-bold">{{$company->status == 1 ? 'Aktif' : 'Pasif'}}</td>
<td>{{$company->updated_at}}</td>
<td>
<a href="{{route('admin.company.edit',$company->id)}}" class="me-2">
<i class="bi bi-pen text-dark"></i>
</a>
<a href="{{route('admin.company.invoice',$company->id)}}">
<i class="bi bi-receipt text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('admin.company.destroy',$company)}}`)">
<i
class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Şirketler</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('admin.company.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/company/create.blade.php | resources/views/admin/company/create.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Şirket Oluştur</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12 ">
<form name="form-data">
@csrf
<div class="row">
<div class="col-md-6 col-sm-12">
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Şirket Adı">
<label for="floatingFirst">Şirket Adı</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="subdomain" placeholder="Subdomain">
<label for="floatingFirst">Subdomain</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="tax_no" maxlength="11"
placeholder="Vergi No">
<label for="floatingFirst">Vergi No</label>
</div>
<div class="form-floating mb-3">
<input type="email" class="form-control" name="email" placeholder="E-mail">
<label for="floatingFirst">E-mail</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="website_url" placeholder="Web Site">
<label for="floatingFirst">Web Site</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="phone" placeholder="Telefon">
<label for="floatingFirst">Telefon</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" onchange="countryChange()" id="country"
name="countryId">
<option disabled selected>Seçiniz</option>
@foreach($countries as $country)
<option value="{{$country->id}}">{{$country->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Ülke</label>
</div>
</div>
<div class="col-md-6 col-sm-12">
<div class="form-floating mb-3">
<select class="form-select" onchange="cityChange()" id="city" name="cityId">
<option disabled selected>Seçiniz</option>
</select>
<label for="floatingSelect">İl</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" name="stateId" id="state">
<option disabled selected>Seçiniz</option>
</select>
<label for="floatingSelect">İlçe</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="address" placeholder="Adres">
<label for="floatingFirst">Adres</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="zip_code" placeholder="Posta Kodu">
<label for="floatingFirst">Posta Kodu</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" name="planId">
<option disabled selected>Seçiniz</option>
@foreach($paymentPlans as $paymentPlan)
<option value="{{$paymentPlan->id}}">{{$paymentPlan->description}}</option>
@endforeach
</select>
<label for="floatingSelect">Ödeme Planı</label>
</div>
<div class="form-floating mb-3">
<input type="date" class="form-control" name="start_date"
placeholder="Başlangıç Tarihi">
<label for="floatingFirst">Başlangıç Tarihi</label>
</div>
<div class="input-group mb-3">
<input type="file" class="form-control" name="logo">
<label class="input-group-text" for="inputGroupFile02">Logo</label>
</div>
</div>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.company.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Şirket Oluştur</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.company.store')}}';
const backUrl = '{{route('admin.company.index')}}';
</script>
<script>
function countryChange() {
const countryId = document.getElementById("country").value;
const cityUrl = "{{route('city')}}/" + countryId;
axios.get(cityUrl).then(res => {
var option = "";
Object.keys(res.data).forEach(key => {
option += "<option value=" + res.data[key].id + ">" + res.data[key].title + "</option>";
});
document.getElementById("city").innerHTML = option;
});
}
function cityChange() {
const cityId = document.getElementById("city").value;
const stateUrl = "{{route('state')}}/" + cityId;
axios.get(stateUrl).then(res => {
var option = "";
Object.keys(res.data).forEach(key => {
option += "<option value=" + res.data[key].id + ">" + res.data[key].title + "</option>";
});
document.getElementById("state").innerHTML = option;
});
}
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/company/invoice/invoice.blade.php | resources/views/admin/company/invoice/invoice.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Faturalar</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">Fatura İd</th>
<th scope="col">Fatura Tarihi</th>
<th scope="col">Genel Toplam</th>
<th scope="col">Durum</th>
<th scope="col">İşlemler</th>
</tr>
</thead>
<tbody>
@foreach ($invoices as $invoice)
<tr>
<th scope="row">{{$invoice->id}}</th>
<td>{{$invoice->created_at}}</td>
<td>{{$invoice->total_amount}}</td>
<td class="{{$invoice->status == 1 ? 'text-success' : 'text-danger'}} fw-bold">{{$invoice->status == 1 ? 'Ödendi' : 'Ödenmedi'}}</td>
<td>
<a href="{{route('admin.company.invoice.show',$invoice)}}" target="_blank">
<i class="bi bi-eye text-dark fs-5"></i>
</a>
@if($invoice->status == 0)
<button type="button" class="btn mb-2" data-bs-toggle="modal" data-bs-target="#pay{{$invoice->id}}">
<i class="bi bi-credit-card text-dark fs-5"></i>
</button>
@include('admin.company.invoice.pay')
@endif
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Faturalar</title>
@endsection
@section('css')
<link rel="stylesheet" href="{{asset('/plugins/toastr/toastr.min.css')}}">
@include('layouts.stylesheet')
@endsection
@section('js')
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="{{asset('/plugins/toastr/toastr.min.js')}}"></script>
<script src="{{asset('/plugins/toastr/custom-toastr.js')}}"></script>
@include('layouts.script')
<script>
const actionUrl = '{{route('coupon.code',$companyId)}}';
</script>
<script>
function confirmPay() {
axios.post('{{route('admin.company.invoice.confirm.pay')}}',{
companyId: {{$companyId}}
}).then(res => {
if (res.data.status == true) {
toastr.success(res.data.message, res.data.title);
setTimeout(() => {
location.reload();
}, 3500)
} else {
toastr.error(res.data.message, res.data.title);
}
});
}
</script>
<script src="{{asset('js/payment.js')}}"></script>
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/company/invoice/pay.blade.php | resources/views/admin/company/invoice/pay.blade.php | <div class="modal fade" id="pay{{$invoice->id}}" aria-hidden="true" aria-labelledby="exampleModalToggleLabel3"
tabindex="-1">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalToggleLabel3">Ödeme Onaylama</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<form name="coupon-form">
@csrf
<div class="modal-body">
<span class="fw-normal mb-3">Ödenecek Tutar: {{$invoice->price}}</span><br>
<span id="discount" class="fw-normal mb-3"></span><br>
<span id="total_amount" class="fw-bold mb-3 test-success"></span>
<div class="input-group mb-3 mt-3">
<input type="text" class="form-control" name="coupon_code" placeholder="Kupon kodu" aria-label="Kupon kodu"
aria-describedby="button-addon2">
<button class="btn btn-outline-success" type="button" id="button-addon2" onclick="couponCodeBtn()">Uygula</button>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-success col-md-12" onclick="confirmPay()">Onayla</button>
</div>
</form>
</div>
</div>
</div>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/layout/stylesheet.blade.php | resources/views/admin/layout/stylesheet.blade.php | <link rel="stylesheet" href="{{asset('css/app.css')}}">
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/layout/app.blade.php | resources/views/admin/layout/app.blade.php | <!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="UTF-8">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="dc.language" content="{{ app()->getLocale() }}">
<meta http-equiv="content-language" content="{{ app()->getLocale() }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Quiz app uygulaması codenteq adı altında yazılmış bir online sınav uygulamasıdır.">
<meta name="author" content="Ahmet Arşiv">
<meta name="generator" content="Quiz App">
@yield('meta')
<link rel="icon" href="{{asset('images/favicon.png')}}" type="image/x-icon"/>
@include('admin.layout.stylesheet')
@yield('css')
</head>
<body>
<div class="d-flex" id="wrapper">
<div class="border-end d-flex d-sm-flex" id="sidebar-wrapper">
<div class="sidebar-heading">
<div class="list-group list-group-flush sidebar-menu">
<a class="sidebar-logo-link d-md-none d-lg-none d-xl-none d-xxl-none" href="{{route('admin.dashboard')}}">
<img class="sidebar-logo" src="{{asset('images/laerx.png')}}" alt="logo">
</a>
@include('admin.layout.partials.sidebar')
</div>
</div>
</div>
<div class="sidebar-toggle-button">
<a class="btn btn-light" id="sidebarToggle"><i class="bi bi-list fs-4"></i></a>
</div>
<div id="page-content-wrapper">
@include('admin.layout.partials.navbar-top')
<div class="content-app">
@yield('content')
</div>
@include('admin.layout.partials.navbar')
</div>
</div>
</body>
@include('partials.together.script')
@yield('js')
</html>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/layout/partials/navbar.blade.php | resources/views/admin/layout/partials/navbar.blade.php | <nav class="navbar fixed-bottom bottom-navigation-mb justify-content-around d-flex d-md-none d-lg-none d-xl-none d-xxl-none">
<ul class="navbar-list mx-auto ">
<li class="navbar-item">
<a class="navbar-link" id="sidebarToggleM" >
<i class="bi bi-list navbar-link-icon"></i>
</a>
</li>
<li class="navbar-item">
<a class="navbar-link {{ request()->is('admin/company*') ? 'active' : '' }}" href="{{route('admin.company.index')}}">
<i class="bi bi-building navbar-link-icon"></i>
</a>
</li>
<li class="navbar-item">
<a class="navbar-link {{ request()->is('admin/dashboard') ? 'active' : '' }}" href="{{route('admin.dashboard')}}">
<i class="bi bi-house navbar-link-icon"></i>
</a>
</li>
<li class="navbar-item">
<a class="navbar-link {{ request()->is('admin/manager-user*') ? 'active' : '' }}" href="{{route('admin.manager-user.index')}}">
<i class="bi bi-people navbar-link-icon"></i>
</a>
</li>
<li class="navbar-item">
<a class="navbar-link {{ request()->is('admin/profile*') ? 'active' : '' }}" href="{{route('admin.profile.edit')}}">
<i class="bi bi-person navbar-link-icon"></i>
</a>
</li>
<div class="navbar-underscore"></div>
</ul>
</nav>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/layout/partials/sidebar.blade.php | resources/views/admin/layout/partials/sidebar.blade.php | <a class="sidebar-menu-list">
<a class="list-group-item list-group-item-action d-md-none d-lg-none d-xl-none d-xxl-none" type="button"
id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
<div class="profile-info-icon-sidebar me-1"><span>{{ auth()->user()->name[0] }}</span></div>
<span class="sidebar-menu-text fs-6">{{auth()->user()->name .' '. auth()->user()->surname}}</span>
<i class="bi bi-chevron-down sidebar-toggle-icon me-1"></i>
</a>
<ul class="dropdown-menu sidebar-dropdown-open d-md-none d-lg-none d-xl-none d-xxl-none"
aria-labelledby="dropdownMenuButton1">
<span class="text-secondary ms-2">Version : v{{ app()->version() }}</span><br>
<span class="text-secondary ms-2 fw-bold">HESAP</span>
<li><a class="dropdown-item" href="{{route('admin.profile.edit')}}">Hesabım</a></li>
<li><a class="dropdown-item" href="{{route('logout-user')}}">Çıkış Yap</a></li>
</ul>
<a class="list-group-item list-group-item-action d-none d-md-block {{ request()->is('admin/dashboard') ? 'active' : '' }}"
href="{{route('admin.dashboard')}}">
<i class="bi bi-house fs-4"></i>
<span class="sidebar-menu-text">Ana Sayfa</span>
</a>
<a class="list-group-item list-group-item-action d-none d-md-block {{ request()->is('admin/company*') ? 'active' : '' }}"
href="{{route('admin.company.index')}}">
<i class="bi bi-building fs-4"></i>
<span class="sidebar-menu-text">Şirketler</span>
</a>
<a class="list-group-item list-group-item-action d-none d-md-block {{ request()->is('admin/manager-user*') ? 'active' : '' }}"
href="{{route('admin.manager-user.index')}}">
<i class="bi bi-people fs-4"></i>
<span class="sidebar-menu-text">Kullanıcılar</span>
</a>
<a class="list-group-item list-group-item-action {{ request()->is('admin/question*', 'admin/type*', 'admin/lesson-content*') ? 'active' : '' }}"
type="button" id="dropdownMenuButton4" data-bs-toggle="dropdown" aria-expanded="false">
<i class="bi bi-question-circle fs-4"></i>
<span class="sidebar-menu-text">Soru Bankası</span>
<i class="bi bi-chevron-down sidebar-toggle-icon me-1"></i>
</a>
<ul class="dropdown-menu sidebar-dropdown-open" aria-labelledby="dropdownMenuButton4">
<span class="text-secondary ms-2">BANK</span>
<li><a class="dropdown-item" href="{{route('admin.lesson-content.index')}}">Dersler</a></li>
<li><a class="dropdown-item" href="{{route('admin.question.index')}}">Sorular</a></li>
<li><a class="dropdown-item" href="{{route('admin.type.index')}}">Soru Kategorileri</a></li>
</ul>
<a class="list-group-item list-group-item-action {{ request()->is('admin/coupon*', 'admin/package*', 'admin/payment-plan*') ? 'active' : '' }}"
type="button" id="dropdownMenuButton3" data-bs-toggle="dropdown" aria-expanded="false">
<i class="bi bi-megaphone fs-4"></i>
<span class="sidebar-menu-text">Pazarlama</span>
<i class="bi bi-chevron-down sidebar-toggle-icon me-1"></i>
</a>
<ul class="dropdown-menu sidebar-dropdown-open" aria-labelledby="dropdownMenuButton3">
<span class="text-secondary ms-2">MARKETING</span>
<li><a class="dropdown-item" href="{{route('admin.payment-plan.index')}}">Ödeme Planları</a></li>
<li><a class="dropdown-item" href="{{route('admin.package.index')}}">Paketler</a></li>
<li><a class="dropdown-item" href="{{route('admin.coupon.index')}}">Kuponlar</a></li>
</ul>
<a class="list-group-item list-group-item-action {{ request()->is('admin/language*', 'admin/group*', 'admin/period*', 'admin/car-type*') ? 'active' : '' }}"
type="button" id="dropdownMenuButton2" data-bs-toggle="dropdown" aria-expanded="false">
<i class="bi bi-gear fs-4"></i>
<span class="sidebar-menu-text">Sistem Ayarları</span>
<i class="bi bi-chevron-down sidebar-toggle-icon me-1"></i>
</a>
<ul class="dropdown-menu sidebar-dropdown-open" aria-labelledby="dropdownMenuButton2">
<span class="text-secondary ms-2">SETTINGS</span>
<li><a class="dropdown-item" href="{{route('admin.language.index')}}">Dil Seçenekleri</a></li>
<li><a class="dropdown-item" href="{{route('admin.group.index')}}">Ehliyet Grupları</a></li>
<li><a class="dropdown-item" href="{{route('admin.period.index')}}">Dönemler</a></li>
<li><a class="dropdown-item" href="{{route('admin.car-type.index')}}">Araç Türleri</a></li>
</ul>
</a>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/layout/partials/navbar-top.blade.php | resources/views/admin/layout/partials/navbar-top.blade.php | <nav class="navbar-top navbar navbar-expand-lg navbar-light border-bottom d-none d-md-block">
<div class="container-fluid">
<a class="navbar-logo-link" href="{{route('admin.dashboard')}}">
<img class="sidebar-logo" src="{{asset('images/laerx.png')}}" alt="logo">
</a>
<div class="collapse navbar-collapse d-none d-sm-block" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mt-2 mt-lg-0">
<li class="nav-item me-2">
<a class="nav-link navbar-border">
<i class="bi bi-bell fs-4 ms-2"></i>
</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link navbar-border" id="navbarDropdown" href="#" role="button"
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<div class="profile-info-icon-nav"><span>{{ auth()->user()->name[0] }}</span></div>
<span class="name">
{{auth()->user()->name .' '. auth()->user()->surname}}
<p class="role">{{auth()->user()->type == 1 ? 'Administrator' : 'null'}}</p>
<i class="bi bi-chevron-down sidebar-toggle-icon me-1"></i>
</span>
</a>
<div class="dropdown-menu dropdown-menu-end navbar-dropdown-open" aria-labelledby="navbarDropdown">
<span class="text-secondary ms-2">Version : {{ app()->version() }}</span>
<a class="dropdown-item" href="{{route('admin.profile.edit')}}">Profil</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{{route('logout-user')}}">Çıkış Yap</a>
</div>
</li>
</ul>
</div>
</div>
</nav>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/users/edit.blade.php | resources/views/admin/users/edit.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Kullanıcı Düzenle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@method('PUT') @csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="tc" placeholder="TCKN"
value="{{$user->user->tc}}" maxlength="11">
<label for="floatingFirst">TC Kimlik No</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="name" placeholder="Üye Adı"
value="{{$user->user->name}}">
<label for="floatingFirst">Adı</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="surname" placeholder="Üye Soyadı"
value="{{$user->user->surname}}">
<label for="floatingLast">Soyadı</label>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" name="password" placeholder="Yeni Şifre">
<label for="floatingLast">Yeni Şifre</label>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" name="password_confirmation"
id="password-confirm" placeholder="Şifre">
<label for="floatingLast">Yeni Şifre Tekrar</label>
</div>
<div class="form-floating mb-3">
<input type="email" class="form-control" name="email" placeholder="Eposta Adresi"
value="{{$user->user->email}}">
<label for="floatingMail">Eposta Adresi</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="phone" placeholder="Telefon Numarası"
value="{{$user->phone}}">
<label for="floatingPhone">Telefon Numarası</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="address" placeholder="Adres"
value="{{$user->address}}">
<label for="floatingAddress">Adres</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="flexSwitchCheckChecked" name="status"
value="1"
{{$user->status == 1 ? 'checked' : null}}>
<label class="form-check-label" for="flexSwitchCheckChecked">Kullanıcı Aktif/Pasif</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="languageId">
<option disabled selected>Seçiniz</option>
@foreach($languages as $language)
<option
value="{{$language->id}}" {{$user->languageId == $language->id ? 'selected' : null}} >{{$language->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Dil</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="companyId">
<option disabled selected>Seçiniz</option>
@foreach($companies as $company)
<option
value="{{$company->id}}" {{$user->companyId == $company->id ? 'selected' : null}}>{{$company->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Şirket</label>
</div>
<br>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.manager-user.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Kullanıcı Düzenle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.manager-user.update',$user->userId)}}';
const backUrl = '{{route('admin.manager-user.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/users/index.blade.php | resources/views/admin/users/index.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Kullanıcı Listesi</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('admin.manager-user.create')}}" class="btn btn-success">Kullanıcı Oluştur</a>
</h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped" style="width:100%">
<thead>
<tr>
<th>Adı Soyadı</th>
<th>TCKN</th>
<th>Telefon</th>
<th>Şirket</th>
<th>Dil</th>
<th>Durum</th>
<th>İşlemler</th>
</tr>
</thead>
<tbody>
@foreach($users as $user)
<tr>
<td>{{$user->user->name .' '. $user->user->surname}}</td>
<td>{{$user->user->tc}}</td>
<td>{{$user->phone}}</td>
<td>{{$user->company->title}}</td>
<td>{{$user->language->title}}</td>
<td class="{{$user->status == 1 ? 'text-success' : 'text-danger'}} fw-bold">{{$user->status == 1 ? 'Aktif' : 'Pasif'}}</td>
<td>
<a href="{{route('admin.manager-user.edit',$user->userId)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button
onclick="deleteButton(this,`${{route('admin.manager-user.destroy',$user->userId)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Kullanıcı Listesi</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('admin.manager-user.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/users/create.blade.php | resources/views/admin/users/create.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Kullanıcı Oluştur</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="tc" placeholder="TCKN" maxlength="11">
<label for="floatingFirst">TC Kimlik No</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="name" placeholder="Üye Adı">
<label for="floatingFirst">Adı</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="surname" placeholder="Üye Soyadı">
<label for="floatingLast">Soyadı</label>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" name="password" id="password"
placeholder="Şifre">
<label for="floatingLast">Şifre</label>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control" name="password_confirmation"
id="password-confirm" placeholder="Şifre">
<label for="floatingLast">Şifre Tekrar</label>
</div>
<div class="form-floating mb-3">
<input type="email" class="form-control" name="email" placeholder="Eposta Adresi">
<label for="floatingMail">Eposta Adresi</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="phone" placeholder="Telefon Numarası">
<label for="floatingPhone">Telefon Numarası</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="address" placeholder="Adres">
<label for="floatingAddress">Adres</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="flexSwitchCheckChecked" value="1"
name="status"
checked>
<label class="form-check-label" for="flexSwitchCheckChecked">Kullanıcı Aktif/Pasif</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="languageId">
<option disabled selected>Seçiniz</option>
@foreach($languages as $language)
<option value="{{$language->id}}">{{$language->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Dil</label>
</div>
<br>
<div class="form-floating">
<select class="form-select" name="companyId">
<option disabled selected>Seçiniz</option>
@foreach($companies as $company)
<option value="{{$company->id}}">{{$company->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Şirket</label>
</div>
<br>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.manager-user.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Kullanıcı Oluştur</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.manager-user.store')}}';
const backUrl = '{{route('admin.manager-user.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/question/edit.blade.php | resources/views/admin/question/edit.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Soru Düzenle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form class="p-2" name="form-data">
@csrf @method('PUT')
<div class="form-floating mb-3">
<select class="form-select" name="languageId">
@foreach($languages as $language)
<option
value="{{$language->id}}" {{$question->language->id == $language->id ? 'selected' : null}}>{{$language->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Soru Dilini Seçin</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" name="questionImage"
{{$question->questionImage == 1 ? 'checked' : null}} id="switchQuestionImageShow">
<label class="form-check-label" for="switchQuestionImageShow">Soru Resim</label>
</div>
<br>
@if($question->imagePath)
<img src="{{imagePath($question->imagePath)}}" height="100" class="mb-3 w-auto" alt="">
@endif
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Başlık"
value="{{$question->title}}">
<label for="floatingFirst">Soru</label>
</div>
<div class="input-group mb-3 d-none question-image">
<input type="file" class="form-control" name="imagePath">
<label class="input-group-text" for="inputGroupFile02">Soru Resim</label>
</div>
<div class="mb-3">
<label class="mb-2">Açıklama</label>
<textarea id="ckeditor" name="description">{!! $question->description !!}</textarea>
<input type="hidden" name="ck_editor" value="1">
</div>
<div class="form-floating mb-3">
<select class="form-select" name="typeId">
@foreach($types as $type)
<option
value="{{$type->id}}" {{$question->typeId == $type->id ? 'selected' : null}}>{{$type->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Soru Tipi</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" name="choiceImage"
{{$question->choiceImage == 1 ? 'checked' : null}} id="switchImageShow">
<label class="form-check-label" for="switchImageShow">Cevap Resim</label>
</div>
<br>
@foreach($question->choice as $key => $choice)
<!-- text choice -->
<div class="row mb-3 text-choice">
<div class="form-floating ps-1 col-10 col-md-10">
<input type="text" class="form-control " name="{{$choice->id}}"
placeholder="Cevap 0{{$key + 1}}"
value="{{$choice->title}}">
<label class="" for="floatingFirst">Cevap 0{{$key + 1}}</label>
</div>
<div class="col-2 col-md-1">
<input class="form-check-input p-3" type="checkbox" id="flexCheckDefault"
data-bs-toggle="tooltip" data-bs-placement="top"
@if($choice->path == null)
{{$choice->id == $choice->choiceKey->choiceId ? 'checked' : null}}
@endif
name="correct_choice"
value="{{$choice->id}}"
onclick="correctChoice(this)"
title="Doğru Cevabı Seçin">
</div>
</div>
<!-- image choice -->
<div class="row mb-3 image-choice d-none">
@if($choice->path)
<div><img src="{{imagePath($choice->path)}}" height="100" class="mb-3 w-auto"
alt=""></div>
@endif
<div class="mb-3 col-10 col-md-10">
<input type="file" class="form-control" name="{{$choice->id}}">
</div>
<div class="col-2 col-md-1">
<input class="form-check-input p-3" type="checkbox" value="{{$choice->id}}"
id="flexCheckDefault"
name="correct_choice"
data-bs-toggle="tooltip" data-bs-placement="top"
onclick="correctChoice(this)"
@if($choice->path != null)
{{$choice->id == $choice->choiceKey->choiceId ? 'checked' : null}}
@endif
title="Doğru Cevabı Seçin">
</div>
</div>
@endforeach
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.question.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Soru Düzenle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script src="https://cdn.ckeditor.com/4.16.2/standard/ckeditor.js"></script>
<script>
CKEDITOR.replace('ckeditor');
</script>
<script>
const actionUrl = '{{route('admin.question.update',$question)}}';
const backUrl = '{{route('admin.question.index')}}';
</script>
<script>
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl)
})
</script>
<script>
const choiceImage = document.querySelector('#switchImageShow');
const textInput = document.querySelectorAll('.text-choice');
const imageInput = document.querySelectorAll('.image-choice');
const questionImageChoice = document.querySelector('#switchQuestionImageShow');
const questionImageInput = document.querySelector('.question-image');
choiceImage.addEventListener('click', () => {
if (choiceImage.checked == true) {
textInput.forEach((input, index) => {
textInput[index].classList.add('d-none');
imageInput[index].classList.remove('d-none');
})
} else {
textInput.forEach((input, index) => {
textInput[index].classList.remove('d-none');
imageInput[index].classList.add('d-none');
});
}
});
if (choiceImage.checked == true) {
textInput.forEach((input, index) => {
textInput[index].classList.add('d-none');
imageInput[index].classList.remove('d-none');
})
} else {
textInput.forEach((input, index) => {
textInput[index].classList.remove('d-none');
imageInput[index].classList.add('d-none');
});
}
questionImageChoice.addEventListener('click', () => {
if (questionImageChoice.checked == true)
questionImageInput.classList.remove('d-none')
else
questionImageInput.classList.add('d-none')
});
if (questionImageChoice.checked == true)
questionImageInput.classList.remove('d-none')
else
questionImageInput.classList.add('d-none')
</script>
<script>
// checkbox only select
function correctChoice(checkbox) {
var checkboxes = document.getElementsByName('correct_choice')
checkboxes.forEach((item) => {
if (item !== checkbox) item.checked = false
})
}
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/question/bug.blade.php | resources/views/admin/question/bug.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Hatalı Sorular</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12 overflow-auto">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">Soru</th>
<th scope="col">Soru Dili</th>
<th scope="col">Oluşturulma Tarihi</th>
<th scope="col">İşlemler</th>
</tr>
</thead>
<tbody>
@foreach ($questions as $question)
<tr>
<td>{{\Illuminate\Support\Str::limit($question->question->title, 50)}}</td>
<td>{{$question->question->language->title}}</td>
<td>{{$question->created_at}}</td>
<td>
<a href="{{route('admin.question.edit',$question->questionId)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('admin.question.bug.destroy',$question->id)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Hatalı Sorular</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('admin.question.bug')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/question/index.blade.php | resources/views/admin/question/index.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Sorular</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4>
<a href="{{route('admin.question.create')}}" class="btn btn-success">Soru Oluştur</a>
<a href="{{route('admin.question.bug')}}" class="btn btn-danger">Hatalı Sorular</a>
</h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto mb-5">
<table id="data-table" class="table table-striped">
<thead>
<tr>
<th scope="col">Soru</th>
<th scope="col">Soru Dili</th>
<th scope="col">Soru Kategorisi</th>
<th scope="col">İşlemler</th>
</tr>
</thead>
<tbody>
@foreach ($questions as $question)
<tr>
<td>{{\Illuminate\Support\Str::limit($question->title, 50)}}</td>
<td>{{$question->language->title}}</td>
<td>{{$question->questionType->title}}</td>
<td>
<a href="{{route('admin.question.edit',$question)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button
onclick="deleteButton(this,`${{route('admin.question.destroy',$question)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Sorular</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('admin.question.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/question/create.blade.php | resources/views/admin/question/create.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Soru Ekle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form class="p-2" name="form-data">
@csrf
<div class="form-floating mb-3">
<select class="form-select" name="languageId">
@foreach($languages as $language)
<option value="{{$language->id}}">{{$language->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Soru Dilini Seçin</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" name="questionImage"
id="switchQuestionImageShow">
<label class="form-check-label" for="switchQuestionImageShow">Soru Resim</label>
</div>
<br>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Başlık">
<label for="floatingFirst">Soru</label>
</div>
<div class="input-group mb-3 d-none question-image">
<input type="file" class="form-control" name="imagePath">
<label class="input-group-text" for="inputGroupFile02">Soru Resim</label>
</div>
<div class="mb-3">
<label class="mb-2">Açıklama</label>
<textarea id="ckeditor" name="description"></textarea>
<input type="hidden" name="ck_editor" value="1">
</div>
<div class="form-floating mb-3">
<select class="form-select" name="typeId">
@foreach($types as $type)
<option value="{{$type->id}}">{{$type->title}}</option>
@endforeach
</select>
<label for="floatingSelect">Soru Tipi</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input " type="checkbox" name="choiceImage" id="switchImageShow">
<label class="form-check-label" for="switchImageShow">Cevap Resim</label>
</div>
<br>
<div class="row mb-3 text-choice">
<div class="form-floating ps-1 col-10">
<input type="text" class="form-control " name="choice_text_1" placeholder="Cevap 01">
<label class="" for="floatingFirst">Cevap 01</label>
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
data-bs-toggle="tooltip" data-bs-placement="top"
name="correct_choice"
value="1"
onclick="correctChoice(this)"
title="Doğru Cevabı Seçin">
</div>
</div>
<div class="row mb-3 text-choice">
<div class="form-floating ps-1 col-10">
<input type="text" class="form-control " name="choice_text_2" placeholder="Cevap 02">
<label class="" for="floatingFirst">Cevap 02</label>
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
data-bs-toggle="tooltip" data-bs-placement="top"
name="correct_choice"
value="2"
onclick="correctChoice(this)"
title="Doğru Cevabı Seçin">
</div>
</div>
<div class="row mb-3 text-choice">
<div class="form-floating ps-1 col-10">
<input type="text" class="form-control " name="choice_text_3" placeholder="Cevap 0">
<label class="" for="floatingFirst">Cevap 03</label>
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
data-bs-toggle="tooltip" data-bs-placement="top"
name="correct_choice"
value="3"
onclick="correctChoice(this)"
title="Doğru Cevabı Seçin">
</div>
</div>
<div class="row mb-3 text-choice">
<div class="form-floating ps-1 col-10">
<input type="text" class="form-control " name="choice_text_4" placeholder="Cevap 04">
<label class="" for="floatingFirst">Cevap 04</label>
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
data-bs-toggle="tooltip" data-bs-placement="top"
name="correct_choice"
value="4"
onclick="correctChoice(this)"
title="Doğru Cevabı Seçin">
</div>
</div>
<div class="row mb-3 image-choice d-none">
<div class="mb-3 col-10">
<input type="file" class="form-control" name="choice_image_1">
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
name="correct_choice"
value="1"
onclick="correctChoice(this)"
data-bs-toggle="tooltip" data-bs-placement="top"
title="Doğru Cevabı Seçin">
</div>
</div>
<div class="row mb-3 image-choice d-none">
<div class="mb-3 col-10">
<input type="file" class="form-control" name="choice_image_2">
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
name="correct_choice"
value="2"
onclick="correctChoice(this)"
data-bs-toggle="tooltip" data-bs-placement="top"
title="Doğru Cevabı Seçin">
</div>
</div>
<div class="row mb-3 image-choice d-none">
<div class="mb-3 col-10">
<input type="file" class="form-control" name="choice_image_3">
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
name="correct_choice"
value="3"
onclick="correctChoice(this)"
data-bs-toggle="tooltip" data-bs-placement="top"
title="Doğru Cevabı Seçin">
</div>
</div>
<div class="row mb-3 image-choice d-none">
<div class="mb-3 col-10">
<input type="file" class="form-control" name="choice_image_4">
</div>
<div class="col-1">
<input class="form-check-input p-3" type="checkbox"
id="flexCheckDefault"
name="correct_choice"
value="4"
onclick="correctChoice(this)"
data-bs-toggle="tooltip" data-bs-placement="top"
title="Doğru Cevabı Seçin">
</div>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.question.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Soru Ekle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script src="https://cdn.ckeditor.com/4.16.2/standard/ckeditor.js"></script>
<script>
CKEDITOR.replace('ckeditor');
</script>
<script>
const actionUrl = '{{route('admin.question.store')}}';
const backUrl = '{{route('admin.question.index')}}';
</script>
<script>
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl)
})
</script>
<script>
const choiceImage = document.querySelector('#switchImageShow');
const textInput = document.querySelectorAll('.text-choice');
const imageInput = document.querySelectorAll('.image-choice');
const questionImageChoice = document.querySelector('#switchQuestionImageShow');
const questionImageInput = document.querySelector('.question-image');
choiceImage.addEventListener('click', () => {
if (choiceImage.checked == true) {
textInput.forEach((input, index) => {
textInput[index].classList.add('d-none');
imageInput[index].classList.remove('d-none');
})
} else {
textInput.forEach((input, index) => {
textInput[index].classList.remove('d-none');
imageInput[index].classList.add('d-none');
});
}
});
questionImageChoice.addEventListener('click', () => {
if (questionImageChoice.checked == true)
questionImageInput.classList.remove('d-none')
else
questionImageInput.classList.add('d-none')
});
</script>
<script>
// checkbox only select
function correctChoice(checkbox) {
var checkboxes = document.getElementsByName('correct_choice')
checkboxes.forEach((item) => {
if (item !== checkbox) item.checked = false
})
}
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/package/edit.blade.php | resources/views/admin/package/edit.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Paket Güncelle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@method('PUT') @csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" id="floatingPackageName" name="title"
value="{{$package->title}}">
<label for="floatingPackageName">Paket Adı</label>
</div>
<div class="form-floating mb-3">
<textarea class="form-control" name="description" placeholder="Paket Açıklaması"
id="floatingTextarea2" style="height: 100px">
{!! $package->description !!}
</textarea>
<label for="floatingTextarea2">Paket Açıklaması</label>
</div>
<div class="form-floating mb-3">
<input type="number" class="form-control" name="price" id="floatingPrice"
value="{{$package->price}}">
<label for="floatingPrice">Fiyat</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" name="planId">
<option disabled selected>Seçiniz</option>
@foreach($paymentPlans as $paymentPlan)
<option
value="{{$paymentPlan->id}}" {{$package->planId == $paymentPlan->id ? 'selected' : null}}>{{$paymentPlan->description}}</option>
@endforeach
</select>
<label for="floatingSelect">Ödeme Planı</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.package.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Paket Düzenle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.package.update',$package)}}';
const backUrl = '{{route('admin.package.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/package/index.blade.php | resources/views/admin/package/index.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Paketler</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('admin.package.create')}}" class="btn btn-success">Paket Oluştur</a></h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped" style="width:100%">
<thead>
<tr>
<th>Paket Adı</th>
<th>Paket Fiyat</th>
<th>İşlemler</th>
</tr>
</thead>
<tbody>
@foreach($packages as $package)
<tr>
<td>{{$package->title}}</td>
<td>{{$package->price}}</td>
<td>
<a href="{{route('admin.package.edit',$package)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('admin.package.destroy',$package)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Paketler</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('admin.package.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/package/create.blade.php | resources/views/admin/package/create.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Paket Oluştur</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" id="floatingPackageName" name="title">
<label for="floatingPackageName">Paket Adı</label>
</div>
<div class="form-floating mb-3">
<textarea class="form-control" name="description" placeholder="Paket Açıklaması"
id="floatingTextarea2" style="height: 100px"></textarea>
<label for="floatingTextarea2">Paket Açıklaması</label>
</div>
<div class="form-floating mb-3">
<input type="number" class="form-control" name="price" id="floatingPrice">
<label for="floatingPrice">Fiyat</label>
</div>
<div class="form-floating mb-3">
<select class="form-select" name="planId">
<option disabled selected>Seçiniz</option>
@foreach($paymentPlans as $paymentPlan)
<option
value="{{$paymentPlan->id}}">{{$paymentPlan->description}}</option>
@endforeach
</select>
<label for="floatingSelect">Ödeme Planı</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.package.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Paket Oluştur</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.package.store')}}';
const backUrl = '{{route('admin.package.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/car-type/edit.blade.php | resources/views/admin/car-type/edit.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Araç Tipi Güncelle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@method('PUT') @csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title"
value="{{$car_type->title}}">
<label for="floatingFirst">Araç Tipi</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.car-type.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Araç Tipi Düzenle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.car-type.update',$car_type)}}';
const backUrl = '{{route('admin.car-type.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/car-type/index.blade.php | resources/views/admin/car-type/index.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Araç Türleri</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('admin.car-type.create')}}" class="btn btn-success">Araç Tipi Oluştur</a></h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped" style="width:100%">
<thead>
<tr>
<th>Araç Tipi</th>
<th>İşlemler</th>
</tr>
</thead>
<tbody>
@foreach ($types as $type)
<tr>
<td>{{$type->title}}</td>
<td>
<a href="{{route('admin.car-type.edit',$type)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button onclick="deleteButton(this,`${{route('admin.car-type.destroy',$type)}}`)"><i
class="bi bi-trash"></i></button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Araç Türleri</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('admin.car-type.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/car-type/create.blade.php | resources/views/admin/car-type/create.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Araç Tipi Oluştur</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title">
<label for="floatingFirst">Araç Türü</label>
</div>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.car-type.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Araç Tipi Oluştur</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.car-type.store')}}';
const backUrl = '{{route('admin.car-type.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/language/edit.blade.php | resources/views/admin/language/edit.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Dil Güncelle</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@method('PUT') @csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="code" placeholder="Dil Kodu"
value="{{$language->code}}">
<label for="floatingFirst">Dil Kodu</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Dil Adı"
value="{{$language->title}}">
<label for="floatingFirst">Dil Adı</label>
</div>
<br>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.language.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Dil Düzenle</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.language.update',$language)}}';
const backUrl = '{{route('admin.language.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/language/index.blade.php | resources/views/admin/language/index.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Diller</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<h4><a href="{{route('admin.language.create')}}" class="btn btn-success">Dil Oluştur</a></h4>
</div>
<div class="col-12 col-lg-12 mt-3 overflow-auto">
<table id="data-table" class="table table-striped" style="width:100%">
<thead>
<tr>
<th>Kodu</th>
<th>Adı</th>
<th>İşlemler</th>
</tr>
</thead>
<tbody>
@foreach($languages as $language)
<tr>
<td>{{$language->code}}</td>
<td>{{$language->title}}</td>
<td>
<a href="{{route('admin.language.edit',$language)}}">
<i class="bi bi-pen text-dark"></i>
</a>
<button
onclick="deleteButton(this,`${{route('admin.language.destroy',$language)}}`)">
<i class="bi bi-trash"></i>
</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Diller</title>
@endsection
@section('css')
@include('partials.stylesheet')
@include('layouts.stylesheet')
@endsection
@section('js')
<script>
const backUrl = '{{route('admin.language.index')}}';
</script>
@include('partials.script')
@include('layouts.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/admin/language/create.blade.php | resources/views/admin/language/create.blade.php | @extends('admin.layout.app')
@section('content')
<div class="container-fluid">
<section class="content">
<figure>
<blockquote class="blockquote">
<h2>Dil Oluştur</h2>
</blockquote>
</figure>
<div class="row">
<div class="col-12 col-lg-12">
<form name="form-data">
@csrf
<div class="form-floating mb-3">
<input type="text" class="form-control" name="code" placeholder="Dil Kodu">
<label for="floatingFirst">Dil Kodu</label>
</div>
<div class="form-floating mb-3">
<input type="text" class="form-control" name="title" placeholder="Dil Adı">
<label for="floatingFirst">Dil Adı</label>
</div>
<br>
<div class="mt-3">
<button type="button" onclick="createAndUpdateButton()" class="btn btn-success">Kaydet
</button>
<a href="{{route('admin.language.index')}}" class="btn btn-danger">İptal</a>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection
@section('meta')
<title>Dil Oluştur</title>
@endsection
@section('css')
@include('partials.stylesheet')
@endsection
@section('js')
<script>
const actionUrl = '{{route('admin.language.store')}}';
const backUrl = '{{route('admin.language.index')}}';
</script>
@include('partials.script')
@endsection
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/partials/script.blade.php | resources/views/partials/script.blade.php | <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="{{asset('/plugins/toastr/toastr.min.js')}}"></script>
<script src="{{asset('/plugins/toastr/custom-toastr.js')}}"></script>
<script src="{{asset('js/post.js')}}"></script>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/partials/stylesheet.blade.php | resources/views/partials/stylesheet.blade.php | <link rel="stylesheet" href="{{asset('/plugins/toastr/toastr.min.css')}}">
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/partials/together/script.blade.php | resources/views/partials/together/script.blade.php | <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script src="{{asset('js/app.js')}}"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanilla-masker@1.1.1/build/vanilla-masker.min.js"></script>
<script>
VMasker(document.getElementsByName('phone')).maskPattern("(999) 999-9999");
</script>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
codenteq/laerx | https://github.com/codenteq/laerx/blob/1beced57923761b2f07ca20030a4df11eb05b732/resources/views/layouts/script.blade.php | resources/views/layouts/script.blade.php | <script type="text/javascript" src="https://cdn.datatables.net/v/bs5/dt-1.11.3/r-2.2.9/sb-1.2.2/sp-1.4.0/datatables.min.js"></script>
<script>
$(document).ready(function () {
$('#data-table').DataTable({
"aaSorting": [],
"language": {
"searchPlaceholder": "Arama Yapın...",
"decimal": "",
"emptyTable": "Kayıt Bulunamadı",
"info": "",
"infoEmpty": "",
"infoFiltered": "(_MAX_ toplam girişten filtrelendi)",
"infoPostFix": "",
"thousands": ",",
"lengthMenu": "Sayfa Başına _MENU_",
"loadingRecords": "Yükleniyor...",
"processing": "İşlemde...",
"search": "",
"zeroRecords": "Hiçbir kayıt bulunamadı",
"paginate": {
"first": "Birinci",
"last": "Sonuncu",
"next": "Sonraki",
"previous": "Önceki"
},
"aria": {
"sortAscending": ": sütunu artan şekilde sıralamak için etkinleştir",
"sortDescending": ": sütunu azalan sıralamak için etkinleştir"
},
},
responsive: true
});
});
</script>
| php | MIT | 1beced57923761b2f07ca20030a4df11eb05b732 | 2026-01-05T05:20:28.495862Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.