Select Git revision
add_project.html

Felix Chadwick-Smith authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
add_project.html 1.61 KiB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Add Project - Personal Portfolio Website</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.5/jszip.min.js"></script>
<script src="https://kit.fontawesome.com/221d185582.js" crossorigin="anonymous"></script>
</head>
<body>
<nav>
<ul>
<li><a href="{{ url_for('home') }}">Home</a></li>
<li><a href="{{ url_for('about') }}">About Me</a></li>
<li><a href="{{ url_for('experience') }}">Experience</a></li>
<li><a href="{{ url_for('portfolio') }}">Portfolio</a></li>
<li><a href="{{ url_for('add_project') }}">Add Project</a></li>
<li><a href="{{ url_for('contact') }}">Contact</a></li>
</ul>
</nav>
<h2>Add Project</h2>
<form method="POST" action="{{ url_for('add_project') }}">
{% if form %}
{{ form.csrf_token }}
<div class="form-group">
{{ form.title.label }}
{{ form.title(class="form-control", placeholder="Enter project title") }}
</div>
<div class="form-group">
{{ form.description.label }}
{{ form.description(class="form-control", placeholder="Enter project description") }}
</div>
<div class="form-group">
{{ form.submit(class="btn btn-primary") }}
</div>
{% endif %}
</form>
</body>
</html>