Files
backend/resources/views/rmto-preview/pages/userActivityReport.blade.php
2024-02-01 09:53:53 +00:00

276 lines
14 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="csrf-token" content="{{ csrf_token() }}" />
<link rel="icon" href="../dist/images/fav.ico" type="image/ico" sizes="16x16">
<link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css" />
<link rel="stylesheet" href="../dist/css/adminlte.css" />
<link rel="stylesheet" href="../dist/css/fontiran.css" />
<link rel="stylesheet" href="../plugins/bootstrap-slider/css/bootstrap-slider.min.css" />
<link rel="stylesheet" href="../dist/css/select.dataTables.min.css">
<link rel="stylesheet" href="../plugins/datatables-bs4/css/dataTables.bootstrap4.min.css">
<link rel="stylesheet" href="../plugins/datatables-buttons/css/buttons.bootstrap4.min.css">
<link rel="stylesheet" href="../dist/css/persian-datepicker.min.css" />
<link rel="stylesheet" href="../dist/css/footer.css" />
<link rel="stylesheet" href="../dist/css/fullstyle.css" />
<link rel="stylesheet" href="../dist/css/tablestyle.css" />
<link rel="stylesheet" href="../dist/css/userActivityReport.css?_={{ mt_rand(1, 99999999999) }}" />
<title>فعالیت کاربران</title>
</head>
<body>
<div class="divloader">
<span class="loader"><span class="loader-inner"></span></span>
</div>
@include('layouts.header')
<div class="container-fluid">
<div class="row pt-3 px-4 body-table-style">
<div class="col-12">
<div class="d-flex justify-content-center mb-3">
<span class="ml-1 pt-1">
لیست فعالیت کاربران
</span>
<button class="add-user-group-btn">
<span class="pl-1">+</span>
ثبت گروه کاربران
</button>
<button class="show-activity-btn mr-2">
لیست فعالیت ها
</button>
</div>
<table id="table_user_groups" dir="rtl" class="table table-striped table-bordered table-project"
style="width: 100%;">
<thead>
<tr>
<th>ردیف</th>
<th>نام گروه</th>
<th>ساعت فعالیت</th>
<th>تعداد کاربران</th>
<th>شاخص فعالیت</th>
<th>عملیات</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
<div id="modal_add_user_group" class="modal animated zoomIn fade modal_same_work" mode='add'>
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable modal-lg">
<div class="modal-content">
<div class="modal-header d-flex align-items-center justify-content-between">
<p class="modal-title">
ثبت گروه جدید
</p>
<button type="button" class="close m-0 p-0" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-6">
<div class="form-group">
<label for="add-user-group-name">عنوان گروه</label>
<input type="text" class="form-control input-user-group" name="add_group_name"
id="add_group_name" placeholder="عنوان گروه" />
</div>
</div>
<div class="col-6">
<div class="form-group text-center">
<label for="add-user-group-count">تعداد کاربران گروه</label>
<input type="text" readonly class="form-control-plaintext users-count text-center"
id="add_group_count" />
</div>
</div>
</div>
<hr />
<div class="row">
<div class="col-12">
<table id="table_users_add" dir="rtl"
class="table table-striped table-bordered table-project" style="width: 100%;">
<thead>
<tr>
<th>ردیف</th>
<th>نام کاربری</th>
<th>نام</th>
<th>نام خانوادگی</th>
<th>استان</th>
<th>انتخاب</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
<div class="modal-footer">
<button class="cancel btn btn-danger" data-dismiss="modal" aria-label="Close">انصراف</button>
<button class="btn btn-primary" id="btn_add_user_group">ثبت گروه</button>
</div>
</div>
</div>
</div>
<div id="modal_edit_user_group" class="modal animated zoomIn fade modal_same_work" mode='edit'>
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable modal-lg">
<div class="modal-content">
<div class="modal-header d-flex align-items-center justify-content-between">
<p class="modal-title"></p>
<button type="button" class="close m-0 p-0" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-6">
<div class="form-group">
<label for="edit-user-group-name">عنوان گروه</label>
<input type="text" class="form-control input-user-group" name="edit_group_name"
id="edit_group_name" placeholder="عنوان گروه" />
</div>
</div>
<div class="col-6">
<div class="form-group text-center">
<label for="edit-user-group-count">تعداد کاربران گروه</label>
<input type="text" readonly class="form-control-plaintext users-count text-center"
id="edit_group_count" />
</div>
</div>
</div>
<hr />
<div class="row">
<div class="col-12">
<table id="table_users_edit" dir="rtl"
class="table table-striped table-bordered table-project" style="width: 100%;">
<thead>
<tr>
<th>ردیف</th>
<th>نام کاربری</th>
<th>نام</th>
<th>نام خانوادگی</th>
<th>استان</th>
<th>انتخاب</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
<div class="modal-footer">
<button class="cancel btn btn-danger" data-dismiss="modal" aria-label="Close">انصراف</button>
<button class="btn btn-primary" id="btn_edit_user_group">ثبت گروه</button>
<input type="hidden" id="edit_group_id">
</div>
</div>
</div>
</div>
<div id="modal_show_user_group" class="modal animated zoomIn fade modal_same_work">
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable modal-lg">
<div class="modal-content">
<div class="modal-header d-flex align-items-center justify-content-between">
<p class="modal-title"></p>
<button type="button" class="close m-0 p-0" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-12">
<table id="table_users_by_user_group" dir="rtl"
class="table table-striped table-bordered table-project" style="width: 100%;">
<thead>
<tr>
<th>ردیف</th>
<th>نام کاربری</th>
<th>نام</th>
<th>نام خانوادگی</th>
<th>استان</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
<div class="modal-footer">
<button class="cancel btn btn-danger" data-dismiss="modal" aria-label="Close">انصراف</button>
</div>
</div>
</div>
</div>
<div id="modal_show_activity" class="modal animated zoomIn fade modal_same_work">
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
<div class="modal-content">
<div class="modal-header d-flex align-items-center justify-content-between">
<p class="modal-title">
لیست فعالیت ها
</p>
<button type="button" class="close m-0 p-0" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-12">
<table id="table_activity" dir="rtl"
class="table table-striped table-bordered table-project" style="width: 100%;">
<thead>
<tr>
<th>کد یکتا</th>
<th>نام</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
<div class="modal-footer">
<button class="cancel btn btn-danger" data-dismiss="modal" aria-label="Close">انصراف</button>
</div>
</div>
</div>
</div>
<div class='parent-filter'>
<div class="row mt-2">
<div class="form-group col-12 mb-2 mb-2">
<input type="text" id="datapicker-from-table"
class="form-control datepicker-from pwt-datepicker-input-element" placeholder="از تاریخ"
autocomplete="off">
</div>
<div class="form-group col-12 mb-2 mb-2">
<input type="text" id="datapicker-to-table"
class="form-control datepicker-to pwt-datepicker-input-element" placeholder="از تاریخ"
autocomplete="off">
</div>
<div class="col-12 text-left"><button id="btn_filter" class="btn-set-filter px-2 py-1">فیلتر</button>
</div>
</div>
</div>
@include('layouts.footer')
<script src="../plugins/jquery/jquery.min.js"></script>
<script src="../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="../dist/js/sweetalert2js.js"></script>
<script src="../plugins/datatables/jquery.dataTables.min.js"></script>
<script src="../plugins/datatables-bs4/js/dataTables.bootstrap4.js"></script>
<script src="../plugins/datatables-buttons/js/dataTables.buttons.min.js"></script>
<script src="../plugins/datatables-buttons/js/buttons.html5.min.js"></script>
<script src="../plugins/datatables-buttons/js/buttons.print.min.js"></script>
<script src="../dist/js/persian-date.min.js"></script>
<script src="../dist/js/persian-datepicker.min.js"></script>
<script src="../plugins/moment/moment.min.js"></script>
<script src="../dist/js/jalali-moment.browser.js"></script>
<script src="../dist/js/userActivityReport.js?_={{ mt_rand(1, 99999999999) }}"></script>
</body>
</html>