Skip to content

Commit

Permalink
add links
Browse files Browse the repository at this point in the history
  • Loading branch information
icecoldfire committed Jun 10, 2018
1 parent cecf8cb commit a8214e2
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Banner.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


class Banner:
loc = (490, 60)
loc = (490, 55)

def __init__(self, image, tekst):
# font = ImageFont.truetype(<font-file>, <font-size>)
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Ik ga op kamp
# Ik ben op kamp
Maak hier je "Ik ben op kamp banner"!

Website: https://op-kamp.herokuapp.com/
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def index():
return render_template('index.html')

@app.route('/generate', methods=['GET', 'POST'])
@app.route('/generate', methods=['POST'])
def generate():
tekst = request.form["tekst"]
image = request.form["image"]
Expand Down
12 changes: 8 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="nl">
<head>
<meta charset="UTF-8">
<title>Ik ga op kamp</title>
<title>Ik ben op kamp</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha256-Md8eaeo67OiouuXAi8t/Xpd8t2+IaJezATVTWbZqSOw=" crossorigin="anonymous" />
<style>
body {
Expand All @@ -11,8 +11,8 @@
</style>
</head>
<body class="container">
<h1>Ik ben op kamp</h1>
<p>Maak hier je "Ik ben op kamp banner"!</p>
<h1>Ik ben op kamp</h1>
<p>Maak hier je "Ik ben op kamp banner"!</p>
<form action="/cgi-bin/web.cgi" method="get">
<div class="form-group">
<label>Template:</label>
Expand All @@ -36,7 +36,11 @@ <h1>Ik ben op kamp</h1>
<textarea class="form-control" name="tekst" placeholder="Jouw kamp adres" required rows="5"></textarea>
</div>
<button class="btn btn-primary" type="submit">Maak!</button>
<button class="btn btn-secondary pull-right" type="reset">Reset</button>
<button class="btn btn-secondary" type="reset">Reset</button>
</form>
<br>
<footer>
&copy; Stijn Goethals 2018 - <a href="https://www.facebook.com/PloegZingevingScoutsGidsenVlaanderen/">Ploeg Zingeving</a> - Check code on <a href="https://github.com/icecoldfire/op-kamp">Github</a>
</footer>
</body>
</html>
10 changes: 7 additions & 3 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="nl">
<head>
<meta charset="UTF-8">
<title>Ik ga op kamp</title>
<title>Ik ben op kamp</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha256-Md8eaeo67OiouuXAi8t/Xpd8t2+IaJezATVTWbZqSOw=" crossorigin="anonymous" />
<style>
body {
Expand All @@ -11,8 +11,8 @@
</style>
</head>
<body class="container">
<h1>Ik ben op kamp</h1>
<p>Maak hier je "Ik ben op kamp banner"!</p>
<h1>Ik ben op kamp</h1>
<p>Maak hier je "Ik ben op kamp banner"!</p>
<form action="/generate" method="POST">
<div class="form-group">
<label>Template:</label>
Expand All @@ -38,5 +38,9 @@ <h1>Ik ben op kamp</h1>
<button class="btn btn-primary" type="submit">Maak!</button>
<button class="btn btn-secondary" type="reset">Reset</button>
</form>
<br>
<footer>
&copy; Stijn Goethals 2018 - <a href="https://www.facebook.com/PloegZingevingScoutsGidsenVlaanderen/">Ploeg Zingeving</a> - Check code on <a href="https://github.com/icecoldfire/op-kamp">Github</a>
</footer>
</body>
</html>

0 comments on commit a8214e2

Please sign in to comment.