diff --git a/core/templates/base.html b/core/templates/base.html index dcaac55..f2dc547 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -31,6 +31,9 @@ .navbar-brand, .nav-link { color: #fff !important; } .btn-primary { background-color: #2196F3; border-color: #2196F3; } footer { background-color: #0A1D37; color: #fff; padding: 3rem 0; } + .breadcrumb-container { background: #fff; border-bottom: 1px solid #eee; padding: 0.5rem 0; margin-bottom: 0; } + .breadcrumb-item a { text-decoration: none; color: #6c757d; } + .breadcrumb-item.active { color: #2196F3; font-weight: 600; } @@ -50,11 +53,14 @@ + {% block breadcrumbs %}{% endblock %} + {% if messages %}
{% for message in messages %} @@ -173,7 +181,6 @@

© 2026 {{ app_settings.app_name|default:"MASAR CARGO" }}. All rights reserved.

-
Debug: Lang={{ CURRENT_LANG }}, Cookie={{ request.COOKIES.django_language }}
diff --git a/core/templates/core/admin_dashboard.html b/core/templates/core/admin_dashboard.html index 52ee6f7..2372dc3 100644 --- a/core/templates/core/admin_dashboard.html +++ b/core/templates/core/admin_dashboard.html @@ -3,6 +3,19 @@ {% block title %}{% trans "Admin Dashboard" %} - MASAR CARGO{% endblock %} +{% block breadcrumbs %} + +{% endblock %} + {% block content %}
@@ -378,4 +391,4 @@ border-bottom: none; } -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/core/templates/core/article_detail.html b/core/templates/core/article_detail.html index 8820990..11eb717 100644 --- a/core/templates/core/article_detail.html +++ b/core/templates/core/article_detail.html @@ -1,14 +1,36 @@ {% extends 'base.html' %} +{% load i18n %} {% block title %}{{ article.title }}{% endblock %} -{% block content %} -
-

{{ article.title }}

-

Published on {{ article.created_at|date:"F d, Y" }}

-
-
- {{ article.content|safe }} +{% block breadcrumbs %} + +{% endblock %} + +{% block content %} +
+ + +

{{ article.title }}

+ {% if article.created_at %} +

{% trans "Published on" %} {{ article.created_at|date:"F d, Y" }}

+ {% endif %} +
+
+ {{ article.content|safe|linebreaks }}
{% endblock %} diff --git a/core/templates/core/marketplace.html b/core/templates/core/marketplace.html index 359a453..c4c256c 100644 --- a/core/templates/core/marketplace.html +++ b/core/templates/core/marketplace.html @@ -2,8 +2,28 @@ {% load i18n %} {% load static %} +{% block breadcrumbs %} + +{% endblock %} + {% block content %} -
+
+ +

{% trans "Truck Marketplace" %}

{% trans "Browse available trucks and send your shipping offers directly to truck owners." %}

diff --git a/core/templates/core/place_bid.html b/core/templates/core/place_bid.html index b3805c3..9b8001c 100644 --- a/core/templates/core/place_bid.html +++ b/core/templates/core/place_bid.html @@ -1,8 +1,29 @@ {% extends "base.html" %} {% load i18n %} +{% block breadcrumbs %} + +{% endblock %} + {% block content %} -
+
+ +
diff --git a/core/templates/core/post_shipment.html b/core/templates/core/post_shipment.html index 62f7932..a0b0848 100644 --- a/core/templates/core/post_shipment.html +++ b/core/templates/core/post_shipment.html @@ -1,8 +1,28 @@ {% extends "base.html" %} {% load i18n %} +{% block breadcrumbs %} + +{% endblock %} + {% block content %} -
+
+ +
diff --git a/core/templates/core/shipment_detail.html b/core/templates/core/shipment_detail.html index 76bcd38..5127df4 100644 --- a/core/templates/core/shipment_detail.html +++ b/core/templates/core/shipment_detail.html @@ -1,8 +1,28 @@ {% extends "base.html" %} {% load i18n %} +{% block breadcrumbs %} + +{% endblock %} + {% block content %} -
+
+ +
diff --git a/core/templates/core/shipper_dashboard.html b/core/templates/core/shipper_dashboard.html index 5048969..4a72bcb 100644 --- a/core/templates/core/shipper_dashboard.html +++ b/core/templates/core/shipper_dashboard.html @@ -1,6 +1,19 @@ {% extends "base.html" %} {% load i18n %} +{% block breadcrumbs %} + +{% endblock %} + {% block content %}
@@ -129,4 +142,4 @@
-{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/core/templates/core/truck_owner_dashboard.html b/core/templates/core/truck_owner_dashboard.html index 850f182..d7b068a 100644 --- a/core/templates/core/truck_owner_dashboard.html +++ b/core/templates/core/truck_owner_dashboard.html @@ -2,6 +2,19 @@ {% load i18n %} {% load static %} +{% block breadcrumbs %} + +{% endblock %} + {% block content %}
@@ -122,4 +135,4 @@ {% endfor %}
-{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/core/templates/core/truck_register.html b/core/templates/core/truck_register.html index defccf8..5530196 100644 --- a/core/templates/core/truck_register.html +++ b/core/templates/core/truck_register.html @@ -1,9 +1,35 @@ {% extends "base.html" %} {% load i18n %} +{% block breadcrumbs %} + +{% endblock %} + {% block content %} {% get_current_language as CURRENT_LANGUAGE %} -
+
+ +
diff --git a/core/templates/registration/login.html b/core/templates/registration/login.html index 0f5dc9d..b0edb65 100644 --- a/core/templates/registration/login.html +++ b/core/templates/registration/login.html @@ -4,6 +4,11 @@ {% block content %}
+
@@ -30,4 +35,4 @@
-{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/core/templates/registration/register.html b/core/templates/registration/register.html index c59665a..be7b142 100644 --- a/core/templates/registration/register.html +++ b/core/templates/registration/register.html @@ -4,6 +4,11 @@ {% block content %}
+
@@ -69,4 +74,4 @@
-{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/core/templates/registration/verify_otp.html b/core/templates/registration/verify_otp.html index 0b0fb5f..5e7e55b 100644 --- a/core/templates/registration/verify_otp.html +++ b/core/templates/registration/verify_otp.html @@ -3,6 +3,11 @@ {% block content %}
+
@@ -40,4 +45,4 @@
-{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/media/docs/image.jpg b/media/docs/image.jpg new file mode 100644 index 0000000..46358fa Binary files /dev/null and b/media/docs/image.jpg differ diff --git a/media/docs/image_W4CFTWv.jpg b/media/docs/image_W4CFTWv.jpg new file mode 100644 index 0000000..866b899 Binary files /dev/null and b/media/docs/image_W4CFTWv.jpg differ diff --git a/media/docs/image_bMmuhZf.jpg b/media/docs/image_bMmuhZf.jpg new file mode 100644 index 0000000..631b87a Binary files /dev/null and b/media/docs/image_bMmuhZf.jpg differ diff --git a/media/docs/image_imQ3vcb.jpg b/media/docs/image_imQ3vcb.jpg new file mode 100644 index 0000000..5c6d486 Binary files /dev/null and b/media/docs/image_imQ3vcb.jpg differ diff --git a/media/trucks/image.jpg b/media/trucks/image.jpg new file mode 100644 index 0000000..94cba4c Binary files /dev/null and b/media/trucks/image.jpg differ