diff --git a/Icon.xcf b/Icon.xcf new file mode 100644 index 0000000..f3cedb6 Binary files /dev/null and b/Icon.xcf differ diff --git a/Selector.MAUI/Pages/Login.razor b/Selector.MAUI/Pages/Login.razor index eda97e8..d99fe32 100644 --- a/Selector.MAUI/Pages/Login.razor +++ b/Selector.MAUI/Pages/Login.razor @@ -2,16 +2,18 @@ @inject SessionManager session @inject NavigationManager navigation -

Login

+
+

Login

-

@toast

+

@toast

- - - + + + - - + + +
@code { private LoginModel loginModel = new(); diff --git a/Selector.MAUI/Pages/Login.razor.css b/Selector.MAUI/Pages/Login.razor.css new file mode 100644 index 0000000..d945efd --- /dev/null +++ b/Selector.MAUI/Pages/Login.razor.css @@ -0,0 +1,32 @@ + +.form-container { + max-width: 300px; + margin: auto; +} + +h1 { + margin-top: 10px; + margin-bottom: 10px; +} + +p { + margin-top: 10px; + margin-bottom: 10px; +} + +::deep .input-boxes { + display: block; + width: 100%; + padding: 10px; + margin-top: 10px; + margin-bottom: 10px; +} + +button { + margin-left: auto; + margin-right: auto; + margin-top: 10px; + margin-bottom: 10px; + padding: 10px; + display: block; +} diff --git a/Selector.MAUI/Pages/Settings.razor b/Selector.MAUI/Pages/Settings.razor index b39fa01..4443e07 100644 --- a/Selector.MAUI/Pages/Settings.razor +++ b/Selector.MAUI/Pages/Settings.razor @@ -2,10 +2,23 @@

Settings

+ + @code { + [Inject] + private SessionManager sessionManager { get; set; } + [Inject] + private NavigationManager navigationManager { get; set; } + protected async override Task OnInitializedAsync() { } + + private void SignOut() + { + sessionManager.SignOut(); + navigationManager.NavigateTo("/"); + } } \ No newline at end of file diff --git a/Selector.MAUI/Resources/AppIcon/appicon.png b/Selector.MAUI/Resources/AppIcon/appicon.png new file mode 100644 index 0000000..1f2295c Binary files /dev/null and b/Selector.MAUI/Resources/AppIcon/appicon.png differ diff --git a/Selector.MAUI/Resources/AppIcon/appicon.svg b/Selector.MAUI/Resources/AppIcon/appicon.svg deleted file mode 100644 index 49f9800..0000000 --- a/Selector.MAUI/Resources/AppIcon/appicon.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/Selector.MAUI/Resources/AppIcon/appiconfg.svg b/Selector.MAUI/Resources/AppIcon/appiconfg.svg deleted file mode 100644 index e9b7139..0000000 --- a/Selector.MAUI/Resources/AppIcon/appiconfg.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/Selector.MAUI/Resources/Splash/splash.png b/Selector.MAUI/Resources/Splash/splash.png new file mode 100644 index 0000000..1f2295c Binary files /dev/null and b/Selector.MAUI/Resources/Splash/splash.png differ diff --git a/Selector.MAUI/Resources/Splash/splash.svg b/Selector.MAUI/Resources/Splash/splash.svg deleted file mode 100644 index 4b71383..0000000 --- a/Selector.MAUI/Resources/Splash/splash.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/Selector.MAUI/Selector.MAUI.csproj b/Selector.MAUI/Selector.MAUI.csproj index d037dbf..e1e220d 100644 --- a/Selector.MAUI/Selector.MAUI.csproj +++ b/Selector.MAUI/Selector.MAUI.csproj @@ -16,7 +16,7 @@ Selector - xyz.sarsoo.selector.maui + xyz.sarsoo.selector-maui D33C256B-9FD7-4EA2-A675-C859295E71B2 @@ -33,6 +33,8 @@ false + Automatic + iPhone Developer false @@ -49,10 +51,10 @@ - + - +