From a8a17d2cdbdf402e0b0f5220843760797bb43c86 Mon Sep 17 00:00:00 2001 From: Vlad Date: Fri, 2 May 2025 12:32:45 +0300 Subject: [PATCH] refactor: update templates to Bootstrap 5 - index.html: Updated container to container-lg, improved search form structure, added modern spacing and alignment classes, enhanced form input and button styling - database.html: Updated table classes for better responsiveness, added table-hover and align-middle classes, improved pagination styling, added table-light class for header - search.html: Completely restructured layout, added card components for details and history, improved table responsiveness, enhanced mobile view with proper column sizing, added alert component for not found state - privacy.html: Completely restructured layout, added modern typography classes, improved readability with proper spacing, enhanced navigation with proper heading hierarchy, added card component for better content organization --- templates/database.html | 4 +- templates/index.html | 48 +++--- templates/privacy.html | 367 +++++++++------------------------------- templates/search.html | 156 +++++++++-------- 4 files changed, 193 insertions(+), 382 deletions(-) diff --git a/templates/database.html b/templates/database.html index d6ae324..e36a9cf 100644 --- a/templates/database.html +++ b/templates/database.html @@ -14,8 +14,8 @@
- - +
+ diff --git a/templates/index.html b/templates/index.html index 5a73b88..afb0551 100644 --- a/templates/index.html +++ b/templates/index.html @@ -13,33 +13,31 @@

-
-
-
- -
-
-

ENTER VIN OF YOUR CAR

-
-
-
- - -
+
+
+ +
+
+

ENTER VIN OF YOUR CAR

+
+
+
+ +
- -
+
+
diff --git a/templates/privacy.html b/templates/privacy.html index 30ebe5e..8e4043a 100644 --- a/templates/privacy.html +++ b/templates/privacy.html @@ -1,290 +1,87 @@ -{% raw %} - - - - - Privacy Policy of www.salvagedb.com - - - +{% extends "head.html" %} - - - - - - - - -
-
-
-
VIN Make
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Make{{det[0][1]}}
Model{{det[0][2]}}
Year{{det[0][3]}}
Body Style{{det[0][4]}}
Engine{{det[0][5]}}
Cylinders{{det[0][6]}}
Drive{{det[0][7]}}
+
+
+
+
+

Vehicle Details

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Make{{det[0][1]}}
Model{{det[0][2]}}
Year{{det[0][3]}}
Body Style{{det[0][4]}}
Engine{{det[0][5]}}
Cylinders{{det[0][6]}}
Drive{{det[0][7]}}
+
+
- {% if his %} -
- - - - - - - - - - - - - {% for it in his%} - - - - - - - - - {% endfor %} - -
VINTitleOdometerOdometer StatusPrimary DamageSecondary Damage
{{it[1]}}{{it[2]}}{{it[3]}}{{it[4]}}{{it[5]}}{{it[6]}}
+
+ {% if his %} +
+
+

Salvage History

+
+
+
+ + + + + + + + + + + + + {% for it in his%} + + + + + + + + + {% endfor %} + +
VINTitleOdometerOdometer StatusPrimary DamageSecondary Damage
{{it[1]}}{{it[2]}}{{it[3]}}{{it[4]}}{{it[5]}}{{it[6]}}
+
+
+
+ {% else %} +
+

Salvage history not found.

+
+ {% endif %}
- {% else %} -
-

Salvage history not found.

-
- {% endif %}
{% endblock %}