-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (82 loc) · 4.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
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
<!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">
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Nunito:ital@0;1&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" integrity="sha384-vSIIfh2YWi9wW0r9iZe7RJPrKwp6bG+s9QZMoITbCckVJqGCCRhc+ccxNcdpHuYu" crossorigin="anonymous">
<title>Document</title>
</head>
<body>
<div id="page" class="none">
<header>
<img src="img/book-logo.jpg" alt="book-logo" onclick="backToPage()">
<h3>ABC Book</h3>
<input type="text" placeholder="Search book by autor ..." onkeyup="searchBook(event)">
<i class="fas fa-search"></i>
<div class="header-right">
<span onclick="shoppingCatr()"><i class="fas fa-shopping-cart"></i></span>
<p class="number-cart">0</p>
<span class="circle"></span>
<span onclick="adminPanel()">Admin</span>
<button onclick="singout()">Sign Out</button>
</div>
</header>
<div class="slide-show">
<img src="" alt="slide" id="image">
</div>
<main id="main">
<div id="admin" class="none">
<label for="img">Slika knjige: </label>
<input type="text" placeholder="Dodati sliku knjige.." id="img-form" name="img-form">
<label for="img">Naslov knjige: </label>
<input type="text" placeholder="Dodati naslov knjige.." id="title-form" name="title-form">
<label for="img">Autor knjige: </label>
<input type="text" placeholder="Dodati autora knjige.." id="autor-form" name="autor-form">
<label for="img">Cijena knjige: </label>
<input type="text" placeholder="Dodati cijenu knjige.." id="price-form" name="price-form">
<label for="img">Opis knjige: </label>
<textarea name="book-desc" id="book-desc" cols="60" rows="10" placeholder="Dodati opis knjige..."></textarea>
<button onclick="addBookByAdmin()">Add book</button>
</div>
<div id="wrapper"></div>
</main>
<footer>
<p>©ABC Book</p>
</footer>
</div>
<div id="login-page">
<div id="login">
<img src="img/log-in.jfif" alt="me">
<label for="emeil">Enter email or username: </label>
<input type="email" placeholder="email or username" id="email" name="email">
<label for="psw">Enter password: </label>
<input type="password" placeholder="password" id="psw" name="psw">
<p class="error none"></p>
<button onclick="login()">LogIn</button>
<button onclick="singup()">SingUp</button>
</div>
</div>
<div id="singup-page" class="none">
<div id="singup">
<img src="img/log-in.jfif" alt="me">
<label for="firstnamesingup">Enter First name: </label>
<input type="text" placeholder="First name" id="firstnamesingup" name="firstnamesingup">
<label for="lastnamesingup">Enter Last name</label>
<input type="text" placeholder="Last name" id="lastnamesingup" name="lastnamesingup">
<label for="usernamesingup">Enter username: </label>
<input type="text" placeholder="Username" id="usernamesingup" name="usernamesingup">
<label for="emailsingup">Enter email: </label>
<input type="email" placeholder="Email" id="emailsingup" name="emailsingup">
<label for="pswsingup">Enter password</label>
<input type="password" placeholder="Password" id="pswsingup" name="pswsingup">
<p class="error1 none"></p>
<button onclick="singupSave()">SingUp</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>