Document part

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-01 17:24:55 -04:00
parent 25baa25ae0
commit 97bf0ee8d8
3 changed files with 116 additions and 11 deletions
+2 -2
View File
@@ -28,11 +28,11 @@ class ProjectPages extends ProjectBaseController
$projData = new \App\Models\projectData();
$res1 = $projData->projectList();
$resDet = $projData->projectListDetails();
$resDocument = $projData->documentList();
$data['page_data'] = $res1[$page_key];
$data['page_detail_data'] = $resDet[$page_key];
//var_dump($data['page_detail_data']);
//exit;
$data['page_document'] = $resDocument[$page_key];
return view('projects/projdetail',$data);
}
+96 -3
View File
@@ -10,8 +10,6 @@ class projectData extends baseModel
parent::__construct();
}
public function projectList(){
$data =[
'myfit'=>[
@@ -631,7 +629,7 @@ class projectData extends baseModel
];
return $data;
}
private function devOpList(){
public function devOpList(){
$data =[
'chiefsoft'=>[
'DEV'=>[
@@ -678,6 +676,101 @@ class projectData extends baseModel
}
public function documentList(){
$data =[
'myfit'=>[
[
'name' => 'Release Docs',
'document' => 'https://docs.google.com/document/d/1uybH0o-M_f0PintViYJUlenOcSllWxmwU4rj1lylZuI/edit',
],
[
'name' => 'DevOps Jenkins',
'document' => 'https://docs.google.com/document/d/1TJN-rfuhtoEkkDpWeQh7CcC9G99dx2yUs_xWXVWYlvE/edit',
],
],
'wrenchboard'=>[
[
'name' => 'Release Plans',
'document' => 'https://docs.google.com/document/d/1n-S0EAyfsc6ylRCTeRB1hIQODvNfOibKpiuB3WwNWao/edit',
],
[
'name' => ' WrenchBoard Transfer',
'document' => 'https://docs.google.com/document/d/1c-PRXW2d53m9aOAS-ZjTOs8z6xX1LcUNHi3nvowT9YE/edit',
],
],
'coregrade'=>[
[
'name' => 'myFit A.I',
'document' => 'This is the link to the document',
],
[
'name' => 'myFit A.I',
'document' => 'This is the link to the document',
],
],
'float'=>[
[
'name' => 'Port Defination',
'document' => 'https://docs.google.com/document/d/1rOAEcv8Lzg_ZdUhhiCUZJIPPAvUvTlc9vzvJMQOsUfU/edit',
],
[
'name' => 'myFit A.I',
'document' => 'This is the link to the document',
],
],
'legacyfloat'=>[
[
'name' => 'Migration Feedback',
'document' => 'https://docs.google.com/document/d/1z-tLRt6Oz9mWMFBVnDK1lrBJg9AjrH-j4TgZLSsRcFw/edit',
],
[
'name' => 'myFit A.I',
'document' => 'This is the link to the document',
],
],
'kintcare'=>[
[
'name' => 'myFit A.I',
'document' => 'This is the link to the document',
],
[
'name' => 'myFit A.I',
'document' => 'This is the link to the document',
],
],
'merms'=>[
[
'name' => 'myFit A.I',
'document' => 'This is the link to the document',
],
[
'name' => 'myFit A.I',
'document' => 'This is the link to the document',
],
],
'chiefsoft'=>[
[
'name' => 'Jenkis Release',
'document' => 'https://docs.google.com/document/d/1II_qZqPhq_ShL7iM2ADBZyWwiQ8YYHQRrLpVnf2rMZY/edit',
],
[
'name' => 'myFit A.I',
'document' => 'This is the link to the document',
],
],
'jubabox'=>[
[
'name' => 'myFit A.I',
'document' => 'This is the link to the document',
],
[
'name' => 'myFit A.I',
'document' => 'This is the link to the document',
],
],
];
return $data;
}
+18 -6
View File
@@ -62,9 +62,9 @@
<!--begin::Col-->
<div class="col-xl-4">
<!--begin::Chart Widget 35-->
<div class="card card-flush">
<div class="card card-flush" style="padding-bottom: 40px">
<!--begin::Header-->
<div class="card-header pt-5 mb-6">
<div class="card-header pt-5 mb-6" >
<!--begin::Title-->
<h3 class="card-title align-items-start flex-column">
<!--begin::Statistics-->
@@ -74,9 +74,6 @@
<!--end::Value-->
</div>
<!--end::Statistics-->
<!--begin::Description-->
<span class="fs-6 fw-semibold text-gray-400">Avg. Agent Earnings</span>
<!--end::Description-->
</h3>
<!--end::Title-->
@@ -86,7 +83,22 @@
<div class="card-body py-0 px-0">
<div class="table-responsive mx-9 mt-n6">
<!--begin::Table-->
TABLE
<?php
foreach ($page_document as $doc){
?>
<tr>
<td>
<div class="d-flex align-items-center">
<div class="d-flex justify-content-start flex-column">
<a href="#" class="text-gray-800 fw-bold text-hover-primary mb-1 fs-6"><?=$doc['name']?></a>
<span class="text-gray-400 fw-semibold d-block fs-7"><a target="_blank" href="<?=$doc['document']?>"><?=$doc['document']?></a></span>
</div>
</div>
</td>
</tr>
<?php
}
?>
<!--end::Table-->
</div>
</div>