diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/App.razor b/src/Elektrifikatsiya/Elektrifikatsiya/App.razor index 8286e30..a21c2fc 100644 --- a/src/Elektrifikatsiya/Elektrifikatsiya/App.razor +++ b/src/Elektrifikatsiya/Elektrifikatsiya/App.razor @@ -26,7 +26,6 @@ ActiveColor = "#1a237e", HoverColor = "#1a237e", } - } }, ColorOptions = new() @@ -61,4 +60,4 @@ Primary = "#1a237e" } }; -} \ No newline at end of file +} diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/Layouts/LoginLayout.razor b/src/Elektrifikatsiya/Elektrifikatsiya/Layouts/LoginLayout.razor index 2db01af..4962196 100644 --- a/src/Elektrifikatsiya/Elektrifikatsiya/Layouts/LoginLayout.razor +++ b/src/Elektrifikatsiya/Elektrifikatsiya/Layouts/LoginLayout.razor @@ -1,6 +1,6 @@ @using System.Diagnostics; @inherits LayoutComponentBase - + diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/Pages/AddPlug.razor b/src/Elektrifikatsiya/Elektrifikatsiya/Pages/AddPlug.razor index 84f669d..fa1bb7a 100644 --- a/src/Elektrifikatsiya/Elektrifikatsiya/Pages/AddPlug.razor +++ b/src/Elektrifikatsiya/Elektrifikatsiya/Pages/AddPlug.razor @@ -2,81 +2,82 @@ @using Blazorise.Components; @using Elektrifikatsiya.Models; @inject IVersionProvider VersionProvider - - - +
+ + + + + + + Add a plug via wifi + + + + + + + + + + IP: @context.Item.Address + + + + + + + + + + + + + + - - - Add a plug via wifi - - - - - - - - - - IP: @context.Item.Address - - - - - - - + + + + + Add a plug via IP + + + + +
+ + + +
+ +
+
+
-
-
+ +
+ - - - - - - - - - Add a plug via IP - - - - -
- - - -
- -
-
-
-
-
-
- -
-
+
@code { List plugs = new List() { new Device("Placeholder", "Plug", System.Net.IPAddress.Broadcast, 60, "Oldin", "4AHINF"), new Device("Placeholder", "Plug", System.Net.IPAddress.Broadcast, 60, "Oldin", "4AHINF"), new Device("Placeholder", "Plug", System.Net.IPAddress.Broadcast, 60, "Oldin", "4AHINF") }; diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Dashboard.razor b/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Dashboard.razor index de1ed5c..fa442fe 100644 --- a/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Dashboard.razor +++ b/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Dashboard.razor @@ -3,16 +3,26 @@ @using Elektrifikatsiya.Models; @inject IVersionProvider VersionProvider - +
+ + + Plugs + + + Mode="ListGroupMode.Static" + Style="border-radius: 0px 0px"> - + @@ -41,18 +51,29 @@ - + + + + Plugs + + + Mode="ListGroupMode.Static" + Style="border-radius: 0px 0px"> +
@context.Item.EventName @context.Item.Date
- @context.Item.Description + @context.Item.Description
diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Settings.razor b/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Settings.razor new file mode 100644 index 0000000..415044c --- /dev/null +++ b/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Settings.razor @@ -0,0 +1,61 @@ +@page "/Settings" +@using Blazorise.Components; +@using Elektrifikatsiya.Models; + + + + + Plugs + + + + + + + + + + @context.Item.Name + + + + + User: @context.Item.User +
+ Room: @context.Item.Room +
+ + @context.Item.PowerUsage W + +
+
+ + + +
+
+
+
+
+
+ + +@code { + + + List plugs = new List() { new Device("Placeholder", "Plug", System.Net.IPAddress.Broadcast, 60, "Oldin", "4AHINF"), new Device("Placeholder", "Plug", System.Net.IPAddress.Broadcast, 60, "Oldin", "4AHINF"), new Device("Placeholder", "Plug", System.Net.IPAddress.Broadcast, 60, "Oldin", "4AHINF") }; + +} diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/wwwroot/logo.png b/src/Elektrifikatsiya/Elektrifikatsiya/wwwroot/logo.png index 20091ee..413ea80 100644 Binary files a/src/Elektrifikatsiya/Elektrifikatsiya/wwwroot/logo.png and b/src/Elektrifikatsiya/Elektrifikatsiya/wwwroot/logo.png differ