Skip to content

Commit 3e5b577

Browse files
committed
Update itt.ps1
1 parent d63a4d1 commit 3e5b577

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

itt.ps1

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $itt = [Hashtable]::Synchronized(@{
77
ProcessRunning = $false
88
database = @{}
99
api = $null
10-
version = "25.12.16"
10+
version = "25.12.17"
1111
registryPath = "HKCU:\Software\ITT@emadadel"
1212
icon = "https://raw.githubusercontent.com/emadadeldev/ittea/main/static/Icons/icon.ico"
1313
Theme = "default"
@@ -1680,7 +1680,7 @@ if (-not $subject -or -not $msg) {
16801680
[System.Windows.MessageBox]::Show("Please fill in all fields.","Warning")
16811681
return
16821682
}
1683-
if ($msg.Length -gt 100) {
1683+
if ($msg.Length -gt 250) {
16841684
[System.Windows.MessageBox]::Show("Message too long. Maximum 50 characters allowed.","Warning")
16851685
return
16861686
}
@@ -1691,13 +1691,13 @@ subject = $subject
16911691
text = $msg
16921692
} | ConvertTo-Json
16931693
Invoke-RestMethod -Uri $workerURL -Method Post -Body $jsonBody -ContentType "application/json"
1694-
[System.Windows.MessageBox]::Show("Sent successfully. Thank you for your feedback!","Success")
1694+
[System.Windows.MessageBox]::Show($response.message)
16951695
$subjectBox.Clear()
16961696
$msgBox.Clear()
16971697
$typeBox.SelectedIndex = 0
16981698
}
16991699
catch {
1700-
[System.Windows.MessageBox]::Show("Failed to send feedback.`n$_","Error")
1700+
[System.Windows.MessageBox]::Show("Failed to send feedback.`n$_")
17011701
}
17021702
})
17031703
$window.ShowDialog() | Out-Null
@@ -1794,12 +1794,12 @@ TextAlignment="Center"/>
17941794
"@
17951795
function Show-Event {
17961796
$itt['window'].FindName('date').text = '10/02/2025'.Trim()
1797-
$itt['window'].FindName('yt').add_MouseLeftButtonDown({
1798-
Start-Process('https://youtu.be/0kZFi6NT1gI')
1799-
})
18001797
$itt['window'].FindName('win').add_MouseLeftButtonDown({
18011798
Start-Process('https://linkjust.com/massgravelts')
18021799
})
1800+
$itt['window'].FindName('yt').add_MouseLeftButtonDown({
1801+
Start-Process('https://youtu.be/0kZFi6NT1gI')
1802+
})
18031803
$storedDate = [datetime]::ParseExact($itt['window'].FindName('date').Text, 'MM/dd/yyyy', $null)
18041804
$daysElapsed = (Get-Date) - $storedDate
18051805
if ($daysElapsed.Days -lt 1)
@@ -2512,9 +2512,9 @@ KeyboardNavigation.DirectionalNavigation="Cycle" />
25122512
<SolidColorBrush x:Key="SecondaryTextColor" Color="#999999"/>
25132513
<SolidColorBrush x:Key="SecondaryTextColor2" Color="white"/>
25142514
<SolidColorBrush x:Key="PrimaryButtonBackground" Color="#0366d6"/>
2515-
<SolidColorBrush x:Key="ButtonHighlightColor" Color="#218bff"/>
2515+
<SolidColorBrush x:Key="ButtonHighlightColor" Color="#0366d6"/>
25162516
<SolidColorBrush x:Key="ButtonBorderColor" Color="#ff0000"/>
2517-
<SolidColorBrush x:Key="BorderBrushColor" Color="#1c1c1c"/>
2517+
<SolidColorBrush x:Key="BorderBrushColor" Color="#444c56"/>
25182518
<SolidColorBrush x:Key="LabelColor" Color="#2a2a2a"/>
25192519
<SolidColorBrush x:Key="ToggleSwitchBackgroundColor" Color="#1a1a1a"/>
25202520
<SolidColorBrush x:Key="ToggleSwitchForegroundColor" Color="#0f0f0f"/>
@@ -2868,8 +2868,8 @@ HorizontalAlignment="Center"
28682868
CornerRadius="5"
28692869
Padding="10"
28702870
Margin="5"
2871-
BorderBrush="{DynamicResource BorderBrush}"
2872-
BorderThickness="1">
2871+
BorderBrush="{DynamicResource BorderBrushColor}"
2872+
BorderThickness="1.2">
28732873
<Grid>
28742874
<Grid.RowDefinitions>
28752875
<RowDefinition Height="auto"/>
@@ -2972,8 +2972,8 @@ HorizontalAlignment="Center"
29722972
CornerRadius="5"
29732973
Padding="10"
29742974
Margin="5"
2975-
BorderBrush="{DynamicResource BorderBrush}"
2976-
BorderThickness="1">
2975+
BorderBrush="{DynamicResource BorderBrushColor}"
2976+
BorderThickness="1.2">
29772977
<StackPanel>
29782978
<CheckBox
29792979
Grid.Row="0"
@@ -3081,7 +3081,7 @@ StaysOpen="false"
30813081
PopupAnimation="Fade"
30823082
IsOpen="false">
30833083
<Border Background="{DynamicResource PrimaryBackgroundColor}"
3084-
BorderBrush="{DynamicResource BorderBrush}"
3084+
BorderBrush="{DynamicResource BorderBrushColor}"
30853085
BorderThickness="2"
30863086
Width="533" Height="400"
30873087
Padding="8"
@@ -3093,7 +3093,7 @@ SnapsToDevicePixels="True">
30933093
<ColumnDefinition Width="*"/>
30943094
</Grid.ColumnDefinitions>
30953095
<Grid Grid.Column="0">
3096-
<StackPanel Orientation="Vertical" Margin="0,12,0,0">
3096+
<StackPanel Orientation="Vertical" Margin="0,25,0,0">
30973097
<TextBlock Text="itt"
30983098
FontSize="80" FontFamily="Arial" FontWeight="Bold"
30993099
HorizontalAlignment="Center" Foreground="{DynamicResource logo}"/>
@@ -3106,7 +3106,7 @@ HorizontalAlignment="Center" TextAlignment="Left" Foreground="{DynamicResource P
31063106
<TextBlock Text="Contributors"
31073107
FontSize="13" FontFamily="Arial"
31083108
Foreground="{DynamicResource PrimaryTextColor}" HorizontalAlignment="Center" Margin="0,15,0,0"/>
3109-
<ScrollViewer VerticalScrollBarVisibility="Auto" Margin="0,15,0,0" Height="80">
3109+
<ScrollViewer VerticalScrollBarVisibility="Auto" Margin="0,15,0,0" Height="170">
31103110
<StackPanel Orientation="Vertical" Margin="15,0,0,0">
31113111
<TextBlock Text="emadadeldev" Margin="1" Foreground="{DynamicResource PrimaryTextColor}" />
31123112
<TextBlock Text="youssefmhd" Margin="1" Foreground="{DynamicResource PrimaryTextColor}" />

0 commit comments

Comments
 (0)