feat(MasterDataArtikel): add form
parent
a7e0aefbb2
commit
f6d15f8306
|
|
@ -28,12 +28,65 @@
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<fieldset class="fieldset">
|
<fieldset class="fieldset">
|
||||||
<legend class="fieldset-legend">
|
<legend class="fieldset-legend">
|
||||||
Nama Artikel<span class="text-red-500">*</span>
|
Judul Artikel<span class="text-red-500">*</span>
|
||||||
</legend>
|
</legend>
|
||||||
<input type="text" id="nama" class="input w-full" placeholder="Nama Artikel" required />
|
<input type="text" id="nama" class="input w-full" placeholder="Nama Artikel" required />
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Field Tanggal -->
|
||||||
|
<div class="flex flex-col">
|
||||||
|
<fieldset class="fieldset">
|
||||||
|
<legend class="fieldset-legend">
|
||||||
|
Tanggal Artikel<span class="text-red-500">*</span>
|
||||||
|
</legend>
|
||||||
|
<input type="date" id="tanggal" class="input w-full" placeholder="Tanggal Artikel" required />
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Field Preview Text -->
|
||||||
|
<div class="flex flex-col">
|
||||||
|
<fieldset class="fieldset">
|
||||||
|
<legend class="fieldset-legend">
|
||||||
|
Preview Text Artikel<span class="text-red-500">*</span>
|
||||||
|
</legend>
|
||||||
|
<input type="text" id="preview" class="input w-full" placeholder="Preview Text Artikel" required />
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Field Link Web Dinas -->
|
||||||
|
<div class="flex flex-col">
|
||||||
|
<fieldset class="fieldset">
|
||||||
|
<legend class="fieldset-legend">
|
||||||
|
Link Webdinas Artikel<span class="text-red-500">*</span>
|
||||||
|
</legend>
|
||||||
|
<input type="text" id="link" class="input w-full" placeholder="Link Webdinas Artikel" required />
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Field Konten Artikel -->
|
||||||
|
<div class="flex flex-col">
|
||||||
|
<fieldset class="fieldset">
|
||||||
|
<legend class="fieldset-legend">
|
||||||
|
Konten Artikel<span class="text-red-500">*</span>
|
||||||
|
</legend>
|
||||||
|
<textarea id="konten" class="input w-full" placeholder="Konten Artikel" required></textarea>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Field Foto Artikel -->
|
||||||
|
<div class="flex flex-col">
|
||||||
|
<fieldset class="fieldset">
|
||||||
|
<legend class="fieldset-legend">
|
||||||
|
Foto Artikel
|
||||||
|
<span class="text-red-500">*</span>
|
||||||
|
</legend>
|
||||||
|
<input type="file" class="file-input" />
|
||||||
|
<label class="label">Ukuran Maksimal 5MB</label>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!-- Buttons -->
|
<!-- Buttons -->
|
||||||
<div class="flex flex-col sm:flex-row gap-3 justify-end">
|
<div class="flex flex-col sm:flex-row gap-3 justify-end">
|
||||||
<button type="button" class="px-8 py-2.5 bg-white rounded-full outline outline-1 -outline-offset-1 outline-gray-300 text-slate-800 text-base font-semibold font-['Plus_Jakarta_Sans'] leading-6 hover:bg-gray-50 w-full sm:w-auto" onclick="closeModal()">
|
<button type="button" class="px-8 py-2.5 bg-white rounded-full outline outline-1 -outline-offset-1 outline-gray-300 text-slate-800 text-base font-semibold font-['Plus_Jakarta_Sans'] leading-6 hover:bg-gray-50 w-full sm:w-auto" onclick="closeModal()">
|
||||||
|
|
@ -62,7 +115,7 @@
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="w-[5%]">No</th>
|
<th class="w-[5%]">No</th>
|
||||||
<th class="w-[85%]">Nama Artikel</th>
|
<th class="w-[85%]">Judul Artikel</th>
|
||||||
<th class="w-[10%]">Aksi</th>
|
<th class="w-[10%]">Aksi</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue