copy dari repo om Irfan
This commit is contained in:
@@ -0,0 +1,199 @@
|
||||
<?php
|
||||
if ($this->session->userdata('username') != null) {
|
||||
?>
|
||||
<!doctype html>
|
||||
<html class="fixed">
|
||||
|
||||
<head>
|
||||
|
||||
<!-- Basic -->
|
||||
<meta charset="UTF-8" http-equiv="refresh" content="600">
|
||||
|
||||
<title>PEMINJAMAN</title>
|
||||
<meta name="keywords" content="HTML5 Admin Template" />
|
||||
<meta name="description" content="JSOFT Admin - Responsive HTML5 Template">
|
||||
<meta name="author" content="JSOFT.net">
|
||||
|
||||
<!-- Mobile Metas -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
|
||||
<!-- Vendor CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/bootstrap/css/bootstrap.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/font-awesome/css/font-awesome.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/magnific-popup/magnific-popup.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/bootstrap-datepicker/css/datepicker3.css" />
|
||||
|
||||
<!-- Specific Page Vendor CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/jquery-ui/css/ui-lightness/jquery-ui-1.10.4.custom.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/bootstrap-multiselect/bootstrap-multiselect.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/morris/morris.css" />
|
||||
|
||||
<!-- Theme CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/stylesheets/theme.css" />
|
||||
|
||||
<!-- Skin CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/stylesheets/skins/default.css" />
|
||||
|
||||
<!-- Theme Custom CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/stylesheets/theme-custom.css">
|
||||
|
||||
<!-- Head Libs -->
|
||||
<script src="<?php echo base_url('') ?>assets/vendor/modernizr/modernizr.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<section class="body">
|
||||
|
||||
<!-- start: header -->
|
||||
<?php $this->load->view('template/header'); ?>
|
||||
<!-- end: header -->
|
||||
|
||||
<div class="inner-wrapper">
|
||||
<!-- start: sidebar -->
|
||||
<?php $this->load->view('template/sidebar'); ?>
|
||||
<!-- end: sidebar -->
|
||||
|
||||
<section role="main" class="content-body">
|
||||
<header class="page-header">
|
||||
<h2>PEMINJAMAN</h2>
|
||||
|
||||
<div class="right-wrapper pull-right">
|
||||
<ol class="breadcrumbs">
|
||||
<li>
|
||||
<a href="<?php echo base_url() ?>index.php">
|
||||
<i class="fa fa-home"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li><span>Peminjaman</span></li>
|
||||
</ol>
|
||||
|
||||
<a class="sidebar-right-toggle" data-open="sidebar-right"><i class="fa fa-chevron-left"></i></a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- start: page -->
|
||||
<?php if ($id != NULL AND $id != 1) { ?>
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-lg-12 col-xl-6">
|
||||
<div class="col-md-6 col-xl-12">
|
||||
<section class="panel panel-featured-left panel-featured-secondary">
|
||||
<div class="panel-body">
|
||||
<a href="<?php echo base_url() ?>index.php/ManagePersediaanQTY/dataPeminjaman">
|
||||
<div class="widget-summary">
|
||||
<div class="widget-info-col widget-info-col-icon">
|
||||
<div class="summary-icon bg-tertiary">
|
||||
<i class="fa fa-exchange"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget-summary-col">
|
||||
<div class="summary">
|
||||
<h4 class="title">Proses</h4>
|
||||
<div class="info">
|
||||
<strong class="amount">PEMINJAMAN</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="col-md-6 col-xl-12">
|
||||
<section class="panel panel-featured-left panel-featured-secondary">
|
||||
<div class="panel-body">
|
||||
<a href="<?php echo base_url() ?>index.php/ManagePersediaanQTY/dataPengembalian">
|
||||
<div class="widget-summary">
|
||||
<div class="widget-info-col widget-info-col-icon">
|
||||
<div class="summary-icon bg-quartenary">
|
||||
<i class="fa fa-exchange"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget-summary-col">
|
||||
<div class="summary">
|
||||
<h4 class="title">Proses</h4>
|
||||
<div class="info">
|
||||
<strong class="amount">PENGEMBALIAN</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="col-md-6 col-xl-12">
|
||||
<section class="panel">
|
||||
<div class="panel-body bg-secondary">
|
||||
<a href="<?php echo base_url() ?>index.php/Persediaan">
|
||||
<div class="widget-summary">
|
||||
<div class="widget-summary-col widget-summary-col-icon">
|
||||
<div class="summary-icon">
|
||||
<i class="fa fa-mail-reply"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget-summary-col">
|
||||
<div class="summary">
|
||||
<h4 class="title">Kembali</h4>
|
||||
<div class="info">
|
||||
<strong class="amount">PERSEDIAAN</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<!-- end: page -->
|
||||
</section>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<!-- Vendor -->
|
||||
<script src="<?php echo base_url('') ?>assets/vendor/jquery/jquery.js"></script>
|
||||
<script src="<?php echo base_url('') ?>assets/vendor/jquery-browser-mobile/jquery.browser.mobile.js"></script>
|
||||
<script src="<?php echo base_url('') ?>assets/vendor/bootstrap/js/bootstrap.js"></script>
|
||||
<script src="<?php echo base_url('') ?>assets/vendor/nanoscroller/nanoscroller.js"></script>
|
||||
<script src="<?php echo base_url('') ?>assets/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
|
||||
<script src="<?php echo base_url('') ?>assets/vendor/magnific-popup/magnific-popup.js"></script>
|
||||
<script src="<?php echo base_url('') ?>assets/vendor/jquery-placeholder/jquery.placeholder.js"></script>
|
||||
|
||||
<!-- Specific Page Vendor -->
|
||||
<script src="<?php echo base_url('') ?>assets/vendor/summernote/summernote.js"></script>
|
||||
|
||||
<!-- Theme Base, Components and Settings -->
|
||||
<script src="<?php echo base_url('') ?>assets/javascripts/theme.js"></script>
|
||||
|
||||
<!-- Theme Custom -->
|
||||
<script src="<?php echo base_url('') ?>assets/javascripts/theme.custom.js"></script>
|
||||
|
||||
<!-- Theme Initialization Files -->
|
||||
<script src="<?php echo base_url('') ?>assets/javascripts/theme.init.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
setInterval(function() {
|
||||
$.ajax({
|
||||
url: "<?= base_url() ?>index.php/Authority/get_so",
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
data: {},
|
||||
success: function(data) {
|
||||
$("#tot-so").html(data.totalSO);
|
||||
}
|
||||
});
|
||||
}, 2000);
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<?php
|
||||
} else {
|
||||
echo "<script>alert('Akses ditolak')</script>";
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user