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:
parent
74e452e19a
commit
9a55feae3e
|
@ -850,6 +850,8 @@ public class PerformFishAnnualAnalyticsController {
|
||||||
case PERFORMFISH_SYNOPTIC_TABLE_FARM:
|
case PERFORMFISH_SYNOPTIC_TABLE_FARM:
|
||||||
if(!result.getFileName().contains("legend")) {
|
if(!result.getFileName().contains("legend")) {
|
||||||
cssTableStyle = "synoptictable-farm";
|
cssTableStyle = "synoptictable-farm";
|
||||||
|
}else {
|
||||||
|
cssTableStyle = "simpletable-synoptic";
|
||||||
}
|
}
|
||||||
ShowResult showResultSin = new ShowResult(title);
|
ShowResult showResultSin = new ShowResult(title);
|
||||||
showResultSin.showCSVFile(result, cssTableStyle);
|
showResultSin.showCSVFile(result, cssTableStyle);
|
||||||
|
|
|
@ -784,7 +784,10 @@ public class PerformFishAnalyticsController {
|
||||||
|
|
||||||
if(!result.getFileName().contains("legend")) {
|
if(!result.getFileName().contains("legend")) {
|
||||||
cssTableStyle = "synoptictable-batch";
|
cssTableStyle = "synoptictable-batch";
|
||||||
|
}else {
|
||||||
|
cssTableStyle = "simpletable-synoptic";
|
||||||
}
|
}
|
||||||
|
|
||||||
ShowResult showResultSin = new ShowResult(title);
|
ShowResult showResultSin = new ShowResult(title);
|
||||||
showResultSin.showCSVFile(result, cssTableStyle);
|
showResultSin.showCSVFile(result, cssTableStyle);
|
||||||
displayingOrderedSynopticTable(dmResponse, result.getFileName(), container, showResultSin);
|
displayingOrderedSynopticTable(dmResponse, result.getFileName(), container, showResultSin);
|
||||||
|
|
|
@ -29,10 +29,7 @@ import com.github.gwtbootstrap.client.ui.CheckBox;
|
||||||
import com.github.gwtbootstrap.client.ui.ControlGroup;
|
import com.github.gwtbootstrap.client.ui.ControlGroup;
|
||||||
import com.github.gwtbootstrap.client.ui.ListBox;
|
import com.github.gwtbootstrap.client.ui.ListBox;
|
||||||
import com.github.gwtbootstrap.client.ui.constants.AlertType;
|
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.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.GWT;
|
||||||
import com.google.gwt.core.client.Scheduler;
|
import com.google.gwt.core.client.Scheduler;
|
||||||
import com.google.gwt.dom.client.Style.Unit;
|
import com.google.gwt.dom.client.Style.Unit;
|
||||||
|
|
|
@ -303,4 +303,23 @@ table.synoptictable-farm td:last-child {
|
||||||
|
|
||||||
.my-active-html:hover{
|
.my-active-html:hover{
|
||||||
color: #000 !important;
|
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;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue