-
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
Showing
22 changed files
with
200 additions
and
94 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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
DB_URI;sqlite:///test.db | ||
PHOTO_LOC;/path/to/img/ | ||
DB_PASSWORD;hashed-db-password | ||
LOGGINGIN_URL;loggingin | ||
LOGIN_URL;login | ||
PHOTO_URL;photo | ||
SECRET_KEY;secret-key |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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 |
---|---|---|
@@ -1,74 +1,35 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>{{ title }} - Edit</title> | ||
<link rel="icon" href="/static/img/logo.png" type="image/icon type"> | ||
<meta name="description" content="Website for Joel Coulon"> | ||
<meta name="keywords" content="Joel, Coulon, Joel Coulon, Mole1424, Programming, University of Warwick"> | ||
<link rel="stylesheet" href="../../static/css/main.css"> | ||
<link rel="stylesheet" href="../../static/css/navbar.css"> | ||
<link rel="stylesheet" href="../../static/css/editproject.css"> | ||
</head> | ||
|
||
<body> | ||
<nav class="navbar"> | ||
<a href="/" class="logo"><img src="../../static/img/logo.png" alt="logo"></a> | ||
<ul class="navlinksleft"> | ||
<li class="navlink"><a href="/aboutme">About Me</a></li> | ||
<li class="navlink"><a href="/projects">Projects</a></li> | ||
</ul> | ||
<ul class="navlinksright"> | ||
<li class="navlink"> | ||
<a href="https://github.com/Mole1424"> | ||
<svg xmlns="http://www.w3.org/2000/svg" class="navsvg" viewBox="0 0 100 100"> | ||
<path fill-rule="evenodd" clip-rule="evenodd" | ||
d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" | ||
fill="#fff" /> | ||
</svg> | ||
</a> | ||
</li> | ||
<li class="navlink" id="lastnavlink"> | ||
<a href="mailto: joel@joelcoulon.com"> | ||
<svg xmlns="http://www.w3.org/2000/svg" class="navsvg" viewBox="10 12 100 100"> | ||
<path | ||
d="M 0,27.283 V 24 a 8,8 0 0 1 8,-8 h 112 a 8,8 0 0 1 8,8 v 3.283 l -64,40 z m 66.12,48.11 a 4.004,4.004 0 0 1 -4.24,0 L 0,36.717 V 104 a 8,8 0 0 0 8,8 h 112 a 8,8 0 0 0 8,-8 V 36.717 Z" | ||
fill="#fff" /> | ||
</svg> | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
<form action="{{ action }}" method="post" class="projectform"> | ||
{% if delete %} | ||
<p>WARNING!!!! This cannot be undone</p> | ||
{% else %} | ||
<div class="field"> | ||
<label for="title">Title</label><br> | ||
<input type="text" id="title" name="title" value="{{ title }}"> | ||
</div> | ||
<div class="field"> | ||
<label for="description">Description</label><br> | ||
<textarea id="description" name="description">{{ description }}</textarea> | ||
</div> | ||
<div class="field"> | ||
<label for="image">Image</label><br> | ||
<input type="text" id="image" name="image" value="{{ image }}"> | ||
</div> | ||
<div class="field"> | ||
<label for="blog">Blog</label><br> | ||
<textarea id="blog" name="blog">{{ blog }}</textarea> | ||
</div> | ||
{% endif %} | ||
<div class="field"> | ||
<label for="password">Password</label><br> | ||
<input type="password" id="password" name="password"> | ||
</div> | ||
<input type="submit" value="Submit" class="projectbutton"> | ||
</form> | ||
</body> | ||
|
||
</html> | ||
{% extends "base.html" %} | ||
{% block title %} {{title}} - Edit {% endblock %} | ||
{% block description %} Edit a project {% endblock %} | ||
{% block head %} | ||
<link rel="stylesheet" href="/static/css/editproject.css"> | ||
{% endblock %} | ||
{% block content %} | ||
<form action="{{ action }}" method="post" class="projectform"> | ||
{% if delete %} | ||
<p>WARNING!!!! This cannot be undone</p> | ||
{% else %} | ||
<div class="field"> | ||
<label for="title">Title</label><br> | ||
<input type="text" id="title" name="title" value="{{ title }}"> | ||
</div> | ||
<div class="field"> | ||
<label for="description">Description</label><br> | ||
<textarea id="description" name="description">{{ description }}</textarea> | ||
</div> | ||
<div class="field"> | ||
<label for="image">Image</label><br> | ||
<input type="text" id="image" name="image" value="{{ image }}"> | ||
</div> | ||
<div class="field"> | ||
<label for="blog">Blog</label><br> | ||
<textarea id="blog" name="blog">{{ blog }}</textarea> | ||
</div> | ||
{% endif %} | ||
<div class="field"> | ||
<label for="password">Password</label><br> | ||
<input type="password" id="password" name="password"> | ||
</div> | ||
<input type="submit" value="Submit" class="projectbutton"> | ||
</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
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
Oops, something went wrong.