feat: Adds employee form and table view, begins user form and table view.
This commit is contained in:
@@ -58,6 +58,19 @@ nav {
|
||||
padding: 50px 0;
|
||||
}
|
||||
|
||||
form {
|
||||
padding: 50px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
form label {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
form input {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.login-form {
|
||||
padding: 50px 0;
|
||||
text-align: center;
|
||||
@@ -70,3 +83,64 @@ nav {
|
||||
.login-form input {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
border: 1px solid grey;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
td, th {
|
||||
padding: 5px 15px;
|
||||
}
|
||||
|
||||
.employee-form {
|
||||
margin: 20px auto;
|
||||
width: 50%;
|
||||
background-color: #aeb6bf;
|
||||
padding: 20px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
.employee-form label {
|
||||
color: #555;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
input[type=submit] {
|
||||
padding: 5px 20px;
|
||||
}
|
||||
|
||||
input[type=text], input[type=password] {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.btn-delete {
|
||||
display: inline-block;
|
||||
color: red;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-delete img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.btn-delete img:hover {
|
||||
background-color: #555;
|
||||
}
|
||||
|
||||
.toggle img {
|
||||
background-color: inherit;
|
||||
width: 60px;
|
||||
height: 30px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.toggle img:hover {
|
||||
background-color: #555;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user