git add .
git commit "Complete project development and finalize features"
This commit is contained in:
@@ -5,72 +5,42 @@
|
||||
گزارش فعالیتها
|
||||
</span>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="container mt-4">
|
||||
|
||||
|
||||
<div class="card shadow">
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
<h5 class="mb-4">
|
||||
گزارش تغییرات سیستم
|
||||
</h5>
|
||||
|
||||
|
||||
<div class="table-responsive">
|
||||
|
||||
<table class="table table-bordered text-center align-middle">
|
||||
|
||||
|
||||
<thead class="table-light">
|
||||
|
||||
<tr>
|
||||
|
||||
<th>
|
||||
شناسه
|
||||
</th>
|
||||
<th>شناسه</th>
|
||||
|
||||
<th>
|
||||
مدیر
|
||||
</th>
|
||||
<th>مدیر</th>
|
||||
|
||||
<th>
|
||||
عملیات
|
||||
</th>
|
||||
<th>عملیات</th>
|
||||
|
||||
<th>
|
||||
بخش
|
||||
</th>
|
||||
<th>بخش</th>
|
||||
|
||||
<th>
|
||||
شناسه مورد
|
||||
</th>
|
||||
<th>شناسه مورد</th>
|
||||
|
||||
<th>
|
||||
توضیحات
|
||||
</th>
|
||||
|
||||
<th>
|
||||
تاریخ
|
||||
</th>
|
||||
<th>توضیحات</th>
|
||||
|
||||
<th>تاریخ</th>
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
|
||||
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
@forelse($logs as $log)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>
|
||||
{{ $loop->iteration }}
|
||||
</td>
|
||||
@@ -89,7 +59,6 @@
|
||||
</span>
|
||||
@break
|
||||
|
||||
|
||||
@case('update')
|
||||
<span class="badge bg-warning">
|
||||
ویرایش
|
||||
@@ -103,7 +72,6 @@
|
||||
</span>
|
||||
@break
|
||||
|
||||
|
||||
@default
|
||||
{{ $log->action }}
|
||||
|
||||
@@ -133,14 +101,10 @@
|
||||
{{ $log->model_id }}
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td>
|
||||
{{ $log->description }}
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td>
|
||||
{{ $log->created_at->toJalali()->format('Y/m/d H:i') }}
|
||||
</td>
|
||||
@@ -149,7 +113,6 @@
|
||||
|
||||
@empty
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td colspan="7">
|
||||
@@ -164,19 +127,14 @@
|
||||
|
||||
</tbody>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
{{ $logs->links() }}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
@extends('admin.layouts.app')
|
||||
|
||||
@section('breadcrumb')
|
||||
|
||||
<div>
|
||||
@@ -29,11 +28,8 @@
|
||||
@section('content')
|
||||
|
||||
<div class="container-fluid pt-4">
|
||||
|
||||
<div class="card custom-card">
|
||||
|
||||
<div class="card-header">
|
||||
|
||||
<div class="card-title">
|
||||
ایجاد ادمین جدید
|
||||
</div>
|
||||
@@ -260,13 +256,9 @@
|
||||
>
|
||||
ذخیره ادمین
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
@extends('admin.layouts.app')
|
||||
|
||||
@section('breadcrumb')
|
||||
|
||||
<div>
|
||||
<h1 class="page-title fw-medium fs-18 mb-2">
|
||||
ویرایش ادمین
|
||||
</h1>
|
||||
|
||||
<nav>
|
||||
<ol class="breadcrumb mb-0">
|
||||
|
||||
@@ -19,7 +17,6 @@
|
||||
<li class="breadcrumb-item active">
|
||||
ویرایش ادمین
|
||||
</li>
|
||||
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
@@ -29,11 +26,8 @@
|
||||
@section('content')
|
||||
|
||||
<div class="container-fluid pt-4">
|
||||
|
||||
<div class="card custom-card">
|
||||
|
||||
<div class="card-header">
|
||||
|
||||
<div class="card-title">
|
||||
ویرایش ادمین
|
||||
</div>
|
||||
@@ -98,7 +92,6 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
<label class="form-label">
|
||||
@@ -121,7 +114,6 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
<label class="form-label">
|
||||
@@ -144,7 +136,6 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
<label class="form-label">
|
||||
@@ -167,7 +158,6 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
<label class="form-label">
|
||||
@@ -189,7 +179,6 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
<label class="form-label">
|
||||
@@ -226,7 +215,6 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
<label class="form-label">
|
||||
@@ -277,13 +265,9 @@
|
||||
>
|
||||
ذخیره تغییرات
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
@@ -1,13 +1,9 @@
|
||||
@extends('admin.layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="container-fluid pt-4">
|
||||
|
||||
<div class="card custom-card">
|
||||
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
|
||||
<div class="card-title">
|
||||
لیست ادمینها
|
||||
</div>
|
||||
@@ -20,11 +16,8 @@
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
<div class="table-responsive">
|
||||
|
||||
<table class="table table-bordered table-hover text-center align-middle">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>نام</th>
|
||||
@@ -39,9 +32,7 @@
|
||||
<tbody>
|
||||
|
||||
@forelse($admins as $admin)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>
|
||||
{{ $admin->first_name }}
|
||||
</td>
|
||||
@@ -99,11 +90,9 @@
|
||||
|
||||
</div>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
@empty
|
||||
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
ادمینی ثبت نشده است.
|
||||
@@ -111,11 +100,8 @@
|
||||
</tr>
|
||||
|
||||
@endforelse
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="mt-3">
|
||||
@@ -123,9 +109,7 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
@@ -1,17 +1,11 @@
|
||||
@extends('admin.layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="container mt-5">
|
||||
|
||||
<div class="row justify-content-center">
|
||||
|
||||
<div class="col-md-5">
|
||||
|
||||
<div class="card shadow rounded-4">
|
||||
|
||||
<div class="card-body p-4">
|
||||
|
||||
<h3 class="text-center mb-4">
|
||||
ورود مدیر
|
||||
</h3>
|
||||
@@ -19,12 +13,10 @@
|
||||
<span style="color: #42a5f5"> {{$message}} </span>
|
||||
@enderror
|
||||
|
||||
|
||||
<form action="{{ route('admin.auth.login.post') }}" method="POST">
|
||||
|
||||
@csrf
|
||||
|
||||
|
||||
<div class="mb-3">
|
||||
|
||||
<label>
|
||||
@@ -44,7 +36,6 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="mb-3">
|
||||
|
||||
<label>
|
||||
@@ -60,25 +51,16 @@
|
||||
<span style="color: #42a5f5"> {{$message}} </span>
|
||||
@enderror
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<button class="btn btn-primary w-100">
|
||||
ورود
|
||||
</button>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user