feat: favicon en logo toegevoegd
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -238,6 +238,7 @@ class UiSmokeGoldenTest(unittest.TestCase):
|
|||||||
self.assertTrue(index_path.exists())
|
self.assertTrue(index_path.exists())
|
||||||
|
|
||||||
body = index_path.read_text(encoding="utf-8")
|
body = index_path.read_text(encoding="utf-8")
|
||||||
|
self.assertIn('/ui/assets/img/favicon.svg', body)
|
||||||
self.assertIn('/ui/base.css', body)
|
self.assertIn('/ui/base.css', body)
|
||||||
self.assertIn('/ui/theme-default.css', body)
|
self.assertIn('/ui/theme-default.css', body)
|
||||||
self.assertIn('/ui/theme-macos-soft.css', body)
|
self.assertIn('/ui/theme-macos-soft.css', body)
|
||||||
@@ -250,6 +251,9 @@ class UiSmokeGoldenTest(unittest.TestCase):
|
|||||||
self.assertIn('/ui/theme-fluent-neon.css', body)
|
self.assertIn('/ui/theme-fluent-neon.css', body)
|
||||||
self.assertIn('id="workspace"', body)
|
self.assertIn('id="workspace"', body)
|
||||||
self.assertIn('id="footer-bar"', body)
|
self.assertIn('id="footer-bar"', body)
|
||||||
|
self.assertIn('id="title-brand"', body)
|
||||||
|
self.assertIn('id="title-logo"', body)
|
||||||
|
self.assertIn('/ui/assets/img/logo.svg', body)
|
||||||
self.assertIn('id="title-zone-actions"', body)
|
self.assertIn('id="title-zone-actions"', body)
|
||||||
self.assertIn('id="status"', body)
|
self.assertIn('id="status"', body)
|
||||||
self.assertIn('id="theme-toggle"', body)
|
self.assertIn('id="theme-toggle"', body)
|
||||||
@@ -431,6 +435,9 @@ class UiSmokeGoldenTest(unittest.TestCase):
|
|||||||
self.assertTrue((static_root / "theme-fluent-neon.css").exists())
|
self.assertTrue((static_root / "theme-fluent-neon.css").exists())
|
||||||
base_css = (static_root / "base.css").read_text(encoding="utf-8")
|
base_css = (static_root / "base.css").read_text(encoding="utf-8")
|
||||||
self.assertIn(".settings-card {", base_css)
|
self.assertIn(".settings-card {", base_css)
|
||||||
|
self.assertIn("#title-brand {", base_css)
|
||||||
|
self.assertIn("#title-logo {", base_css)
|
||||||
|
self.assertIn("height: 32px;", base_css)
|
||||||
self.assertIn("width: min(1180px, calc(100vw - 32px));", base_css)
|
self.assertIn("width: min(1180px, calc(100vw - 32px));", base_css)
|
||||||
self.assertIn(".settings-activity-grid {", base_css)
|
self.assertIn(".settings-activity-grid {", base_css)
|
||||||
self.assertIn("grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);", base_css)
|
self.assertIn("grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);", base_css)
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 3.3 MiB |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 3.3 MiB |
@@ -50,6 +50,20 @@ body {
|
|||||||
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
|
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#title-brand {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#title-logo {
|
||||||
|
display: block;
|
||||||
|
width: auto;
|
||||||
|
height: 32px;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
#title-zone-actions {
|
#title-zone-actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 31 KiB |
@@ -4,6 +4,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>WebManager v2</title>
|
<title>WebManager v2</title>
|
||||||
|
<link rel="icon" href="/ui/assets/img/favicon.svg" type="image/svg+xml">
|
||||||
<link rel="stylesheet" href="/ui/base.css">
|
<link rel="stylesheet" href="/ui/base.css">
|
||||||
<link rel="stylesheet" href="/ui/theme-default.css">
|
<link rel="stylesheet" href="/ui/theme-default.css">
|
||||||
<link rel="stylesheet" href="/ui/theme-macos-soft.css">
|
<link rel="stylesheet" href="/ui/theme-macos-soft.css">
|
||||||
@@ -18,7 +19,10 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="app-shell">
|
<div id="app-shell">
|
||||||
<header id="title-zone">
|
<header id="title-zone">
|
||||||
<h1>WebManager v2</h1>
|
<div id="title-brand">
|
||||||
|
<img id="title-logo" src="/ui/assets/img/logo.svg" alt="">
|
||||||
|
<h1>WebManager v2</h1>
|
||||||
|
</div>
|
||||||
<div id="title-zone-actions">
|
<div id="title-zone-actions">
|
||||||
<div id="status"></div>
|
<div id="status"></div>
|
||||||
<button id="theme-toggle" type="button" aria-label="Toggle theme" title="Toggle theme">
|
<button id="theme-toggle" type="button" aria-label="Toggle theme" title="Toggle theme">
|
||||||
|
|||||||
Reference in New Issue
Block a user