Skip to content

Instantly share code, notes, and snippets.

@AriffAzmi
Created August 20, 2015 10:02
Show Gist options
  • Save AriffAzmi/88903f59b0cb93093d0c to your computer and use it in GitHub Desktop.
Save AriffAzmi/88903f59b0cb93093d0c to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>E-Jakim</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
</head>
<body>
<div class="panel panel-primary">
<div class="panel-heading panel-primary">E-Borang</div>
<div class="container">
<div class="row">
<form action="submit.php" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="nama_program">Nama program:</label>
<input type="text" id="nama_program" class="form-control" name="namaprogram">
</div>
<div class="form-group">
<label for="tempat">Tempat:</label>
<input type="text" id="tempat" class="form-control" name="tempat">
</div>
<div class="form-group">
<label for="tarikh">Tarikh:</label>
<input type="text" class="form-control" id="tarikh" name="tarikh" readonly="">
</div>
<div class="form-group">
<label for="kumpulan">Kumpulan:</label>
<input type="text" id="kumpulan" class="form-control" name="kumpulan">
</div>
<div class="form-group">
<label for="jumlah_hadir">Jumlah hadir:</label>
<input type="number" id="jumlah_hadir" class="form-control" name="jumlah_hadir">
</div>
<div class="form-group">
<label for="kpi">KPI:</label>
<input type="text" id="kpi" class="form-control" name="kpi">
</div>
<div class="form-group">
<label for="outcome">Outcome:</label>
<input type="text" class="form-control" id="outcome" name="outcome">
</div>
<div class="form-group">
<label for="catatan">Catatan:</label>
<input type="text" class="form-control" id="catatan" name="catatan">
</div>
<div class="form-group">
<label for="fail">Pdf File:</label>
<input type="file" class="form-control" id="fail" name="userfile" accept="application/pdf">
<input type="hidden" name="MAX_FILE_SIZE" value="2000000">
</div>
<input type="submit" name="upload" class="btn btn-block btn-success" value="Hantar">
<br>
<br>
<br>
</form>
</div>
</div>
<div class="panel-footer panel-info">
<a href="search.php" class="btn btn-info"><span class="glyphicon glyphicon-search">Carian laporan</span></a>
</div>
</div>
<script>
$("#tarikh").datepicker({
dateFormat: 'yy-mm-dd'
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment