-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
115 lines (109 loc) · 3.76 KB
/
main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Netwerk</title>
<style>
input[type=submit]{
background-color: #ff6f69;
border: none;
color: black;
cursor: pointer;
}
.left_button{
display:inline-block;
float: left;
width: 20%;
border: none;
color: black;
cursor: pointer;
}
.job_profiles, .candidate_profiles {
display:inline-block;
text-align: center;
border-radius: 25px;
background: #cccccc;
padding: 20px;
width: auto;
height: auto;
margin-left: auto;
margin-right: auto;
/*position: relative */
}
.job_profiles, .candidate_profiles p{
/*margin: 0 auto;*/
/*position: absolute;
top: 50%;
left: auto;*/
}
.right_button{
float: right;
display:inline-block;
color: black;
}
input[type=button]{
background-color: #e6ffff;
border-radius: 25px;
border: none;
color: black;
cursor: pointer;
flex:1;
padding: 125px 100px;
font-family: "Futura";
font-size: 30px;
}
/* Change background color of buttons on hover */
input[type=button]:hover {
background-color: #8c8c8c;
}
</style>
</head>
<body>
<div class = "main" data-ng-controller="mainController" data-ng-show ="index < len">
<div class="left_button">
<form id = "swipe_left">
<input type="button" value="No" data-ng-click="swipeLeft()" data-ng-show="logBool == 1"/>
</form>
</div>
<div class="profiles">
<div class="candidate_profiles" data-ng-show ="profile_type == 'job'" data-ng-swipe-right = "swipeRight()" data-ng-swipe-left = "swipeLeft()" >
<p>
<b>Name:</b> {{profiles[index].first_name}}
{{profiles[index].last_name}}<br>
<b>Education:</b> {{profiles[index].education}}<br>
<b>Major:</b> {{profiles[index].major}}<br>
<b>GPA:</b> {{profiles[index].gpa}}<br>
<b>Most recent job:</b> {{profiles[index].most_recent_job}}<br>
<b>Current location:</b> {{profiles[index].current_location}}<br>
<b>Desired location:</b> {{profiles[index].location}}<br>
<b>Desired salary:</b> {{profiles[index].salary | currency}}<br>
<b>Skills: </b><br>
<b>Front end?</b> {{profiles[index].skills1}}<br>
<b>Back end?</b> {{profiles[index].skills2}} <br>
<b>Data science?</b> {{profiles[index].skills3}} <br>
<b>Fun fact:</b> {{profiles[index].fun_fact}}
</p>
</div>
<div class = "job_profiles" data-ng-show ="profile_type == 'candidate'" data-ng-swipe-right = "swipeRight()" data-ng-swipe-left = "swipeLeft()">
<p>
<b>Company name:</b> {{profiles[index].company_name}}<br>
<b>Title:</b> {{profiles[index].title}}<br>
<b>Industry:</b> {{profiles[index].industry}}<br>
<b>Location:</b> {{profiles[index].location}}<br>
<b>Salary:</b> {{profiles[index].salary | currency}}<br>
<b>Skills:</b> <br>
<b>Front end?</b> {{profiles[index].skills1}}<br>
<b>Back end?</b> {{profiles[index].skills2}} <br>
<b>Data science?</b> {{profiles[index].skills3}} <br>
<b>Description: </b>{{profiles[index].description}}
</p>
</div>
<div class="right_button">
<form id = "swipe_right">
<input type="button" value="Yes" data-ng-click="swipeRight()" data-ng-show="logBool == 1"/>
</form>
</div>
</div>
</div>
</body>
</html>