split view into app html

Signed-off-by: Jonathan Ginn <jon@jonginn.com>