This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
project_submission.html
241 lines (216 loc) · 9.76 KB
/
project_submission.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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<link rel="stylesheet" type="text/css" href="css/project_submission.css" />
<link rel="stylesheet" type="text/css" href="css/input.css" />
<link rel="stylesheet" type="text/css" href="css/modal.css" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="css/navbar.css" />
<script type="module" src="js/navbar.js"></script>
<script type="module" src="js/user_not_login.js" async></script>
<script type="module" src="js/project_submission.js" async></script>
<script src="https://kit.fontawesome.com/3d65243769.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css" />
<title>Smart Student Projects</title>
</head>
<body>
<header>
<div class="navbar">
<div class="navbar-section" id="title-section">
<a id="title">
<img src="images/logo2.png" height="50px" /> Smart Student
Projects</a>
</div>
<div class="navbar-section" id="pages-section">
<a href="home.html">
<button class="button_nav" style="font-size: 13px">
<i class="fa-solid fa-house"></i>
Home
</button></a>
<a href="about.html">
<button class="button_nav" style="font-size: 13px">
<i class="fa-solid fa-address-card"></i>
About
</button></a>
<a href="ranking.html">
<button class="button_nav" style="font-size: 13px">
<i class="fa-solid fa-ranking-star"></i>
Ranking
</button></a>
<a href="projects.html">
<button class="button_nav" style="font-size: 13px">
<i class="fa-solid fa-lightbulb"></i>
Projects
</button></a>
</div>
<div class="navbar-section" id="login-profile-section">
<a href="project_submission.html" id="menu_submit_project">
<button class="button_nav" id="active" style="
font-size: 13px;
margin-bottom: 10px;
margin-top: 10px;
margin-right: 10px;
">
Upload
<i class="fa-solid fa-plus"></i>
</button>
</a>
<a href="index.html" id="menu_loginregister">
<button class="button_nav" style="font-size: 13px">
<i class="fa-solid fa-right-to-bracket"></i>
Login/Register
</button></a>
<a href="user_profile.html">
<button class="button_nav" style="font-size: 13px" id="menu_profile">
<i class="fa-solid fa-user"></i>
Profile
</button></a>
<a href="#"><button class="button_nav" id="menu_logout" style="background: red">
<i class="fa-solid fa-right-from-bracket fa-lg" style="color: #fff"></i></button></a>
</div>
</div>
</header>
<div id="content">
<div class="container">
<br /><br />
<div class="row row">
<div class="col-sm">
<div class="container left_container" style="width: fit-content">
<h2 style="color: #fff"><b> Tell us about your project...</b></h2>
<h4 style="color: #fff">
Let's bring Innovation to Universities around the Country!
</h4>
<p style="color: lightgrey">
Ready to share your innovation? Let's get started!
<br>
Upload your proect files and details in the form and submit it for students around the country to view and
learn!
</p>
<img src="images/upload_project.png" height="400px" />
</div>
</div>
<div class="col-sm">
<div class="container" id="inputControl">
<h3 style="color: #fff">
<b>Upload Your Innovation</b>
<i class="bx bxs-rocket bx-tada"></i><br />
</h3>
<form id="upload-form">
<div class="form-row">
<div class="input-group">
<input id="projectTitle" required="" type="text" name="text" autocomplete="off" class="input" />
<label class="user-label">Project Title</label>
</div>
<!--
<div class="input-group">
<select required id="type" name="type" class="input">
<option value="" disabled selected hidden></option>
<option value="Hardware">Hardware</option>
<option value="Software">Software</option>
</select>
<label class="user-label">Project Type</label>
</div> -->
<!-- <div class="input-group">
<div class="custom-select">
<a href="#" class="select-option">Select Project Type</a>
<div class="options">
<a href="#" data-value="Hardware">Hardware</a>
<a href="#" data-value="Software">Software</a>
</div>
</div>
<label class="user-label">Project Type</label>
</div> -->
<div class="form-group col-md-12">
<label for="type">Project Type</label>
<select class="form-control" id="projectType" required>
<option value="Software" selected>Software</option>
<option value="Hardware">Hardware</option>
</select>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-12">
<label for="file_upload">Upload Your Code</label>
<a href="#" id="helpLink">Need Help? <i class="fa-solid fa-circle-info"></i></a>
<br />
<div class="custom-file">
<input type="file" class="custom-file-input" id="customFile" required multiple />
<label class="custom-file-label" for="customFile" id="fileLabel">Choose files</label>
</div>
</div>
</div>
<div id="fileListContainer" style="display: none">
<h6>Selected Files:</h6>
<ul id="fileList"></ul>
</div>
<div class="input-group">
<textarea id="projectDescription" class="input" rows="5" type="text" name="user_query" placeholder=""
required=""></textarea>
<label class="user-label">Project Description</label>
</div>
<div class="row align-items-center justify-content-center">
<div class="col">
<a href="project_submission.html">
<button class="button_green" id="submit"
style="font-size: 13px; margin-bottom: 10px; margin-top: 10px; margin-right: 10px;">
Submit Project
<i class="fa-solid fa-upload"></i>
</button>
</a>
</div>
<div class="col text-right">
<div class="checkplagiarism">
<a href="projects.html">
<button class="button_nav" style="font-size: 13px;">
Plagiarism Check
<i class="fa-solid fa-check-to-slot"></i>
</button>
</a>
</div>
</div>
</div>
</form>
<div id="myModal" class="modal">
<div class="modal-content">
<span class="close" id="closeButton">×</span>
<p>
<b>Do you have a Hardware Project? </b><br />
Please only upload screenshots, recordings or documents.
<br />Extension types accepted: .png, .mp4, .pdf<br /><b><br />
Do you have a Software Project?</b><br />
You can upload single / multiple files. If you wish to
upload folders within your project, please only upload zip
files.
<br />Extension types accepted: any / .zip<br />
<br />
<button id="btn_close">Okay</button>
</p>
</div>
</div>
</div>
</div>
</div>
<br /><br />
</div>
</div>
<div id="searchResults"></div>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
crossorigin="anonymous"></script>
</body>
<script src="https://kit.fontawesome.com/3d65243769.js" crossorigin="anonymous"></script>
</html>