Add app/index.html from gmba-connect
Also update the static resource path using static tag
This commit is contained in:
parent
ac0014cfdb
commit
54267c874f
1 changed files with 64 additions and 0 deletions
64
app/templates/app/index.html
Normal file
64
app/templates/app/index.html
Normal file
|
@ -0,0 +1,64 @@
|
|||
{% load static %}
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>GMBA Connect</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<!--[if lte IE 8]><script src="/static/assets/js/ie/html5shiv.js"></script><![endif]-->
|
||||
<!--[if lte IE 8]><link rel="stylesheet" href="/static/assets/css/ie8.css" /><![endif]-->
|
||||
<!--[if lte IE 9]><link rel="stylesheet" href="/static/assets/css/ie9.css" /><![endif]-->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.0.5/es5-shim.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.3.4/leaflet.css" integrity="sha256-YR4HrDE479EpYZgeTkQfgVJq08+277UXxMLbi/YP69o=" crossorigin="anonymous" />
|
||||
<link rel="stylesheet" href="https://unpkg.com/blaze-css@1.6.0/dist/blaze.min.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
||||
|
||||
<link rel="stylesheet" href="{% static 'app/gmba-index.css' %}">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="https://leafletjs.com/docs/images/favicon.ico" />
|
||||
</head>
|
||||
<body>
|
||||
<blaze-site>
|
||||
|
||||
<!-- Main -->
|
||||
<main>
|
||||
<div class="container">
|
||||
<gmba-search></gmba-search>
|
||||
<noscript>
|
||||
<u>This application requires JavaScript to work.</u>
|
||||
</noscript>
|
||||
<div id="block-warning" role="alert" class="c-alert">
|
||||
If you are seeing this message after a few seconds, you may have content blocking enabled in your browser,
|
||||
preventing the <b>Find a scientist</b> application from loading. For more information, see the documentation
|
||||
on <b>content blocking</b> in your web browser, e.g.
|
||||
<a href="https://support.mozilla.org/en-US/kb/content-blocking#w_how-to-detect-when-content-blocking-is-on_2" target="_blank">Mozilla Firefox</a>.
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<h5 style="display:none"><a href="#" id="logo"><em>GMBA</em> Connect</a></h5>
|
||||
|
||||
</blaze-site>
|
||||
|
||||
<!-- Riot tags -->
|
||||
<script src="{% static 'app/gmba-search.tag' %}" type="riot/tag"></script>
|
||||
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.2.0/zepto.min.js" integrity="sha512-BrvVYNhKh6yST24E5DY/LopLO5d+8KYmIXyrpBIJ2PK+CyyJw/cLSG/BfJomWLC1IblNrmiJWGlrGueKLd/Ekw==" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/qs/6.10.1/qs.min.js" integrity="sha512-aTKlYRb1QfU1jlF3k+aS4AqTpnTXci4R79mkdie/bp6Xm51O5O3ESAYhvg6zoicj/PD6VYY0XrYwsWLcvGiKZQ==" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet-ajax/2.1.0/leaflet.ajax.min.js" integrity="sha512-Abr21JO2YqcJ03XGZRPuZSWKBhJpUAR6+2wH5zBeO4wAw4oksr8PRdF+BKIRsxvCdq+Mv4670rZ+dLnIyabbGw==" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/riot/3.13.2/riot+compiler.min.js" integrity="sha512-P+koLmcG1nhQJ60eVlI1hRfNJ5MTUECu0aag4xAfKx1yEJwUznLKq4Byz8xE6E0br6URsuVrQIH8+BGAZLMtvg==" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/riotgear/latest/rg.min.js"></script>
|
||||
|
||||
<script language="JavaScript">riot.mount('gmba-search')</script>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue