Browse Source

update peti

master
Gunawan19621 1 year ago
parent
commit
5c77e6ac76
  1. BIN
      public/assets/img/logo_istw.png
  2. 1
      resources/views/dashboard/Master_Data/Manajemen_Peti/Peti/label_pdf.blade.php
  3. 2
      resources/views/dashboard/Master_Data/Manajemen_Peti/Peti/show.blade.php
  4. 4
      resources/views/dashboard/Master_Data/Manajemen_Peti/Type_peti/create.blade.php
  5. 2
      resources/views/dashboard/Master_Data/Manajemen_Peti/Type_peti/edit.blade.php
  6. 4
      resources/views/dashboard/Master_Data/Role/index.blade.php
  7. 32
      resources/views/dashboard/Master_Data/User/edit.blade.php
  8. 8
      resources/views/layouts/sidebar.blade.php

BIN
public/assets/img/logo_istw.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

1
resources/views/dashboard/Master_Data/Manajemen_Peti/Peti/label_pdf.blade.php

@ -36,7 +36,6 @@
</head> </head>
<body> <body>
<h1>Data Peti</h1>
<table style="width:100%" class="table table-bordered"> <table style="width:100%" class="table table-bordered">
<tr> <tr>
<td rowspan="2"> <td rowspan="2">

2
resources/views/dashboard/Master_Data/Manajemen_Peti/Peti/show.blade.php

@ -4,7 +4,7 @@
<div class="card-header py-3"> <div class="card-header py-3">
<div class="row"> <div class="row">
<div class="col-6"> <div class="col-6">
<h5 class="m-0 font-weight-bold text-primary mt-2">Tambah Tipe Peti</h5> <h5 class="m-0 font-weight-bold text-primary mt-2">Detail Peti</h5>
</div> </div>
</div> </div>
</div> </div>

4
resources/views/dashboard/Master_Data/Manajemen_Peti/Type_peti/create.blade.php

@ -20,8 +20,8 @@
<label for="size_peti" class="col-form-label">Ukuran Peti: <span class="text-danger">*</span></label> <label for="size_peti" class="col-form-label">Ukuran Peti: <span class="text-danger">*</span></label>
<input class="form-control" name="size_peti" type="text" id="size_peti" <input class="form-control" name="size_peti" type="text" id="size_peti"
value="{{ old('size_peti') }}" placeholder="Masukkan Ukuran Peti (contoh: 5 x 5 x 5)" value="{{ old('size_peti') }}" placeholder="Masukkan Ukuran Peti = P x L x T (contoh: 5 x 5 x 5)"
title="Format yang diperbolehkan: 5 x 5 x 5" required> required>
<label for="description" class="col-form-label">Deskripsi Peti: <span <label for="description" class="col-form-label">Deskripsi Peti: <span
class="text-danger">*</span></label> class="text-danger">*</span></label>

2
resources/views/dashboard/Master_Data/Manajemen_Peti/Type_peti/edit.blade.php

@ -6,7 +6,7 @@
<div class="card-header py-3"> <div class="card-header py-3">
<div class="row"> <div class="row">
<div class="col-6"> <div class="col-6">
<h5 class="m-0 font-weight-bold text-primary mt-2">Tambah Tipe Peti</h5> <h5 class="m-0 font-weight-bold text-primary mt-2">Edit Tipe Peti</h5>
</div> </div>
</div> </div>
</div> </div>

4
resources/views/dashboard/Master_Data/Role/index.blade.php

@ -70,7 +70,7 @@
<div class="modal-dialog" role="document"> <div class="modal-dialog" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Tambah Data</h5> <h5 class="modal-title" id="exampleModalLabel">Tambah Role</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> <button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
@ -109,7 +109,7 @@
<div class="modal-dialog" role="document"> <div class="modal-dialog" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Edit Data Asset</h5> <h5 class="modal-title" id="exampleModalLabel">Edit Role</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> <button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>

32
resources/views/dashboard/Master_Data/User/edit.blade.php

@ -56,9 +56,20 @@
@endforeach @endforeach
</select> </select>
<label for="password" class="col-form-label">Password:</label> <div class="form-group">
<input class="form-control" name="password" type="text" id="password" value="{{ old('password') }}" <label for="password" class="col-form-label">Password: <span class="text-danger">*</span></label>
placeholder="Masukan password user" required> <div class="input-group">
<input class="form-control" name="password" type="password" id="password"
value="{{ old('password') }}" placeholder="Masukkan password user" minlength="8"
pattern="^(?=.*[A-Za-z])(?=.*\d).*$" required
title="Minimal 8 karakter dengan kombinasi huruf dan angka">
<div class="input-group-append">
<button class="btn btn-outline-secondary" type="button" id="showPasswordButton">
Tampilkan
</button>
</div>
</div>
</div>
</div> </div>
<div class="modal-footer d-flex justify-content-center"> <div class="modal-footer d-flex justify-content-center">
<a href="{{ route('dashboard.user.index') }}" class="btn btn-secondary">Kembali</a> <a href="{{ route('dashboard.user.index') }}" class="btn btn-secondary">Kembali</a>
@ -67,4 +78,19 @@
</form> </form>
</div> </div>
</div> </div>
<script>
const passwordInput = document.getElementById("password");
const showPasswordButton = document.getElementById("showPasswordButton");
showPasswordButton.addEventListener("click", function() {
if (passwordInput.type === "password") {
passwordInput.type = "text";
showPasswordButton.textContent = "Sembunyikan";
} else {
passwordInput.type = "password";
showPasswordButton.textContent = "Tampilkan";
}
});
</script>
@endsection @endsection

8
resources/views/layouts/sidebar.blade.php

@ -3,10 +3,12 @@
<!-- Sidebar - Brand --> <!-- Sidebar - Brand -->
<a class="sidebar-brand d-flex align-items-center justify-content-center" <a class="sidebar-brand d-flex align-items-center justify-content-center"
href="{{ route('dashboard.home.admin') }}"> href="{{ route('dashboard.home.admin') }}">
<div class="sidebar-brand-icon rotate-n-15"> <div class="sidebar-brand-icon">
<i class="fas fa-laugh-wink"></i> {{-- <i class="fas fa-laugh-wink"></i> --}}
<img src="{{ asset('assets/img/logo_istw.png') }}" alt="Tachometer Icon" width="70" height="70"
class="mb-2 mt-2">
</div> </div>
<div class="sidebar-brand-text mx-3">SIOPAS</div> <div class="sidebar-brand-text mx-2 mr-3">SIOPAS</div>
</a> </a>
<!-- Divider --> <!-- Divider -->

Loading…
Cancel
Save