This commit is contained in:
Friend2868
2023-04-19 08:27:04 +02:00
parent ccedff576b
commit a73ba26b8f
6 changed files with 14 additions and 15 deletions
@@ -2,17 +2,16 @@
@inherits LayoutComponentBase
<Image Source="logo.png" Width="Width.Is50" Height="Height.Is50"> </Image>
<Card Width="Width.Is50" Position="Position.Absolute.Top.Is50.Start.Is50.Translate.Middle" Padding="Padding.Is5">
<Field Width="Width.Is25" Position="Position.Relative.Top.Is50.Start.Is50.Translate.Middle">
<TextEdit Placeholder="Username" />
</Field>
<Field Width="Width.Is25" Position="Position.Relative.Top.Is50.Start.Is50.Translate.Middle">
<TextEdit Role="TextRole.Password" Placeholder="Password" />
</Field>
<Button Width="Width.Is25" Color="Color.Primary" Clicked="Clicked" Position="Position.Relative.Bottom.Is50.Start.Is50.Translate.MiddleX" >Login</Button>
<Column ColumnSize="ColumnSize.Is6.OnDesktop.Is12.Is3.WithOffset">
<Field Position="Position.Relative.Top.Is50.Start.Is50.Translate.Middle">
<TextEdit Placeholder="Username" />
</Field>
<Field Position="Position.Relative.Top.Is50.Start.Is50.Translate.Middle">
<TextEdit Role="TextRole.Password" Placeholder="Password" />
</Field>
<Button Color="Color.Primary" Position="Position.Relative.Bottom.Is50.Start.Is50.Translate.MiddleX">Login</Button>
</Column>
</Card>
@code {
private void Clicked()
{
Debug.WriteLine("Button was clicked!");
}
}
@@ -43,7 +43,7 @@
<Column ColumnSize="ColumnSize.Is4.OnDesktop.Is7.OnMobile">
<Button Position="Position.Absolute.Top.Is50.Start.Is50.Translate.Middle" Color="Color.Dark" Outline>
<BarIcon IconName="IconName.Bolt" />
<BarIcon IconName="IconName.Delete" />
</Button>
</Column>
<br />
@@ -69,7 +69,7 @@
Plug Name
</h5>
<Paragraph>
Here you can change the Name of your Plug
Here you can change the name of your plug
</Paragraph>
</FieldLabel>
<TextEdit Placeholder="Enter Name" />
@@ -82,7 +82,7 @@
Change Max Output
</h5>
<Paragraph>
Here you can limit how much Power your Plug uses
Here you can limit how much power your plug uses
</Paragraph>
</FieldLabel>
<TextEdit Placeholder="Enter Max Output" />
@@ -95,7 +95,7 @@
Select Room
</h5>
<Paragraph>
Here you select or change the Room where you use your Plug.
Here you select or change the room the plug belongs to.
</Paragraph>
</FieldLabel>
<br />