-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (53 loc) · 3.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Great+Vibes|Montserrat:400,500,700,900,900i&subset=latin-ext" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Recepti na brzaka</title>
</head>
<body>
<figure class="bg-elements"></figure>
<main class="site-content">
<div class="wrapper">
<h1 class="site__title">Ljubavi, šta ćemo danas za ručak!?</h1>
<h3 class="site__subtitle">*često postavljeno pitanje moje lijepe žene na koje jos češće nemam odgovor. Ovaj sajt je moje rješenje problema.</h3>
<ul id="recipes" class="recipes">
<figure class="recipes__skeleton">
<div class="recipes__skeleton__spinner"></div>
</figure>
<!-- Recipes are being pulled from Firebase and created with JS -->
</ul>
<a href="javascript:" class="main__button">Sljedeći recept</a>
</div>
<form class="add-recipes-form" action="javascript:">
<h2 class="add-recipes-form__title">Forma za dodavanje recepata</h2>
<h4 class="add-recipes-form__subtitle">Naziv recepta</h4>
<input type="text" class="add-recipes-form__list__input" name="Ime recepta" id="recipe-name" placeholder="Ime recepta" required>
<h4 class="add-recipes-form__subtitle">Sastojci</h4>
<ul class="add-recipes-form__list" id="ingredients">
<li class="add-recipes-form__list__item">
<input class="add-recipes-form__list__input" type="text" name="sastojak" placeholder="sastojak" >
<input class="add-recipes-form__list__input" type="text" name="kolicina" placeholder="količina" >
</li>
<a id="add-ingredient" data-add-new="ingredients" class="add-recipes-form__add-field" href="javascript:">+</a>
</ul>
<h4 class="add-recipes-form__subtitle">Priprema</h4>
<ol class="add-recipes-form__list" id="cooking-steps">
<li class="add-recipes-form__list__item">
<textarea class="add-recipes-form__list__input" type="text" name="korak-pripreme" placeholder="korak pripreme" required></textarea>
</li>
<a id="add-cooking-step" data-add-new="cooking-steps" class="add-recipes-form__add-field" href="javascript:">+</a>
</ol>
<h4 class="add-recipes-form__subtitle">Slika</h4>
<input type="file" id="recipe-image" name="slika recepta" class="add-recipes-form__list__input" required>
<button type="submit" class="button" href="javascript:" id="add-recipe">Dodaj recept +</button>
</form>
</main>
<script src="https://www.gstatic.com/firebasejs/4.9.0/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.9.0/firebase-storage.js"></script>
<script src="main.js"></script>
</body>
</html>