Skip to content

Commit fbf30b5

Browse files
committed
change to use cdn
1 parent d4b39f1 commit fbf30b5

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

src/header.php

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,16 @@ function showActive($page) {
4242
<meta name="viewport" content="width=device-width, initial-scale=1">
4343
<title><?php echo $title; ?></title>
4444

45+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
46+
4547
<!-- Bootstrap -->
46-
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
47-
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
48-
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
49-
<!--[if lt IE 9]>
50-
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
51-
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
52-
<![endif]-->
48+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
49+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
50+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
51+
5352
<script type="text/javascript" src="phpGPS.js"></script>
5453
</head>
5554
<body>
56-
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
57-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
58-
<!-- Include all compiled plugins (below), or include individual files as needed -->
59-
<script src="bootstrap/js/bootstrap.min.js"></script>
6055
<nav class="navbar navbar-default" role="navigation">
6156
<div class="container-fluid">
6257
<!-- Brand and toggle get grouped for better mobile display -->

0 commit comments

Comments
 (0)