diff --git a/app/Controllers/ProjectPages.php b/app/Controllers/ProjectPages.php index aa02ce7..dd5b508 100644 --- a/app/Controllers/ProjectPages.php +++ b/app/Controllers/ProjectPages.php @@ -27,8 +27,12 @@ class ProjectPages extends ProjectBaseController $data=[]; $projData = new \App\Models\projectData(); $res1 = $projData->projectList(); - $data['page_data'] = $res1[$page_key]; + $resDet = $projData->projectListDetails(); + $data['page_data'] = $res1[$page_key]; + $data['page_detail_data'] = $resDet[$page_key]; +//var_dump($data['page_detail_data']); +//exit; return view('projects/projdetail',$data); } diff --git a/app/Models/projectData.php b/app/Models/projectData.php index f60e0ed..c706f33 100644 --- a/app/Models/projectData.php +++ b/app/Models/projectData.php @@ -71,22 +71,145 @@ class projectData extends baseModel ]; return $data; } - private function projectListDetails(){ + public function projectListDetails(){ $data =[ 'chiefsoft'=>[ 'DEV'=>[ + 'description'=>'This is the description of this', + 'contents'=>[ + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + ] ], 'LIVE'=>[ - + 'description'=>'This is the description of this', + 'contents'=>[ + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + ] ] ], 'myfit'=>[ 'DEV'=>[ + 'description'=>'This is the description of this', + 'contents'=>[ + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + ] ], 'LIVE'=>[ + 'description'=>'This is the description of this', + 'contents'=>[ + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + ] ] ], 'wrenchboard'=>[ @@ -107,10 +230,110 @@ class projectData extends baseModel ], 'float'=>[ 'DEV'=>[ - + 'description'=>'This is the description of this', + 'contents'=>[ + [ + 'name' => 'Main Website', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'https://float-www.dev.chiefsoft.net', + 'location'=> 'http://10.0.0.32:5501/', + 'status' => 'Pending' + ], + [ + 'name' => 'Contens Management Systems', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'https://float-cms.dev.chiefsoft.net', + 'location'=> 'http://10.0.0.32:5503/', + 'status' => 'Pending' + ], + [ + 'name' => 'Back Office Systems', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'https://float-bko.dev.chiefsoft.net', + 'location'=> 'http://10.0.0.32:5505/', + 'status' => 'Pending' + ], + [ + 'name' => 'Float Users Interface Web', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'https://float-usr.dev.chiefsoft.net', + 'location'=> 'http://10.0.0.32:5502/', + 'status' => 'Pending' + ], + [ + 'name' => 'Business & Fleet WebSite', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'https://float-flt.dev.chiefsoft.net', + 'location'=> 'http://10.0.0.32:5504/', + 'status' => 'Pending' + ], + [ + 'name' => 'Blog Systems', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'https://float-blg.dev.chiefsoft.net', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'API Gates (Internal Gates)', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'https://float-gat.dev.chiefsoft.net', + 'location'=> 'http://10.0.0.32:5509/', + 'status' => 'Pending' + ], + ] ], 'LIVE'=>[ - + 'description'=>'This is the description of this', + 'contents'=>[ + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + [ + 'name' => 'name of the item', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'www.url.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + ] ] ], ]; diff --git a/app/Views/projects/appdetail.php b/app/Views/projects/appdetail.php new file mode 100644 index 0000000..023e8de --- /dev/null +++ b/app/Views/projects/appdetail.php @@ -0,0 +1,801 @@ += $this->extend('projects/projects_template') ?> + += $this->section('content') ?> + +
| Description | +URL | +LOCATION | +STATUS | +VIEW | +
|---|---|---|---|---|
|
+
+
+
+
+
+
+ =$val['name']?>
+ =$val['description']?>
+
+ |
+ + =$val['url']?> + | ++ + + + =$val['location']?> + + | ++ =$val['status']?> + | + ++ + + + | +
| ITEM | -BUDGET | -PROGRESS | -STATUS | -CHART | -VIEW | -
|---|---|---|---|---|---|
|
-
-
-
-
-
-
- Mivy App
- Jane Cooper
-
- |
- - $32,400 - | -- - - - - - 9.2% - - | -- In Process - | -- - | -- - - - | -
|
-
-
-
-
-
-
- Avionica
- Esther Howard
-
- |
- - $256,910 - | -- - - - - - 0.4% - - | -- On Hold - | -- - | -- - - - | -
|
-
-
-
-
-
-
- Charto CRM
- Jenny Wilson
-
- |
- - $8,220 - | -- - - - - - 9.2% - - | -- In Process - | -- - | -- - - - | -
|
-
-
-
-
-
-
- Tower Hill
- Cody Fisher
-
- |
- - $74,000 - | -- - - - - - 9.2% - - | -- Complated - | -- - | -- - - - | -
|
-
-
-
-
-
-
- 9 Degree
- Savannah Nguyen
-
- |
- - $183,300 - | -- - - - - - 0.4% - - | -- In Process - | -- - | -- - - - | -