Merge branch 'feature/bootstrap5-migration'
This commit is contained in:
commit
545b60ff47
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ __pycache__/
|
|||||||
*.pyc
|
*.pyc
|
||||||
logs
|
logs
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
||||||
|
|||||||
4
app.py
4
app.py
@ -741,7 +741,7 @@ def api_reqimage():
|
|||||||
access_code = request.args.get('access_code', None)
|
access_code = request.args.get('access_code', None)
|
||||||
vin = request.args.get('vin', 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:
|
if len(vin) != 17 or vin is None:
|
||||||
@ -813,7 +813,7 @@ def api_reqimage():
|
|||||||
for it in res:
|
for it in res:
|
||||||
images.append({
|
images.append({
|
||||||
'num':nm,
|
'num':nm,
|
||||||
'url':'https://salimages.salvagedb/{}/{}'.format(req_id, it[0])
|
'url':'https://salvagedb.com/simages/{}/{}'.format(req_id, it[0])
|
||||||
})
|
})
|
||||||
nm = nm + 1
|
nm = nm + 1
|
||||||
ret = {'status': 'Image_found', 'Images':images}
|
ret = {'status': 'Image_found', 'Images':images}
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
flask
|
flask
|
||||||
oracledb
|
oracledb
|
||||||
cacheing
|
cacheing
|
||||||
reportlab
|
reportlab
|
||||||
|
aiogram
|
||||||
@ -1395,4 +1395,24 @@ a.menu:after, .dropdown-toggle:after {
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
color: #666;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@ -6,7 +6,7 @@
|
|||||||
<div class="container-lg py-4">
|
<div class="container-lg py-4">
|
||||||
<div class="p-5 mb-4 bg-light rounded-3">
|
<div class="p-5 mb-4 bg-light rounded-3">
|
||||||
<h1 class="display-4">Buying a Used Car? Check it!</h1>
|
<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
|
<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
|
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
|
odometer rollback; and gray market vehicles. We do not claim that the car got in our databank has salvage
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user