Skip to content

Commit

Permalink
Merge pull request #15 from dimpurw/master
Browse files Browse the repository at this point in the history
Bugfix on input time
  • Loading branch information
adhiariyadi authored Apr 8, 2021
2 parents ada92d8 + 554ffe1 commit ddac676
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions resources/views/admin/jadwal/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@
<div class="col-md-6">
<div class="form-group">
<label for="jam_mulai">Jam Mulai</label>
<input type='time' id="jam_mulai" name='jam_mulai' class="form-control @error('jam_mulai') is-invalid @enderror" placeholder='JJ:mm:dd'>
<input type='text' id="jam_mulai" name='jam_mulai' class="form-control @error('jam_mulai') is-invalid @enderror jam_mulai" placeholder='JJ:mm:dd'>
</div>
<div class="form-group">
<label for="jam_selesai">Jam Selesai</label>
<input type='time' name='jam_selesai' class="form-control @error('jam_selesai') is-invalid @enderror" placeholder='JJ:mm:dd'>
<input type='text' id="jam_selesai" name='jam_selesai' class="form-control @error('jam_selesai') is-invalid @enderror" placeholder='JJ:mm:dd'>
</div>
<div class="form-group">
<label for="ruang_id">Ruang Kelas</label>
Expand Down Expand Up @@ -182,5 +182,9 @@
$("#MasterData").addClass("active");
$("#liMasterData").addClass("menu-open");
$("#DataJadwal").addClass("active");
$("#jam_mulai,#jam_selesai").timepicker({
timeFormat: 'HH:mm',
defaultTime: '07:00',
});
</script>
@endsection
3 changes: 2 additions & 1 deletion resources/views/template_backend/footer.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<footer class="main-footer">
<footer class="main-footer">
<marquee>
<strong>Copyright &copy; <script>document.write(new Date().getFullYear());</script> &diams; <a href="http://smkn1jenpo.sch.id/">SMK Negeri 1 Jenangan Ponorogo</a>. </strong>
</marquee>
Expand Down Expand Up @@ -76,6 +76,7 @@
<!-- bs-custom-file-input -->
<script src="{{ asset('plugins/bs-custom-file-input/bs-custom-file-input.min.js') }}"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script src="//cdnjs.cloudflare.com/ajax/libs/timepicker/1.3.5/jquery.timepicker.min.js"></script>
<script>
$.widget.bridge('uibutton', $.ui.button)
</script>
Expand Down
1 change: 1 addition & 0 deletions resources/views/template_backend/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<!-- Google Font: Source Sans Pro -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
<link rel="shrotcut icon" href="{{ asset('img/favicon.ico') }}">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/timepicker/1.3.5/jquery.timepicker.min.css">
<style>
.ctr {
text-align: center !important;
Expand Down

0 comments on commit ddac676

Please sign in to comment.