You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2012/07/26 13:16:33 UTC

svn commit: r1365947 - in /incubator/syncope/trunk/console/src/main: java/org/apache/syncope/console/ java/org/apache/syncope/console/pages/ resources/org/apache/syncope/console/pages/ webapp/css/

Author: ilgrosso
Date: Thu Jul 26 11:16:33 2012
New Revision: 1365947

URL: http://svn.apache.org/viewvc?rev=1365947&view=rev
Log:
Fixing some glitches due to updated logo size

Modified:
    incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/SyncopeApplication.java
    incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/BasePage.java
    incubator/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/BasePage.html
    incubator/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/WelcomePage.html
    incubator/syncope/trunk/console/src/main/webapp/css/style.css

Modified: incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/SyncopeApplication.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/SyncopeApplication.java?rev=1365947&r1=1365946&r2=1365947&view=diff
==============================================================================
--- incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/SyncopeApplication.java (original)
+++ incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/SyncopeApplication.java Thu Jul 26 11:16:33 2012
@@ -48,9 +48,6 @@ import org.apache.wicket.request.Request
 import org.apache.wicket.request.Response;
 import org.apache.wicket.request.resource.ContextRelativeResource;
 import org.apache.wicket.spring.injection.annot.SpringComponentInjector;
-import org.springframework.context.ApplicationContext;
-import org.springframework.web.client.RestTemplate;
-import org.springframework.web.context.support.WebApplicationContextUtils;
 
 /**
  * SyncopeApplication class.
@@ -81,7 +78,8 @@ public class SyncopeApplication extends 
     public void setupNavigationPanel(final WebPage page, final XMLRolesReader xmlRolesReader, final boolean notsel,
             final String version) {
 
-        page.add(new Label("version", "Console: " + version + "; Core: " + SyncopeSession.get().getCoreVersion()));
+        page.add(new Label("consoleVersion", "Console: " + version));
+        page.add(new Label("coreVersion", "Core: " + SyncopeSession.get().getCoreVersion()));
 
         BookmarkablePageLink schemaLink = new BookmarkablePageLink("schema", Schema.class);
         MetaDataRoleAuthorizationStrategy.authorizeAll(schemaLink, WebPage.ENABLE);

Modified: incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/BasePage.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/BasePage.java?rev=1365947&r1=1365946&r2=1365947&view=diff
==============================================================================
--- incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/BasePage.java (original)
+++ incubator/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/BasePage.java Thu Jul 26 11:16:33 2012
@@ -18,6 +18,12 @@
  */
 package org.apache.syncope.console.pages;
 
+import org.apache.syncope.client.to.UserTO;
+import org.apache.syncope.console.SyncopeApplication;
+import org.apache.syncope.console.SyncopeSession;
+import org.apache.syncope.console.commons.XMLRolesReader;
+import org.apache.syncope.console.rest.UserRequestRestClient;
+import org.apache.syncope.console.wicket.markup.html.form.LinkPanel;
 import org.apache.wicket.Component;
 import org.apache.wicket.Page;
 import org.apache.wicket.ajax.AjaxRequestTarget;
@@ -39,12 +45,6 @@ import org.apache.wicket.request.mapper.
 import org.apache.wicket.spring.injection.annot.SpringBean;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
-import org.apache.syncope.client.to.UserTO;
-import org.apache.syncope.console.SyncopeApplication;
-import org.apache.syncope.console.SyncopeSession;
-import org.apache.syncope.console.commons.XMLRolesReader;
-import org.apache.syncope.console.rest.UserRequestRestClient;
-import org.apache.syncope.console.wicket.markup.html.form.LinkPanel;
 
 /**
  * Syncope Wicket base-page.

Modified: incubator/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/BasePage.html
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/BasePage.html?rev=1365947&r1=1365946&r2=1365947&view=diff
==============================================================================
--- incubator/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/BasePage.html (original)
+++ incubator/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/BasePage.html Thu Jul 26 11:16:33 2012
@@ -75,7 +75,9 @@
                 <li style="position: absolute; left: 0px; top: 0px;width:240px;">
                     <img src="img/logo.png" alt="logo"/><br />
                     <span style="position: absolute; left: 20px;color:#aaaaaa;">
-                        <span style="font-size:8px;" wicket:id="version"/>
+                        <span style="font-size:8px;" wicket:id="consoleVersion"/>
+                        <br/>
+                        <span style="font-size:8px;" wicket:id="coreVersion"/>
                         &nbsp;
                     </span>
                 </li>

Modified: incubator/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/WelcomePage.html
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/WelcomePage.html?rev=1365947&r1=1365946&r2=1365947&view=diff
==============================================================================
--- incubator/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/WelcomePage.html (original)
+++ incubator/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/WelcomePage.html Thu Jul 26 11:16:33 2012
@@ -36,7 +36,7 @@
     <body style="text-align:center">
         <div id="splash">
             <img src="img/logo.png" alt="syncope" title="syncope" id="logo" />
-            <h2><span style="font-size:8px;color:#aaaaaa;" wicket:id="version"/></h2>
+            <h2 style="font-size:8px;color:#aaaaaa;"><span wicket:id="consoleVersion"/>; <span wicket:id="coreVersion"/></h2>
             <ul>
                 <li><a href="#" wicket:id="todo" class="todo"><img wicket:id="todoIcon" alt="TODO" width="80" height="80" /><br /><wicket:message key="todo"/></a></li>
                 <li><a href="#" wicket:id="schema" class="schema"><img wicket:id="schemaIcon" alt="Schema" width="80" height="80" /><br /><wicket:message key="schema"/></a></li>

Modified: incubator/syncope/trunk/console/src/main/webapp/css/style.css
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/console/src/main/webapp/css/style.css?rev=1365947&r1=1365946&r2=1365947&view=diff
==============================================================================
--- incubator/syncope/trunk/console/src/main/webapp/css/style.css (original)
+++ incubator/syncope/trunk/console/src/main/webapp/css/style.css Thu Jul 26 11:16:33 2012
@@ -17,6 +17,11 @@ body {
     /*background-color: #FFF;*/
 }
 
+#logo {
+  margin-top: 7px;
+  margin-bottom: 6px;
+}
+
 #splash {
     background: url(../img/sf_testa.png) top repeat-x #B9CFB3;
     width: 400px;
@@ -39,6 +44,7 @@ body {
 #splash h2 {
     color: #FFF;
     margin: 0px;
+    margin-top: 8px;
     margin-bottom: 20px;
     font-size: 14px;
     text-align: center;