-
Notifications
You must be signed in to change notification settings - Fork 1
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
0 parents
commit 2a5d12e
Showing
9 changed files
with
706 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.pyc | ||
*.db | ||
|
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 @@ | ||
web: python app.py |
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,22 @@ | ||
import os | ||
|
||
from flask import Flask | ||
from flask import render_template | ||
|
||
app = Flask(__name__) | ||
|
||
|
||
@app.route('/') | ||
def home(): | ||
return render_template('index.html') | ||
|
||
|
||
@app.route('/robots.txt') | ||
def robots(): | ||
res = app.make_response('User-agent: *\nAllow: /') | ||
res.mimetype = 'text/plain' | ||
return res | ||
|
||
if __name__ == '__main__': | ||
port = int(os.environ.get('PORT', 5000)) | ||
app.run(host='0.0.0.0', port=port) |
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,4 @@ | ||
Flask==0.9 | ||
Jinja2==2.6 | ||
Werkzeug==0.8.3 | ||
wsgiref==0.1.2 |
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
body { | ||
direction: rtl; | ||
background: #dff0f5; | ||
font: 300 100.01%/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; | ||
color: #002b36; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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,38 @@ | ||
<!doctype html> | ||
<!--[if lt IE 7 ]> <html class="no-js ie6"> <![endif]--> | ||
<!--[if IE 7 ]> <html class="no-js ie7"> <![endif]--> | ||
<!--[if IE 8 ]> <html class="no-js ie8"> <![endif]--> | ||
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" prefix="og: http://ogp.me/ns#"> <!--<![endif]--> | ||
<head> | ||
<meta charset="utf-8"> | ||
|
||
<title>ויפי-פתוח || מפלגת הפיראטים הישראלית</title> | ||
|
||
<meta name="description" content=""> | ||
<meta name="keywords" content=""> | ||
<meta name="author" content=""> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=0.4"> | ||
<meta name="robots" content="all"> | ||
|
||
<meta property="og:title" content=""/> | ||
<meta property="og:url" content=""/> | ||
|
||
<link rel="canonical" href=""> | ||
<link rel="shortlink" href=""> | ||
|
||
<link rel="shortcut icon" href="static/img/favicon.ico"> | ||
|
||
<link rel="stylesheet" href="static/css/bootstrap.min.css" type="text/css"> | ||
<link rel="stylesheet" href="static/css/main.css" type="text/css"> | ||
|
||
</head> | ||
|
||
<body lang="en"> | ||
{% block page_content %} | ||
<div id="main" class="container" role="main"> | ||
<h1>ויפי-פתוח</h1> | ||
</div> | ||
{% endblock %} | ||
</body> | ||
</html> |