-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
196 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,48 @@ | ||
{# | ||
specs/layout.html | ||
~~~~~~~~~~~~~~~~~ | ||
|
||
This is a Django template, not a standard HTML page, so we don't need HTML | ||
boilerplate. | ||
#} | ||
|
||
{%- for css in css_files %} | ||
{%- if css|attr("filename") %} | ||
{{ css_tag(css) }} | ||
{%- else %} | ||
<link rel="stylesheet" href="{{ pathto(css, 1)|e }}" type="text/css" /> | ||
{%- endif %} | ||
{%- endfor %} | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
{%- block head %} | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<title>{{ title }} | {{ docstitle|e }}</title> | ||
|
||
|
||
{%- block content %} | ||
<div class="specs specs-layout"> | ||
<aside class="specs-sidebar text-muted"> | ||
<strong class="d-none d-md-block h6 my-2">On this page</strong> | ||
<hr class="d-none d-md-block my-2"> | ||
<nav> | ||
{{ toc }} | ||
</nav> | ||
</aside> | ||
{%- for css in css_files %} | ||
{%- if css|attr("filename") %} | ||
{{ css_tag(css) }} | ||
{%- else %} | ||
<link rel="stylesheet" href="{{ pathto(css, 1)|e }}" type="text/css" /> | ||
{%- endif %} | ||
{%- endfor %} | ||
{%- endblock %} | ||
</head> | ||
<body> | ||
{%- block content %} | ||
<div class="specs specs-layout"> | ||
<aside class="specs-sidebar text-muted"> | ||
<strong class="d-none d-md-block h6 my-2">On this page</strong> | ||
<hr class="d-none d-md-block my-2"> | ||
<nav> | ||
{{ toc }} | ||
</nav> | ||
</aside> | ||
|
||
<main class="specs-main"> | ||
<div class="specs-resources"></div> | ||
<div class="specs-content"> | ||
{% block body %} {% endblock %} | ||
<main class="specs-main"> | ||
<div class="specs-resources"></div> | ||
<div class="specs-content"> | ||
{% block body %} {% endblock %} | ||
</div> | ||
</main> | ||
</div> | ||
</main> | ||
</div> | ||
|
||
{%- for js in script_files %} | ||
{{ js_tag(js) }} | ||
{%- endfor %} | ||
{%- endblock %} | ||
{%- for js in script_files %} | ||
{{ js_tag(js) }} | ||
{%- endfor %} | ||
{%- endblock %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters