base.html
4.11 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html lang="en">
<head>
{% load staticfiles %}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Control center for the SVOM French GFT">
<meta name="author" content="CNRS-IRAP">
<title>SVOM French GFT Control Center</title>
<!-- Bootstrap core CSS -->
<link href={% static "bootstrap/css/bootstrap.css" %} rel="stylesheet">
<link href={% static "bootstrap/css/sb-admin.css" %} rel="stylesheet">
<link rel="stylesheet" href={% static "bootstrap/font-awesome/css/font-awesome.min.css" %}>
<!-- Page Specific CSS -->
<link rel="stylesheet" href="http://cdn.oesmith.co.uk/morris-0.4.3.min.css">
<!-- JsTree -->
<link rel="stylesheet" href={% static "bootstrap/dist/themes/default/style.min.css" %} />
{% block head %}
{% endblock %}
</head>
<body>
<div id="wrapper">
<!-- Sidebar -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<a class="navbar-brand" href="">SVOM French GFT Control Center</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav side-nav">
<li><a href="{% url "current_schedule" %}">Schedule</a></li>
<li><a href="{% url "system" %}">System</a></li>
<li><a href="{% url "alerts_list" %}">Alerts</a></li>
<li><a href="{% url "requests_list" %}">Routines</a></li>
<li><a href="{% url "weather" %}">Weather</a></li>
<li><a href="{% url "site" %}">Site</a></li>
<li><a href="{% url "devices" %}">Devices</a></li>
<li><a href="{% url "users" %}">Users</a></li>
</ul>
<ul class="nav navbar-nav navbar-right navbar-user">
<li class="dropdown alerts-dropdown">
<a href="{% url "profile" %}"><i class="fa fa-user"></i> {{ user.first_name }} <b class="caret"></b></a>
</li>
<li class="dropdown user-dropdown">
<a href="{% url "user_logout" %}"><i class="fa fa-power-off"></i> Log Out</a>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</nav>
<div id="page-wrapper">
<div class="row">
<center><h2>{% block title %} {% endblock %}</h2></center>
</div>
<center>
<div class="row">
{% if error %}
<div class="alert alert-dismissable alert-danger">
{% endif %}
{% if success %}
<div class="alert alert-dismissable alert-success">
{% endif %}
{{ message|safe }}
</div>
</center>
{% block content %}
{% endblock %}
</div><!-- /#page-wrapper -->
</div><!-- /#wrapper -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src={% static "bootstrap/js/bootstrap.min.js" %}></script>
<!-- JavaScript -->
{# <script src={% static "bootstrap/js/jquery-1.10.2.js" %}></script>#}
{# <script src={% static "bootstrap/js/bootstrap.js" %}></script>#}
<script src={% static "bootstrap/js/jquery.formset.js" %}></script>
<!-- Page Specific Plugins -->
<script src="http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="http://cdn.oesmith.co.uk/morris-0.4.3.min.js"></script>
<script src={% static "bootstrap/js/morris/chart-data-morris.js" %}></script>
<script src={% static "bootstrap/js/tablesorter/jquery.tablesorter.js" %}></script>
<script src={% static "bootstrap/js/tablesorter/tables.js" %}></script>
</body>
</html>