-
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.
- Loading branch information
1 parent
4b4179f
commit 5a7e577
Showing
6 changed files
with
150 additions
and
13 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
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>β¨πΈπΆβ¨</title> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" content="TensorBros: Emojivision"> | ||
<link rel="shortcut icon" href="/static/favicon.ico" /> | ||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> | ||
</head> | ||
<body> | ||
<div class="navbar navbar-default"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<a href="/"> | ||
<div class="navbar-brand">πΈ Upload πΈ</div> | ||
</a> | ||
</div> | ||
<ul class="nav navbar-nav"> | ||
<li><a href="/emojivision">β¨πΆ Emojivision πΆβ¨</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
{% block content %}{% endblock %} | ||
</div> | ||
</body> | ||
</html> |
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,15 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
|
||
<h3>πΈ Upload πΈ</h3> | ||
|
||
<form method="POST" enctype="multipart/form-data"> | ||
<div class="form-group"> | ||
<label for="image">JPG</label> | ||
<input type="file" name="image" id="image" class="form-control"/> | ||
</div> | ||
<button type="submit" value="Upload" class="btn btn-success">π Launch π</button> | ||
</form> | ||
|
||
{% endblock %} |
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,27 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
|
||
<h3>β¨πΆ Emojivision πΆβ¨</h3> | ||
|
||
{% if input_image_url %} | ||
<div class="media"> | ||
<div class="media-left"> | ||
<img src="{{input_image_url}}" alt="input image" width="400"> | ||
</div> | ||
</div> | ||
{% else %} | ||
<p>π§ No πΈ found! π§</p> | ||
{% endif %} | ||
|
||
{% if output_image_url %} | ||
<div class="media"> | ||
<div class="media-left"> | ||
<img src="{{output_image_url}}" alt="output image" width="400"> | ||
</div> | ||
</div> | ||
{% else %} | ||
<p>π§ No πΈ found! π§</p> | ||
{% endif %} | ||
|
||
{% endblock %} |
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