Author: heiko.braun(a)jboss.com
Date: 2010-02-12 06:42:58 -0500 (Fri, 12 Feb 2010)
New Revision: 965
Modified:
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/LoginView.java
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentListView.java
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/JobListView.java
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/public/console.css
Log:
Fix filter panels. Change window layout
Modified:
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/LoginView.java
===================================================================
---
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/LoginView.java 2010-02-11
20:56:24 UTC (rev 964)
+++
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/LoginView.java 2010-02-12
11:42:58 UTC (rev 965)
@@ -56,8 +56,6 @@
private TextBox usernameInput;
private PasswordTextBox passwordInput;
- private Controller controller;
-
public final static String[] KNOWN_ROLES = {"administrator",
"manager", "user"};
@@ -68,7 +66,7 @@
public void setController(Controller controller)
{
- this.controller = controller;
+
}
public void display()
@@ -232,9 +230,11 @@
* The 'layout' window panel.
*/
private void createLayoutWindowPanel() {
- window = new WindowPanel(config.getProfileName(), false);
+
+ window = new WindowPanel(config.getProfileName(), false);
window.setAnimationEnabled(false);
+
MosaicPanel panel = new MosaicPanel();
createLayoutContent(panel);
@@ -266,16 +266,7 @@
{
public void onClick(ClickEvent clickEvent)
- {
- DeferredCommand.addCommand(
- new Command()
- {
- public void execute()
- {
- window.hide();
- }
- });
-
+ {
engageLogin();
}
});
Modified:
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentListView.java
===================================================================
---
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentListView.java 2010-02-11
20:56:24 UTC (rev 964)
+++
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentListView.java 2010-02-12
11:42:58 UTC (rev 965)
@@ -93,7 +93,7 @@
initialize();
panel.add(deploymentList, new BorderLayoutData(BorderLayout.Region.CENTER));
- panel.add(detailView, new BorderLayoutData(BorderLayout.Region.SOUTH,10,200));
+ panel.add(detailView, new BorderLayoutData(BorderLayout.Region.SOUTH,150,200));
// create and register actions
controller.addAction(UpdateDeploymentsAction.ID, new UpdateDeploymentsAction());
@@ -240,7 +240,7 @@
// filter
MosaicPanel filterPanel = new MosaicPanel(new
BoxLayout(BoxLayout.Orientation.VERTICAL));
- filterPanel.setStyleName("bpm-filter-panel");
+ filterPanel.setStyleName("mosaic-ToolBar");
final com.google.gwt.user.client.ui.ListBox dropBox = new
com.google.gwt.user.client.ui.ListBox(false);
dropBox.setStyleName("bpm-operation-ui");
dropBox.addItem("All");
Modified:
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/JobListView.java
===================================================================
---
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/JobListView.java 2010-02-11
20:56:24 UTC (rev 964)
+++
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/JobListView.java 2010-02-12
11:42:58 UTC (rev 965)
@@ -219,7 +219,7 @@
// filter
MosaicPanel filterPanel = new MosaicPanel(new
BoxLayout(BoxLayout.Orientation.VERTICAL));
- filterPanel.setStyleName("bpm-filter-panel");
+ filterPanel.setStyleName("mosaic-ToolBar");
final com.google.gwt.user.client.ui.ListBox dropBox = new
com.google.gwt.user.client.ui.ListBox(false);
dropBox.setStyleName("bpm-operation-ui");
dropBox.addItem("All");
Modified:
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/public/console.css
===================================================================
---
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/public/console.css 2010-02-11
20:56:24 UTC (rev 964)
+++
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/public/console.css 2010-02-12
11:42:58 UTC (rev 965)
@@ -72,10 +72,8 @@
padding-top:10px;
}
-.bpm-filter-panel {
- padding:5px;
- background: #e3e8f3 url(images/hborder.png) repeat-x 0px -2003px;
- border-bottom: 1px solid #bbbbbb;
+.bpm-operation-ui {
+ font-size:10px;
}
.bpm-editor-info {
@@ -135,10 +133,6 @@
font-family: sans-serif;
}
-.bpm-operation-ui {
- font-size: 10px;
-}
-
.login-panel-content {
text-align: center;
}
@@ -234,10 +228,6 @@
/* end - custom widgets */
-.gwt-SuggestBoxPopup { z-index:100000; border: 1px solid #ffffff;}
-.gwt-SuggestBoxPopup .item { padding: 2px;}
-.gwt-SuggestBoxPopup .item-selected { background-color: #C3D9FF; padding: 1px;}
-
.bpm-graphView-activityImage {
background-image: url(images/icons/play_red_big.png);
background-repeat:no-repeat;
@@ -755,8 +745,9 @@
.gwt-DecoratedPopupPanel .popupContent {
}
.gwt-DecoratedPopupPanel .popupMiddleCenter {
- padding: 3px;
- background: #ccc;
+ padding: 0px;
+ border: 1px solid #ccc;
+ background: #ffffff;
}
.gwt-DecoratedPopupPanel .popupTopCenter {
/*background: url(images/hborder.png) repeat-x;*/