Hey
not sure if this should be in here or in Powershell Universal…
but I’ve moved one of my dashboards into Universal and now the UD footer seems to be stuck on the screen, doesn’t follow the bottom of the window
any suggestions?
Hey
not sure if this should be in here or in Powershell Universal…
but I’ve moved one of my dashboards into Universal and now the UD footer seems to be stuck on the screen, doesn’t follow the bottom of the window
any suggestions?
Ew! That’s a bug… I will put that in our backlog to get fixed… I can try to repro and look at a work around for you.
no probs @adam !
with dark mode enabled it isn’t as obvious!
$darkdefault = . (Join-Path $PSScriptRoot "\themes\darkdefault.ps1")
$Pages = @()
$Pages += New-UDPage -Name 'Home' -Icon Home -Content {
New-UDRow -Columns {
New-UDColumn -Size 4 {
New-UDChart -Title "Sent mail today & yesterday" -AutoRefresh -Type Bar -Endpoint {
@([PSCustomObject]@{Name = 'Sent Today'; 'Value' = $Cache:TodaysSentMail.count }, [PSCustomObject]@{Name = 'Sent Yesterday'; 'Value' = $Cache:YesterdaysSentMail.count }) | Out-UDChartData -DataProperty "Value" -LabelProperty "Name"
} -Options @{
legend = @{
display = $false
}
}
}
New-UDColumn -Size 4 {
New-UDChart -Title "Received mail today & yesterday" -AutoRefresh -Type Bar -Endpoint {
@([PSCustomObject]@{Name = 'Received Today'; 'Value' = $Cache:TodaysReceivedMail.count }, [PSCustomObject]@{Name = 'Received Yesterday'; 'Value' = $Cache:YesterdaysReceivedMail.count }) | Out-UDChartData -DataProperty "Value" -LabelProperty "Name"
} -Options @{
legend = @{
display = $false
}
}
}
}
New-UdGrid -Title "Sent Mail Today" -Headers @("Sender", "Recipients","Subject") -Properties @("Sender","Recipients","MessageSubject") -AutoRefresh -Endpoint {
$Cache:TodaysSentMail | Out-UDGridData
}
New-UdGrid -Title "Received Mail Today" -Headers @("Sender", "Recipients","Subject") -Properties @("Sender","Recipients","MessageSubject") -AutoRefresh -Endpoint {
$Cache:TodaysReceivedMail | Out-UDGridData
}
New-UdGrid -Title "Sent Mail Yesterday" -Headers @("Sender", "Recipients","Subject") -Properties @("Sender","Recipients","MessageSubject") -AutoRefresh -Endpoint {
$Cache:YesterdaysSentMail | Out-UDGridData
}
New-UdGrid -Title "Received Mail Yesterday" -Headers @("Sender", "Recipients","Subject") -Properties @("Sender","Recipients","MessageSubject") -AutoRefresh -Endpoint {
$Cache:YesterdaysReceivedMail | Out-UDGridData
}
}
$Pages += New-UDPage -Name 'Downloads' -Content {}
New-UDDashboard -Pages $Pages -Title 'Email Report' -Theme $darkdefault
if it’ll help you at all, here’s the code that page is running