-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (62 loc) · 2.26 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>FRMA Ontology</title>
<!-- FontAwesome CSS + Font -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css">
<!-- VueJS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.1.6/vue.min.js"></script>
<!-- Vue Router -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue-router/3.0.1/vue-router.min.js"></script>
<!-- Bootstrap Vue -->
<script src="https://unpkg.com/babel-polyfill@latest/dist/polyfill.min.js"></script>
<script src="https://unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.js"></script>
<!-- SVG Pan Zoom -->
<script src="https://ariutta.github.io/svg-pan-zoom/dist/svg-pan-zoom.min.js"></script>
<!-- Bootstrap 4 CSS -->
<link type="text/css" rel="stylesheet" href="//unpkg.com/bootstrap/dist/css/bootstrap.min.css"/>
<link type="text/css" rel="stylesheet" href="//unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.css"/>
</head>
<body class='bg-dark text-light'>
<!-- Navbar -->
<nav class="navbar bg-dark text-light fixed-top">
<a class="navbar-brand text-light" href="#/">
<strong>FRMA Ontology</strong>
</a>
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link text-light" target="_blank" href="https://github.com/FRMA-Ontology">Team FRMA</a>
</li>
</ul>
</nav>
<!-- Application Container -->
<div class="container-fluid h-100">
<!-- App Container -->
<div class="row" id='app'>
<div class="col-lg-12 pt-4">
<router-view />
</div>
</div>
</div>
<script type="text/javascript" src='./client.js'></script>
<script>
// Isolates route components
const App = window.app.layout
const Splash = window.app.splash
// Defines application routes
const routes = [
{ path: '/', component: Splash },
{ path: '/map', component: App }
]
// Creates a new instance of VueRouter
const router = new VueRouter({
routes: routes
})
// Starts the Vue application
new Vue({
router: router
}).$mount('#app')
</script>
</body>
</html>