Fixed templates and styles for app 'pages'