Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions src/paradigm-ehb.CommandCenter.WinUI/SettingsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@
mc:Ignorable="d">

<Grid>
<TextBlock
x:Name="SettingsText"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Text="SettingsPage" />
<StackPanel Margin="10,0" VerticalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
Text="Whoops :'(" FontSize="24" FontWeight="Bold"/>
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
Text="Considering there is a lot more to do, there are currently no settings to change. Please check back here again soon." TextWrapping="Wrap" HorizontalTextAlignment="Center" />
</StackPanel>

</Grid>
</Page>
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,6 @@
<components:ProgressBar x:Name="RamUsageBar" Progress="100" Grid.Row="1" Margin="5,8,5,0" />

</Grid>

<Grid Margin="20, 0" Background="#10FFFFFF" CornerRadius="8" Padding="12">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>

<Grid Grid.Row="0">
<TextBlock Margin="5,0" HorizontalAlignment="Left" VerticalAlignment="Center" Text="Disk Usage" />
<TextBlock Margin="5,0" HorizontalAlignment="Right" VerticalAlignment="Center" Text="NaN%" />
</Grid>

<components:ProgressBar Progress="33" Grid.Row="1" Margin="5,8,5,0" />

</Grid>
</StackPanel>
</Grid>
</Page>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private async void updatePage()
client = await agentClientFactory.CreateClientAsync(endpoint);

var data = client.Resources.GetSystemResources(new GetSystemResourcesRequest());
OS.Text = data.Resources.Device.OsVersion;
OS.Text = data.Resources.Device.OsVersion;
UptimeTime.Text = data.Resources.Device.Uptime;

var frequencyGHz = Math.Floor(float.Parse(data.Resources.Cpu.Frequency) / 10) / 100;
Expand Down
Loading