Browse Source

adding dashboard code

main
dfoso 1 year ago
parent
commit
5d1c506019
  1. 25
      app/Config/Boot/development.php
  2. 166
      app/Views/ppm/dashboard.php

25
app/Config/Boot/development.php

@ -4,31 +4,20 @@
|--------------------------------------------------------------------------
| ERROR DISPLAY
|--------------------------------------------------------------------------
| In development, we want to show as many errors as possible to help
| make sure they don't make it to production. And save us hours of
| painful debugging.
| Don't show ANY in production environments. Instead, let the system catch
| it and display a generic error message.
|
| If you set 'display_errors' to '1', CI4's detailed error report will show.
*/
error_reporting(E_ALL);
ini_set('display_errors', '1');
/*
|--------------------------------------------------------------------------
| DEBUG BACKTRACES
|--------------------------------------------------------------------------
| If true, this constant will tell the error screens to display debug
| backtraces along with the other error information. If you would
| prefer to not see this, set this value to false.
*/
defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true);
ini_set('display_errors', '0');
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);
/*
|--------------------------------------------------------------------------
| DEBUG MODE
|--------------------------------------------------------------------------
| Debug mode is an experimental flag that can allow changes throughout
| the system. This will control whether Kint is loaded, and a few other
| items. It can always be used within your own application too.
| the system. It's not widely used currently, and may not survive
| release of the framework.
*/
defined('CI_DEBUG') || define('CI_DEBUG', true);
defined('CI_DEBUG') || define('CI_DEBUG', false);

166
app/Views/ppm/dashboard.php

@ -258,7 +258,7 @@ $datanya_penerimaan = $datanya_penerimaan . "]";
<div class="col-md-4">
<div class="card">
<div class="card-header">
<h3>Recent Chat</h3>
<h3>Payment Compliance</h3>
<div class="card-header-right">
<ul class="list-unstyled card-option">
<li><i class="ik ik-chevron-left action-toggle"></i></li>
@ -267,106 +267,34 @@ $datanya_penerimaan = $datanya_penerimaan . "]";
</ul>
</div>
</div>
<div class="card-body chat-box scrollable" style="height:300px;">
<ul class="chat-list">
<li class="chat-item">
<div class="chat-img"><img src="<?= base_url('public/theme/img/users/1.jpg') ?>" alt="user"></div>
<div class="chat-content">
<h6 class="font-medium">James Anderson</h6>
<div class="box bg-light-info">Lorem Ipsum is simply dummy text of the printing &amp; type setting industry.</div>
</div>
<div class="chat-time">10:56 am</div>
</li>
<li class="chat-item">
<div class="chat-img"><img src="<?= base_url('public/theme/img/users/2.jpg') ?>" alt="user"></div>
<div class="chat-content">
<h6 class="font-medium">Bianca Doe</h6>
<div class="box bg-light-info">It’s Great opportunity to work.</div>
</div>
<div class="chat-time">10:57 am</div>
</li>
<li class="odd chat-item">
<div class="chat-content">
<div class="box bg-light-inverse">I would love to join the team.</div>
<br>
</div>
</li>
<li class="odd chat-item">
<div class="chat-content">
<div class="box bg-light-inverse">Whats budget of the new project.</div>
<br>
</div>
<div class="chat-time">10:59 am</div>
</li>
<li class="chat-item">
<div class="chat-img"><img src="<?= base_url('public/theme/img/users/3.jpg') ?>" alt="user"></div>
<div class="chat-content">
<h6 class="font-medium">Angelina Rhodes</h6>
<div class="box bg-light-info">Well we have good budget for the project</div>
</div>
<div class="chat-time">11:00 am</div>
</li>
</ul>
</div>
<div class="card-footer chat-footer">
<div class="input-wrap">
<input type="text" placeholder="Type and enter" class="form-control">
</div>
<button type="button" class="btn btn-icon btn-theme"><i class="fa fa-paper-plane"></i></button>
<div class="card-body">
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-body">
<div class="d-flex">
<h4 class="card-title">Weather Report</h4>
<select class="form-control w-25 ml-auto">
<option selected="">Today</option>
<option value="1">Weekly</option>
</select>
</div>
<div class="d-flex align-items-center flex-row mt-30">
<div class="p-2 f-50 text-info"><i class="wi wi-day-showers"></i> <span>23<sup>°</sup></span></div>
<div class="p-2">
<h3 class="mb-0">Saturday</h3><small>Banglore, India</small>
</div>
<div class="card-header">
<h3>Strength of Figure</h3>
<div class="card-header-right">
<ul class="list-unstyled card-option">
<li><i class="ik ik-chevron-left action-toggle"></i></li>
<li><i class="ik ik-minus minimize-card"></i></li>
<li><i class="ik ik-x close-card"></i></li>
</ul>
</div>
<table class="table table-borderless">
<tbody>
<tr>
<td>Wind</td>
<td class="font-medium">ESE 17 mph</td>
</tr>
<tr>
<td>Humidity</td>
<td class="font-medium">83%</td>
</tr>
<tr>
<td>Pressure</td>
<td class="font-medium">28.56 in</td>
</tr>
</tbody>
</table>
<hr>
<ul class="list-unstyled row text-center city-weather-days mb-0 mt-20">
<li class="col"><i class="wi wi-day-sunny mr-5"></i><span>09:30</span>
<h3>20<sup>°</sup></h3>
</li>
<li class="col"><i class="wi wi-day-cloudy mr-5"></i><span>11:30</span>
<h3>22<sup>°</sup></h3>
</li>
<li class="col"><i class="wi wi-day-hail mr-5"></i><span>13:30</span>
<h3>25<sup>°</sup></h3>
</li>
</ul>
</div>
<div class="card-body">
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="min-height: 422px;">
<div class="card">
<div class="card-header">
<h3>Timeline</h3>
<h3>Info WP</h3>
<div class="card-header-right">
<ul class="list-unstyled card-option">
<li><i class="ik ik-chevron-left action-toggle"></i></li>
@ -375,43 +303,10 @@ $datanya_penerimaan = $datanya_penerimaan . "]";
</ul>
</div>
</div>
<div class="card-body timeline">
<div class="header bg-theme" style="background-image: url('<?= base_url('public/theme/img/placeholder/placeimg_400_200_nature.jpg') ?>')">
<div class="color-overlay d-flex align-items-center">
<div class="day-number">8</div>
<div class="date-right">
<div class="day-name">Monday</div>
<div class="month">February 2018</div>
</div>
</div>
</div>
<ul>
<li>
<div class="bullet bg-pink"></div>
<div class="time">11am</div>
<div class="desc">
<h3>Attendance</h3>
<h4>Computer Class</h4>
</div>
</li>
<li>
<div class="bullet bg-green"></div>
<div class="time">12pm</div>
<div class="desc">
<h3>Design Team</h3>
<h4>Hangouts</h4>
</div>
</li>
<li>
<div class="bullet bg-orange"></div>
<div class="time">2pm</div>
<div class="desc">
<h3>Finish</h3>
<h4>Go to Home</h4>
</div>
</li>
</ul>
<div class="card-body">
</div>
</div>
</div>
</div>
@ -719,24 +614,7 @@ $datanya_penerimaan = $datanya_penerimaan . "]";
</div>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="<?= base_url('public/theme/plugins/popper.js/dist/umd/popper.min.js') ?>"></script>
<script src="<?= base_url('public/theme/plugins/bootstrap/dist/js/bootstrap.min.js') ?>"></script>
<script src="<?= base_url('public/theme/plugins/perfect-scrollbar/dist/perfect-scrollbar.min.js') ?>"></script>
<script src="<?= base_url('public/theme/plugins/screenfull/dist/screenfull.js') ?>"></script>
<script src="<?= base_url('public/theme/plugins/datatables.net/js/jquery.dataTables.min.js') ?>"></script>
<script src="<?= base_url('public/theme/plugins/datatables.net-bs4/js/dataTables.bootstrap4.min.js') ?>"></script>
<script src="<?= base_url('public/theme/plugins/datatables.net-responsive/js/dataTables.responsive.min.js') ?>"></script>
<script src="<?= base_url('public/theme/plugins/datatables.net-responsive-bs4/js/responsive.bootstrap4.min.js') ?>"></script>
<script src="<?= base_url('public/theme/plugins/jvectormap/jquery-jvectormap.min.js') ?>"></script>
<script src="<?= base_url('public/theme/plugins/jvectormap/tests/assets/jquery-jvectormap-world-mill-en.js') ?>"></script>
<script src="<?= base_url('public/theme/plugins/moment/moment.js') ?>"></script>
<script src="<?= base_url('public/theme/plugins/tempusdominus-bootstrap-4/build/js/tempusdominus-bootstrap-4.min.js') ?>"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highcharts/11.3.0/highcharts.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highcharts/11.3.0/highcharts-more.min.js"></script>
<script src="<?= base_url('public/theme/js/tables.js') ?>"></script>
<script src="<?= base_url('public/theme/js/widgets.js') ?>"></script>
<script src="<?= base_url('public/theme/dist/js/theme.min.js') ?>"></script>
<?php echo view('inc/js.php') ?>
<script type="text/javascript">

Loading…
Cancel
Save