Add patterns section to HTML view