[seam-commits] Seam SVN: r13309 - in modules/security/trunk/examples/idmconsole/src/main/webapp: WEB-INF/templates and 2 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sun Jun 27 06:34:12 EDT 2010


Author: shane.bryzak at jboss.com
Date: 2010-06-27 06:34:12 -0400 (Sun, 27 Jun 2010)
New Revision: 13309

Added:
   modules/security/trunk/examples/idmconsole/src/main/webapp/resources/style/
   modules/security/trunk/examples/idmconsole/src/main/webapp/resources/style/default.css
Removed:
   modules/security/trunk/examples/idmconsole/src/main/webapp/resources/css/
Modified:
   modules/security/trunk/examples/idmconsole/src/main/webapp/WEB-INF/templates/default.xhtml
   modules/security/trunk/examples/idmconsole/src/main/webapp/home.xhtml
Log:
styling


Modified: modules/security/trunk/examples/idmconsole/src/main/webapp/WEB-INF/templates/default.xhtml
===================================================================
--- modules/security/trunk/examples/idmconsole/src/main/webapp/WEB-INF/templates/default.xhtml	2010-06-27 07:18:55 UTC (rev 13308)
+++ modules/security/trunk/examples/idmconsole/src/main/webapp/WEB-INF/templates/default.xhtml	2010-06-27 10:34:12 UTC (rev 13309)
@@ -3,22 +3,24 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ui="http://java.sun.com/jsf/facelets">
-   <h:head>
-      <title>Java EE 6 Starter Application</title>
-      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-      <h:outputStylesheet name="css/screen.css"/>
-   </h:head>
-   <h:body>
-      <div id="container">
-         <div id="content">
-
-            <ui:insert name="content">
-               [Template content will be inserted here]
-            </ui:insert>
-         </div>
-         <div id="footer">
-            <h:graphicImage value="/resources/gfx/weld.png" alt="Weld logo"/>
-         </div>
+  <h:head>
+    <title>Java EE 6 Starter Application</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <link rel="stylesheet" href="style/default.css" type="text/css" media="screen" />
+  </h:head>
+  <h:body>
+    <div id="container">
+      <div id="sidebar">
+        <ui:insert name="sidebar"/>
       </div>
-   </h:body>
+      
+      <div id="content">
+        <ui:insert name="content"/>
+      </div>
+      
+      <div id="footer">
+        <h:graphicImage value="/resources/gfx/weld.png" alt="Weld logo"/>
+      </div>
+    </div>
+  </h:body>
 </html>

Modified: modules/security/trunk/examples/idmconsole/src/main/webapp/home.xhtml
===================================================================
--- modules/security/trunk/examples/idmconsole/src/main/webapp/home.xhtml	2010-06-27 07:18:55 UTC (rev 13308)
+++ modules/security/trunk/examples/idmconsole/src/main/webapp/home.xhtml	2010-06-27 10:34:12 UTC (rev 13309)
@@ -4,6 +4,11 @@
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    template="/WEB-INF/templates/default.xhtml">
+  
+  <ui:define name="sidebar"> 
+    <ui:include src="menu.xhtml"/>
+  </ui:define>
+   
   <ui:define name="content">
     <h2>Identity Management Console</h2>
     <p>This example demonstrates Seam's identity management features, backed by PicketLink IDM.</p>

Added: modules/security/trunk/examples/idmconsole/src/main/webapp/resources/style/default.css
===================================================================
--- modules/security/trunk/examples/idmconsole/src/main/webapp/resources/style/default.css	                        (rev 0)
+++ modules/security/trunk/examples/idmconsole/src/main/webapp/resources/style/default.css	2010-06-27 10:34:12 UTC (rev 13309)
@@ -0,0 +1,40 @@
+body {
+  margin: 0;
+  padding: 0;
+  background-color: #EAECEE;
+  font-family: Verdana, sans-serif;
+  font-size: 0.9em;
+}
+
+div#container {
+  margin: 0px auto;
+  padding: 2px 2px 2px 2px;
+  border: 1px solid #666666;
+  width: 865px; /* subtract 40px from banner width for padding */
+  background: #FFFFFF url(#{request.contextPath}/resources/gfx/banner.png) no-repeat;
+  padding-top: 110px;
+}
+
+div#sidebar {
+  font-size: 0.9em;
+  width: 160px;
+  float: left;
+  border: 1px solid #666666;
+  background: #EAECEE;
+  padding: 4px 4px 4px 4px;
+}
+
+div#content {
+  padding: 4px 4px 4px 4px;
+  margin-left: 180px;
+}
+
+#footer {
+  margin-top: 12px;
+  clear: both;
+  text-align: center;
+  color: #666666;
+  font-size: 0.85em;
+}
+
+



More information about the seam-commits mailing list