From ff37097c2f48a9c08ae511b6042f39f467543c5b Mon Sep 17 00:00:00 2001 From: Aldin296 <99395958+Aldin296@users.noreply.github.com> Date: Wed, 22 Mar 2023 09:27:28 +0100 Subject: [PATCH] Settings Page responisve --- .../Elektrifikatsiya/DeviceManagement.sqlite | Bin 4096 -> 24576 bytes .../DeviceManagement.sqlite-shm | Bin 32768 -> 32768 bytes .../DeviceManagement.sqlite-wal | Bin 24752 -> 0 bytes .../Elektrifikatsiya/Pages/Settings.razor | 230 +++++++++--------- 4 files changed, 120 insertions(+), 110 deletions(-) diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/DeviceManagement.sqlite b/src/Elektrifikatsiya/Elektrifikatsiya/DeviceManagement.sqlite index 81dae899f351f43f4e0ef4b510c62a2f6b578c80..b7a73e251a9af12973c0b46e7f44df53659c3a0b 100644 GIT binary patch literal 24576 zcmeI&&u-H&90%|u{WDapWtUNjUM!zhZGaFjKxo|&Elo?BO06_eg~g1BHepQ$T)0ed zDATP`y_Ml7ezMucumqon5$DkoENL>H@R z^X9y;S8p`*9}iRi-IU82@~bGLdgd#eEibQDh$yt{UzkBK=Sf0|$3`A;dZG?(o3wh) zz;jK@@d)josXbHDcdf4Jj>#DtpU5DNKjUl5)sXdRdw4Z24<09Wa{c&NALlud%MyNd%_EWdMHJO7 ztmJ5I@F)_vCt_;z=8?WvKRndGFY=tpWz|?&tH}2_gy77o{FLM ziy|^q&Abn?4-^PM00Izz00bZa0SG_<0uX=z1a?&b@BdxREY1Z12tWV=5P$##AOHaf zKmY;|xD&wp|IPv}2tWV=5P$##AOHafKmY;|fWWQ_RI-EN|Npz1UYrX85P$##AOHaf nKmY;|fB*y_kPG1bkBa~S2tWV=5P$##AOHafKmY;|*nNS2>qP#F delta 26 gcmZoTz}TQLL7J73fq{W>Vxv8fp%*W;Nnj2?097*u{{R30 diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/DeviceManagement.sqlite-shm b/src/Elektrifikatsiya/Elektrifikatsiya/DeviceManagement.sqlite-shm index 69987d0f42d29ae6a46a1e437b19d668cf7fc743..fe9ac2845eca6fe6da8a63cd096d9cf9e24ece10 100644 GIT binary patch delta 89 zcmZo@U}|V!;+1%$%K!t66BkO0TChv7nNGgVi7uf4lYpuIj|Mg_jCI<$LE9Dp%F!O} delta 205 zcmZo@U}|V!s+V}A%K!t63=9HnKn@7kWpovNd6s%WHV%7zbe6XV;S zhwZ^6*sLu&L(SHo58F-Gt#l9F{(RG|=krYiScObyO{&cp{8`(;h)JiZNsTnk6JL>Q zYDFc*g)>yAEDLEhpH?$87EO)!$q6+n3V!mu^)maYS+F2hBWlIeth7Mu+nW zGQ(zdh_*AcJjj8x5_Q4KY6gotPYo-~#D9{Uvpw&YTPx1m-dgu$DS5WSN^aG1uRGPS z3tMGjaNYLmx_hlu&DiySEhW<}v!>34!ZO6P`RDxBenE8dZR6?hJC|epW^*fnU!gz% z0uX=z1Rwwb2tWV=5P$##Akdov{QLgazQBvmA3l9~7x{yIf!<6uW(5HVKmY;|fB*y_ z009U<00I!`5b)mt2;VQ*{%F1W`u>T4eSr=oR3QKX2tWV=5P$##AOHafKmY>0DZpRf zX#HMbYGruy4cT6a@|$>%fGeOt00Izz00bZa0SG_<0uX=z1bSJ3{|`Yq{JlW!@!GvD i=f^MX3-ofzF*gW600Izz00bZa0SG_<0uX>eQ{XQt*f=); diff --git a/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Settings.razor b/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Settings.razor index fa1eff0..b58022e 100644 --- a/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Settings.razor +++ b/src/Elektrifikatsiya/Elektrifikatsiya/Pages/Settings.razor @@ -2,124 +2,134 @@ @using Blazorise.Components; @using Elektrifikatsiya.Models; @using System.Net - - - - - Plugs - - - - - - - +
+ +
+ + + + Plugs + + + + + + + + + + + @context.Item.Name + + + + + User: @context.Item.User +
+ Room: @context.Item.Room +
+
+
+ + + + +
+
- - @context.Item.Name - + + + - - - User: @context.Item.User -
- Room: @context.Item.Room -
-
-
- - - - - - - - - - - - - - -
- Plug Name -
- - Here you can change the Name of your Plug - -
- -
-
-
- - -
- Change Max Output -
- - Here you can limit how much Power your Plug uses - -
- -
-
-
- - -
- Electricity Price -
- - Here you enter your electricity price. This is gonna calculate the overall Price of your System - -
- -
-
-
- - -
- Select Room -
- - Here you select or change the Room where you use your Plug. - -
+ + + + + +
+ + + +
+ Plug Name +
+ + Here you can change the Name of your Plug + +
+ +

- - Rooms - - Room 1 - - Room 2 - - Room 3 - - - +
+ + +
+ Change Max Output +
+ + Here you can limit how much Power your Plug uses + +
+ +
+
+
+ + +
+ Electricity Price +
+ + Here you enter your electricity price. This is gonna calculate the overall Price of your System + +
+ +
+
+
+ + +
+ Select Room +
+ + Here you select or change the Room where you use your Plug. + +
+
+ + Rooms + + Room 1 + + Room 2 + + Room 3 + + +
+
+
+
-
@code {