aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/templates
diff options
context:
space:
mode:
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 %}