JQuery CDN is now HTTPS. Generalized CSS and JS fechcing with url_for

pull/3/head
assar 8 years ago
parent ace663341d
commit 7c390537ea

@ -4,13 +4,13 @@
<meta charset="utf-8">
<title>ELAB Part Search Engine</title>
<script
src="http://code.jquery.com/jquery-3.2.1.min.js"
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="../static/style.css">
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
<script src="https://use.fontawesome.com/5c9d51f09a.js"></script>
<script type="text/javascript" src="../static/script.js"></script>
<script type="text/javascript" src="{{ url_for('static', filename='script.js') }}"></script>
</head>
<body>
<h1>ELAB Part Search Engine</h1>

Loading…
Cancel
Save