-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On top of having a database to store our input/outputs in we now are able to access these results directly from our website
- Loading branch information
Showing
5 changed files
with
61 additions
and
39 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,12 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Article Detail</title> | ||
</head> | ||
<body> | ||
<h1>Article Detail</h1> | ||
<pre>{{ article_content[0] }}</pre> | ||
<a href="{{ url_for('index') }}" class="btn btn-primary">Back to Home</a> | ||
|
||
</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
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,19 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Previous Articles</title> | ||
</head> | ||
<body> | ||
<h1>Previously Generated Articles</h1> | ||
<ul> | ||
{% for data in previous_data %} | ||
<li> | ||
<a href="{{ url_for('article_detail', timestamp=data[1]) }}">{{ data[0] }}</a> | ||
</li> | ||
|
||
{% endfor %} | ||
<a href="{{ url_for('index') }}" class="btn btn-primary">Back to Home</a> | ||
|
||
</ul> | ||
</body> | ||
</html> |