Curated Examples
Example29 01
Source-owned example maintained with PSWriteHTML.
- Source repository: https://github.com/EvotecIT/PSWriteHTML
- Example group:
Example29-Logo
Import-Module .\PSWriteHTML.psd1 -Force
New-HTML -TitleText 'This is a test' -FilePath "$PSScriptRoot\Example29-01.html" {
New-HTMLHeader {
New-HTMLSection -Invisible {
New-HTMLPanel -Invisible {
New-HTMLImage -Source 'https://evotec.pl/wp-content/uploads/2015/05/Logo-evotec-012.png' -UrlLink 'https://evotec.pl/' -AlternativeText 'My other text' -Class 'otehr' -Width '50%'
}
New-HTMLPanel -Invisible {
New-HTMLImage -Source 'https://evotec.pl/wp-content/uploads/2015/05/Logo-evotec-012.png' -UrlLink 'https://evotec.pl/' -AlternativeText 'My other text' -Width '20%'
} -AlignContentText right
}
}
New-HTMLTab -TabName 'Dashboard' {
New-HTMLTable -DataTable (Get-Process | Select-Object -First 2)
}
New-HTMLFooter {
New-HTMLSection -Invisible {
New-HTMLPanel -Invisible {
New-HTMLImage -Source 'https://evotec.pl/wp-content/uploads/2015/05/Logo-evotec-012.png' -UrlLink 'https://evotec.pl/' -AlternativeText 'My other text' -Class 'otehr' -Width '50%'
}
New-HTMLPanel -Invisible {
New-HTMLImage -Source 'https://evotec.pl/wp-content/uploads/2015/05/Logo-evotec-012.png' -UrlLink 'https://evotec.pl/' -AlternativeText 'My other text' -Width '20%'
} -AlignContentText right
}
}
} -ShowHTML -Online