aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/templates
diff options
context:
space:
mode:
authorMitch Riedstra <Mitch@riedstra.us>2017-10-11 15:04:54 -0400
committerMitch Riedstra <Mitch@riedstra.us>2017-10-11 15:04:54 -0400
commit7e4586e4f9d1a00be0a546b490ebfd09d0b8b307 (patch)
tree18e1138ad2c1971e2fdda4e273dd383ca57258b6 /app/dispatch/templates
parent083b6cb954eceffd5eee99a0e4eb78091138d481 (diff)
downloaddispatch-tracker-7e4586e4f9d1a00be0a546b490ebfd09d0b8b307.tar.gz
dispatch-tracker-7e4586e4f9d1a00be0a546b490ebfd09d0b8b307.tar.xz
Misc developments and messing with file uploads
Diffstat (limited to 'app/dispatch/templates')
-rw-r--r--app/dispatch/templates/dispatch/loads/create.html11
-rw-r--r--app/dispatch/templates/dispatch/loads/edit.html1
-rw-r--r--app/dispatch/templates/dispatch/paperwork/add.html22
3 files changed, 34 insertions, 0 deletions
diff --git a/app/dispatch/templates/dispatch/loads/create.html b/app/dispatch/templates/dispatch/loads/create.html
index 8d84df3..cf12440 100644
--- a/app/dispatch/templates/dispatch/loads/create.html
+++ b/app/dispatch/templates/dispatch/loads/create.html
@@ -13,4 +13,15 @@
{{ form.as_p }}
<input type="submit" class="btn green" value="Save" />
</form>
+
+<div class="row" style="padding-top: 50px">
+ <div class="col s12">
+ <div class="card steel-blue darken-2">
+ <div class="card-content">
+ Note: You must first save the load to attach files
+ </div>
+ </div>
+ </div>
+</div>
+
{% endblock %}
diff --git a/app/dispatch/templates/dispatch/loads/edit.html b/app/dispatch/templates/dispatch/loads/edit.html
index 37b4bb8..f43c242 100644
--- a/app/dispatch/templates/dispatch/loads/edit.html
+++ b/app/dispatch/templates/dispatch/loads/edit.html
@@ -13,4 +13,5 @@
{{ form.as_p }}
<input type="submit" class="btn blue" value="Update" />
</form>
+
{% endblock %}
diff --git a/app/dispatch/templates/dispatch/paperwork/add.html b/app/dispatch/templates/dispatch/paperwork/add.html
new file mode 100644
index 0000000..98c51cf
--- /dev/null
+++ b/app/dispatch/templates/dispatch/paperwork/add.html
@@ -0,0 +1,22 @@
+{% extends 'dispatch/base.html' %}
+
+{% block title %}Edit - {{ object.load_number }}{% endblock %}
+
+{% block content %}
+<div class="row">
+ <div class="col s12 m6">
+ <h1>{{object.name}}</h1>
+ </div>
+</div>
+
+fuck
+
+{{load}}
+{{form}}
+
+<form action="" method="post">{% csrf_token %}
+ {{ form.as_p }}
+ <input type="submit" class="btn blue" value="Update" />
+</form>
+
+{% endblock %}