Github user Adamyuanyuan commented on the issue:
https://github.com/apache/spark/pull/22516
Another way is create a new css file such as historypage-specific.css, and
add link in dataTablesHeaderNodes from UIUtils.scala, make new file only loaded
when the table are used, like this:
```
def dataTablesHeaderNodes: Seq[Node] = {
<link rel="stylesheet"
href={prependBaseUri("/static/jquery.dataTables.1.10.4.min.css")}
type="text/css"/>
<link rel="stylesheet"
href={prependBaseUri("/static/dataTables.bootstrap.css")}
type="text/css"/>
<link rel="stylesheet"
href={prependBaseUri("/static/jsonFormatter.min.css")} type="text/css"/>
<link rel="stylesheet"
href={prependBaseUri("/static/historypage-specific.css")}
type="text/css"/>
<script
src={prependBaseUri("/static/jquery.dataTables.1.10.4.min.js")}></script>
<script
src={prependBaseUri("/static/jquery.cookies.2.2.0.min.js")}></script>
<script src={prependBaseUri("/static/jquery.blockUI.min.js")}></script>
<script
src={prependBaseUri("/static/dataTables.bootstrap.min.js")}></script>
<script src={prependBaseUri("/static/jsonFormatter.min.js")}></script>
<script src={prependBaseUri("/static/jquery.mustache.js")}></script>
}
```
But I think it's a bit redundant.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]