Browse Source

Merge branch 'master' of imp/bi-starter-5 into master

pull/1/head
richie 5 years ago committed by Gogs
parent
commit
3045bb9c2b
  1. 3
      plugin-demo/src/main/java/com/finebi/plugin/BIBoxPlotChartComponent.java
  2. 8
      plugin-demo/src/main/resources/com/finebi/plugin/web/css/chart.css

3
plugin-demo/src/main/java/com/finebi/plugin/BIBoxPlotChartComponent.java

@ -1,6 +1,7 @@
package com.finebi.plugin;
import com.fr.web.struct.Component;
import com.fr.web.struct.category.ParserType;
import com.fr.web.struct.category.ScriptPath;
import com.fr.web.struct.category.StylePath;
@ -18,6 +19,6 @@ public class BIBoxPlotChartComponent extends Component {
}
public StylePath style() {
return StylePath.build("com/finebi/plugin/web/css/chart.css");
return StylePath.build("com/finebi/plugin/web/css/chart.css", ParserType.DYNAMIC);
}
}

8
plugin-demo/src/main/resources/com/finebi/plugin/web/css/chart.css

@ -1,17 +1,17 @@
.chart-type-boxplot-column-icon .x-icon {
display: block;
background: url('/webroot/decision/resources?path=/com/finebi/plugin/web/image/boxplot.png') no-repeat center center;
background: url('${fineServletURL}/resources?path=/com/finebi/plugin/web/image/boxplot.png') no-repeat center center;
background-size: contain;
}
.chart-type-boxplot-column-icon .x-icon.hack {
background: url('/webroot/decision/resources?path=/com/finebi/plugin/web/image/boxplot.png') no-repeat center center;
background: url('${fineServletURL}/resources?path=/com/finebi/plugin/web/image/boxplot.png') no-repeat center center;
}
.chart-type-boxplot-column-disabled-icon .x-icon {
display: block;
background: url('/webroot/decision/resources?path=/com/finebi/plugin/web/image/disable.png') no-repeat center center;
background: url('${fineServletURL}/resources?path=/com/finebi/plugin/web/image/disable.png') no-repeat center center;
background-size: contain;
}
.chart-type-boxplot-column-disabled-icon .x-icon.hack {
background: url('/webroot/decision/resources?path=/com/finebi/plugin/web/image/disable.png') no-repeat center center;
background: url('${fineServletURL}/resources?path=/com/finebi/plugin/web/image/disable.png') no-repeat center center;
}
Loading…
Cancel
Save