This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="card mt-5"> | |
<div class="card-header text-center"> | |
CRUD Data Pegawai | |
</div> | |
<div class="card-body"> | |
<a href="/test/admin/pegawai/tambah" class="btn btn-primary">Input Pegawai Baru</a> | |
<a href="" class="btn btn-danger">Hapus</a> | |
<input type="text" id="myInput" onkeyup="myFunction()" placeholder="Search for names.." class="form-control"> | |
<br/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="view-employee"> | |
<ul class="collection with-header"> | |
<li class="collection-header"><h4>{{name}}</h4></li> | |
<li class="collection-item">Employee ID#: {{employee_id}}</li> | |
<li class="collection-item">Department: {{dept}}</li> | |
<li class="collection-item">Position: {{position}}</li> | |
</ul> | |
<router-link to="/" class="btn grey">Back</router-link> | |
<button @click="deleteEmployee" class="btn red">Delete</button> |