<!DOCTYPE html>
<html lang="en">
<head>
    <title>SIMPEL</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <script src="bootstrap/js/bootstrap.min.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
    
    <link href='select2/dist/css/select2.min.css' rel='stylesheet' type='text/css'>
       <style type="text/css">
        .selectt {
            color: #fff;
            padding: 5px;
            display: none;
            margin-top: 5px;
            width: 100%;
            background: green;
        }
        .list1{
        color: #fff;
            padding: 5px;
            display: none;
            margin-top: 5px;
            width: 100%;
        }             
        label1 {
            margin-right: 20px;
        }
    </style>

</head>
<body><div style="text-align:center;">
<nav class="navbar navbar-expand-md bg-dark navbar-dark"> 
    <!-- Brand -->
    <a class="navbar-brand" href="index.php">
        <img src="gambar/logosi.png" alt="logo" style="width:30px;margin-left:30px;">
    </a>

    <!-- Toggler/collapsibe Button -->
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
        <span class="navbar-toggler-icon"></span>
    </button>
     
    <!-- Navbar links -->
    <div class="collapse navbar-collapse" id="collapsibleNavbar">
        <ul class="navbar-nav">
            <div class="dropdown">
<button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" style="margin:5px;background-color:#212529;color:rgba(255,255,255,.5);border:none;">Records</button> 
            <ul class="dropdown-menu">
              <li><a class="dropdown-item" href="datapinjam.php">Booking Records</a></li>
              <li><a class="dropdown-item" href="index.php">Attendance Records</a></li>
            </ul>
          </div>
            <!--<li class="nav-item">
                <a class="nav-link" href="tambahdata.php">Peminjaman Lab</a>
            </li>-->
            <div class="dropdown">
<button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" style="margin:5px;background-color:#212529;color:rgba(255,255,255,.5);border:none;">Booking</button> 
            <ul class="dropdown-menu">                                           
              <li><a class="dropdown-item" href="tambahdata.php">Booking Form</a></li>
              <li><a class="dropdown-item" href="tambahdatalogbook.php">Attendance Form</a></li>
            </ul>
          </div>
            <!--<li class="nav-item" style="margin:5px;background-color:#212529;color:rgba(255,255,255,.5);border:none;">
                <a class="nav-link" href="#">Akun</a>
            </li>-->
            <!--<li class="nav-item" style="margin:5px;background-color:#212529;color:rgba(255,255,255,.5);border:none;">
                <a class="nav-link" href="#">Informasi</a>
            </li>-->
            <div class="dropdown">
<button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" style="margin:5px;background-color:#212529;color:rgba(255,255,255,.5);border:none;">Reports</button> 
            <ul class="dropdown-menu">
              <li><a class="dropdown-item" href="laporanpinjam.php">Booking Reports</a></li>
              <li><a class="dropdown-item" href="laporanLog.php">Attendance Reports</a></li>
            </ul>
          </div>
        </ul>
    </div>
       
</nav></div>
<div class="jumbotron text-center">
    <h1>SIMPEL (Sistem InforMasi PEminjaman Laboratorium)</h1>
    <p><b>DEPARTEMENT OF INFORMATION SYSTEMS - FACULTY OF COMPUTER SCIENCES <br/>
    UNIVERSITAS PEMBANGUNAN NASIONAL "VETERAN" JAWA TIMUR</b></p>
</div>
<div class="container">
    <div class="row">
        <center><div class="col-sm-8">
            <div class="thumbnail">
                <div class="caption">
                <div class="comment">
                    <label><h2>Laboratory Booking Reports</h2></label>
       <!-- <form method="POST" action="action.php" id="form1">-->
        <div class="form-group">
        <label><strong>Choose Report Lab. :</strong></label>
            <label style="padding-left: 10px; padding-right: 10px;"><input type="radio" name="colorRadio" value="data">Data Report</label>
          <label style="padding-left: 10px; padding-right: 10px;"><input type="radio" name="colorRadio" value="grafik">Graphic Report</label>
        </div> 
      <div class="data selectt">
      <center><strong>PERIOD</strong></center>
      <form method="get" action="datareportpinjam.php" target="_blank">
			<label>CHOOSE DATE:&nbsp;&nbsp;</label>
			<input type="date" name="date1"> &nbsp;&ndash;&nbsp; <input type="date" name="date2"><br/>  
			<label>LABORATORY:&nbsp;</label>
			<select id="lab" style="width:300px;" name="lab">
            <option value=''>All Lab.</option>
            <option value='1'>Lab.SSI</option>
            <option value='2'>Lab.MSI</option></select><br/>
			<input type="submit" value="FILTER">
		  </form></div> <!-- end data selectt-->
            
  <div class="grafik selectt">
          <center><strong>GRAPHIC REPORT LABORATORY</strong></center>
        <form method="get">
			<label>CHOOSE DATE:&nbsp;&nbsp;</label>
			<input type="date" name="date1"> &nbsp;&ndash;&nbsp; <input type="date" name="date2">&nbsp;  
			<input type="submit" value="FILTER" >
		  </form></div> <!-- end grafik selectt-->
        </div>
            </div>
        </div>
        </div>
        </div></center>
</div><br>
<div class="jumbotron text-center" style="margin-bottom:0">
    <center><p><b>Departement of Information Systems-UPN Veteran Jatim <br/> &copy Copyright 2020 </b></p></center>
</div>

<!-- Script -->
       <script type="text/javascript">
            $(document).ready(function() {
                $('input[type="radio"]').click(function() {
                    var inputValue = $(this).attr("value");
                    var targetBox = $("." + inputValue);
                    $(".selectt").not(targetBox).hide();
                    $(targetBox).show();
                    /*alert("Radio button " + inputValue + " is selected");*/
                });
            });
        </script>
        
</body>
</html>