-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
132 lines (127 loc) · 5.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>F1 Stories</title>
<link rel="stylesheet" href="assets/css/reset.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="manifest" href="./manifest.json">
<script type="module" src="assets/js/data.js"></script>
<script type="module" src="assets/js/reader.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/localforage/1.10.0/localforage.js" integrity="sha512-uhGxZliQzrw9ep2yTwrHzbi+HjpvrxpqVCbuxf86KrjQehpBrfPpJ5H/TIiCf/5jDSmqA5zttGqX724CuWelGg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="module" src="assets/js/script.js"></script>
<link rel="icon" type="image/x-icon" href="./assets/images/favicon.png">
</head>
<body>
<header>
<div id="mobile">
<img src="assets/images/f1storieslogo.png" class="logo">
<img src="assets/images/burger.png" id="burger-menu">
</div>
<div id="desktop">
<img src="assets/images/f1storieslogo.png" class="logo">
<div id="desktopoptions">
<a id="desktopcreatepost" href="#">Create Post</a>
<a id="desktopgotoprofile" href="#">Profile</a>
<a id="desktopaddrace" href="#">Add Race</a>
<a id="desktopsettings" href="#">Settings</a>
</div>
</div>
</header>
<main>
</main>
<section>
<template id="template-start-buttons">
<section class="start">
<a href="#" id="registeruser" value="register">Register</a>
<a href="#" id="loginuser" value="login">Login</a>
</section>
</template>
<template id="template-start-form">
<section class="start-form">
<form id="start-form">
<input type="text" id="input-username" placeholder="Username: " required>
<input type="password" id="input-password" placeholder="Password: " required>
<input type="submit" id="start-form-submit" value="Submit">
<p id="errors"></p>
</form>
</section>
</template>
<template id="template-home">
<section id="home">
<div id="postcontainer">
</div>
</section>
</template>
<template id="template-mobile-menu">
<section class="mobile-menu">
<div class="createpostmobilebutton">
<img src="assets/images/create-post.png">
<p>Create Post</p>
</div>
<div class="viewprofilemobilebutton">
<img src="assets/images/view-profile.png">
<p>View Profile</p>
</div>
<div class="addracemobilebutton">
<img src="assets/images/add-race.png">
<p>Add Race</p>
</div>
<div class="opensettingsmobilebutton">
<img src="assets/images/open-settings.png">
<p>Open Settings</p>
</div>
</section>
</template>
<template id="template-profile">
<section id="profile">
<div id="profileinfo">
</div>
<div id="profileposts">
</div>
</section>
</template>
<template id="template-create-story">
<section id="addstory">
<select id="raceselect">
</select>
<div>
<p>Add up to 3 images:</p>
<input type="file" multiple="multiple" accept="image/*" class="custom-file-input">
</div>
<div id="form-error"></div>
<input type="text" id="postcontent" placeholder="Tell your story here">
<button id="addstorysubmit">Post</button>
</section>
</template>
<template id="template-settings">
<section id="settings">
<div>
<p>Light mode</p>
<label class="switch">
<input id="darkmodecheckbox"type="checkbox">
<span class="slider round"></span>
</label>
<p>Dark mode</p>
</div>
<button id="logout">
Log out
</button>
</section>
</template>
<template id="template-add-race">
<section id="addrace">
<video id="video" autoplay></video>
</section>
</template>
<template id="template-edit">
<section id="edit">
<input type="text" id="edit-input-field">
<button id="submit-edit">Submit!</button>
</section>
</template>
</section>
</body>
</html>