Initial commit - lms-v2 + CLAUDE.md
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
@extends('layouts.app') @section('content')
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
||||
<div class="flex justify-between items-center mb-8">
|
||||
<div>
|
||||
<h2 class="text-2xl font-bold text-slate-800 tracking-tight">Manajemen Master Data</h2>
|
||||
<p class="text-sm text-slate-500 mt-1">Kelola data Departemen dan Posisi (Jabatan) untuk struktur organisasi perusahaan.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
||||
|
||||
<div class="bg-white rounded-2xl shadow-sm border border-slate-200 overflow-hidden flex flex-col">
|
||||
<div class="p-5 border-b border-slate-100 flex justify-between items-center bg-slate-50/50">
|
||||
<h3 class="text-lg font-bold text-slate-800 flex items-center">
|
||||
<svg class="w-5 h-5 mr-2 text-indigo-500" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"></path></svg>
|
||||
Daftar Departemen
|
||||
</h3>
|
||||
<button class="bg-indigo-50 text-indigo-600 hover:bg-indigo-100 px-3 py-1.5 rounded-lg text-sm font-semibold transition-colors">
|
||||
+ Tambah Baru
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex-1 p-0 overflow-x-auto">
|
||||
<table class="w-full text-left text-sm whitespace-nowrap">
|
||||
<thead class="bg-slate-50 text-slate-500 text-xs uppercase tracking-wider">
|
||||
<tr>
|
||||
<th class="px-5 py-3 font-semibold">ID</th>
|
||||
<th class="px-5 py-3 font-semibold">Nama Departemen</th>
|
||||
<th class="px-5 py-3 font-semibold text-right">Aksi</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="divide-y divide-slate-100 text-slate-700">
|
||||
<tr class="hover:bg-slate-50 transition-colors">
|
||||
<td class="px-5 py-4 font-medium text-slate-900">1</td>
|
||||
<td class="px-5 py-4">Quality Assurance (QA)</td>
|
||||
<td class="px-5 py-4 text-right">
|
||||
<button class="text-indigo-600 hover:text-indigo-800 font-medium text-sm mr-3">Edit</button>
|
||||
<button class="text-red-500 hover:text-red-700 font-medium text-sm">Hapus</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="hover:bg-slate-50 transition-colors">
|
||||
<td class="px-5 py-4 font-medium text-slate-900">2</td>
|
||||
<td class="px-5 py-4">Produksi Farmasi</td>
|
||||
<td class="px-5 py-4 text-right">
|
||||
<button class="text-indigo-600 hover:text-indigo-800 font-medium text-sm mr-3">Edit</button>
|
||||
<button class="text-red-500 hover:text-red-700 font-medium text-sm">Hapus</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bg-white rounded-2xl shadow-sm border border-slate-200 overflow-hidden flex flex-col">
|
||||
<div class="p-5 border-b border-slate-100 flex justify-between items-center bg-slate-50/50">
|
||||
<h3 class="text-lg font-bold text-slate-800 flex items-center">
|
||||
<svg class="w-5 h-5 mr-2 text-emerald-500" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"></path></svg>
|
||||
Daftar Posisi
|
||||
</h3>
|
||||
<button class="bg-emerald-50 text-emerald-600 hover:bg-emerald-100 px-3 py-1.5 rounded-lg text-sm font-semibold transition-colors">
|
||||
+ Tambah Baru
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex-1 p-0 overflow-x-auto">
|
||||
<table class="w-full text-left text-sm whitespace-nowrap">
|
||||
<thead class="bg-slate-50 text-slate-500 text-xs uppercase tracking-wider">
|
||||
<tr>
|
||||
<th class="px-5 py-3 font-semibold">ID</th>
|
||||
<th class="px-5 py-3 font-semibold">Nama Posisi</th>
|
||||
<th class="px-5 py-3 font-semibold text-right">Aksi</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="divide-y divide-slate-100 text-slate-700">
|
||||
<tr class="hover:bg-slate-50 transition-colors">
|
||||
<td class="px-5 py-4 font-medium text-slate-900">1</td>
|
||||
<td class="px-5 py-4">Manager</td>
|
||||
<td class="px-5 py-4 text-right">
|
||||
<button class="text-indigo-600 hover:text-indigo-800 font-medium text-sm mr-3">Edit</button>
|
||||
<button class="text-red-500 hover:text-red-700 font-medium text-sm">Hapus</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="hover:bg-slate-50 transition-colors">
|
||||
<td class="px-5 py-4 font-medium text-slate-900">2</td>
|
||||
<td class="px-5 py-4">Supervisor QA</td>
|
||||
<td class="px-5 py-4 text-right">
|
||||
<button class="text-indigo-600 hover:text-indigo-800 font-medium text-sm mr-3">Edit</button>
|
||||
<button class="text-red-500 hover:text-red-700 font-medium text-sm">Hapus</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user