-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNoCredentialsWindow.axaml
More file actions
47 lines (44 loc) · 1.97 KB
/
NoCredentialsWindow.axaml
File metadata and controls
47 lines (44 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="500" d:DesignHeight="260"
x:Class="ClaudeUsageMonitor.NoCredentialsWindow"
Title="Claude Code Usage Monitor"
Icon="avares://ClaudeUsageMonitor/Assets/icon.ico"
Width="500" Height="260"
Background="#1a1a2e"
CanResize="False"
WindowStartupLocation="CenterScreen">
<Grid RowDefinitions="Auto,*,Auto" Margin="24">
<TextBlock Grid.Row="0"
Text="Claude Code sign-in required"
FontSize="18" FontWeight="Bold"
Foreground="#e0e0f0"
HorizontalAlignment="Center"
Margin="0,0,0,16" />
<StackPanel Grid.Row="1" VerticalAlignment="Top">
<TextBlock Foreground="#b0b0c0"
FontSize="13"
TextWrapping="Wrap">
No Claude Code credentials were found.<LineBreak/>
<LineBreak/>
Claude Code Usage Monitor reuses the OAuth credentials that
Claude Code stores on disk. Please run Claude Code and sign in
at least once, then relaunch Claude Code Usage Monitor.
</TextBlock>
<TextBlock Foreground="#b0b0c0"
FontSize="13"
TextWrapping="Wrap"
Margin="0,12,0,0">
<Run Text="Expected credentials location: " />
<Run x:Name="CredentialsPathRun" FontWeight="Bold" />
</TextBlock>
</StackPanel>
<Button Grid.Row="2"
Content="Close"
HorizontalAlignment="Right"
Padding="20,6"
Click="OnCloseClicked" />
</Grid>
</Window>