Browse files

Added some facets for ordering of rendered HTML.

  • Loading branch information...
1 parent 83d0f4b commit 136a06e3e156bfb721f495102cc1d91e83abcde9 @rishabhsrao rishabhsrao committed Dec 15, 2012
Showing with 33 additions and 28 deletions.
  1. +33 −28 src/main/webapp/WEB-INF/ui/templates/h5bp.xhtml
View
61 src/main/webapp/WEB-INF/ui/templates/h5bp.xhtml
@@ -1,44 +1,49 @@
-<?xml version='1.0' encoding='UTF-8' ?>
+<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html>
<!-- TODO See http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither -->
<!-- See http://showcase-omnifaces.rhcloud.com/showcase/components/conditionalComment.xhtml -->
<html xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns="http://www.w3.org/1999/xhtml">
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns="http://www.w3.org/1999/xhtml">
- <h:head>
- <meta charset="utf-8"></meta>
-
- <!-- Web page icon -->
- <link rel="shortcut icon" href="favicon.ico" />
+ <h:head>
+ <f:facet name="first">
+ <meta charset="utf-8"></meta>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"></meta>
+ </f:facet>
- <link rel="author" href="/humans.txt" />
- <meta name="description" content="Meeting Minutes"></meta>
+ <!-- Web page icon -->
+ <link rel="shortcut icon" href="favicon.ico" />
- <!-- Mobile viewport optimized: h5bp.com/viewport -->
- <meta name="viewport" content="width=device-width"></meta>
+ <link rel="author" href="/humans.txt" />
+ <meta name="description" content="Meeting Minutes"></meta>
- <!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
+ <!-- Mobile viewport optimized: h5bp.com/viewport -->
+ <meta name="viewport" content="width=device-width"></meta>
- <title>#{i18n['global.title']}</title>
+ <!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
- <h:outputStylesheet library="less" name="style.css" />
+ <title>#{i18n['global.title']}</title>
- <!-- More ideas for your <head> here: h5bp.com/d/head-Tips -->
+ <f:facet name="middle">
+ <h:outputStylesheet library="less" name="style.css" />
+ </f:facet>
- <!-- All JavaScript at the bottom, except this Modernizr build.
- Modernizr enables HTML5 elements & feature detects for optimal performance.
- Create your own custom Modernizr build: www.modernizr.com/download/ -->
- <!--<h:outputScript library="js" name="vendor/modernizr/modernizr-2.5.3-respond-1.1.0.min.js" />-->
- </h:head>
+ <!-- More ideas for your <head> here: h5bp.com/d/head-Tips -->
- <h:body>
- <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you support IE 6.
+ <!-- All JavaScript at the bottom, except this Modernizr build.
+ Modernizr enables HTML5 elements & feature detects for optimal performance.
+ Create your own custom Modernizr build: www.modernizr.com/download/ -->
+ <!--<h:outputScript library="js" name="vendor/modernizr/modernizr-2.5.3-respond-1.1.0.min.js" />-->
+ </h:head>
+
+ <h:body>
+ <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you support IE 6.
chromium.org/developers/how-tos/chrome-frame-getting-started -->
- <!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
-
- <ui:insert name="h5bp"></ui:insert>
+ <!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
+
+ <ui:insert name="h5bp"></ui:insert>
- </h:body>
+ </h:body>
</html>

0 comments on commit 136a06e

Please sign in to comment.