-
Notifications
You must be signed in to change notification settings - Fork 0
/
photo.html
93 lines (87 loc) · 3.88 KB
/
photo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!--<meta name="viewport" content="width=device-width, initial-scale=1">-->
<link rel="stylesheet" href="photo.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="photo.js" async></script>
<title>Our Phototeca</title>
<!--Submit modal source: "https://www.freecodecamp.org/news/how-to-build-a-modal-with-javascript/"-->
<!--Hamburger menu source: "https://dev.to/ljcdev/easy-hamburger-menu-with-js-2do0"-->
</head>
<body>
<div id="container"></div>
<h1><span id="header">The protagonists of our Phototeca</span></h1>
<!--------------------Hamburger Menu starts here--------------------->
<ul class="menu">
<li><a class="menuItem" href="#">Home</a></li>
<li>
<a class="menuItem" >
<!------------------Submit Modal starts here---------------------------->
<section class="modal hidden">
<div class="flex">
<button class="btn-close">⨉</button>
</div>
<div>
<h2>Add your favourite authors:</h2>
</div>
<form action="https://wt.ops.labs.vu.nl/api23/53e16a12" method="post" id="submitForm">
<input type="text" id="author" name="author" placeholder="Author Name">
<input type="url" id="image" name="image" placeholder="Image URL">
<input type="text" id="alt" name="alt" placeholder="Alt Text">
<input type="text" id="description" name="description" placeholder="Description">
<input type="text" id="tags" name="tags" placeholder="Tags">
<p><input type="submit" value="Add"></p>
</form>
</section>
<div class="overlay hidden"></div>
<button class="btn btn-open">Submit new author</button>
<!-----------------Submit Modal ends here--------------------->
</a>
</li>
<li>
<a class="menuItem" >
<!--------------------List Modal starts here----------------->
<!-- FIXME figure a way either to make a scrollable modal, or another way to make the list in a nice way
<button class="trigger">Click here to trigger the modal!</button> <!--FIXME make this not a button, rather the text "List" to click on ->
<div class="liModal">
<div class="liModal-content">
<span class="close-button">×</span>
<p>Hello, I am a modal!</p>
</div>
</div>
-->
<!------------------------List Modal ends here-------------------->
</a>
</li>
<li><a class="menuItem" >Reset gallery</a></li>
</ul>
<button class="hamburger">
<!-- material icons https://material.io/resources/icons/ -->
<i class="menuIcon material-icons">menu</i>
<i class="closeIcon material-icons">close</i>
</button>
<!--------------------------------Hamburger Menu ends here------------------->
<section id="intro">
<h2>Short introductory word</h2>
<p>The aim of this page is to provide a little incursion in the history of some famous figures in literature history,
some of which might be familiar to the reader through their universally known work</p>
</section>
<section id="album">
<h2>Pictures of the historical figures in question</h2>
<section id="authorsAlbum">
</section>
</section>
<button type="reset" id="reset">Reset the page</button>
</div>
<nav class="links" id="test">
<!--
<a href="https://en.wikipedia.org/wiki/George_Orwell">George Orwell</a> |
<a href="https://en.wikipedia.org/wiki/Edgar_Allan_Poe">Edgar Allan Poe</a> |
<a href="https://en.wikipedia.org/wiki/Dale_Carnegie">Dale Carnegie</a>
<a style="float:right" href="report.html"><img src="http://cdn.onlinewebfonts.com/svg/img_553946.png" alt="Compatible-icon" style="height:30px;margin-bottom: 30px;"></a>
-->
</nav>
</body>
</html>