-
Notifications
You must be signed in to change notification settings - Fork 6
/
create.html
124 lines (109 loc) · 4.9 KB
/
create.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GameStore</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="img/logo.ico">
<!-- GOOGLE FONTS CSS -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins&display=swap">
<!-- FONT AWESOME CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="stylesheet" href="css/login_register_edit_create.css">
</head>
<body>
<!-- <div class="error">
<div class="errorBox">
<div class="container">
<h1>Error</h1>
</div>
</div>
</div> -->
<header>
<div class="container">
<div class="logoArea">
<a href="/" class="image"><img src="./img/logo2.png"></a>
<a href="/" class="siteName">
<h1><span class="highlight">Game</span> Store</h1>
</a>
</div>
<div class="menuArea">
<div class="menuBtn">
<span class="line-1"></span>
<span class="line-2"></span>
<span class="line-3"></span>
</div>
</div>
<div class="navBar">
<ul>
<li><a href="index.html" class="active">🏠Home</a></li>
<li><a href="categoryGame.html">🏹Action</a></li>
<li><a href="categoryGame.html">🔑Adventure</a></li>
<li><a href="categoryGame.html">💃Simulation</a></li>
<li><a href="categoryGame.html">🌴Survival</a></li>
<li><a href="categoryGame.html">⚽Sports</a></li>
<li><a href="categoryGame.html">🚗Racing</a></li>
<li><a href="categoryGame.html">💀Horror</a></li>
<li><a href="create.html">✍🏻Create post</a></li>
<li><a href="">🚪LogOut</a></li>
<li><a href="profile.html">👨💻My Profile</a></li>
<li><a href="login.html">🔑LogIn</a></li>
<li><a href="register.html">✍🏻Register</a></li>
</ul>
</div>
</div>
</header>
<main class="bg3">
<div class="main-container">
<div class="box wideBox">
<h1 class="formName">Create Game</h1>
<form>
<label>Name</label>
<input type="text" formControlName="name" name="name" minlength="3" required />
<label>Game Type</label>
<select name="type" formControlName="type" required>
<option disabled selected value="">Select Game Type</option>
<option value="action">Action</option>
<option value="adventure">Adventure</option>
<option value="simulation">Simulation</option>
<option value="survival">Survival</option>
<option value="sports">Sports</option>
<option value="racing">Racing</option>
<option value="horror">Horror</option>
</select>
<label>Image URL</label>
<input type="text" formControlName="imageURL" name="imageURL" required
pattern="^(https?:\/\/).*\.(jpg|png)$">
<label>Description</label>
<textarea formControlName="description" name="description" required minlength="10"></textarea>
<label>Price</label>
<input type="number" formControlName="price" name="price" min="0" required>
<label>Download URL</label>
<input type="text" formControlName="downloadURL" name="downloadURL" required
pattern="^(https?:\/\/).*$">
<button class="submitBtn" type="submit">Create Game</button>
</form>
</div>
</div>
</main>
<footer>
<div class="container">
<div class="navBar">
<ul>
<li><a href="/">HOME</a></li>
<li><a href="#">ABOUT</a></li>
<li><a href="#">CONTACT US</a></li>
</ul>
</div>
<div class="textArea">
<h1>Designed with<span class="red"> ❤</span> by
<a><span class="colored">Muki</span></a> | Distributed by
<a><span class="colored">Muksin</span></a>
</h1>
</div>
</div>
</footer>
</body>
<script src="js/navbar.js"></script>
</html>