diff --git a/.gitignore b/.gitignore index e9c31ff..9a14207 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ __pycache__/ *.pyc logs node_modules/ + diff --git a/app.py b/app.py index 634ea47..03125c8 100644 --- a/app.py +++ b/app.py @@ -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} diff --git a/requirements.txt b/requirements.txt index 4f657ca..21baa58 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ flask oracledb cacheing -reportlab \ No newline at end of file +reportlab +aiogram \ No newline at end of file diff --git a/static/styles.css b/static/styles.css index 4957ee7..09d432c 100644 --- a/static/styles.css +++ b/static/styles.css @@ -1395,4 +1395,24 @@ a.menu:after, .dropdown-toggle:after { font-size: 16px; 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; + } } \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 14a3bdc..82f5041 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,7 +6,7 @@

Buying a Used Car? Check it!

-

+

Salvagedb.com 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