Fix jwt-token

This commit is contained in:
2025-09-14 18:21:45 +02:00
parent b795af5561
commit be27f8723b
4 changed files with 435 additions and 164 deletions

View File

@@ -243,11 +243,20 @@ const System = () => {
Issuer: {ssl.issuer}
</div>
)}
{ssl.fingerprint && (
<div className="text-xs text-gray-400 truncate" title={ssl.fingerprint}>
Fingerprint: {ssl.fingerprint.substring(0, 20)}...
</div>
)}
</>
)}
{ssl.error && (
<div className="text-xs text-red-600">
{ssl.error}
<div className="text-xs text-red-600 bg-red-50 p-2 rounded border">
<div className="font-medium">Error:</div>
<div>{ssl.error}</div>
{ssl.errorCode && (
<div className="text-gray-500 mt-1">Code: {ssl.errorCode}</div>
)}
</div>
)}
</div>
@@ -388,8 +397,36 @@ const System = () => {
{systemInfo.containers.error ? (
<div className="text-center text-red-600 py-8">
<XCircleIcon className="mx-auto h-12 w-12 text-red-400 mb-2" />
<div className="font-medium">Docker containers not available</div>
<div className="text-sm mt-1">{systemInfo.containers.message}</div>
<div className="font-medium mb-2">Container monitoring unavailable</div>
<div className="text-sm mb-4">{systemInfo.containers.lastError}</div>
{systemInfo.containers.troubleshooting && (
<div className="bg-blue-50 border border-blue-200 rounded-lg p-4 text-left text-sm">
<h5 className="font-medium text-blue-900 mb-2">💡 Troubleshooting Tips:</h5>
<ul className="space-y-1 text-blue-800">
<li> {systemInfo.containers.troubleshooting.docker_access}</li>
<li> {systemInfo.containers.troubleshooting.permissions}</li>
<li> {systemInfo.containers.troubleshooting.environment}</li>
</ul>
</div>
)}
{systemInfo.containers.suggestions && (
<div className="bg-yellow-50 border border-yellow-200 rounded-lg p-4 text-left text-sm mt-3">
<h5 className="font-medium text-yellow-900 mb-2">🔧 Quick Fixes:</h5>
<ul className="space-y-1 text-yellow-800">
{systemInfo.containers.suggestions.map((suggestion, index) => (
<li key={index}> {suggestion}</li>
))}
</ul>
</div>
)}
</div>
) : systemInfo.containers.info ? (
<div className="text-center text-gray-600 py-8">
<ServerIcon className="mx-auto h-12 w-12 text-gray-400 mb-2" />
<div className="font-medium mb-2">{systemInfo.containers.info}</div>
<div className="text-sm">{systemInfo.containers.message}</div>
</div>
) : (
<div className="space-y-6">