Merge branch 'feature/bootstrap5-migration'

This commit is contained in:
Vlad 2025-05-18 00:52:44 +03:00
commit 545b60ff47
5 changed files with 26 additions and 4 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ __pycache__/
*.pyc
logs
node_modules/

4
app.py
View File

@ -741,7 +741,7 @@ def api_reqimage():
access_code = request.args.get('access_code', None)
vin = request.args.get('vin', None)
user_ip = get_ip(request) ## определение ip клиента
# user_ip = get_ip(request) ## определение ip клиента
# базовые проверки входящих аргументов
if len(vin) != 17 or vin is None:
@ -813,7 +813,7 @@ def api_reqimage():
for it in res:
images.append({
'num':nm,
'url':'https://salimages.salvagedb/{}/{}'.format(req_id, it[0])
'url':'https://salvagedb.com/simages/{}/{}'.format(req_id, it[0])
})
nm = nm + 1
ret = {'status': 'Image_found', 'Images':images}

View File

@ -2,3 +2,4 @@ flask
oracledb
cacheing
reportlab
aiogram

View File

@ -1396,3 +1396,23 @@ a.menu:after, .dropdown-toggle:after {
line-height: 1.6;
color: #666;
}
@media (max-width: 576px) {
.lead:not(.lead-main) {
display: none !important;
}
.display-4 {
font-size: 1.6rem;
line-height: 1.2;
}
.navbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1050;
}
body {
padding-top: 56px;
}
}

View File

@ -6,7 +6,7 @@
<div class="container-lg py-4">
<div class="p-5 mb-4 bg-light rounded-3">
<h1 class="display-4">Buying a Used Car? Check it!</h1>
<p class="lead">
<p class="lead lead-main">
<a href="https://www.salvagedb.com/" title="Salvagedb.com" rel="nofollow">Salvagedb.com</a> provides
information about salvage or junk vehicles; damage from hail, flood or fire; mileage discrepancies or
odometer rollback; and gray market vehicles. We do not claim that the car got in our databank has salvage