Skip to content

Commit

Permalink
wip|
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmolony committed Jan 5, 2024
1 parent d8d9317 commit 8972854
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sensor/templates/create_file_type.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1>Create File Type</h1>
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
{% for field in form %}
<div style="margin-bottom: 20px">
<div style="margin-bottom: 10px">
{{ field.label_tag }}
{{ field }}
{% if field.help_text %}
Expand Down
4 changes: 2 additions & 2 deletions sensor/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div style="text-align: center">
<h1>django-timescaledb-example</h1>
<div>
<div style="margin-bottom: 10px">
<button>
<a href="{% url 'sensor:create-file-type' %}">Create File Type</a>
</button>
</div>
<div>
<div style="margin-bottom: 10px">
<button>
<a href="{% url 'sensor:upload-file' %}">Upload File</a>
</button>
Expand Down
2 changes: 1 addition & 1 deletion sensor/templates/upload_file.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ <h1>Upload File</h1>
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
{% for field in form %}
<div style="margin-bottom: 20px">
<div style="margin-bottom: 10px">
{{ field.label_tag }}
{{ field }}
{% if field.help_text %}
Expand Down

0 comments on commit 8972854

Please sign in to comment.