changed the stylesheet for synopotic legend

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/performfish-analytics-portlet@181302 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-07-24 13:08:34 +00:00
parent 74e452e19a
commit 9a55feae3e
4 changed files with 25 additions and 4 deletions

View File

@ -850,6 +850,8 @@ public class PerformFishAnnualAnalyticsController {
case PERFORMFISH_SYNOPTIC_TABLE_FARM:
if(!result.getFileName().contains("legend")) {
cssTableStyle = "synoptictable-farm";
}else {
cssTableStyle = "simpletable-synoptic";
}
ShowResult showResultSin = new ShowResult(title);
showResultSin.showCSVFile(result, cssTableStyle);

View File

@ -784,7 +784,10 @@ public class PerformFishAnalyticsController {
if(!result.getFileName().contains("legend")) {
cssTableStyle = "synoptictable-batch";
}else {
cssTableStyle = "simpletable-synoptic";
}
ShowResult showResultSin = new ShowResult(title);
showResultSin.showCSVFile(result, cssTableStyle);
displayingOrderedSynopticTable(dmResponse, result.getFileName(), container, showResultSin);

View File

@ -29,10 +29,7 @@ import com.github.gwtbootstrap.client.ui.CheckBox;
import com.github.gwtbootstrap.client.ui.ControlGroup;
import com.github.gwtbootstrap.client.ui.ListBox;
import com.github.gwtbootstrap.client.ui.constants.AlertType;
import com.github.gwtbootstrap.client.ui.constants.ButtonType;
import com.github.gwtbootstrap.client.ui.constants.ControlGroupType;
import com.github.gwtbootstrap.client.ui.constants.IconType;
import com.github.gwtbootstrap.client.ui.resources.ButtonSize;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.dom.client.Style.Unit;

View File

@ -303,4 +303,23 @@ table.synoptictable-farm td:last-child {
.my-active-html:hover{
color: #000 !important;
}
}
table.simpletable-synoptic {
border-collapse: separate;
font-family: verdana, arial, sans-serif;
border-spacing: 2px;
border: none;
margin-top: 20px;
background-color: #FFF;
text-align: center;
}
table.simpletable-synoptic td{
font-size: 16px;
}
table.simpletable-synoptic td:first-child{
font-size: 16px;
font-weight: bold;
}