backup
This commit is contained in:
1 parent
d88c383df2
commit
d44dc783ee
5 files changed
+113
-38
No files matched your search
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}">
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% block body %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,41 @@
|
||||
{% extends 'base.html' %} {% block head %}
|
||||
<title>Anka Anvil</title>
|
||||
{% endblock %} {% block body %}
|
||||
<div class="content">
|
||||
<h3 style="text-align: center">Please choose an application below</h3>
|
||||
<ul>
|
||||
<li>Flash Firmware</li>
|
||||
<li>Create PCB Panel</li>
|
||||
</ul>
|
||||
<!-- <h1 style="text-align: center">Task Master</h1>
|
||||
{% if tasks|length < 1 %}
|
||||
<h4 style="text-align: center">There are no tasks. Create one below!</h4>
|
||||
{% else %}
|
||||
<table>
|
||||
<tr>
|
||||
<th>Task</th>
|
||||
<th>Added</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
{% for task in tasks %}
|
||||
<tr>
|
||||
<td>{{ task.content }}</td>
|
||||
<td>{{ task.date_created.date() }}</td>
|
||||
<td>
|
||||
<a href="/delete/{{task.id}}">Delete</a>
|
||||
<br>
|
||||
<a href="/update/{{task.id}}">Update</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endif %}
|
||||
|
||||
<div class="form">
|
||||
<form action="/" method="POST">
|
||||
<input type="text" name="content" id="content">
|
||||
<input type="submit" value="Add Task">
|
||||
</form>
|
||||
</div> -->
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user