-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
180 lines (139 loc) · 5.67 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css2?family=Lily+Script+One&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Work+Sans:wght@300&display=swap" rel="stylesheet">
<title>Fotographiq</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="client/output.css">
<script defer src="client/client.js"></script>
<script defer src="client/frontend.js"></script>
</head>
<body>
<header>
<h1 id="pageName">Fotographiq</h1>
<h6 class="subtitle is-6">A community to share and discuss photography!</h6>
</header>
<!-- make extra menu for mobile only -->
<div id="mobile-menu" class="menu">
<p class="menu-label">
Menu
</p>
<ul class="menu-list">
<li><a href="#">
Articles
</a></li>
<li><a href="#">
Inspiration
</a></li>
<li><a href="#footer">
Contact us
</a></li>
</ul>
</div>
<nav class="navbar" role="navigation" aria-label="main navigation">
<div id="navigation" class="navbar-menu">
<div class="navbar-start">
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Menu
</a>
<div class="navbar-dropdown">
<a href="#" class="navbar-item">
Articles
</a>
<a href="#" class="navbar-item">
Insppiration
</a>
<hr class="navbar-divider">
<a class="navbar-item" href="#footer">
Contact us
</a>
</div>
</div>
<a class="navbar-item">
<input type="text" class="input" id="myInput" onkeyup="myFunction()" placeholder="📷">
</a>
</div>
<div class="navbar-end">
<div class="navbar-item">
<button id="showModal" class="button is-primary is-large modal-button" data-target="modal-ter" aria-haspopup="true">New post</button>
</div>
</div>
</div>
</nav>
<main>
<form id="blogForm">
<div id="modal-ter" class="modal">
<div class="modal-background"></div>
<div class="modal-card">
<header class="modal-card-head">
<p class="modal-card-title">Quick post</p>
<button class="delete" aria-label="close"></button>
</header>
<section class="modal-card-body">
<div class="content">
<input type="text" id="title" name="title" placeholder="Post title..."/>
<label for="style">Mode:</label>
<select name="style" id="style">
<option value="Digital">Digital</option>
<option value="Analog">Analog</option>
<option value="Other">Other</option>
</select>
<label for="camera">Camera:</label>
<select name="Camera type" id="camera">
<option value="Canon">Canon</option>
<option value="Nikon">Nikon</option>
<option value="Sony">Sony</option>
<option value="Leica">Leica</option>
<option value="Other">Other</option>
</select>
<label for="lens">Lens:</label>
<select name="Lens type" id="lens">
<option value="50mm f/1.8">50mm f/1.8</option>
<option value="210 f/3">210 f/3</option>
<option value="150 f/2.5">150 f/2.5</option>
<option value="35mm f/1">35mm f/1</option>
<option value="Other">Other</option>
</select>
<br>
<br>
<label for="userfile">Choose file:</label>
<input type="file" id="userfile" name="userfile">
<br>
<span>OR</span>
<br>
<!-- should LIMIT to only accept images and no other file types -->
<label for="gifentry">Giphy search:</label>
<input type="text" id="gifentry" name="gifentry" placeholder="A random GIF will be chosen">
<br>
<br>
<textarea class="textarea" maxlength = "300" placeholder="Enter a description for your photo. Max 300 characters." rows="10" id="caption" name="caption"></textarea>
<!-- 300 word limit set here -->
</div>
</section>
<footer class="modal-card-foot">
<button id="submitButton" class="button is-success">Submit</button>
<button class="button close-modal">Cancel</button>
</footer>
</div>
</div>
</form>
<div class="columns is-multiline results" id="results">
<!-- results is a custom secondary class -->
<!-- we append the new elements HERE -->
</div>
</main>
<footer id="footer" class="footer page-footer">
<div class="content has-text-centered">
<p>
<strong>Fotographiq</strong> by <a href="https://www.linkedin.com/in/angus-woodman-6a3072151/">Angus</a>, <a href="https://www.linkedin.com/in/despoinasifouna/">Despoina</a>,
<a href="https://www.linkedin.com/in/hannahtesfay/">Hannah</a> and <a href="https://www.linkedin.com/in/peyman-simon-hewitt-49640891/">Simon</a>. All rights reserved.
</p>
</div>
</footer>
</body>
</html>