Fix jwt-token

This commit is contained in:
2025-09-19 14:50:45 +02:00
parent e578dc7055
commit 1c4e06515e

View File

@@ -632,29 +632,29 @@ const MapView = () => {
</div> </div>
<div className="flex items-center space-x-2"> <div className="flex items-center space-x-2">
<div className="w-3 h-3 border-2 border-red-600 rounded-full bg-red-600 bg-opacity-10"></div> <div className="w-3 h-3 border-2 border-red-600 rounded-full bg-red-600 bg-opacity-10"></div>
<span className="text-gray-700">Orlan/Military (Always Critical)</span> <span className="text-gray-700">{t('map.orlanMilitary')}</span>
</div> </div>
<div className="flex items-center space-x-2"> <div className="flex items-center space-x-2">
<div className="w-3 h-3 border-2 border-red-500 rounded-full bg-red-500 bg-opacity-10"></div> <div className="w-3 h-3 border-2 border-red-500 rounded-full bg-red-500 bg-opacity-10"></div>
<span className="text-gray-700">Close Range (&gt;-60dBm)</span> <span className="text-gray-700">{t('map.closeRange')}</span>
</div> </div>
<div className="flex items-center space-x-2"> <div className="flex items-center space-x-2">
<div className="w-3 h-3 border-2 border-orange-500 rounded-full bg-orange-500 bg-opacity-10"></div> <div className="w-3 h-3 border-2 border-orange-500 rounded-full bg-orange-500 bg-opacity-10"></div>
<span className="text-gray-700">Medium Range (-60 to -70dBm)</span> <span className="text-gray-700">{t('map.mediumRange')}</span>
</div> </div>
<div className="flex items-center space-x-2"> <div className="flex items-center space-x-2">
<div className="w-3 h-3 border-2 border-green-500 rounded-full bg-green-500 bg-opacity-10"></div> <div className="w-3 h-3 border-2 border-green-500 rounded-full bg-green-500 bg-opacity-10"></div>
<span className="text-gray-700">Far Range (&lt;-70dBm)</span> <span className="text-gray-700">{t('map.farRange')}</span>
</div> </div>
<div className="border-t border-gray-200 mt-2 pt-2"> <div className="border-t border-gray-200 mt-2 pt-2">
<div className="text-xs text-gray-600 mb-1">Multiple Drones at Same Detector:</div> <div className="text-xs text-gray-600 mb-1">{t('map.multipleDrones')}:</div>
<div className="text-xs text-gray-500 mb-1"> Different colors to distinguish drones</div> <div className="text-xs text-gray-500 mb-1">{t('map.differentColors')}</div>
<div className="text-xs text-gray-500 mb-1"> Different dash patterns</div> <div className="text-xs text-gray-500 mb-1">{t('map.differentPatterns')}</div>
<div className="text-xs text-gray-500 mb-1"> Drone ID labels shown</div> <div className="text-xs text-gray-500 mb-1">{t('map.droneLabels')}</div>
<div className="text-xs text-gray-500 mb-1"> Slight position offsets for visibility</div> <div className="text-xs text-gray-500 mb-1">{t('map.positionOffsets')}</div>
</div> </div>
<div className="text-xs text-gray-500 mt-2"> <div className="text-xs text-gray-500 mt-2">
Ring size = estimated distance from detector {t('map.ringSize')}
</div> </div>
</> </>
)} )}
@@ -666,7 +666,7 @@ const MapView = () => {
{/* Device List */} {/* Device List */}
<div className="bg-white rounded-lg shadow"> <div className="bg-white rounded-lg shadow">
<div className="px-6 py-4 border-b border-gray-200"> <div className="px-6 py-4 border-b border-gray-200">
<h3 className="text-lg font-medium text-gray-900">Device Status</h3> <h3 className="text-lg font-medium text-gray-900">{t('map.deviceStatus')}</h3>
</div> </div>
<div className="divide-y divide-gray-200"> <div className="divide-y divide-gray-200">
{devices.map(device => { {devices.map(device => {