oction hx
This commit is contained in:
@@ -10,6 +10,46 @@ class Provider extends SecureBaseController
|
||||
public function StartProviders() {
|
||||
$this->product_model = new \App\Models\Product_model();
|
||||
$data = array();
|
||||
|
||||
$data['actions_history'] = [
|
||||
[
|
||||
"icon"=> "primary",
|
||||
"text"=> "Meeting with Amanda and team",
|
||||
"date"=> "10:30 Jan",
|
||||
],
|
||||
[
|
||||
"icon"=> "info",
|
||||
"text"=> "Meeting with Amanda and team",
|
||||
"date"=> "10:30 Jan",
|
||||
],
|
||||
[
|
||||
"icon"=> "danger",
|
||||
"text"=> "Assign task for Smith",
|
||||
"date"=> "Wed, 10 Mar",
|
||||
],
|
||||
[
|
||||
"icon"=> "success",
|
||||
"text"=> "Meeting with Amanda and team",
|
||||
"date"=> "10:30 Jan",
|
||||
],
|
||||
[
|
||||
"icon"=> "warning",
|
||||
"text"=> "Meeting with Amanda and team",
|
||||
"date"=> "10:30 Jan",
|
||||
],
|
||||
[
|
||||
"icon"=> "info",
|
||||
"text"=> "Meeting with Amanda and team",
|
||||
"date"=> "10:30 Jan",
|
||||
],
|
||||
[
|
||||
"icon"=> "success",
|
||||
"text"=> "Meeting with client and CEO.",
|
||||
"date"=> "10:30 Jan",
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
$data['product_array'] = $this->product_model->getProducts(''); // $product_array;
|
||||
// var_dump($data['product_array']);
|
||||
// exit;
|
||||
|
||||
+12
-54
@@ -23,63 +23,21 @@
|
||||
<div class="card-heading">
|
||||
<h4 class="card-title">Actions</h4>
|
||||
</div>
|
||||
<div class="dropdown">
|
||||
<a class="p-2" href="#!" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="fe fe-more-horizontal"></i>
|
||||
</a>
|
||||
<div class="dropdown-menu custom-dropdown dropdown-menu-right p-4">
|
||||
<h6 class="mb-1">Action</h6>
|
||||
<a class="dropdown-item" href="#!"><i class="fa-fw fa fa-file-o pr-2"></i>Manage</a>
|
||||
<a class="dropdown-item" href="#!"><i class="fa-fw fa fa-edit pr-2"></i>Reports</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<ul class="activity">
|
||||
<li class="activity-item primary">
|
||||
<div class="activity-info">
|
||||
<h5 class="mb-0">Meeting with Amanda and team.</h5>
|
||||
<span>10:30 Jan</span>
|
||||
</div>
|
||||
</li>
|
||||
<li class="activity-item info">
|
||||
<div class="activity-info">
|
||||
<h5 class="mb-0"> Assign task for Smith. </h5>
|
||||
<span>
|
||||
Wed, 10 Mar
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
<li class="activity-item success">
|
||||
<div class="activity-info">
|
||||
<h5 class="mb-0"> Complete milestone 3 and update. </h5>
|
||||
<span>
|
||||
Mon, 14 Jun
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
<li class="activity-item danger">
|
||||
<div class="activity-info">
|
||||
<h5 class="mb-0">Start new task with mark. </h5>
|
||||
<span>
|
||||
Sat, 01 May
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
<li class="activity-item warning">
|
||||
<div class="activity-info">
|
||||
<h5 class="mb-0">You have created a new task</h5>
|
||||
<span>9:30</span>
|
||||
</div>
|
||||
</li>
|
||||
<li class="activity-item info">
|
||||
<div class="activity-info">
|
||||
<h5 class="mb-0"> Meeting with client and CEO.</h5>
|
||||
<span>
|
||||
Fri, 10 Aug
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
<?php
|
||||
foreach ($actions_history as $item){
|
||||
?>
|
||||
<li class="activity-item <?=$item['icon']?>">
|
||||
<div class="activity-info">
|
||||
<h5 class="mb-0"><?=$item['text']?></h5>
|
||||
<span><?=$item['date']?></span>
|
||||
</div>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<li class="activity-item success">
|
||||
<div class="activity-info">
|
||||
<h5 class="mb-0">Meeting with Amanda and team.</h5>
|
||||
|
||||
Reference in New Issue
Block a user