-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For the moment, templates are outside the code directory. I'm not sure if this is the ideal direction; it depends what deployment looks like.
- Loading branch information
1 parent
e6ab224
commit e0f1418
Showing
5 changed files
with
49 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,5 @@ insert_final_newline = true | |
[*.py] | ||
indent_size = 4 | ||
|
||
[*.md] | ||
[*.{md,html}] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,5 +37,6 @@ | |
|
||
install_requires=[ | ||
'starlette', | ||
'jinja2', | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>Virtual Competition Code Submission — Student Robotics</title> | ||
|
||
<link | ||
rel="stylesheet" | ||
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" | ||
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" | ||
crossorigin="anonymous" | ||
/> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>Virtual Competition Code Submission</h1> | ||
<div class="row"> | ||
<form action="{{ url_for('upload') }}" method="POST" class="col-sm-6"> | ||
<div class="form-group"> | ||
<label for="archive"> Select ZIP archive </label> | ||
<input | ||
class="form-control" | ||
type="file" | ||
name="archive" | ||
placeholder="robot.zip" | ||
accept="application/zip,.zip" | ||
required | ||
/> | ||
</div> | ||
<button class="btn btn-primary" type="submit">Upload</button> | ||
</form> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |