forked from PyJaipur/PyJudge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (58 loc) · 2.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans" rel="stylesheet">
<link href="css/index.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
<title>PyJudge</title>
</head>
<body>
<header class="header shift-center">
<h1>Submission Page</h1>
</header>
<!--Main Part-->
<div class="highlight">
<div class="row">
<div class="column column-20">
</div>
<div class="column">
<div class="shift-center">
<p style="text-align: center;">{{question}}</p>
<form action="/question/{{question_number}}/inputs.txt" method="get">
<button class="button">Download Test Case</button>
</form>
</div>
</div>
<div class="column column-20">
</div>
</div>
<div class="row">
<div class="column column-20">
</div>
<div class="column submit-column">
<div class="shift-center">
<!--Submission-->
<form action="/check/{{question_number}}" method = "post" enctype = "multipart/form-data">
<!-- URL can be added where file is to be stored -->
<p style="text-align: center; margin-left: 200px; margin-right: 200px; font-family: cursive;">All submissions will be tested on the already mentioned criterias.
To read the criterias, click <a href="#">here</a>.
You have to submit your code in a file.
You can submit the code in any language.
You can upload the file below.</p>
<input type="text" style="width:200px; height:30px; margin-top: 20px; margin-left:580px; text-align: center;" name="email" placeholder="Enter Username" required /><br><br><br>
<input type="file" name="upload" style="margin-left: 600px"><br>
<input type="submit" value = "Start upload" style="margin-left: 600px; margin-top: 20px; border-radius: 20px; background-image: radial-gradient(white, black); height: 30px; width: 150px;">
</form>
</div>
</div>
</div>
</div>
<!--Main Part Starts-->
<footer class="footer">
<div class="shift-center">
© Copyright 2019 | All Rights Reserved by <i>PyJaipur</i>
</div>
</footer>
</body>
</html>