Skip to content

Commit

Permalink
Merge pull request #10 from bodhivb/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
bodhivb authored Jun 6, 2023
2 parents 59b76d0 + 02cf6f6 commit ad95b1e
Show file tree
Hide file tree
Showing 91 changed files with 1,651 additions and 555 deletions.
Binary file modified assets/buildings/door.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ body {
border: none;
pointer-events: none;
}

.clickable {
pointer-events: auto;
}
117 changes: 111 additions & 6 deletions assets/css/elements.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/* ELEMENTS CSS */

#loginForm {
background-color: #f2f2f2;
max-width: 500px;
margin-left: auto;
margin-right: auto;
padding: 20px;
img {
object-fit: contain;
image-rendering: pixelated;
pointer-events: none;
}

input {
Expand All @@ -21,3 +19,110 @@ input[type="submit"] {
background-color: #ff7e00;
color: white;
}

.popup {
margin-left: auto;
margin-right: auto;
background-color: #f7f6f3;
padding: 20px;
margin-top: 50vh;
transform: translate(0, -50%);
border-radius: 2px;
}

.blueBox,
.greenBox {
margin: 4px;
border: none;
color: white;
}

.blueBox {
background-color: #208bee;
box-shadow: 4px 0px #0c579c, 0px 4px #0c579c, -4px 0px #0c579c,
0px -4px #0c579c;
}
.blueBox:hover {
background-color: #117fe3;
}

.greenBox {
background-color: #86cc41;
box-shadow: 4px 0px #538423, 0px 4px #538423, -4px 0px #538423,
0px -4px #538423;
}
.greenBox:hover {
background-color: #79c034;
}

.orangeCardPrimary {
background-color: #ff6600;
}
.orangeCardSecondary {
background-color: #f5a56e;
}
.blueCardPrimary {
background-color: #617cbd;
}
.blueCardSecondary {
background-color: #5879a6;
}
.greenCardPrimary {
background-color: #46ae4d;
}
.greenCardSecondary {
background-color: #a3cb78;
}

.teacherBox {
margin: 8px 0px;
background-color: #538423;
border: 2px solid black;
color: black;
display: flex;
}

.teacherText label {
display: block;
margin: 4px;
}

#searchList {
position: absolute;
top: 116px;
bottom: 100px;
right: 0px;
padding: 10px;
border-radius: 2px;
background-color: #f7f6f3;
overflow-y: auto;
}

#errorLabel {
padding: 0px 20px;
line-height: 24px;
background-color: red;
color: white;
}

#setupButton {
position: absolute;
right: 4px;
top: 4px;
width: 44px;
height: 44px;
}

#searchButton {
position: absolute;
right: 60px;
top: 4px;
width: 44px;
height: 44px;
}

#spaceLine {
display: flex;
align-items: center;
margin: 0 20px;
}
26 changes: 26 additions & 0 deletions assets/examples/teachers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[
{
"firstName": "Bodhi",
"lastName": "van Baardewijk",
"imageKey": "bb",
"imagePath": "assets/teachers/bb.png",
"function": 1,
"team": 2,
"skills": [
{
"title": "Unity",
"description": "5+ year experience programming with it."
},
{
"title": "C#"
}
]
},
{
"firstName": "lp",
"imageKey": "lp",
"imagePath": "assets/teachers/lp.png",
"function": 2,
"team": 1
}
]
Binary file added assets/icons/close.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 assets/icons/gear.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 assets/icons/heart.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 assets/icons/person.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 assets/icons/search.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 assets/rooms/classroom_art.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 assets/rooms/classroom_dev.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 assets/rooms/classroom_network_with_trees.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 assets/rooms/classroom_projector.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 assets/rooms/classroom_with_cabinet.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 assets/rooms/elevator_4.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 assets/rooms/elevator_5.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 assets/rooms/elevator_6.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 assets/rooms/elevator_7.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 assets/teachers/ah.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added assets/teachers/bk.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 assets/teachers/bp.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 assets/teachers/bt.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 assets/teachers/cs.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 assets/teachers/db.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 assets/teachers/dr.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 assets/teachers/ew.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 assets/teachers/fv.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 assets/teachers/gk.png
Binary file added assets/teachers/jk.png
Binary file added assets/teachers/js.png
Binary file added assets/teachers/jw.png
Binary file added assets/teachers/kd.png
Binary file added assets/teachers/lf.png
Binary file added assets/teachers/lp.png
Binary file added assets/teachers/mh-1.png
Binary file added assets/teachers/mh-2.png
Binary file added assets/teachers/no.png
Binary file added assets/teachers/pg.png
Binary file added assets/teachers/pl-1.png
Binary file added assets/teachers/pl-2.png
Binary file added assets/teachers/rh.png
Binary file added assets/teachers/ss.png
Binary file added assets/teachers/tb-1.png
Binary file added assets/teachers/tb-2.png
Binary file added assets/teachers/wh.png
Loading

0 comments on commit ad95b1e

Please sign in to comment.