-
Notifications
You must be signed in to change notification settings - Fork 0
/
upload-answer.html
77 lines (63 loc) · 2.51 KB
/
upload-answer.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
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<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="styles/css/main.css">
<link rel="stylesheet" href="styles/css/list.css">
<link rel="stylesheet" href="styles/css/authentication.css">
<link rel="stylesheet" href="styles/css/upload.css">
<link rel="stylesheet" href="styles/css/font-awesome-4.7.0/css/font-awesome.min.css">
<script src="scripts/upload-answer.js" defer></script>
<title>آپلود</title>
<style></style>
</head>
<body>
<header>
<nav>
<ul>
<li class="nav-link-item"><a href="assignments.html">تکلیفها</a></li>
<li class="nav-link-item"><a href="grades.html">نمرات</a></li>
<li class="nav-link-item"><a href="submissions.html">ارسالهای سایرین</a></li>
<li class="nav-link-item"><a href="upload-answer.html">ارسال پاسخ</a></li>
</ul>
</nav>
<div>
<ul class="authentication">
<li><a id="logout-link" href="logout.html">خروج</a></li>
</ul>
</div>
</header>
<main>
<p class="lead"></p>
<article>
<section>
<input id="assignment-id-input" placeholder="شناسه تمرین"> <br>
<div class="authenticate-button">
<button id="submit-button" class="submit-button">آپلود</button>
</div>
</section>
</article>
<!-- Upload -->
<form id="file-upload-form" class="uploader">
<input id="file-upload" type="file" name="fileUpload" accept="image/*"/>
<label for="file-upload" id="file-drag">
<img id="file-image" src="#" alt="Preview" class="hidden">
<div id="start">
<i class="fa fa-download" aria-hidden="true"></i>
<div>فایل را بکشید یا انتخاب کنید.</div>
<div id="notimage" class="hidden">لطفا عکس را انتخاب کنید.</div>
<span id="file-upload-btn" class="btn btn-primary">.فایل را انتخاب کنید</span>
</div>
<div id="response" class="hidden">
<div id="messages"></div>
<progress class="progress" id="file-progress" value="0">
<span>0</span>%
</progress>
</div>
</label>
</form>
</main>
</body>
</html>