added new parent page + minor css/js improvements
This commit is contained in:
@ -1,12 +1,19 @@
|
||||
{% extends "base.html" %}
|
||||
{% load static %}
|
||||
{% block title %}Import tasks{% endblock %}
|
||||
{% block head %}
|
||||
<link rel="stylesheet" href="{% static "form.css" %}">
|
||||
{% endblock %}
|
||||
{% block main %}
|
||||
<form action="" method="POST" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
<div>
|
||||
<label for="file">File</label>
|
||||
<input type="file" name="file" id="file">
|
||||
</div>
|
||||
<button type="submit">Import</button>
|
||||
</form>
|
||||
<div class="container">
|
||||
<h1>Import tasks</h1>
|
||||
<form action="" method="POST" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
<div>
|
||||
<label for="file">File</label>
|
||||
<input type="file" name="file" id="file">
|
||||
</div>
|
||||
<button type="submit">Import</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user