Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/stylesheets/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body {
padding: 50px;
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
font-family: Arial, Helvetica, sans-serif;
}

a {
Expand Down
51 changes: 39 additions & 12 deletions views/addUser.ejs
Original file line number Diff line number Diff line change
@@ -1,26 +1,53 @@
<!-- index.ejs -->
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Add New User</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/x-icon" href="./media/favicon.png">
<link rel="stylesheet" href="viewdesign.css">
</head>

<body>
<h1>Add New User</h1>

<form action="/users/add" method="post">
<label for="name">Name:</label><br>
<input type="name" id="name" name="name"><br>
<div class="adduserpage">
<img src="./media/Kainos 800x250 Logo (Transparent BG).png" alt="kainos_logo">

<div class="addnewuser">
<h1>Add New User</h1>
</div>


<div class="infoboxes">
<form action="/users/add" method="post">
<label for="name">Name:</label><br>
<input type="name" id="name" name="name"><br>

<label for="address">Address:</label><br>
<input type="address" id="address" name="address"><br>

<label for="email">Email:</label><br>
<input type="email" id="email" name="email"><br>
<label for="salary">Salary:</label><br>
<input type="salary" id="salary" name="salary"><br>

<label for="role">Role:</label><br>
<input type="role" id="role" name="role"><br>

<label for="employeenumber">Employee Number:</label><br>
<input type="employeenumber" id="employeenumber" name="employeenumber"><br>

<div class="spacebelowinfo">

</div>

<input type="submit" value="Submit">
</form>
</div>

</div>

<label for="role">Role:</label><br>
<input type="role" id="role" name="role"><br>

<input type="submit" value="Submit">
</form>
</body>
</html>

</html>
3 changes: 2 additions & 1 deletion views/deleteUser.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Delete User</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/x-icon" href="./media/favicon.png">
<link rel="stylesheet" href="viewdesign.css">
</head>
<body>
<h1>Delete User</h1>
Expand Down
3 changes: 2 additions & 1 deletion views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<html>
<head>
<title><%= title %></title>
<link rel='stylesheet' href='/stylesheets/style.css' />
<link rel="icon" type="image/x-icon" href="./media/favicon.png">
<link rel="stylesheet" href="viewdesign.css">
</head>
<body>
<h1><%= title %></h1>
Expand Down
Binary file added views/media/.DS_Store
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added views/media/Kainos Colors.docx
Binary file not shown.
Binary file added views/media/Kainos-alt-transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added views/media/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added views/media/kainos_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion views/updateUser.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Update User</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/x-icon" href="./media/favicon.png">
<link rel="stylesheet" href="viewdesign.css">
</head>
<body>
<h1>Update User</h1>
Expand Down
3 changes: 2 additions & 1 deletion views/user.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>User Information</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/x-icon" href="./media/favicon.png">
<link rel="stylesheet" href="viewdesign.css">
</head>
<body>
<h1>User Information</h1>
Expand Down
3 changes: 2 additions & 1 deletion views/users.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>User List</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/x-icon" href="./media/favicon.png">
<link rel="stylesheet" href="viewdesign.css">
</head>
<body>
<h1>User List</h1>
Expand Down
26 changes: 26 additions & 0 deletions views/viewdesign.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
body {
background-image: url("https://media.istockphoto.com/id/1390799493/vector/turquoise-gradation-background.jpg?s=612x612&w=0&k=20&c=7CgX9ySU7SkuZ-idIZh3xNuvYqokFuJCA3i7hN7rmVY=");
display: flex;
flex-direction: row;
justify-content: center;
background-repeat: no-repeat;
background-size: 2000px 2000px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.infoboxes {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-bottom: 25px;
}

.addnewuser {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.spacebelowinfo {
margin-bottom: 25px;
}