-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbase.html
More file actions
64 lines (57 loc) · 2.2 KB
/
base.html
File metadata and controls
64 lines (57 loc) · 2.2 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
{% from 'macros.html' import navigation with context %}
{% block title %}Knowledge UI{% endblock %}
<head></head>
{% block head %}
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=yes">
<title>Mat-O-Lab: KnowledgeUI</title>
<meta charset="UTF-8"/>
<link rel="shortcut icon" href="/">
{% block styles %}
<!-- Bootstrap CSS -->
{{ bootstrap.load_css() }}
<!-- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous"> -->
<!-- Bootstrap Font Icon CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css">
<script type="text/javascript" src="/static/sparklis-custom.js"></script>
{% endblock %}
{% endblock %}
</head>
{% block content %}
<header class="pb-3 mb-4 border-bottom">
{{navigation()}}
</header>
<body class="bg-light rounded-3 px-3 d-flex flex-column min-vh-100">
{% with messages = get_flashed_messages() %}
<input id="sparql-endpoint-val" value="{{ endpoint }}" type="hidden">
<a id="sparklis-custom" onclick="redirect_to_osparklis()" class="btn btn-primary">
Redirect to sparqlis</a>
{% if messages %}
<ul class='alert alert-danger'>
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
{% endwith %}
<div class="mb-3 text-center row flex-grow-1" id="main">
{% block main %}
Dashboard
{% endblock %}
</div>
</body>
{% block footer %}
<footer class="pt-3 my-4 text-center text-muted border-top mt-auto">
<span class="site-footer-owner"><a href="https://github.com/Mat-O-Lab/KnowledgeUI">KnowledgeUI</a> is maintained by <a
href="https://matolab.org"><img src="{{ logo }}" width="5%" alt="mat-o-lab-logo" /></a>.</span>
</footer>
{% endblock %}
{% endblock %}
{% block scripts %}
<!-- Optional JavaScript -->
{{ bootstrap.load_js() }}
<script
src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js?lang=css&skin=sunburst">
</script>
{% endblock %}