ref 12119:AccountingDashboard - Create a new Accounting Dashboard

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

Updated Export file support. Added PNG/JPEG/PDF file export.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/accounting-dashboard@169836 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2018-07-18 17:54:30 +00:00
parent 390a1c753a
commit 0298c84fc9
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,6 @@
package org.gcube.portlets.user.accountingdashboard.client.resources; package org.gcube.portlets.user.accountingdashboard.client.resources;
import com.google.gwt.resources.client.ImageResource;
import com.google.gwt.user.cellview.client.CellTree.Resources; import com.google.gwt.user.cellview.client.CellTree.Resources;
import com.google.gwt.user.cellview.client.CellTree.Style; import com.google.gwt.user.cellview.client.CellTree.Style;
@ -18,4 +19,8 @@ public interface ScopeTreeResources extends Resources {
*/ */
@Source(ScopeTreeStyle.DEFAULT_CSS) @Source(ScopeTreeStyle.DEFAULT_CSS)
ScopeTreeStyle cellTreeStyle(); ScopeTreeStyle cellTreeStyle();
@Source("cellTreeSelectedBackgroundCustom.png")
ImageResource cellTreeSelectedBackgroundCustom();
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 B

View File

@ -55,10 +55,11 @@
} }
@sprite .cellTreeSelectedItem { @sprite .cellTreeSelectedItem {
gwt-image: 'cellTreeSelectedBackground'; gwt-image: 'cellTreeSelectedBackgroundCustom';
background-color: #628cd5; background-color: #0caad9;/*#628cd5;*/
color: white; color: white;
height: auto; height: auto;
width: auto;
overflow: visible; overflow: visible;
} }