ref 12119:AccountingDashboard - Create a new Accounting Dashboard

https://support.d4science.org/issues/12119

Updated Tree

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/accounting-dashboard@169707 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2018-07-06 16:59:30 +00:00
parent cf23291ed6
commit bf153bbe3e
6 changed files with 26 additions and 15 deletions

View File

@ -28,7 +28,9 @@ public class ApplicationView extends ViewImpl implements ApplicationPresenter.Pr
initWidget(uiBinder.createAndBindUi(this));
bindSlot(ApplicationPresenter.SLOT_MENU, menu);
bindSlot(ApplicationPresenter.SLOT_MAIN, main);
}
}

View File

@ -40,7 +40,8 @@ public class MainAreaView extends ViewWithUiHandlers<MainAreaPresenter> implemen
initWidget(uiBinder.createAndBindUi(this));
bindSlot(MainAreaPresenter.SLOT_FILTER, filterPanel);
bindSlot(MainAreaPresenter.SLOT_REPORT, reportPanel);
}
private void init() {

View File

@ -4,10 +4,17 @@
xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:c="urn:import:com.google.gwt.user.cellview.client"
xmlns:b="urn:import:com.github.gwtbootstrap.client.ui" xmlns:b2="urn:import:com.github.gwtbootstrap.datetimepicker.client.ui">
<ui:with field="res"
type="org.gcube.portlets.user.accountingdashboard.client.resources.AppResources" />
<g:HTMLPanel ui:field="mainAreaPanel">
<g:HTMLPanel ui:field="filterPanel" />
<g:HTMLPanel ui:field="reportPanel" />
<g:HTMLPanel styleName="{res.uiDataCss.uiDataMainPanel}">
<b:FluidContainer>
<b:FluidRow>
<g:HTMLPanel ui:field="filterPanel" />
<g:HTMLPanel ui:field="reportPanel" />
</b:FluidRow>
</b:FluidContainer>
</g:HTMLPanel>
</ui:UiBinder>

View File

@ -11,11 +11,10 @@
<g:HTMLPanel styleName="{res.uiDataCss.uiDataFiltersPanel}">
<b:FluidContainer>
<b:FluidRow>
<b:Heading size="5" styleName="{res.uiDataCss.uiDataFiltersTitle}">Filters</b:Heading>
<g:HTMLPanel ui:field="periodPanel" styleName="{res.uiDataCss.uiDataFiltersPeriodPanel}">
<b:Form type="HORIZONTAL" styleName="{res.uiDataCss.uiDataFiltersFormPanel}" >
<g:HTMLPanel ui:field="periodPanel"
styleName="{res.uiDataCss.uiDataFiltersPeriodPanel}">
<b:Form type="HORIZONTAL" styleName="{res.uiDataCss.uiDataFiltersFormPanel}">
<b:Fieldset>
<b:ControlGroup>
<b:ControlLabel width="50px" for="fromPeriod">From:</b:ControlLabel>
@ -40,11 +39,10 @@
</b:Fieldset>
</b:Form>
</g:HTMLPanel>
<g:HTMLPanel ui:field="explorePanel" styleName="{res.uiDataCss.uiDataFiltersExplorePanel}">
<g:HTMLPanel ui:field="explorePanel"
styleName="{res.uiDataCss.uiDataFiltersExplorePanel}">
<c:CellTree addStyleNames="{res.uiDataCss.uiDataExploreTree}"
ui:field='scopeTree' />
</g:HTMLPanel>
</b:FluidRow>
</b:FluidContainer>
</g:HTMLPanel>
</ui:UiBinder>

View File

@ -15,6 +15,7 @@ public interface AppResources extends ClientBundle {
interface uiDataCss extends CssResource {
String uiDataBody();
String uiDataMainPanel();
String uiDataLabel();
String uiDataLabelKeyTag();
String uiDataLabelGeoAreaTag();

View File

@ -3,6 +3,10 @@
padding-top: 0px;
}
.uiDataMainPanel {
background-color: white;
}
.uiDataLabel {
word-wrap: break-word;
}
@ -58,8 +62,6 @@
margin-right: 10px;
}
.uiDataFiltersPeriodPanel {
border-color: #eeeeee !important;
border-style: solid !important;
@ -93,9 +95,9 @@
.uiDataExploreTree {
/*float: left;
margin-right: 10px;*/
}
.uiDataMainDataPanel {
float: left;
max-width: 800px;