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

133 lines
4.8 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>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>مدیریت پروژه های ثبت شده</title>
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css">
<!-- IRANSans Font -->
<link rel="stylesheet" href="../dist/css/fontiran.css">
<!-- Theme style -->
<link rel="stylesheet" href="../dist/css/adminlte.css">
</head>
<body class="hold-transition sidebar-mini layout-fixed layout-navbar-fixed project-submit-page">
<div class="wrapper">
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Main content -->
<div class="content">
<div class="container-fluid">
<!-- Default box -->
<div class="card">
<div class="card-header">
<h3 class="card-title">لیست پروژه ها</h3>
<div class="card-tools">
<button type="button" class="btn btn-tool" data-card-widget="collapse" data-toggle="tooltip"
title="Collapse">
<i class="fas fa-minus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="remove" data-toggle="tooltip"
title="Remove">
<i class="fas fa-times"></i></button>
</div>
</div>
<div class="card-body table-responsive p-0">
<table class="table table-striped projects">
<thead>
<tr>
<th style="width: 1%">
#
</th>
<th style="width: 20%">
نام پروژه
</th>
<th>
پیشرفت پروژه
</th>
<th style="width: 8%" class="text-center">
وضعیت
</th>
<th style="width: 20%">
</th>
</tr>
</thead>
<tbody>
@forelse ($roadProjects as $prj)
<tr>
<td>
{{ $prj->id }}
</td>
<td>
<a>
{{ $prj->project_name }}
</a>
</td>
<td class="project_progress">
<!-- <div class="progress progress-sm d-none d-md-flex"> -->
<div class="progress progress-sm">
<div class="progress-bar progress-bar-striped progress-bar-animated bg-danger" role="progressbar" aria-volumenow="57" aria-volumemin="0"
aria-volumemax="100" style="width: {{ $prj->credit_progress }}%">
</div>
</div>
<!-- <small class="d-none d-md-block"> -->
<small>
{{ $prj->credit_progress }}
</small>
<!-- <span class="badge bg-primary d-block d-md-none">57%</span> -->
</td>
<td class="project-state">
<span class="badge badge-primary">{{ $prj->project_status }}</span>
</td>
<td class="project-actions text-right">
<a class="btn btn-primary btn-sm" href="#">
<i class="fas fa-folder">
</i>
مشاهده
</a>
<a class="btn btn-info btn-sm" href="#">
<i class="fas fa-pencil-alt">
</i>
ویرایش
</a>
</td>
</tr>
@empty
<p>پروژه ای ثبت نشده است</p>
@endforelse
</tbody>
</table>
</div>
<!-- /.card-body -->
</div>
<!-- /.card -->
</div><!-- /.container-fluid -->
</div>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
</div>
<!-- ./wrapper -->
<!-- REQUIRED SCRIPTS -->
<!-- jQuery -->
<script src="../plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="../dist/js/adminlte.min.js"></script>
</body>
</html>