-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
163 lines (152 loc) · 6.9 KB
/
index.html
File metadata and controls
163 lines (152 loc) · 6.9 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
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
<!DOCTYPE html>
<html>
<head>
<title>Cool down!</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="https://img.icons8.com/external-bluetone-bomsymbols-/91/000000/external-cool-green-energy-ecology-bluetone-bluetone-bomsymbols-.png">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" id="CSS" type="text/css">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.7/dist/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="scripts/script.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>
<nav class="navbar navbar-expand-lg">
<a class="navbar-brand active" id="brand" href="#">Cool down!</a>
<button class="navbar-toggler navbar-dark" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="dropdown">
<button class="btn btn-outline-* dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Articles
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton" id="dropdownMenu">
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="documentation.html">Documentation</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">About</a>
</li>
</ul>
</div>
</nav>
<div class="row px-2" id="firstsection">
<button id="hiddenMetadataBox" class="hidden">Metadata</button>
<aside class="col-lg-3 col-sm-12 collapse d-lg-block">
<h3>Metadata</h3>
<p>Add your own keywords</p>
<form>
<input type="text" name="metadata" id="userInput" placeholder="Type here" onkeypress="eventListener(event)">
<input type="button" value="add" onclick="addNewMetadata()">
</form>
<div class="tab-content" id="metadataBox">
<button class="accordion" id="label-info">Info</button>
<div class="hidden meta-content" id="info" role="tabpanel" aria-labelledby="info-tab">
</div>
<button class="accordion keywords-background" id="label-keywords">Keywords</button>
<div class="hidden meta-content" id="keywords" role="tabpanel" aria-labelledby="keywords-tab">
</div>
<button class="accordion people-background" id="label-people">People</button>
<div class="hidden meta-content" id="people" role="tabpanel" aria-labelledby="keywords-tab">
<ul></ul>
</div>
<button class="accordion organizations-background" id="label-organizations">Organizations</button>
<div class="hidden meta-content" id="organizations" role="tabpanel" aria-labelledby="keywords-tab">
<ul></ul>
</div>
<button class="accordion places-background" id="label-places">Places</button>
<div class="hidden meta-content" id="places" role="tabpanel" aria-labelledby="keywords-tab">
<ul></ul>
</div>
<button class="accordion events-background" id="label-events">Events</button>
<div class="hidden meta-content" id="events" role="tabpanel" aria-labelledby="keywords-tab">
<ul></ul>
</div>
<button class="accordion references-background" id="label-references">References</button>
<div class="hidden meta-content" id="references" role="tabpanel" aria-labelledby="keywords-tab">
<ul></ul>
</div>
</div>
<form method="GET">
<div class="checkbox">
<label>
<input type="checkbox" id="show-keywords">
Show all Keywords
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="show-people">
Show all People
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="show-organizations">
Show all Organizations
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="show-places">
Show all Places
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="show-events">
Show all Events
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="show-references">
Show all References
</label>
</div>
</form>
<button type="reset" id="cleanAll" onclick="clearAll()">Clean keywords</button>
</aside>
<div class="col-lg-6 col-sm-12" id="articleContainer">
<div id="article">
<h1><span id="smaller">Cool </span><span id="bigger">down!</span></h1>
<p><span id="initialLetter">W</span>elcome to our magazine. In a period of global warming, this is an advertisment: "Cool down!". Here you can find articles related to climate changes, global warming, pollution, researches and interesting things.
</p>
</div>
<div id="triangle"></div>
</div>
<div class="col-lg-3 col-sm-12" id="secondsection">
<div>
<h3>See our latest articles:</h3>
<ul id="articleslist">
</ul>
</div>
</div>
</div>
<footer>
<div class="fab-container">
<button class="fab-button" id="year2022" onclick="changeStyleSheet(this)">
<i class="fas fa-fan"></i>
</button>
<button class="fab-button" id="year1910" onclick="changeStyleSheet(this)">
<i class="fas fa-stream"></i>
</button>
<div class="fab-button" title="Change theme">
<i class="fas fa-paint-roller"></i>
</div>
</div>
<p>A project for the course "Information Modelling and Web Technologies"</p>
<p>MA "Digital Humanities and Digital Knowledge, University of Bologna</p>
<p>Powered by Bootstrap</p>
<p>© 2022 Copyright: Cool Down!</p>
</footer>
</body>
</html>