<?php
/**
 * =====================================================
 * SIMPAS v1.0
 * Modul : Jadwal Absensi
 * File   : tambah.php
 * =====================================================
 */

include "../../config/koneksi.php";
include "../../config/session.php";

include "../../templates/header.php";
include "../../templates/navbar.php";
include "../../templates/sidebar.php";
?>

<div class="content-wrapper">

<section class="content-header">

<div class="container-fluid">

<div class="row mb-2">

<div class="col-sm-6">

<h1>

<i class="fas fa-plus-circle"></i>

Tambah Jadwal Absensi

</h1>

</div>

<div class="col-sm-6 text-right">

<a href="index.php" class="btn btn-secondary">

<i class="fas fa-arrow-left"></i>

Kembali

</a>

</div>

</div>

</div>

</section>

<section class="content">

<div class="container-fluid">

<div class="card shadow">

<div class="card-header bg-success">

<h3 class="card-title">

Form Jadwal Absensi

</h3>

</div>

<div class="card-body">

<form action="simpan.php" method="POST">

<div class="form-group">

<label>Hari</label>

<select name="hari" class="form-control" required>

<option value="">-- Pilih Hari --</option>

<option>Senin</option>
<option>Selasa</option>
<option>Rabu</option>
<option>Kamis</option>
<option>Jumat</option>
<option>Sabtu</option>

</select>

</div>

<div class="form-group">

<label>Jam Masuk</label>

<input
type="time"
name="jam_masuk"
class="form-control"
required>

</div>

<div class="form-group">

<label>Batas Terlambat</label>

<input
type="time"
name="batas_terlambat"
class="form-control"
required>

</div>

<div class="form-group">

<label>Jam Pulang</label>

<input
type="time"
name="jam_pulang"
class="form-control"
required>

</div>

<div class="form-group">

<label>Status</label>

<select
name="status"
class="form-control">

<option value="Aktif">

Aktif

</option>

<option value="Nonaktif">

Nonaktif

</option>

</select>

</div>

<hr>

<div class="text-center">

<button
type="submit"
class="btn btn-success">

<i class="fas fa-save"></i>

Simpan

</button>

<button
type="reset"
class="btn btn-warning">

<i class="fas fa-redo"></i>

Reset

</button>

<a
href="index.php"
class="btn btn-secondary">

<i class="fas fa-times"></i>

Batal

</a>

</div>

</form>

</div>

</div>

</div>

</section>

</div>

<?php
include "../../templates/footer.php";
?>