+
E1
\ No newline at end of file
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..f2169b9
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,689 @@
+
+
+
+
+
+
+
+
Line Operator Dashboard | Container Depot
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Active Containers
+
42
+
+3 since last week
+
+
+
+
+
+
+
+
+
Preinfo Sent
+
18
+
+5 since last week
+
+
+
+
+
+
+
+
+
Pending Orders
+
7
+
2 require attention
+
+
+
+
+
+
+
+
+
Recent Container Activity
+
+
+
+
+
+
+ | Container |
+ Type |
+ Status |
+ Date |
+
+
+
+
+ | MSCU1234567 |
+ 40HC |
+
+ Received
+ |
+ 2023-06-15 |
+
+
+ | MSCU7654321 |
+ 20DV |
+
+ Preinfo
+ |
+ 2023-06-14 |
+
+
+ | MSCU2468135 |
+ 40DV |
+
+ Order
+ |
+ 2023-06-13 |
+
+
+ | MSCU1357924 |
+ 20RF |
+
+ Expedited
+ |
+ 2023-06-12 |
+
+
+
+
+
+
+
+
+
+
Payment Status
+
+
+
+
+
+
+ | Invoice |
+ Amount |
+ Status |
+ Due Date |
+
+
+
+
+ | INV-2023-0042 |
+ $1,250.00 |
+
+ Paid
+ |
+ 2023-06-10 |
+
+
+ | INV-2023-0041 |
+ $875.50 |
+
+ Pending
+ |
+ 2023-06-20 |
+
+
+ | INV-2023-0040 |
+ $2,100.00 |
+
+ Overdue
+ |
+ 2023-06-05 |
+
+
+ | INV-2023-0039 |
+ $950.25 |
+
+ Paid
+ |
+ 2023-05-28 |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Submit Container Preinfo
+
Provide information about containers that will arrive at the depot
+
+
+
+
+
+
+
Recent Preinfo Submissions
+
+
+
+
+
+
+ | Container |
+ Type |
+ Est. Arrival |
+ Status |
+ Actions |
+
+
+
+
+ | MSCU7654321 |
+ 20DV |
+ 2023-06-18 |
+
+ Pending
+ |
+
+
+
+ |
+
+
+ | MSCU9876543 |
+ 40HC |
+ 2023-06-17 |
+
+ Received
+ |
+
+
+ |
+
+
+ | MSCU1122334 |
+ 20RF |
+ 2023-06-16 |
+
+ Delayed
+ |
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
Create Expedition Order
+
Request containers to be expedited from the depot
+
+
+
+
+
+
+
+
+
Active Expedition Orders
+
+
+
+
+
+
+ | Order ID |
+ Container |
+ Pickup Date |
+ Status |
+ Actions |
+
+
+
+
+ | ORD-2023-0015 |
+ MSCU2468135 |
+ 2023-06-20 |
+
+ Approved
+ |
+
+
+
+ |
+
+
+ | ORD-2023-0014 |
+ Any 40HC |
+ 2023-06-19 |
+
+ Pending
+ |
+
+
+
+ |
+
+
+ | ORD-2023-0013 |
+ MSCU1357924 |
+ 2023-06-15 |
+
+ Completed
+ |
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/templates/login - test.html b/templates/login - test.html
new file mode 100644
index 0000000..79bab41
--- /dev/null
+++ b/templates/login - test.html
@@ -0,0 +1,354 @@
+
+
+
+
+
+
+
+
Container Depot Management System
+
+
+
+
+
+
+
+
+
+
+
Container Depot
+
Sign in to access the management system
+
+
+
+
+
+
Need help? Contact system administrator
+
+
+
+
+
+
+
Container Depot Management System
+
+
+
+
+
+
Line Operators
+
Manage container preinfo and expedition orders
+
+
+
+
+
+
+
Barrier Staff
+
Process container arrivals and departures
+
+
+
+
+
+
+
Depot Management
+
View inventory and generate reports
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/templates/login.html b/templates/login.html
new file mode 100644
index 0000000..aaf32d5
--- /dev/null
+++ b/templates/login.html
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+
Container Depot Management System
+
+
+
+
+
+
+
+
+
+
+
Container Depot
+
Sign in to access the management system
+
+
+
+
+
+
Need help? Contact system administrator
+
+
+
+
+
+
+
Container Depot Management System
+
+
+
+
+
+
Line Operators
+
Manage container preinfo and expedition orders
+
+
+
+
+
+
+
Barrier Staff
+
Process container arrivals and departures
+
+
+
+
+
+
+
Depot Management
+
View inventory and generate reports
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/templates/logintest.html b/templates/logintest.html
new file mode 100644
index 0000000..460414f
--- /dev/null
+++ b/templates/logintest.html
@@ -0,0 +1,114 @@
+{% load static %}
+
+
+
+
+
+
Container Depot Management System
+
+
+
+{# {{ title|default:"Container Depot Management System" }} {{ description|default:"Login to the Container Depot Management System" }}#}
+
+
+
+
+
+
+
+
+
+
+
Container Depot Management System
+
+
+
+
+
+
Line Operators
+
Manage container preinfo and expedition orders
+
+
+
+
+
+
+
Barrier Staff
+
Process container arrivals and departures
+
+
+
+
+
+
+
Depot Management
+
View inventory and generate reports
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/templates/test-gmaps.html b/templates/test-gmaps.html
new file mode 100644
index 0000000..8394330
--- /dev/null
+++ b/templates/test-gmaps.html
@@ -0,0 +1,45 @@
+
+
+
+
+
Title
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/templates/test.html b/templates/test.html
new file mode 100644
index 0000000..a27db07
--- /dev/null
+++ b/templates/test.html
@@ -0,0 +1,342 @@
+
+
+
+
+
+
Container Depot Management System
+
+
+
+
+
+
+
+
+
+
+
+
+
Container Depot Management System
+
+
+
+
+
+
Line Operators
+
Manage container preinfo and expedition orders
+
+
+
+
+
+
+
Barrier Staff
+
Process container arrivals and departures
+
+
+
+
+
+
+
Depot Management
+
View inventory and generate reports
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/users/models.py b/users/models.py
new file mode 100644
index 0000000..abb6a9a
--- /dev/null
+++ b/users/models.py
@@ -0,0 +1,21 @@
+from django.contrib.auth.models import AbstractUser
+from django.db import models
+
+class DepotUser(AbstractUser):
+ USER_TYPES = (
+ ('management', 'Management'),
+ ('barrier', 'Barrier Staff'),
+ ('client', 'Client'),
+ )
+ user_type = models.CharField(max_length=20, choices=USER_TYPES, default='client')
+
+ # Add any other fields you want
+ phone_number = models.CharField(max_length=15, blank=True, null=True)
+ email = models.EmailField(unique=True, blank=False, null=False)
+ line = models.ForeignKey(
+ 'common.LinesModel',
+ on_delete=models.CASCADE,
+ related_name='user_lines',
+ blank=True,
+ null=True
+ )
\ No newline at end of file
diff --git a/users/views.py b/users/views.py
new file mode 100644
index 0000000..d0a8dcc
--- /dev/null
+++ b/users/views.py
@@ -0,0 +1,12 @@
+from django.shortcuts import render
+from django.urls import reverse_lazy
+from django.views.generic import TemplateView, FormView
+
+from users.forms import LoginForm
+
+
+# Create your views here.
+class LoginView(FormView):
+ template_name = 'logintest.html'
+ success_url = reverse_lazy('dashboard')
+ form_class = LoginForm
\ No newline at end of file