diff --git a/.cursorignore b/.cursorignore new file mode 100644 index 0000000..ab2a264 --- /dev/null +++ b/.cursorignore @@ -0,0 +1,6 @@ +gips.txt +ips.txt +killapp.sh +refresh_ip.sh +sync_cloud_nginx.sh +watchdog.sh diff --git a/generate_icons.py b/generate_icons.py deleted file mode 100644 index 1bc0f54..0000000 --- a/generate_icons.py +++ /dev/null @@ -1,31 +0,0 @@ -from PIL import Image -import os - -def generate_icons(): - # Создаем директорию если её нет - if not os.path.exists('static/icons'): - os.makedirs('static/icons') - - # Открываем исходное изображение - source = Image.open('static/Logo2.png') - - # Размеры иконок - sizes = [72, 96, 128, 144, 152, 192, 384, 512] - - # Генерируем иконки каждого размера - for size in sizes: - # Создаем новое изображение с белым фоном - icon = Image.new('RGBA', (size, size), (255, 255, 255, 0)) - - # Изменяем размер исходного изображения - resized = source.resize((size, size), Image.Resampling.LANCZOS) - - # Вставляем в центр - icon.paste(resized, (0, 0)) - - # Сохраняем - icon.save(f'static/icons/icon-{size}x{size}.png', 'PNG') - print(f'Создана иконка {size}x{size}') - -if __name__ == '__main__': - generate_icons() \ No newline at end of file diff --git a/static/logo2.png b/static/logo2.png new file mode 100644 index 0000000..d52db1c Binary files /dev/null and b/static/logo2.png differ diff --git a/static/manifest.json b/static/manifest.json new file mode 100644 index 0000000..52042d6 --- /dev/null +++ b/static/manifest.json @@ -0,0 +1,51 @@ +{ + "name": "Salvagedb", + "short_name": "Salvagedb", + "description": "Check vehicle history and salvage information", + "start_url": "/", + "display": "standalone", + "background_color": "#ffffff", + "theme_color": "#0d6efd", + "icons": [ + { + "src": "/static/icons/icon-72x72.png", + "sizes": "72x72", + "type": "image/png" + }, + { + "src": "/static/icons/icon-96x96.png", + "sizes": "96x96", + "type": "image/png" + }, + { + "src": "/static/icons/icon-128x128.png", + "sizes": "128x128", + "type": "image/png" + }, + { + "src": "/static/icons/icon-144x144.png", + "sizes": "144x144", + "type": "image/png" + }, + { + "src": "/static/icons/icon-152x152.png", + "sizes": "152x152", + "type": "image/png" + }, + { + "src": "/static/icons/icon-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/static/icons/icon-384x384.png", + "sizes": "384x384", + "type": "image/png" + }, + { + "src": "/static/icons/icon-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ] +} \ No newline at end of file diff --git a/static/salvagedblogo.png b/static/salvagedblogo.png new file mode 100644 index 0000000..62f89be Binary files /dev/null and b/static/salvagedblogo.png differ diff --git a/static/stamp256.png b/static/stamp256.png new file mode 100644 index 0000000..6f3747e Binary files /dev/null and b/static/stamp256.png differ diff --git a/static/stamp_big.png b/static/stamp_big.png new file mode 100644 index 0000000..99fbe88 Binary files /dev/null and b/static/stamp_big.png differ diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..a395066 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,39 @@ + + +
+ + +SALVAGEDB.COM - Comprehensive Vehicle History Check
+Report Date: {{report_date}}
+Report ID: {{report_id}}
+| VIN | +{{vin}} | +
| 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]}} | +
| VIN | +Title | +Odometer | +Odometer Status | +Primary Damage | +Secondary Damage | +
|---|---|---|---|---|---|
| {{it[1]}} | +{{it[2]}} | +{{it[3]}} | +{{it[4]}} | +{{it[5]}} | +{{it[6]}} | +
Disclaimer: This report 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 title, but the fact that it has been damaged for sure. Our site helps people avoid buying a damaged vehicle in the past.
+