Simplify suite specific branding
[gpl/argeo-suite.git] / org.argeo.suite.workbench.rap / src / org / argeo / suite / workbench / rap / AsSecureEntryPoint.java
index eaf2b19d418434ac73d7958f3e79e55c808139db..bae894d7cfa3195b758095da47e8c682a8265c1f 100644 (file)
@@ -36,9 +36,10 @@ public class AsSecureEntryPoint extends RapWorkbenchLogin {
                // Logo
                Label headerLbl = new Label(bodyCmp, SWT.WRAP);
                CmsUtils.markup(headerLbl);
+               // Images are declared via the resources extension point in plugin.xml
                String headerStr = "<a href=\"http://argeo.org\" "
-                               + "title=\"Smart Data Productivity Suite, by Argeo\" target=\"_blank\"> "
-                               + "<img src=\"/ui/suite/img/logo.jpg\" width=\"200\" height=\"140\"></img> " + "</a>";
+                               + "title=\"Smart Data Productivity Suite by Argeo\" target=\"_blank\"> "
+                               + "<img src=\"/img/logo-argeo.png\" width=\"200\" height=\"200\"></img> " + "</a>";
                headerLbl.setText(headerStr);
                GridData gd = new GridData(SWT.LEFT, SWT.CENTER, true, false);
                headerLbl.setLayoutData(gd);
@@ -49,7 +50,7 @@ public class AsSecureEntryPoint extends RapWorkbenchLogin {
                String titleStr = "<big> Please sign in to your personal dashboard</big>";
                titleLbl.setText(titleStr);
                gd = new GridData(SWT.CENTER, SWT.BOTTOM, false, false);
-               gd.verticalIndent = 80;
+               gd.verticalIndent = 15;
                titleLbl.setLayoutData(gd);
 
                // Login composite
@@ -59,12 +60,13 @@ public class AsSecureEntryPoint extends RapWorkbenchLogin {
                gd.verticalIndent = 15;
                loginCmp.setLayoutData(gd);
 
-               // Footer
-               Label footerLbl = new Label(bodyCmp, SWT.WRAP | SWT.CENTER);
-               CmsUtils.markup(footerLbl);
-               String footerStr = "<small>SDPS is a private service. <br/>"
-                               + " Please <a href=\"mailto:contact@argeo.org\">contact us</a> if you have any question.</small>";
-               footerLbl.setText(footerStr);
-               footerLbl.setLayoutData(EclipseUiUtils.fillWidth());
+               // // Footer
+               // Label footerLbl = new Label(bodyCmp, SWT.WRAP | SWT.CENTER);
+               // CmsUtils.markup(footerLbl);
+               // String footerStr = "<small>SDPS is a private service. <br/>"
+               // + " Please <a href=\"mailto:contact@argeo.org\">contact us</a> if you
+               // have any question.</small>";
+               // footerLbl.setText(footerStr);
+               // footerLbl.setLayoutData(EclipseUiUtils.fillWidth());
        }
 }