Skip to content

Commit

Permalink
TEST; Favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
GOSHROW committed Jul 1, 2020
1 parent 4cf30b4 commit 1d33a96
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 214 deletions.
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ def getDownload(outFile) :
files = [f for f in os.listdir('.') if os.path.isfile(f)]
for f in files:
print(f)
return send_file(filename_or_fp = str(outFile + '.html'), as_attachment=True)
return send_file(filename_or_fp = str(outFile + '.pdf'), as_attachment=True), None
except Exception as E:
print(E)
return 'Error'

if __name__ == '__main__':
app.run(host="localhost", port=8000, debug=True)
2 changes: 2 additions & 0 deletions browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig><msapplication><tile><src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="./static/favicon.ico"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>
212 changes: 0 additions & 212 deletions out.html

This file was deleted.

Binary file removed out.pdf
Binary file not shown.
Binary file added static/android-icon-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/android-icon-36x36.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/apple-icon-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/apple-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon.ico
Binary file not shown.
2 changes: 2 additions & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<!DOCTYPE html>
<html class="no-js">
<head>
<link rel="icon" type="image/png" href="/android-icon-192x192.png">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Tutorial Extractor</title>
<link rel="shortcut icon" type="image/png" href="../static/favicon.ico">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">
Expand Down

0 comments on commit 1d33a96

Please sign in to comment.