Permalink
Browse files

Copied over i18n and layout files.

  • Loading branch information...
1 parent 7055921 commit f9a439a7a24d0e08261d862fad5f177b3bd9752b @rishabhsrao rishabhsrao committed Dec 12, 2012
View
52 src/main/resources/properties/i18n/i18n_en.properties
@@ -0,0 +1,52 @@
+global.title=Minutes of Meeting
+global.logo.alt=A green chalkboard with a chalk and a duster.
+global.logo.tooltip=Minutes of Meeting
+global.description=An app to take minutes during your meeting.
+global.author=MetricStream Inc.
+
+global.copyright.year=2012
+global.copyright={0} Copyright {1}, {2} All rights reserved.
+
+global.navigation.home=Home
+global.navigation.about=About
+global.navigation.contact=Contact
+global.navigation.help=Help
+global.navigation.user.welcome=Hi,
+global.navigation.user.profile=Profile
+global.navigation.user.settings=Settings
+global.navigation.user.logout=Logout
+
+login.title=Login
+login.username=Username
+login.username.tooltip=Please type your LDAP/network username.
+login.username.example=Eg. john.doe
+login.password=Password
+login.password.tooltip=Please type your LDAP/network password.
+login.password.example=Eg. S3cret123$
+login.button.submit=Login
+login.button.clear=Clear
+
+minutes.meeting.heading=New Meeting
+minutes.meeting.module=Module
+minutes.meeting.module.tooltip=Which module does this meeting belong to?
+minutes.meeting.title=Project Title
+minutes.meeting.title.tooltip=Which project does this meeting belong to?
+minutes.meeting.when=When
+minutes.meeting.when.tooltip=When was this meeting held?
+minutes.meeting.where=Where
+minutes.meeting.where.tooltip=Where was this meeting held?
+minutes.meeting.attendees=Attendees
+minutes.meeting.attendees.tooltip=Who all are attending this meeting?
+minutes.meeting.cc=CC
+minutes.meeting.cc.tooltip=Who all are involved in this meeting?
+
+minutes.meeting.note.title=Title
+minutes.meeting.note.title.tooltip=Note title.
+minutes.meeting.note.description=Description
+minutes.meeting.note.description.tooltip=Note description.
+minutes.meeting.note.duedate=Due date
+minutes.meeting.note.duedate.tooltip=An expiry date for the note.
+minutes.meeting.note.labels=Labels
+minutes.meeting.note.labels.tooltip=Optional labels to attach to this note.
+minutes.meeting.note.owners=Owners
+minutes.meeting.note.owners.tooltip=Contributuor to this note.
View
0 src/main/webapp/WEB-INF/ui/fragments/.gitignore
No changes.
View
26 src/main/webapp/WEB-INF/ui/fragments/footer-scripts.xhtml
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+<!DOCTYPE composition>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:p="http://primefaces.org/ui"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html">
+
+ <!-- JavaScript at the bottom for fast page loading. -->
+ <h:outputScript library="js" name="vendor/jquery/jquery-1.8.2.js" />
+ <h:outputScript library="js" name="plugins.js" />
+ <h:outputScript library="js" name="vendor/bootstrap/bootstrap.js" />
+ <h:outputScript library="js" name="script.js" />
+
+ <!-- Asynchronous Google Analytics snippet. Change UA-XXXXX-X to be your site's ID.
+ mathiasbynens.be/notes/async-analytics-snippet -->
+ <!--
+ <script>
+ var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
+ (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
+ g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
+ s.parentNode.insertBefore(g,s)}(document,'script'));
+ </script>
+ -->
+
+</ui:composition>
View
23 src/main/webapp/WEB-INF/ui/fragments/footer.xhtml
@@ -0,0 +1,23 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+<!DOCTYPE composition>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:p="http://primefaces.org/ui"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html">
+
+ <footer>
+ <hr />
+
+ <p>
+ <small>
+ <h:outputFormat value="#{i18n['global.copyright']}">
+ <f:param value="&#169;" />
+ <f:param value="#{i18n['global.copyright.year']}" />
+ <f:param value="#{i18n['global.author']}" />
+ </h:outputFormat>
+ </small>
+ </p>
+ </footer>
+
+</ui:composition>
View
89 src/main/webapp/WEB-INF/ui/fragments/header.xhtml
@@ -0,0 +1,89 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+<!DOCTYPE composition>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:p="http://primefaces.org/ui"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html">
+
+ <div class="custom-titlebar navbar navbar-fixed-top">
+ <div class="navbar-inner">
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </a>
+ <a class="brand" href="#"><h:graphicImage library="img" name="branding/metricstream-h30-black.png" alt="MetricStream" /></a>
+
+ <div class="custom-header-button nav-collapse pull-right">
+ <ul class="nav">
+ <li class="dropdown">
+ <div class="btn-group">
+ <a href="#" role="button" class="btn dropdown-toggle" data-toggle="dropdown">Sign in <b class="caret inverse"></b></a>
+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="drop3">
+ <li>
+ <form method="POST" action="j_security_check" class="form-vertical dropdown-form">
+ <div class="control-group">
+ <label class="control-label" for="inputUsername"><i class="icon-user"></i> Username</label>
+ <div class="controls">
+ <input type="text" name="j_username" id="inputUsername" placeholder="Type your username" />
+ </div>
+ </div>
+
+ <div class="control-group">
+ <label class="control-label" for="inputPassword"><i class="icon-key"></i> Password</label>
+ <div class="controls">
+ <input type="password" name="j_password" id="inputPassword" placeholder="Type your password" />
+ </div>
+ </div>
+
+ <div class="control-group">
+ <div class="controls">
+ <label class="checkbox" data-bootstrap-tooltip="left" title="Do not use on public computers.">
+ <input type="checkbox" /> Remember me
+ </label>
+ </div>
+ </div>
+
+ <div class="row-fluid">
+ <div class="span4">
+ <div class="control-group">
+ <div class="controls">
+ <button type="clear" class="btn btn-block">Clear</button>
+ </div>
+ </div>
+ </div>
+ <div class="span8">
+ <div class="control-group">
+ <div class="controls">
+ <input type="submit" class="btn btn-block btn-primary">Sign in</input>
+ </div>
+ </div>
+ </div>
+ </div>
+ </form>
+ </li>
+ <li class="divider"></li>
+ <li data-bootstrap-tooltip="left" title="Signing up is fast and easy!"><a tabindex="-1" href="#"><i class="icon-asterisk"></i> New user? Sign up!</a></li>
+ <li class="divider"></li>
+ <li data-bootstrap-tooltip="left" title="Forgot your username/password? Having other sign in issues? We're here to help!"><a tabindex="-1" href="#"><i class="icon-question-sign"></i> Trouble signing in?</a></li>
+ </ul>
+ </div>
+ </li>
+ </ul>
+ </div><!--/.nav-collapse -->
+
+ <div class="custom-header-nav nav-collapse pull-right">
+ <ul class="nav">
+ <li><a href="#"><i class="icon-home"></i> Home</a></li>
+ <li><a href="#"><i class="icon-money"></i> Pricing</a></li>
+ <li><a href="#"><i class="icon-shopping-cart"></i> Applications</a></li>
+ <li><a href="#"><i class="icon-cogs"></i> Solutions</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+
+</ui:composition>
View
16 src/main/webapp/WEB-INF/ui/layouts/layout-app.xhtml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+<!DOCTYPE composition>
+<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
+ template="layout-base.xhtml">
+
+ <ui:define name="layout-base">
+
+ <div class="row-fluid">
+ <div class="span12">
+ <ui:insert name="layout-app"></ui:insert>
+ </div>
+ </div>
+
+ </ui:define>
+
+</ui:composition>
View
10 src/main/webapp/WEB-INF/ui/layouts/layout-base.xhtml
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+<!DOCTYPE composition>
+<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
+ template="./../templates/app.xhtml">
+
+ <ui:define name="app">
+ <ui:insert name="layout-base"></ui:insert>
+ </ui:define>
+
+</ui:composition>
View
12 src/main/webapp/WEB-INF/ui/layouts/layout-home.xhtml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+<!DOCTYPE composition>
+<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
+ template="./layout-base.xhtml">
+
+ <ui:define name="layout-base">
+
+ <ui:insert name="layout-home"></ui:insert>
+
+ </ui:define>
+
+</ui:composition>
View
10 src/main/webapp/WEB-INF/ui/layouts/layout-module.xhtml
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+<!DOCTYPE composition>
+<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
+ template="./layout-base.xhtml">
+
+ <ui:define name="layout-base">
+ <ui:insert name="layout-module"></ui:insert>
+ </ui:define>
+
+</ui:composition>
View
24 src/main/webapp/WEB-INF/ui/templates/app.xhtml
@@ -0,0 +1,24 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+<!DOCTYPE composition>
+<ui:composition template="./h5bp.xhtml"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:p="http://primefaces.org/ui"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html">
+
+ <ui:define name="h5bp">
+
+ <ui:include src="../fragments/header.xhtml" />
+
+ <div class="container-fluid">
+ <ui:insert name="app"></ui:insert>
+
+ <ui:include src="../fragments/footer.xhtml" />
+ </div>
+
+ <ui:include src="../fragments/footer-scripts.xhtml" />
+
+ </ui:define>
+
+</ui:composition>
View
44 src/main/webapp/WEB-INF/ui/templates/h5bp.xhtml
@@ -0,0 +1,44 @@
+<?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">
+
+ <h:head>
+ <meta charset="utf-8"></meta>
+
+ <!-- Web page icon -->
+ <link rel="shortcut icon" href="favicon.ico" />
+
+ <link rel="author" href="/humans.txt" />
+ <meta name="description" content="Meeting Minutes"></meta>
+
+ <!-- Mobile viewport optimized: h5bp.com/viewport -->
+ <meta name="viewport" content="width=device-width"></meta>
+
+ <!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
+
+ <title>#{i18n['global.title']}</title>
+
+ <h:outputStylesheet library="less" name="style.css" />
+
+ <!-- More ideas for your <head> here: h5bp.com/d/head-Tips -->
+
+ <!-- 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>
+
+ </h:body>
+</html>

0 comments on commit f9a439a

Please sign in to comment.