-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup2.html
179 lines (158 loc) · 4.4 KB
/
popup2.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,900" rel="stylesheet">
<style>
.logo {
font: 42px 'Arial Narrow', sans-serif;/* I picked this font because it's the closest looking 'web safe' font http://cssfontstack.com/ */
color: #fefefe;
text-transform: uppercase;
letter-spacing: -2px;
padding-top: 5px;
}
/* stuff for both words */
.logo span {
position: relative;
}
.logo span:before,
.logo span:after {
content: '';
position: absolute;
border-width: 16px;/* makes a nice, big 64px square */
border-style: solid;
border-color: transparent;
height: 0;
z-index: 10;
}
/* stuff for 1st word */
.logo .word1 {
color: #dc006c;
margin-right: -19px;
transform: rotateY(180deg);/* using Prefix free */
display: inline-block;/* required for transform */
z-index: 10;/* stack 1st word on top */
}
.logo .word1:before {
right: -2px;/* would be left, but we flipped the word */
top: -5px;
border-top-color: #2978A0;/* match background color */
border-right-color: #2978A0;/* would be left, but we flipped the word */
}
.logo .word1:after {
left: 8px;/* would be right, but we flipped the word */
bottom: -7px;
border-bottom-color: #2978A0;
border-left-color: #2978A0;/* would be right, but we flipped the word */
}
/* stuff for 2nd word */
.logo .word2 {
z-index: 0;/* stack 2nd word below */
}
.logo .word2:before {
left: -2px;
top: -2px;
border-top-color:#2978A0;
border-left-color: #2978A0;
}
.logo .word2:after {
right: -2px;
bottom: 2px;
border-bottom-color: #2978A0;
border-right-color: #2978A0;
}
.container {
min-height: 220px;
width: 380px;
background: white;
text-align: center;
}
table {
border-collapse: collapse;
width: 100%;
font-size : 15px;
border-spacing: 5px;
font-family: 'Lato';
padding: 3px;
text-align: left;
}
th, td {
padding: 3px;
text-align: left;
border-bottom: 1px solid #ddd;
font-family: 'Lato', sans-serif;
//border-bottom: 1px solid #d9d9d9;
font-size : 14px;
}
tr:hover {background-color:#f5f5f5;}
tr {
padding:80px;
}
header{
/* background-image: url(back.png); */
background-color: #2978A0;
text-align: center;
height: 60px;
}
p{
font-family: 'Lato', sans-serif;
font-size : 25px;
}
.button {
background-color: #3385ff; /* Green */
border: none;
padding: 3px 3px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 15px;
margin: 4px 2px;
-webkit-transition-duration: 0.4s; /* Safari */
transition-duration: 0.4s;
cursor: pointer;
}
.button1 {
background-color: #3385ff;
color: white;
border: 2px solid #3385ff;
}
.button1:hover {
background-color: #3385ff;
color: black;
}
</style>
</head>
<body>
<header>
<h1 class="logo">
<span class="word1">Cur</span>
<span class="word2">Crowd</span>
</h1>
</header>
<div class = "container">
<br/>
<h3>Welcome, <strong id="crowdcur_username"></strong></h3>
<table>
<tr class="info">
<td>Money Made</td>
<td id = "dis1"></td>
</tr>
<tr class="info">
<td>Time Spent</td>
<td id = "dis2"></td>
</tr>
<tr class="info">
<td>Tasks Seen/Tasks Completed</td>
<td id = "dis3"></td>
</tr>
</table>
<br/>
<input type="button" id="clickme" class="button button1" value="Worker Dashboard">
<input type="button" id="clickme2" class="button button1" value="Platform Stats">
<div id ="underInput"></div>
</div>
<script src = "jquery-3.3.1.min.js"></script>
<script src = "helpers.js"></script>
<script src = "popup2.js"></script>
</body>
</html>