-
Notifications
You must be signed in to change notification settings - Fork 166
Expand file tree
/
Copy pathlayout.html
More file actions
82 lines (77 loc) · 3.92 KB
/
layout.html
File metadata and controls
82 lines (77 loc) · 3.92 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
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<title>
{% block title %}
Bootlin - Elixir Cross Referencer
{% endblock %}
</title>
<meta name="description"
content="
{%- block description -%}
Elixir Cross Referencer - Explore source code in your browser - Particularly useful for the Linux kernel and other low-level projects in C/C++ (bootloaders, C libraries...)
{%- endblock %}">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1" />
<link rel="stylesheet" href="/static/style.css?v=15">
<link rel="preload" href="/static/img/2penguins.svg" as="image" />
<link rel="preload" href="/static/img/arrow-dropdown-16.svg" as="image" />
<link rel="preload" crossorigin href="/static/fonts/lxr.ttf" as="font" />
<link rel="preload" crossorigin href="/static/fonts/ubuntu/ubuntu-v14-cyrillic_greek_latin_latin-ext_greek-ext_cyrillic-ext-regular.woff2" as="font" />
<link rel="preload" crossorigin href="/static/fonts/ubuntu/ubuntu-v14-cyrillic_greek_latin_latin-ext_greek-ext_cyrillic-ext-700.woff2" as="font" />
<link rel="preload" crossorigin href="/static/fonts/ubuntu/ubuntu-v14-cyrillic_greek_latin_latin-ext_greek-ext_cyrillic-ext-italic.woff2" as="font" />
<link rel="preload" crossorigin href="/static/messages.json?v=1" as="fetch" />
<script>
document.documentElement.classList.remove('no-js');
document.documentElement.classList.add('js');
//NOTE: placing this here, instead of script.js makes the sidebar less likely to flash on navigation
const showSidebarStr = window.localStorage.getItem('show-sidebar');
const showSidebar = showSidebarStr == "true" || showSidebarStr == null;
if (showSidebar) {
// special class that opens the sidebar only on widescreen devices
document.documentElement.classList.add('show-menu');
}
</script>
</head>
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<div class="wrapper">
{% include 'header.html' %}
{% include 'topbar.html' %}
<main>
{% include "sidebar.html" %}
<div class="workspace">
<div id="reference-popup-wrapper">
<div id="reference-popup"></div>
<div id="loading-popup">Loading...</div>
</div>
{% block main %}
{% endblock %}
</div>
</main>
<footer class="footer">
<span class="version">
<a href="{{ source_base_url }}">{{ current_project }}</a>
<em class="icon-tag">{{ current_tag }}</em>
</span>
{% block footer %}
{% endblock %}
<a title="Go to top of the page" class="go-top icon-up screenreader" href="#">
Top
</a>
<span class="poweredby">powered by
<a target="_blank" href="{{ elixir_repo_url }}">
Elixir {{ elixir_version_string }}
</a>
</span>
</footer>
</div>
<script src="/static/script.js?v=17"></script>
<script src="/static/dynamic-references.js?v=4"></script>
<script src="/static/autocomplete.js" project="{{ current_project }}"></script>
</body>
</html>