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 @inherits LayoutComponentBase
<Image Source="logo.png" Width="Width.Is50" Height="Height.Is50"> </Image> <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"> <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"> <Column ColumnSize="ColumnSize.Is6.OnDesktop.Is12.Is3.WithOffset">
<TextEdit Placeholder="Username" /> <Field Position="Position.Relative.Top.Is50.Start.Is50.Translate.Middle">
</Field> <TextEdit Placeholder="Username" />
<Field Width="Width.Is25" Position="Position.Relative.Top.Is50.Start.Is50.Translate.Middle"> </Field>
<TextEdit Role="TextRole.Password" Placeholder="Password" /> <Field Position="Position.Relative.Top.Is50.Start.Is50.Translate.Middle">
</Field> <TextEdit Role="TextRole.Password" Placeholder="Password" />
<Button Width="Width.Is25" Color="Color.Primary" Clicked="Clicked" Position="Position.Relative.Bottom.Is50.Start.Is50.Translate.MiddleX" >Login</Button> </Field>
<Button Color="Color.Primary" Position="Position.Relative.Bottom.Is50.Start.Is50.Translate.MiddleX">Login</Button>
</Column>
</Card> </Card>
@code { @code {
private void Clicked()
{
Debug.WriteLine("Button was clicked!");
}
} }
@@ -43,7 +43,7 @@
<Column ColumnSize="ColumnSize.Is4.OnDesktop.Is7.OnMobile"> <Column ColumnSize="ColumnSize.Is4.OnDesktop.Is7.OnMobile">
<Button Position="Position.Absolute.Top.Is50.Start.Is50.Translate.Middle" Color="Color.Dark" Outline> <Button Position="Position.Absolute.Top.Is50.Start.Is50.Translate.Middle" Color="Color.Dark" Outline>
<BarIcon IconName="IconName.Bolt" /> <BarIcon IconName="IconName.Delete" />
</Button> </Button>
</Column> </Column>
<br /> <br />
@@ -69,7 +69,7 @@
Plug Name Plug Name
</h5> </h5>
<Paragraph> <Paragraph>
Here you can change the Name of your Plug Here you can change the name of your plug
</Paragraph> </Paragraph>
</FieldLabel> </FieldLabel>
<TextEdit Placeholder="Enter Name" /> <TextEdit Placeholder="Enter Name" />
@@ -82,7 +82,7 @@
Change Max Output Change Max Output
</h5> </h5>
<Paragraph> <Paragraph>
Here you can limit how much Power your Plug uses Here you can limit how much power your plug uses
</Paragraph> </Paragraph>
</FieldLabel> </FieldLabel>
<TextEdit Placeholder="Enter Max Output" /> <TextEdit Placeholder="Enter Max Output" />
@@ -95,7 +95,7 @@
Select Room Select Room
</h5> </h5>
<Paragraph> <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> </Paragraph>
</FieldLabel> </FieldLabel>
<br /> <br />