switch to reboot styles
This commit is contained in:
parent
4d2cf4bbc5
commit
323a9bdd16
5 changed files with 26 additions and 30 deletions
|
@ -13,7 +13,7 @@
|
||||||
<ErrorContent>
|
<ErrorContent>
|
||||||
<PageTitle>An error occurred</PageTitle>
|
<PageTitle>An error occurred</PageTitle>
|
||||||
<LayoutView Layout="@typeof(DefaultLayout)">
|
<LayoutView Layout="@typeof(DefaultLayout)">
|
||||||
<FluentBodyContent>
|
<FluentBodyContent FluentBodyContent style="padding: 1rem">
|
||||||
<h1>An error occurred</h1>
|
<h1>An error occurred</h1>
|
||||||
<p>
|
<p>
|
||||||
If you're able to, contact a developer to get the issue fixed.
|
If you're able to, contact a developer to get the issue fixed.
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<NotFound>
|
<NotFound>
|
||||||
<PageTitle>Not found</PageTitle>
|
<PageTitle>Not found</PageTitle>
|
||||||
<LayoutView Layout="@typeof(DefaultLayout)">
|
<LayoutView Layout="@typeof(DefaultLayout)">
|
||||||
<FluentBodyContent>
|
<FluentBodyContent style="padding: 1rem">
|
||||||
<h1>Page Not Found</h1>
|
<h1>Page Not Found</h1>
|
||||||
<FluentAnchor Href="/" Appearance="Appearance.Hypertext">Head back home?</FluentAnchor>
|
<FluentAnchor Href="/" Appearance="Appearance.Hypertext">Head back home?</FluentAnchor>
|
||||||
</FluentBodyContent>
|
</FluentBodyContent>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<FluentNavLink Href="/about" Icon="@(new Icons.Regular.Size24.Info())">About</FluentNavLink>
|
<FluentNavLink Href="/about" Icon="@(new Icons.Regular.Size24.Info())">About</FluentNavLink>
|
||||||
</FluentNavMenu>
|
</FluentNavMenu>
|
||||||
|
|
||||||
<FluentBodyContent>
|
<FluentBodyContent style="padding-top: 1rem">
|
||||||
@Body
|
@Body
|
||||||
</FluentBodyContent>
|
</FluentBodyContent>
|
||||||
</FluentStack>
|
</FluentStack>
|
||||||
|
|
|
@ -9,24 +9,30 @@
|
||||||
|
|
||||||
<h1>Settings</h1>
|
<h1>Settings</h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
<FluentButton OnClick="ApplySettingsAsync" Appearance="Appearance.Accent">Apply changes</FluentButton>
|
<FluentButton OnClick="ApplySettingsAsync" Appearance="Appearance.Accent">Apply changes</FluentButton>
|
||||||
<FluentButton OnClick="ResetSettings">Undo changes</FluentButton>
|
<FluentButton OnClick="ResetSettings">Undo changes</FluentButton>
|
||||||
|
</p>
|
||||||
|
|
||||||
<h2>Appearance</h2>
|
<h2>Appearance</h2>
|
||||||
|
|
||||||
<p>Switch between light and dark mode, and pick your accent color</p>
|
<p>Switch between light and dark mode, and pick your accent color</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
<FluentRadioGroup Name="Color theme" Required="true" @bind-Value=TmpSettings.ThemeMode>
|
<FluentRadioGroup Name="Color theme" Required="true" @bind-Value=TmpSettings.ThemeMode>
|
||||||
<FluentRadio Value="@DesignThemeModes.System">System (automatically set)</FluentRadio>
|
<FluentRadio Value="@DesignThemeModes.System">System (automatically set)</FluentRadio>
|
||||||
<FluentRadio Value="@DesignThemeModes.Light">Light</FluentRadio>
|
<FluentRadio Value="@DesignThemeModes.Light">Light</FluentRadio>
|
||||||
<FluentRadio Value="@DesignThemeModes.Dark">Dark</FluentRadio>
|
<FluentRadio Value="@DesignThemeModes.Dark">Dark</FluentRadio>
|
||||||
</FluentRadioGroup>
|
</FluentRadioGroup>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
<FluentSelect
|
<FluentSelect
|
||||||
Label="Accent color" Required="true"
|
Label="Accent color" Required="true"
|
||||||
Items="@(new List<OfficeColor>((OfficeColor[]) Enum.GetValues(typeof(OfficeColor))))"
|
Items="@(new List<OfficeColor>((OfficeColor[]) Enum.GetValues(typeof(OfficeColor))))"
|
||||||
@bind-SelectedOption=TmpSettings.AccentColor
|
@bind-SelectedOption=TmpSettings.AccentColor
|
||||||
/>
|
/>
|
||||||
|
</p>
|
||||||
|
|
||||||
<h2>API Server</h2>
|
<h2>API Server</h2>
|
||||||
|
|
||||||
|
@ -40,8 +46,10 @@
|
||||||
|
|
||||||
<p>You can sign out here. If you want to, you can optionally sign out of all linked applications for your account.</p>
|
<p>You can sign out here. If you want to, you can optionally sign out of all linked applications for your account.</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
<FluentButton Appearance="Appearance.Accent" OnClick="SignOut">Sign out</FluentButton>
|
<FluentButton Appearance="Appearance.Accent" OnClick="SignOut">Sign out</FluentButton>
|
||||||
<FluentAnchor Href='@savedSettings.Settings.RelativeUrl("/auth/unlink")'>Unlink applications</FluentAnchor>
|
<FluentAnchor Href='@savedSettings.Settings.RelativeUrl("/auth/unlink")'>Unlink applications</FluentAnchor>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
height: 100vh;
|
|
||||||
font-family: var(--body-font);
|
|
||||||
font-size: var(--type-ramp-base-font-size);
|
|
||||||
line-height: var(--type-ramp-base-line-height);
|
|
||||||
font-weight: var(--font-weight);
|
|
||||||
color: var(--neutral-foreground-rest);
|
|
||||||
background: var(--neutral-fill-layer-rest);
|
|
||||||
}
|
|
|
@ -6,9 +6,9 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>blazingconsole</title>
|
<title>blazingconsole</title>
|
||||||
<base href="/" />
|
<base href="/" />
|
||||||
<link rel="stylesheet" href="css/app.css" />
|
|
||||||
<link rel="icon" type="image/png" href="favicon.png" />
|
<link rel="icon" type="image/png" href="favicon.png" />
|
||||||
<link href="blazingconsole.styles.css" rel="stylesheet" />
|
<link href="blazingconsole.styles.css" rel="stylesheet" />
|
||||||
|
<link href="_content/Microsoft.FluentUI.AspNetCore.Components/css/reboot.css" rel="stylesheet" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -75,5 +75,4 @@
|
||||||
<loading-theme storage-name="theme" />
|
<loading-theme storage-name="theme" />
|
||||||
<fluent-design-theme mode="system" primary-color="onenote" />
|
<fluent-design-theme mode="system" primary-color="onenote" />
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue