base.html 4.1 KB
Newer Older
Xysto's avatar
Xysto committed
1
2
<!doctype html>
<html lang="en">
3
4
5
6
7
8
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="ExpressJS + MongoDB + Nunjucks starter kit to kickstart your projects">
  <meta name="author" content="">
  <link rel="icon" href="favicon.ico">
Xysto's avatar
Xysto committed
9

10
  <title>{% if title %}{{ title }} - X-Cockpit{% else %}Dashboard - X-Cockpit{% endif %}</title>
Xysto's avatar
Xysto committed
11

12
13
  <!-- Bootstrap core CSS -->
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
Xysto's avatar
Xysto committed
14

15
  <!-- Fontawesome core CSS -->
Xysto's avatar
Xysto committed
16

17
18
  <!-- OpenLayer CSS -->
  <link href="/assets/dist/openlayer.min.css" rel="stylesheet">
Corentin Mors's avatar
Corentin Mors committed
19

20
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
21

Corentin Mors's avatar
Corentin Mors committed
22
23
24
  <!-- Custom styles for this template -->
  <link href="/assets/dist/style.min.css" rel="stylesheet">
</head>
Xysto's avatar
Xysto committed
25

26
<body>
Xysto's avatar
Xysto committed
27

Corentin Mors's avatar
Corentin Mors committed
28
29
30
31
	<div class="wrapper">
	    <!-- Sidebar -->
	    <nav id="sidebar">
	        <div class="sidebar-header">
32
33
	            <img
				    src="/assets/img/Logo_X-Cockpit_earth.svg"
Corentin Mors's avatar
Corentin Mors committed
34
35
36
37
38
				    alt="Logo X-Cockpit"
				    height="100px"
				    width="210px" />
				    <br>
				    <h2 style="text-align: center">X-Cockpit</h2>
Corentin Mors's avatar
Corentin Mors committed
39
	        </div>
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
83
84
85
86
87
88
89
90
	        <ul class="list-unstyled components">
	        	<li>
	                <a href="/">Home</a>
	            </li>
	        	<li>
	                <a href="/dashboard">Dashboard</a>
	            </li>
	            <li>
	                <a href="#missionSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">Missions</a>
	                <ul class="collapse list-unstyled" id="missionSubmenu">
	                    <li>
	                        <a href="/missions">All mission</a>
	                    </li>
	                    <li>
	                        <a href="/checklists">Checklists</a>
	                    </li>
	                    <li>
	                        <a href="/resources">Resources</a>
	                    </li>
	                </ul>
	            </li>
	            <li>
	                <a href="/weather">Weather</a>
	            </li>
	            <li>
	                <a href="/location">Map</a>
	            </li>
	        </ul>
	    </nav>

	    <!-- Page Content -->
	    <div id="content">

	    	<button type="button" id="sidebarCollapse" class="btn btn-info">
                <i class="fas fa-align-left"></i>
                <span>Menu</span>
            </button>
            <button type="button" id="darkButton" class="btn btn-dark">
                <i class="fas fa-moon fa-align-left"></i>
                <span>Night Mode</span>
            </button>

            <span id="live-weather" class="float-right btn btn-dark"></span>

            <hr>

	        {% block content %}
				This is the default content
			{% endblock %}

Corentin Mors's avatar
Corentin Mors committed
91
			<br><br><hr>
92

Corentin Mors's avatar
Corentin Mors committed
93
	    	<span class="footer-text">- X-Cockpit -</span> <span id="live-hour" class="footer-text"></span>
94

95
	    </div>
Xysto's avatar
Xysto committed
96

97
	</div>
98

99
100
101
102
103
104
105
106
107
108
109
	<!-- Bootstrap core JavaScript
	================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->
	<script src="/assets/dist/jquery.min.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
	<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
	<script src="https://cdn.jsdelivr.net/npm/jdenticon@2.1.0" async></script>
	 <!-- jQuery Custom Scroller CDN -->
	<script src="https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.5/jquery.mCustomScrollbar.concat.min.js"></script>
	<script src="/assets/dist/openlayer.min.js" async></script>
	<script src="/assets/dist/main.min.js" async></script>
Xysto's avatar
Xysto committed
110

111
</body>
Xysto's avatar
Xysto committed
112
</html>