New-UDPage -Url "/CiLookup" -Name "CiLookup" -Content {
New-UDGrid -Container -Children {
     New-UDGrid -Item -ExtraSmallSize 4 -Children {
        New-UDCard -Title "General Information" -Content {
            #New-UDButton -Text "Button 1"
            New-UDRow -Columns {
                New-UDColumn -Size 4 -Content {
                    New-UDTextBox -Label "Name" -Id "Name" -Value "itddefghijklmno.ndcloud.gov" -FullWidth
                }
                New-UDColumn -Size 4 -Content {
                    New-UDTextBox -Label "LicensingRestrictions" -Id "LicensingRestrictions" -Value "Microsoft SQL Enterprise"
                }
            }
        }
        
    }
    New-UDGrid -Item -ExtraSmallSize 4 -Children {
        New-UDCard -Title "Support Information" -Content {
            #New-UDButton -Text "Button 2"
            New-UDRow -Columns {
                New-UDColumn -Size 4 -Content {
                    New-UDTextBox -Label "AppName" -Id "AppName"
                }
                New-UDColumn -Size 4 -Content {
                    New-UDTextBox -Label "Support Hours" -Id "Support Hours"
                }
            }
        }
    }    
 } -Id "GridGeneral"

New-UDContainer -Content {
    New-UDLayout -Columns 2 - -Content {
        #New-UDTypography "Row 1, Col 1"
        New-UDTextBox -Label "Name" -Value "itddefghijklmno.ndcloud.gov" -FullWidth
        #New-UDTypography "Row 1, Col 2"
        New-UDTextBox -Label "AppName" -Value "Infra-POS-SomeStupidApp" -FullWidth
        New-UDTypography "Row 2, Col 1"
        New-UDTypography "Row 2, Col 2"
    }
 }

$tablePwd = [ordered]@{
    'Password Expiration'  = "itdsomething.nd.gov"
    'Account Expiration'   = "ITD-POS-StupidName"
    'Last Logon Timestamp' = "Microsoft SQL Enterperise"
}
    

$Data = , @($tablePwd.GetEnumerator())
$DateColumns = @(
New-UDTableColumn -Property Name -Title " "
New-UDTableColumn -Property Value -Title " "
)
New-UDTable -Id "PasswordInfo" -Title "Password and Account Info" -Data $Data[0] -Columns $DateColumns -Dense







New-UDButton -Text 'Full Width' -OnClick {
    Show-UDModal -Content {
        New-UDGrid -Container -Children {
            New-UDCard -Title "General" -Content {
                New-UDElement -Tag 'div' -Id 'addElement'
                New-UDTextBox -Id "Name" -Label "Name" -Value "servernamehere.nd.gov"
                New-UDTextBox -Id "Operational Status" -Label "Status" -Value "Operational"
                New-UDTextBox -Id "AppName" -Label "AppName" -Value "ITD-POS-StupidNameHere"
                New-UDTextBox -Id "Support Hours" -Label "Support Hours" -Value "All Day Every Day"
            }
            New-UDCard -Title "Hardware" -Content {
                New-UDTextBox -Id "Datacenter" -Label "Datacenter" -Value "Bismarck"
                New-UDTextBox -Id "Environment" -Label "Environment" -Value "Production"
                New-UDTextBox -Id "DR Protection" -Label "DR Protection" -Value "VMware: RPO 04:00"
                New-UDTextBox -Id "Datacenter" -Label "Datacenter" -Value "Bismarck"
                New-UDTextBox -Id "Environment" -Label "Environment" -Value "Production"
                New-UDTextBox -Id "DR Protection" -Label "DR Protection" -Value "VMware: RPO 04:00"
                New-UDTextBox -Id "OperatingSystem" -Label "Operating System" -Value "Windows Server 2022"
                New-UDTextBox -Id "CPU" -Label "CPU" -Value "4"
                New-UDTextBox -Id "MemoryGB" -Label "MemoryGB" -Value "12"
                New-UDTextBox -Id "DiskGB" -Label "DiskGB" -Value "1197"
            }
            New-UDCard -Title "Software" -Content {
                New-UDTextBox -Id "LicensingRestrictions" -Label "LicensingRestrictions" -Value "Microsoft SQL Enterprise"
                New-UDTextBox -Id "OperatingSystem" -Label "Operating System" -Value "Windows Server 2022"
            }
        }
        
        #New-UDDynamic
    } -FullWidth -MaxWidth 'md'
}
} -Title "CiLookup" -Icon @{
		id = '3743b2ed-0278-4678-8a47-e22ad4514afb'
		type = 'icon'
	}