diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/DeviceManagement.sqlite-shm b/src/Elektrifikatsiya/Elektrifikatsiya/DeviceManagement.sqlite-shm
new file mode 100644
index 0000000..fe9ac28
Binary files /dev/null and b/src/Elektrifikatsiya/Elektrifikatsiya/DeviceManagement.sqlite-shm differ
diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/DeviceManagement.sqlite-wal b/src/Elektrifikatsiya/Elektrifikatsiya/DeviceManagement.sqlite-wal
new file mode 100644
index 0000000..e69de29
diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Settings.razor b/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Settings.razor
index 1183405..46f8278 100644
--- a/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Settings.razor
+++ b/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Settings.razor
@@ -2,60 +2,157 @@
@using Blazorise.Components;
@using Elektrifikatsiya.Models;
@using System.Net
-
-
-
-
- Plugs
-
-
-
-
-
-
-
-
-
- @context.Item.Name
-
-
-
-
- User: @context.Item.User
-
- Room: @context.Item.Room
-
-
- @context.Item.PowerUsage W
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ Plugs
+
+
+
+
+
+
+
+
+
+ @context.Item.Name
+
+
+
+
+ User: @context.Item.User
+
+ Room: @context.Item.Room
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Plug Settings
+
+
+
+
+
+
+ Plug Name
+
+
+ Here you can change the name of your plug
+
+
+
+
+
+
+
+
+
+ Change Max Output
+
+
+ Here you can limit how much power your plug uses
+
+
+
+
+
+
+
+
+
+ Select Room
+
+
+ Here you select or change the room the plug belongs to.
+
+
+
+
+ Rooms
+
+ Room 1
+
+ Room 2
+
+ Room 3
+
+
+
+
+
+
+
+
+ General Settings
+
+
+
+
+
+
+ Electricity Price
+
+
+ Here you enter your electricity price. This is gonna calculate the overall Price of your System
+
+
+
+
+
+
+
+
+
+
+
+
@code {
-
-
List plugs = new List() { new Device("ffff:ffff:ffff:ffff", "Josne", IPAddress.Broadcast, new User("Joe", "qiowruioewjfopa", Role.Admin), "Raum"), new Device("ffff:ffff:ffff:ffff", "Josne", IPAddress.Broadcast, new User("Joe", "Josne", Role.Admin), "Raum"), new Device("ffff:ffff:ffff:ffff", "Josne", IPAddress.Broadcast, new User("Joe", "qiowruioewjfopa", Role.Admin), "Raum"), };
+ private bool hideButtonSettings = true;
+
+ private void Toggle()
+ {
+ hideButtonSettings = !hideButtonSettings;
+ }
}
\ No newline at end of file
diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/UserDatabase.sqlite-shm b/src/Elektrifikatsiya/Elektrifikatsiya/UserDatabase.sqlite-shm
new file mode 100644
index 0000000..fe9ac28
Binary files /dev/null and b/src/Elektrifikatsiya/Elektrifikatsiya/UserDatabase.sqlite-shm differ
diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/UserDatabase.sqlite-wal b/src/Elektrifikatsiya/Elektrifikatsiya/UserDatabase.sqlite-wal
new file mode 100644
index 0000000..e69de29