summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorGuillaume Mazoyer <gmazoyer@gravitons.in>2018-01-28 00:00:53 +0100
committerGuillaume Mazoyer <gmazoyer@gravitons.in>2018-01-28 00:00:53 +0100
commitaeb5fdd466e6b62d97bfa1c2d1e91b8d4f5f2e39 (patch)
tree392ad7703140097a778b6e980c7b0792880bfe09 /index.php
parent9445e01fe6de66817e4f0b255f2e20c7ad2f66ca (diff)
Start to work with Bootstrap 4.
Add required Bootstrap 4 and jQuery 3.3.1 versions. Also add Font Awesome 5.0.6 since Bootstrap decided to remove Glyphicons.
Diffstat (limited to 'index.php')
-rw-r--r--index.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/index.php b/index.php
index 9ae82e9..355a164 100644
--- a/index.php
+++ b/index.php
@@ -259,10 +259,7 @@ final class LookingGlass {
print('<meta name="keywords" content="Looking Glass, LG, BGP, prefix-list, AS-path, ASN, traceroute, ping, IPv4, IPv6, Cisco, Juniper, Internet" />');
print('<meta name="description" content="'.$this->frontpage['title'].'" />');
print('<title>'.htmlentities($this->frontpage['title']).'</title>');
- print('<link href="libs/bootstrap-3.3.7/css/bootstrap.min.css" rel="stylesheet" />');
- if ($this->frontpage['bootstrap_theme']) {
- print('<link href="libs/bootstrap-3.3.7/css/bootstrap-theme.min.css" rel="stylesheet" />');
- }
+ print('<link href="libs/bootstrap-4.0.0/css/bootstrap.min.css" rel="stylesheet" />');
if ($this->frontpage['custom_bootstrap_theme']) {
print('<link href="'.$this->frontpage['custom_bootstrap_theme'].'" rel="stylesheet" />');
}
@@ -277,8 +274,9 @@ final class LookingGlass {
$this->render_peering_policy_modal();
}
print('</body>');
- print('<script src="libs/jquery-3.2.1.min.js"></script>');
- print('<script src="libs/bootstrap-3.3.7/js/bootstrap.min.js"></script>');
+ print('<script src="libs/jquery-3.3.1.min.js"></script>');
+ print('<script src="libs/bootstrap-4.0.0/js/bootstrap.min.js"></script>');
+ print('<script src="libs/fontawesome-5.0.6/js/fontawesome-all.min.js"></script>');
print('<script src="js/looking-glass.js"></script>');
print('</html>');
}