X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.suite.workbench.rap%2Fsrc%2Forg%2Fargeo%2Fsuite%2Fworkbench%2Frap%2FAsSecureEntryPoint.java;h=bae894d7cfa3195b758095da47e8c682a8265c1f;hb=5fd44a69159a8f9269494677e2b08d101cff80fc;hp=7c1a93a397bae96b434dd25ddb2561bdc7bd291d;hpb=8bdde6aa832531285352b099ceecb5d890bd67a8;p=gpl%2Fargeo-suite.git
diff --git a/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/rap/AsSecureEntryPoint.java b/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/rap/AsSecureEntryPoint.java
index 7c1a93a..bae894d 100644
--- a/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/rap/AsSecureEntryPoint.java
+++ b/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/rap/AsSecureEntryPoint.java
@@ -1,19 +1,11 @@
package org.argeo.suite.workbench.rap;
-import static org.eclipse.swt.SWT.CENTER;
-import static org.eclipse.swt.SWT.LEFT;
-import static org.eclipse.swt.SWT.NO_FOCUS;
-import static org.eclipse.swt.SWT.TOP;
-
import org.argeo.cms.ui.workbench.rap.RapWorkbenchAdvisor;
import org.argeo.cms.ui.workbench.rap.RapWorkbenchLogin;
import org.argeo.cms.util.CmsUtils;
import org.argeo.cms.widgets.auth.CmsLogin;
import org.argeo.eclipse.ui.EclipseUiUtils;
import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.FormAttachment;
-import org.eclipse.swt.layout.FormData;
-import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
@@ -44,10 +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 = " "
- + " "
- + "";
+ + "title=\"Smart Data Productivity Suite by Argeo\" target=\"_blank\"> "
+ + " " + "";
headerLbl.setText(headerStr);
GridData gd = new GridData(SWT.LEFT, SWT.CENTER, true, false);
headerLbl.setLayoutData(gd);
@@ -58,7 +50,7 @@ public class AsSecureEntryPoint extends RapWorkbenchLogin {
String titleStr = " Please sign in to your personal dashboard";
titleLbl.setText(titleStr);
gd = new GridData(SWT.CENTER, SWT.BOTTOM, false, false);
- gd.verticalIndent = 40;
+ gd.verticalIndent = 15;
titleLbl.setLayoutData(gd);
// Login composite
@@ -68,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 = "SDPS is a private service.
"
- + " Please contact us if you have any question.";
- footerLbl.setText(footerStr);
- footerLbl.setLayoutData(EclipseUiUtils.fillWidth());
+ // // Footer
+ // Label footerLbl = new Label(bodyCmp, SWT.WRAP | SWT.CENTER);
+ // CmsUtils.markup(footerLbl);
+ // String footerStr = "SDPS is a private service.
"
+ // + " Please contact us if you
+ // have any question.";
+ // footerLbl.setText(footerStr);
+ // footerLbl.setLayoutData(EclipseUiUtils.fillWidth());
}
}