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 @@ +extend('projects/projects_template') ?> + +section('content') ?> + +
+ +
+ +
+ +
+ +

+ + + + +
+ + +
+ +
+ + +
+ +
+ + + + +
+ +
+ +
+ +
+ +

+ Projects Stats + Updated 37 minutes ago +

+ + +
+ History +
+ +
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ITEMBUDGETPROGRESSSTATUSCHARTVIEW
+
+
+ +
+
+ Mivy App + Jane Cooper +
+
+
+ $32,400 + + + + + + + 9.2% + + + In Process + +
+
+ + + +
+
+ +
+ +
+ +
+ + +
+ +
+ +
+ +

+ +
+ + $ + + + 3,274.94 + + + + + + + 9.2% + +
+ + + Avg. Agent Earnings + +

+ + +
+ + + + + + +
+ +
+ + +
+ + + + +
+ +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 2:30 PM + + $2,756.26 + + -139.34 +
+ 3:10 PM + + $3,207.03 + + +576.24 +
+ 3:55 PM + + $3,274.94 + + +124.03 +
+ +
+ +
+ + +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 4:30 PM + + $2,345.45 + + +134.02 +
+ 11:35 AM + + $756.26 + + -124.03 +
+ 3:30 PM + + $1,756.26 + + +144.04 +
+ +
+ +
+ + +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 3:20 AM + + $3,756.26 + + +185.03 +
+ 12:30 AM + + $2,756.26 + + +124.03 +
+ 4:30 PM + + $756.26 + + -154.03 +
+ +
+ +
+ + +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 2:30 PM + + $2,756.26 + + +124.03 +
+ 5:30 AM + + $1,756.26 + + +144.65 +
+ 4:30 PM + + $2,085.25 + + +154.06 +
+ +
+ +
+ + +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 2:30 PM + + $2,045.04 + + +114.03 +
+ 3:30 AM + + $756.26 + + -124.03 +
+ 10:30 PM + + $1.756.26 + + +165.86 +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
+ +
+ +
+ +
+ +
+ Featured + 9 Degree +
+ + In Process +
+ + +
+ +
+ +
+ +
+ + +
+ Manager + Robert Fox +
+ +
+ + +
+ +
+ + + + + + +
+ + +
+ Budget + $64.800 +
+ +
+ +
+ +
+ + +
+ + Flat cartoony illustrations with vivid unblended colors and asymmetrical beautiful purple hair lady + + +
+ +
+ + Feb 6, 2021 + + +
Due Date
+ +
+ + +
+ + $ + 0 + + +
Budget
+ +
+ +
+ +
+ + +
+ +
+
+ Pic +
+
+ Pic +
+
+ S +
+
+ + + View Project + + + + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
+ +
+ +
+ +

+ Performance + 1,046 Inbound Calls today +

+ + +
+ +
+ +
Loading date range...
+ + + + + + + + + +
+ +
+ +
+ + +
+ +
+ +
+ +
+ +
+ +
+ + +
+ +
+ +
+ +endSection() ?> \ No newline at end of file diff --git a/app/Views/projects/cards/project_detail_card.php b/app/Views/projects/cards/project_detail_card.php new file mode 100644 index 0000000..445ccc4 --- /dev/null +++ b/app/Views/projects/cards/project_detail_card.php @@ -0,0 +1,84 @@ + +
+ +
+ +

+ + +

+ + +
+ . +
+ +
+ + +
+ +
+ + + + + + + + + + + + + + + + $val) { + ?> + + + + + + + + + + + +
DescriptionURLLOCATIONSTATUSVIEW
+
+
+ +
+
+ + +
+
+
+ + + + + + + + + + + + + +
+
+ +
+
+ \ No newline at end of file diff --git a/app/Views/projects/projdetail.php b/app/Views/projects/projdetail.php index 189cd69..4a73dd4 100644 --- a/app/Views/projects/projdetail.php +++ b/app/Views/projects/projdetail.php @@ -48,237 +48,21 @@
-
- -
- -

- Projects Stats - Updated 37 minutes ago -

- - -
- History -
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ITEMBUDGETPROGRESSSTATUSCHARTVIEW
-
-
- -
-
- 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 - -
-
- - - -
-
- -
- -
+ + $value) { + $page_key=$key; + include 'cards/project_detail_card.php'; + } + ?> +
-
+
@@ -746,195 +530,7 @@
- -
- -
- -
- -
- -
- -
- -
- -
- - -
- -
- -
- -
- -
- Featured - 9 Degree -
- - In Process -
- - -
- -
- -
- -
- - -
- Manager - Robert Fox -
- -
- - -
- -
- - - - - - -
- - -
- Budget - $64.800 -
- -
- -
- -
- - -
- - Flat cartoony illustrations with vivid unblended colors and asymmetrical beautiful purple hair lady - - -
- -
- - Feb 6, 2021 - - -
Due Date
- -
- - -
- - $ - 0 - - -
Budget
- -
- -
- -
- - -
- -
-
- Pic -
-
- Pic -
-
- S -
-
- - - View Project - - - - - -
- -
- -
- -
- -
- -
- -
- - -
- -
- -
- -

- Performance - 1,046 Inbound Calls today -

- - -
- -
- -
Loading date range...
- - - - - - - - - -
- -
- -
- - -
- -
- -
- -
- -
- -
- +