App/Payesh.App/Views/Pages/FactoryMonitorPage.xaml

213 lines
9.9 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
x:Class="Payesh.App.Views.Pages.FactoryMonitorPage"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:materialFrame="http://sharpnado.com"
xmlns:model="clr-namespace:Payesh.App.Models"
xmlns:prism="http://prismlibrary.com"
xmlns:renders="clr-namespace:Payesh.App.Renders"
Title="{Binding Title}"
prism:ViewModelLocator.AutowireViewModel="True"
FlowDirection="RightToLeft"
NavigationPage.HasNavigationBar="False">
<Grid RowDefinitions="*,3*,Auto">
<Frame
Margin="0,-40,0,0"
Padding="20,35,20,75"
BackgroundColor="{StaticResource PrimaryColor}"
CornerRadius="35"
HasShadow="False">
<Grid ColumnDefinitions="*,Auto">
<StackLayout VerticalOptions="Center">
<Label
FontFamily="{StaticResource ShabnameBold}"
FontSize="Title"
Text="صنعتــــ"
TextColor="{StaticResource AccentColor}" />
<renders:ExtendedLabel
Margin="0,-8,0,0"
FontFamily="{StaticResource Shabname}"
FontSize="Caption"
JustifyText="True"
Text="پایش بار و انرژی مورد استفاده در مراکز صنعتی"
TextColor="{StaticResource AccentColor}" />
</StackLayout>
<Button
Grid.Column="1"
Margin="0,8,0,0"
Padding="0"
BackgroundColor="#90333333"
Command="{Binding BackNavigationCommand}"
CornerRadius="30"
FontFamily="{StaticResource MaterialFontFamily}"
FontSize="28"
HeightRequest="40"
HorizontalOptions="End"
Text="{x:Static model:MaterialIconFont.ChevronLeft}"
TextColor="White"
VerticalOptions="Center"
WidthRequest="40" />
</Grid>
</Frame>
<materialFrame:MaterialFrame
Grid.Row="1"
Grid.RowSpan="2"
Margin="0,-85,0,-25"
Padding="0,0,0,40"
CornerRadius="35"
HasShadow="False">
<Grid Margin="15,35,15,15" RowDefinitions="*,Auto">
<StackLayout>
<StackLayout Margin="0,15">
<Grid
Margin="5,0"
ColumnDefinitions="Auto,Auto"
RowDefinitions="Auto,Auto">
<Frame
Grid.Row="0"
Grid.RowSpan="2"
Grid.Column="0"
Padding="12,6,12,8"
BackgroundColor="{StaticResource AccentColor}"
CornerRadius="35"
VerticalOptions="Center">
<Label
Margin="-5,0"
FontFamily="{StaticResource MaterialFontFamily}"
FontSize="25"
Text="{x:Static model:MaterialIconFont.CityVariantOutline}"
TextColor="{StaticResource PrimaryColor}"
VerticalOptions="Center" />
</Frame>
<Label
Grid.Row="0"
Grid.Column="1"
FontFamily="{StaticResource ShabnameBold}"
FontSize="Large"
Text="استان" />
<Label
Grid.Row="1"
Grid.Column="1"
Margin="0,-8,0,0"
FontFamily="{StaticResource Shabname}"
FontSize="Caption"
Text="استان مورد نظر خود را انتخاب کنید" />
</Grid>
<Frame Padding="25" CornerRadius="10" />
</StackLayout>
<StackLayout Margin="0,15">
<Grid
Margin="5,0"
ColumnDefinitions="Auto,Auto"
RowDefinitions="Auto,Auto">
<Frame
Grid.Row="0"
Grid.RowSpan="2"
Grid.Column="0"
Padding="12,6,12,8"
BackgroundColor="{StaticResource AccentColor}"
CornerRadius="35"
VerticalOptions="Center">
<Label
Margin="-5,0"
FontFamily="{StaticResource MaterialFontFamily}"
FontSize="25"
Text="{x:Static model:MaterialIconFont.Factory}"
TextColor="{StaticResource PrimaryColor}"
VerticalOptions="Center" />
</Frame>
<Label
Grid.Row="0"
Grid.Column="1"
FontFamily="{StaticResource ShabnameBold}"
FontSize="Large"
Text="صنعتــــ" />
<Label
Grid.Row="1"
Grid.Column="1"
Margin="0,-8,0,0"
FontFamily="{StaticResource Shabname}"
FontSize="Caption"
Text="صنعت مورد نظر خود را انتخاب کنید" />
</Grid>
<Frame Padding="25" CornerRadius="10" />
</StackLayout>
<StackLayout Margin="0,15">
<Grid
Margin="5,0"
ColumnDefinitions="Auto,Auto"
RowDefinitions="Auto,Auto">
<Frame
Grid.Row="0"
Grid.RowSpan="2"
Grid.Column="0"
Padding="12,6,12,8"
BackgroundColor="{StaticResource AccentColor}"
CornerRadius="35"
VerticalOptions="Center">
<Label
Margin="-5,0"
FontFamily="{StaticResource MaterialFontFamily}"
FontSize="25"
Text="{x:Static model:MaterialIconFont.AlphaFBoxOutline}"
TextColor="{StaticResource PrimaryColor}"
VerticalOptions="Center" />
</Frame>
<Label
Grid.Row="0"
Grid.Column="1"
FontFamily="{StaticResource ShabnameBold}"
FontSize="Large"
Text="صنایع" />
<Label
Grid.Row="1"
Grid.Column="1"
Margin="0,-8,0,0"
FontFamily="{StaticResource Shabname}"
FontSize="Caption"
Text="صنایع مورد نظر خود را انتخاب کنید" />
</Grid>
<Frame Padding="25" CornerRadius="10" />
</StackLayout>
</StackLayout>
<Frame
Grid.Row="1"
Padding="0"
BackgroundColor="{StaticResource AccentColor}"
CornerRadius="8">
<Grid ColumnDefinitions="Auto,*">
<Frame
Margin="-1"
Padding="20,20"
BackgroundColor="{StaticResource PrimaryColor}"
HorizontalOptions="Start">
<Label
Margin="-5,0"
FontFamily="{StaticResource MaterialFontFamily}"
FontSize="40"
Text="{x:Static model:MaterialIconFont.Information}"
TextColor="{StaticResource AccentColor}"
VerticalOptions="Center" />
</Frame>
<Label
Grid.Column="1"
Margin="0,0,-10,0"
FontFamily="{StaticResource ShabnameBold}"
FontSize="Large"
HorizontalOptions="Center"
Text="نمایش اطلاعاتـــ"
TextColor="{StaticResource Gray-100}"
VerticalOptions="Center" />
</Grid>
</Frame>
</Grid>
</materialFrame:MaterialFrame>
</Grid>
</ContentPage>