Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update chart.js to v2.9.3 and moment.js to v2.24 #1115

Merged
merged 1 commit into from
May 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion db_graph.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
</div>
</div>

<script src="scripts/vendor/moment.min.js"></script>
<script src="scripts/vendor/daterangepicker.js"></script>
<script src="scripts/pi-hole/js/db_graph.js"></script>

Expand Down
1 change: 0 additions & 1 deletion db_lists.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@
<!-- /.col -->
</div>

<script src="scripts/vendor/moment.min.js"></script>
<script src="scripts/vendor/daterangepicker.js"></script>
<script src="scripts/pi-hole/js/db_lists.js"></script>

Expand Down
1 change: 0 additions & 1 deletion db_queries.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@
</div>
<!-- /.row -->

<script src="scripts/vendor/moment.min.js"></script>
<script src="scripts/vendor/daterangepicker.js"></script>
<script src="scripts/pi-hole/js/db_queries.js"></script>

Expand Down
1 change: 0 additions & 1 deletion network.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,5 @@
require "scripts/pi-hole/php/footer.php";
?>

<script src="scripts/vendor/moment.min.js"></script>
<script src="scripts/pi-hole/js/ip-address-sorting.js"></script>
<script src="scripts/pi-hole/js/network.js"></script>
1 change: 0 additions & 1 deletion queries.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@
</div>
<!-- /.row -->

<script src="scripts/vendor/moment.min.js"></script>
<script src="scripts/pi-hole/js/queries.js"></script>

<?php
Expand Down
4 changes: 2 additions & 2 deletions scripts/pi-hole/php/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,12 @@ function pidofFTL()
<link rel="stylesheet" href="style/vendor/bootstrap/css/bootstrap-select.min.css">
<script src="style/vendor/bootstrap/js/bootstrap-toggle.min.js"></script>
<link rel="stylesheet" href="style/vendor/bootstrap/css/bootstrap-toggle.min.css">
<script src="scripts/vendor/moment.min.js"></script>
<?php } ?>

<script src="scripts/vendor/jquery.dataTables.min.js"></script>
<script src="scripts/vendor/dataTables.bootstrap.min.js"></script>
<script src="scripts/vendor/Chart.bundle.min.js"></script>
<script src="scripts/vendor/moment.min.js"></script>
<script src="scripts/vendor/Chart.min.js"></script>
</head>
<body class="hold-transition skin-blue sidebar-mini <?php if($boxedlayout){ ?>layout-boxed<?php } ?>">
<noscript>
Expand Down
10 changes: 0 additions & 10 deletions scripts/vendor/Chart.bundle.min.js

This file was deleted.

10 changes: 10 additions & 0 deletions scripts/vendor/Chart.min.js

Large diffs are not rendered by default.

552 changes: 1 addition & 551 deletions scripts/vendor/moment.min.js

Large diffs are not rendered by default.