168 lines
9.0 KiB
PHP
168 lines
9.0 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="id">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Data Aset Andi Offset</title>
|
|
<meta name="description" content="Aplikasi Web Pendataan Aset Perusahaan: Kelola dan lacak aset perusahaan secara terpusat di semua kantor.">
|
|
<meta name="keywords" content="manajemen aset, pendataan aset, inventaris perusahaan, software aset, aplikasi aset, tracking aset, kelola aset kantor, sistem informasi aset, database aset, andi offset">
|
|
|
|
<!-- Open Graph / Facebook -->
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:title" content="Data Aset Andi Offset">
|
|
<meta property="og:description" content="Aplikasi Web Pendataan Aset Perusahaan: Kelola dan lacak aset perusahaan secara terpusat di semua kantor.">
|
|
<meta property="og:image" content="https://project-screens.s3.amazonaws.com/screenshots/34627/app-hero-20251003-135016.png">
|
|
|
|
<!-- Twitter -->
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:image" content="https://project-screens.s3.amazonaws.com/screenshots/34627/app-hero-20251003-135016.png">
|
|
|
|
<!-- Styles -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Georgia:wght@700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<header class="app-header">
|
|
<div class="container">
|
|
<h1>Data Aset Perusahaan</h1>
|
|
<p class="lead">Selamat datang di sistem manajemen aset terpusat.</p>
|
|
</div>
|
|
</header>
|
|
|
|
<main class="container my-5">
|
|
<div class="card surface-card">
|
|
<div class="card-body">
|
|
<div class="d-flex justify-content-between align-items-center mb-4">
|
|
<h2 class="card-title mb-0">Daftar Aset</h2>
|
|
<button class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#addAssetModal">
|
|
<i data-feather="plus" class="me-2"></i>Tambah Aset Baru
|
|
</button>
|
|
</div>
|
|
|
|
<!-- TODO: Filter/Search UI -->
|
|
|
|
<div class="table-responsive">
|
|
<table class="table table-hover">
|
|
<thead class="table-light">
|
|
<tr>
|
|
<th>Kode Aset</th>
|
|
<th>Nama Aset</th>
|
|
<th>Kategori</th>
|
|
<th>Lokasi</th>
|
|
<th>Status</th>
|
|
<th>Aksi</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="assets-table-body">
|
|
<!-- Asset rows will be injected here by JavaScript -->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div id="loading-indicator" class="text-center my-4">
|
|
<div class="spinner-border text-primary" role="status">
|
|
<span class="visually-hidden">Loading...</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- Add Asset Modal -->
|
|
<div class="modal fade" id="addAssetModal" tabindex="-1" aria-labelledby="addAssetModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title" id="addAssetModalLabel">Tambah Aset Baru</h5>
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<form id="addAssetForm" class="needs-validation" novalidate>
|
|
<div class="row">
|
|
<div class="col-md-12 mb-3">
|
|
<label for="nama_aset" class="form-label">Nama Aset</label>
|
|
<input type="text" class="form-control" id="nama_aset" name="nama_aset" required>
|
|
<div class="invalid-feedback">Nama aset tidak boleh kosong.</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label for="id_kategori" class="form-label">Kategori</label>
|
|
<select class="form-select" id="id_kategori" name="id_kategori" required>
|
|
<!-- Options will be populated by JS -->
|
|
</select>
|
|
<div class="invalid-feedback">Silakan pilih kategori.</div>
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label for="id_kantor_lokasi" class="form-label">Lokasi Kantor</label>
|
|
<select class="form-select" id="id_kantor_lokasi" name="id_kantor_lokasi" required>
|
|
<!-- Options will be populated by JS -->
|
|
</select>
|
|
<div class="invalid-feedback">Silakan pilih lokasi.</div>
|
|
</div>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="spesifikasi" class="form-label">Spesifikasi</label>
|
|
<textarea class="form-control" id="spesifikasi" name="spesifikasi" rows="3"></textarea>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label for="tanggal_pembelian" class="form-label">Tanggal Pembelian</label>
|
|
<input type="date" class="form-control" id="tanggal_pembelian" name="tanggal_pembelian" required>
|
|
<div class="invalid-feedback">Tanggal pembelian tidak boleh kosong.</div>
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label for="harga_pembelian" class="form-label">Harga Pembelian (Rp)</label>
|
|
<input type="number" class="form-control" id="harga_pembelian" name="harga_pembelian" step="0.01" required>
|
|
<div class="invalid-feedback">Harga pembelian tidak boleh kosong.</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label for="vendor" class="form-label">Vendor</label>
|
|
<input type="text" class="form-control" id="vendor" name="vendor">
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label for="status" class="form-label">Status</label>
|
|
<select class="form-select" id="status" name="status" required>
|
|
<option value="Tersedia">Tersedia</option>
|
|
<option value="Digunakan">Digunakan</option>
|
|
<option value="Perbaikan">Perbaikan</option>
|
|
<option value="Dihapuskan">Dihapuskan</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Batal</button>
|
|
<button type="submit" class="btn btn-primary">Simpan Aset</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Toast container -->
|
|
<div class="toast-container position-fixed bottom-0 end-0 p-3">
|
|
<div id="notificationToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
|
|
<div class="toast-header">
|
|
<strong class="me-auto" id="toast-title"></strong>
|
|
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
|
|
</div>
|
|
<div class="toast-body" id="toast-body">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- Scripts -->
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
|
</body>
|
|
</html> |