redhat-cop / pathfinder

Apache License 2.0
41 stars 37 forks source link

Support disconnected network installation #225

Open javaflavor opened 4 years ago

javaflavor commented 4 years ago

Some of contents in pathfinder-ui module have external links of js and css resources. This means that PathFinder does not work in the disconnected network environments.

We hope that PathFinder is improved to include all the js and css resources in the war module.

./viewAssessment.jsp:

 15         <!-- #### CHARTS DEPENDENCIES ### -->
 16         <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.4.0/Chart.min.js"></script>

./head.jsp:

  9     <link rel="stylesheet" href="https://rawgit.com/RedHatBrand/Overpass/master/webfonts/overpass-webfont/overpass.css"/>

 15           <script src="https://www.w3counter.com/tracker.js?id=129401"></script>

./datatables-dependencies.jsp:

 6   <script src="https://cdn.datatables.net/v/bs/dt-1.10.18/datatables.min.js"></script>

./report.jsp:

 20         <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.1/Chart.bundle.min.js"></script>
 21         <script src="https://unpkg.com/lodash@4.17.10/lodash.min.js"></script>

./survey.jsp:

 33             <script src="https://unpkg.com/jquery"></script>
 34                                 
 35             <script src="https://surveyjs.azureedge.net/1.0.23/survey.jquery.js"></script>
 36             <link href="https://surveyjs.azureedge.net/1.0.23/survey.css" type="text/css" rel="stylesheet"/>
 37             <script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/js/select2.min.js"></script>
 38           <link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.4/css/select2.min.css" rel="stylesheet" />
 39                 

 43             <script src="https://unpkg.com/surveyjs-widgets"></script>

 47             <script src="https://unpkg.com/icheck@1.0.2"></script>
 48             <link rel="stylesheet" href="https://unpkg.com/icheck@1.0.2/skins/square/blue.css">