-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
81 lines (77 loc) · 4.41 KB
/
index.html
File metadata and controls
81 lines (77 loc) · 4.41 KB
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
<!doctype html>
<html ng-app="module" ng-controller="controller" lang="{{language}}">
<head>
<title>Luca Giuliani</title>
<link rel="icon" type="image/png" href="res/icon.ico" />
<!-- Set Metadata-->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Import Styles (Bootstrap, Bootstrap Icons, Font Awesome 4, Custom Style) -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" rel="stylesheet" />
<link href="src/variables.css" rel="stylesheet" />
<link href="src/style.css" rel="stylesheet" />
<!-- Import Scripts (JQuery, Bootstrap Bundle, Angular + Components, Custom Scripts) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular-route.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.8.3/angular-sanitize.min.js"></script>
<script src="src/controller.js"></script>
<script src="src/constants.js"></script>
</head>
<body>
<button id="print" ng-if="page === 'complete'" ng-click="switchPrint()">{{printToggle}}</button>
<img id="language" ng-click="switchLanguage()" ng-src="res/{{languageToggle}}.png" alt="Language Flag Switch" />
<div id="curriculum" ng-class="page === 'complete'? 'print-' + print : ''">
<header>
<img id="photo" src="res/profile.jpg" alt="Profile Picture" />
<div class="d-flex">
<!-- outer div needed to have top margin in extra-large devices -->
<div id="title" class="d-flex flex-column justify-content-center">
<h1 id="name">
<strong>LUCA GIULIANI, PhD</strong>
</h1>
<span id="tag">Data & Computer Scientist</span>
</div>
</div>
<div id="info" class="d-flex py-2 py-xl-3">
<div id="toggled" class="collapse d-sm-block d-full-block w-100">
<ul class="d-grid gap-0">
<li ng-repeat="item in info" ng-class="{'flex-sm-row-reverse': $odd && page !== 'complete'}" class="d-flex flex-lg-row align-items-center px-0 py-2 py-short-0">
<span class="bi bi-{{item.icon}}"></span>
<span ng-bind-html="item.html" class="info-item"></span>
</li>
</ul>
</div>
<a class="d-block d-sm-none toggler px-3 py-1" data-bs-toggle="collapse" role="button" href="#toggled" aria-expanded="false" aria-controls="toggled">
<span class="bi bi-plus-lg open"></span>
<span class="bi bi-dash-lg close"></span>
</a>
</div>
</header>
<nav class="navbar navbar-expand">
<ul class="navbar-nav w-100">
<li ng-repeat="(title, details) in sections" class="nav-item text-center w-100" ng-class="{'current-page': title === page}">
<a class="nav-link" ng-href="#{{title}}">
<span class="d-inline bi bi-{{details.icon}}"></span>
<span class="d-none d-lg-inline text-uppercase">{{details.text}}</span>
</a>
</li>
</ul>
</nav>
<table class="w-100">
<thead id="header-margin"></thead>
<tbody>
<tr>
<td class="p-0">
<main ng-class="page" ng-view></main>
</td>
</tr>
</tbody>
<tfoot id="footer-margin"></tfoot>
</table>
<footer class="fixed-bottom d-flex align-items-center">{{footer}}</footer>
</div>
</body>
</html>