-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
269 lines (241 loc) · 12.5 KB
/
index.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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<html>
<head>
<title>Titulo Prueba</title>
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU"
crossorigin="anonymous">
<script src="/js/d3.v3.min.js"></script>
</head>
<body>
<!-- Navegador -->
<nav id="main" class="navbar navbar-expand-lg navbar-dark" style="background: url('resources/cabecera.jpg')">
<a class="navbar-brand" href="#">
<img class="img-fluid logo-img " src="resources/logo.png" class="d-inline-block align-top" alt="Digital Academy">
</a>
<div class="collapse navbar-collapse">
<ul class="navbar-nav ml-auto">
<li class="nav-item text-right">
<p><b>Casado Herrero, Sergio</b></p>
<p><em style="font-size: 10px;">Analista Programador web</em></p>
</li>
<li class="nav-item">
<a class="nav-link" href="#"><i class="fas fa-user fa-2x white"></i></a>
</li>
</ul>
</div>
</nav>
<!-- Banner de estadisticas -->
<section class="st-panel" style="background: url('resources/fondoavances.jpg');background-size: cover;">
<div class="row text-center">
<div class="col-md-12">
<h4 class="orangered">AVANCES DE ENTRENAMIENTO</h4>
</div>
<div class="col-md-4">
<h5>MIS PUNTOS</h5>
<div class="graph1" id="graph1"></div>
</div>
<div class="col-md-4">
<h5>PROGRAMA BRONCE DIGITAL</h5>
<div class="row text-center graph2">
<div class="col-md-4">
<div id="graph21" ></div>
<img style="width:80px;height:40px;padding-top:0px;" src="resources/laurel_plata.png"/>
</div>
<div class="col-md-4">
<div id="graph22"></div>
<img style="width:80px;height:40px;" src="resources/laurel_oro.png"/>
</div>
<div class="col-md-4">
<div id="graph23"></div>
<img style="width:80px;height:40px;" src="resources/laurel_bronce.png"/>
</div>
</div>
</div>
<div class="col-md-4">
<h5>RANKING COMPARADO</h5>
<div class="row text-center graph3">
<div id="segundo" class="col-md-4"><p>Mi avance</p></div>
<div id="segundo1" class="col-md-4"><p>Participantes con tu misma función</p></div>
<div id="segundo2" class="col-md-4"><p>Con el resto de participantes</p></div>
</div>
</div>
</div>
</section>
<section class="content-panel">
<div class="container">
<div>
<nav class="navbar navbar-expand-lg navbar-pills">
<a class="navbar-brand" style="color: black;">ACTIVIDADES A ENTRENAR</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown"
aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbarNavDropdown" class="navbar-collapse collapse">
<ul class="navbar-nav mr-auto">
</ul>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" style="color: black;" href="#"><i class="far fa-address-card"></i>
Infografia</a>
</li>
<li class="nav-item">
<a class="nav-link" style="color: black;" href="#"><i class="fab fa-youtube"></i> Video</a>
</li>
<li class="nav-item">
<a class="nav-link" style="color: black;" href="#"><i class="fas fa-link"></i> Enlace</a>
</li>
</ul>
</div>
</nav>
</div>
<div class="content-menu row">
<div class="d-flex mt-2 col-md-12">
<ul class="col-md-3 nav nav-pills nav-fill nav-tabs--vertical nav-tabs--left" role="navigation">
<li class="nav-item">
<a href="#lorem" class="nav-link active" data-toggle="tab" role="tab" aria-controls="lorem">
<img width="40px" src="resources/cpu.svg" alt="Digital Academy">
<div>
<p style="margin: 0px;"><b> #BE DIGITAL Basics</b></p>
<em style="font-size: 12px;">Pendientes 12/14</em>
</div>
</a>
</li>
<li class="nav-item">
<a href="#ipsum" class="nav-link" data-toggle="tab" role="tab" aria-controls="ipsum">
<img width="40px" src="resources/eye.svg" alt="Digital Academy">
<div>
<p style="margin: 0px;"><b> #Visión Digital</b></p>
<em style="font-size: 12px;">Pendientes 7/8</em>
</div>
</a>
</li>
<li class="nav-item">
<a href="#dolor" class="nav-link" data-toggle="tab" role="tab" aria-controls="dolor">
<img width="40px" src="resources/configuration.svg" alt="Digital Academy">
<div>
<p style="margin: 0px;"><b> #Saber Digital</b></p>
<em style="font-size: 12px;">Pendientes 9/9</em>
</div>
</a>
</li>
<li class="nav-item">
<a href="#sit-amet" class="nav-link" data-toggle="tab" role="tab" aria-controls="sit-amet">
<img width="40px" src="resources/user.svg" alt="Digital Academy">
<div>
<p style="margin: 0px;"><b> #Conducta Digital</b></p>
<em style="font-size: 12px;">Pendientes 8/8</em>
</div>
</a>
</li>
<li class="nav-item">
<a href="#sports" class="nav-link" data-toggle="tab" role="tab" aria-controls="sports">
<img width="40px" src="resources/id-card.svg" alt="Digital Academy">
<div>
<p style="margin: 0px;"><b> #Cliente Digital</b></p>
<em style="font-size: 12px;">Pendientes 3/4</em>
</div>
</a>
</li>
</ul>
<div class="tab-content col-md-9">
<div class="tab-pane fade show active" id="lorem" role="tabpanel">
<img class="img-fluid" src="resources/web2.png" class="d-inline-block align-top" alt="Digital Academy">
</div>
<div class="tab-pane fade" id="ipsum" role="tabpanel">
<img class="img-fluid" src="resources/web.png" class="d-inline-block align-top" alt="Digital Academy">
</div>
<div class="tab-pane fade" id="dolor" role="tabpanel">
<img class="img-fluid" src="resources/web2.png" class="d-inline-block align-top" alt="Digital Academy">
</div>
<div class="tab-pane fade" id="sit-amet" role="tabpanel">
<img class="img-fluid" src="resources/web.png" class="d-inline-block align-top" alt="Digital Academy">
</div>
<div class="tab-pane fade" id="sports" role="tabpanel">
<img class="img-fluid" src="resources/web2.png" class="d-inline-block align-top" alt="Digital Academy">
</div>
</div>
</div>
</div>
</div>
</section>
<footer style="margin-top: 20%;">
<div>
Icons made by <a href="https://www.flaticon.com/authors/prosymbols" title="Prosymbols">Prosymbols</a> from
<a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/"
title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a>
</div>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.slim.min.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="https://d3js.org/d3-selection.v1.min.js"></script>
<script src="js/d3.v3.min.js"></script>
<script src="js/jqmeter.min.js"></script>
<script src="js/prog.js"></script>
<script type="text/javascript">
$(document).ready(function () {
d3.select("#graph1").call(drawCircularProgressBar, .85);
$('#graph21').jQMeter({
goal: '100',
raised: '50',
meterOrientation: 'vertical',
bgColor: "rgba(204, 201, 201, 0.1)",
height: '150px',
barColor: "rgba(204, 201, 201, 0.6)",
displayTotal:true
});
$('#graph22').jQMeter({
goal: '100',
raised: '80',
meterOrientation: 'vertical',
bgColor: "rgba(248, 248, 47, 0.1)",
height: '150px',
barColor: "rgba(248, 248, 47, 0.6)",
displayTotal:true
});
$('#graph23').jQMeter({
goal: '100',
raised: '42',
meterOrientation: 'vertical',
bgColor: "rgba(239, 120, 52, 0.1)",
height: '150px',
barColor: "rgba(239, 120, 52, 0.6)",
displayTotal:true
});
$('#segundo').jQMeter({
goal: '100',
raised: '50',
meterOrientation: 'vertical',
bgColor: "rgba(255, 255, 255, 0.1)",
height: '150px',
barColor: "rgba(255, 255, 255, 1)",
displayTotal:true
});
$('#segundo1').jQMeter({
goal: '100',
raised: '30',
meterOrientation: 'vertical',
bgColor: "rgba(255, 255, 255, 0.1)",
height: '150px',
barColor: "rgba(255, 255, 255, 1)",
displayTotal:true
});
$('#segundo2').jQMeter({
goal: '100',
raised: '40',
meterOrientation: 'vertical',
bgColor: "rgba(255, 255, 255, 0.1)",
height: '150px',
barColor: "rgba(255, 255, 255, 1)",
displayTotal:true
});
});
</script>
</body>
</html>