plant recognition

This commit is contained in:
2025-06-08 17:29:41 +02:00
parent 26cdb90c3a
commit 7751d1ec64
3 changed files with 157 additions and 17 deletions

View File

@@ -10,25 +10,21 @@
<link rel="stylesheet" href="{{ url_for('static', filename='css/tooltip.css') }}">
</head>
<body class="min-h-screen bg-gradient-to-br from-[#e6ebe0] via-[#b7c7a3] to-[#6b8f71] bg-fixed">
<nav class="bg-[#f5f7f2]/95 shadow-lg backdrop-blur-md" id="main-navbar">
<div class="container mx-auto px-4">
<div class="flex justify-between">
<div class="flex space-x-7">
<div>
<a href="{{ url_for('home') }}" class="flex items-center py-4">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-7 h-7 text-[#6b8f71] mr-2">
<path stroke-linecap="round" stroke-linejoin="round" d="M12 2C7 2 2 7 2 12c0 5 5 10 10 10s10-5 10-10c0-5-5-10-10-10zm0 0c0 4 4 8 8 8" />
</svg>
<span class="font-bold text-[#3e5637] text-xl tracking-tight">Verpot Je Lot</span>
</a>
</div>
</div>
<div class="flex items-center space-x-3">
<!-- Admin links moved to footer -->
<header class="bg-white shadow-md">
<div class="container mx-auto px-4 py-4">
<div class="flex justify-between items-center">
<a href="{{ url_for('home') }}" class="text-2xl font-bold text-[#4e6b50]">
<i class="fas fa-leaf mr-2"></i>Planty
</a>
<div class="flex items-center">
<a href="{{ url_for('recognize_plant') }}" class="inline-flex items-center px-4 py-2 bg-[#4e6b50] text-white rounded-lg hover:bg-[#3e5637] transition-colors duration-200 shadow-sm">
<i class="fas fa-camera-retro mr-2"></i>
<span class="font-medium">Recognize Plant</span>
</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container mx-auto px-4 py-8">
{% with messages = get_flashed_messages(with_categories=true) %}