98 lines
5.0 KiB
PHP
98 lines
5.0 KiB
PHP
<div class="wraper responsive-width">
|
|
|
|
<main>
|
|
<div class="admin_tempblock">
|
|
<div class="admin_tempsec">
|
|
<div class="admin_sec">
|
|
<div class="subsec_sec">
|
|
<div class="subject_r subject_r_lng">
|
|
<div class="subject_lsec">
|
|
|
|
<div class="mb-4">
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item"><a href="<?= base_url() . 'dashboard' ?>">Dashboard</a></li>
|
|
<li class="breadcrumb-item active" aria-current="page"><?= $title ?></li>
|
|
</ol>
|
|
</nav>
|
|
</div>
|
|
|
|
<?php if ($this->session->flashdata('success')) { ?>
|
|
<div class="alert alert-success alert-dismissible fade show mr-5" role="alert">
|
|
<p><b> Success !</b> <?php echo $this->session->flashdata('success') ?></p>
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('danger')) { ?>
|
|
<div class="alert alert-danger alert-dismissible fade show mr-5" role="alert">
|
|
<p><b> Error !</b><?php echo $this->session->flashdata('danger') ?></p>
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
<?php } ?>
|
|
|
|
|
|
<div class="row justify-content-center container px-0 mx-0">
|
|
|
|
<div class="card col-md-3 p-0">
|
|
<div class="card-body">
|
|
<form method="post" action="<?php echo base_url(); ?>admin/school-administration" enctype="multipart/form-data">
|
|
<h6 class="card-title" style="font-weight: 600">School Time</h6>
|
|
<label class="has-float-label mt-3">
|
|
<input type="time" id="start_at" name="start_at" class=" form-control" value="" placeholder='Starts At' required>
|
|
<span>Starts At</span>
|
|
</label>
|
|
<label class="has-float-label mt-3">
|
|
<input type="time" id="ends_at" name="ends_at" class=" form-control" value="" placeholder='Closes At' required>
|
|
<span>Closes At</span>
|
|
</label>
|
|
|
|
<button class="btn btn-sm w-100 btn-outline-success" type="submit" id="school_update">Update</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="col-md-9">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
</div>
|
|
|
|
<!--End right-top side-->
|
|
|
|
<!-- <script src="<?php echo base_url(); ?>assets-bustracking/js/jquery-3.2.1.slim.min.js"></script> -->
|
|
<script src="<?php echo base_url(); ?>assets-bustracking/js/jquery-3.4.1.min.js"></script>
|
|
<script src="<?php echo base_url(); ?>assets-bustracking/js/popper.min.js"></script>
|
|
<script src="<?php echo base_url(); ?>assets-bustracking/js/bootstrap.min.js"></script>
|
|
<script src="https://cdn.datatables.net/1.10.22/js/jquery.dataTables.min.js"></script>
|
|
<script defer src="<?php echo base_url(); ?>assets-bustracking/js/all.js"></script>
|
|
<script defer src="<?php echo base_url(); ?>assets-bustracking/js/main.js"></script>
|
|
<script src="<?php echo base_url(); ?>assets-bustracking/owl-carousel/js/owl.carousel.min.js"></script>
|
|
<script>
|
|
$(document).ready(function() {
|
|
//table js
|
|
$('#tbl').DataTable({
|
|
"lengthMenu": [
|
|
[25, 50, 100, 150, -1],
|
|
[25, 50, 100, 150, "All"]
|
|
]
|
|
});
|
|
//table js end
|
|
|
|
});
|
|
</script>
|