Lukas Goldschmidt 3 هفته پیش
والد
کامیت
247ad85d2e
1فایلهای تغییر یافته به همراه15 افزوده شده و 15 حذف شده
  1. 15 15
      src/hermes_mcp/dashboard.py

+ 15 - 15
src/hermes_mcp/dashboard.py

@@ -25,17 +25,17 @@ def overview():
       <title>Hermes MCP Dashboard</title>
       <meta name="viewport" content="width=device-width, initial-scale=1" />
       <style>
-        body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; margin: 0; color: #111827; background: #fff; }
-        .page { width: 100%; display: flex; justify-content: center; }
-        .card { width: min(1600px, calc(100vw - 2rem)); margin: 1rem auto; padding: 1.25rem; border: 1px solid #e5e7eb; border-radius: 12px; }
-        .muted { color: #6b7280; }
-        table { width: 100%; border-collapse: collapse; margin-top: 14px; }
-        th, td { border-bottom: 1px solid #e5e7eb; padding: 10px 8px; text-align: left; vertical-align: top; }
-        th { background: #f9fafb; }
-        .pill { display:inline-block; padding:2px 10px; border-radius:999px; background:#f3f4f6; font-size: 0.9em; }
-        .nav { display:flex; gap:10px; flex-wrap:wrap; margin: 10px 0 18px; }
-        .nav a { text-decoration:none; border:1px solid #d1d5db; padding:8px 10px; border-radius:8px; color:#111827; background:#fff; }
-        pre { white-space: pre-wrap; margin: 0; }
+        body {{ font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; margin: 0; color: #111827; background: #fff; }}
+        .page {{ width: 100%; display: flex; justify-content: center; }}
+        .card {{ width: min(1600px, calc(100vw - 2rem)); margin: 1rem auto; padding: 1.25rem; border: 1px solid #e5e7eb; border-radius: 12px; }}
+        .muted {{ color: #6b7280; }}
+        table {{ width: 100%; border-collapse: collapse; margin-top: 14px; }}
+        th, td {{ border-bottom: 1px solid #e5e7eb; padding: 10px 8px; text-align: left; vertical-align: top; }}
+        th {{ background: #f9fafb; }}
+        .pill {{ display:inline-block; padding:2px 10px; border-radius:999px; background:#f3f4f6; font-size: 0.9em; }}
+        .nav {{ display:flex; gap:10px; flex-wrap:wrap; margin: 10px 0 18px; }}
+        .nav a {{ text-decoration:none; border:1px solid #d1d5db; padding:8px 10px; border-radius:8px; color:#111827; background:#fff; }}
+        pre {{ white-space: pre-wrap; margin: 0; }}
       </style>
     </head>
     <body>
@@ -81,10 +81,10 @@ def tech():
       <title>Hermes Tech Monitor</title>
       <meta name="viewport" content="width=device-width, initial-scale=1" />
       <style>
-        body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; margin: 0; color: #111827; background: #fff; }
-        .page { width: 100%; display: flex; justify-content: center; }
-        .card { width: min(1600px, calc(100vw - 2rem)); margin: 1rem auto; padding: 1.25rem; border: 1px solid #e5e7eb; border-radius: 12px; }
-        .muted { color: #6b7280; }
+        body {{ font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; margin: 0; color: #111827; background: #fff; }}
+        .page {{ width: 100%; display: flex; justify-content: center; }}
+        .card {{ width: min(1600px, calc(100vw - 2rem)); margin: 1rem auto; padding: 1.25rem; border: 1px solid #e5e7eb; border-radius: 12px; }}
+        .muted {{ color: #6b7280; }}
       </style>
     </head>
     <body>