-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update templates for next interation
- Loading branch information
Showing
6 changed files
with
355 additions
and
176 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
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{%- extends 'semantic-forms/base.html.j2' -%} | ||
{% set title = nb.metadata.get('title', resources['metadata']['name']) | escape_html_keep_quotes %} | ||
|
||
{%- block header -%} | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
{%- block head -%} | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>{{title}}</title> | ||
<meta name="color-scheme" content="dark light"> | ||
|
||
<link rel="stylesheet" href="style.css"> | ||
{%- endblock head -%} | ||
{%- block html_head_js_mathjax -%}{%- endblock html_head_js_mathjax -%} | ||
</head> | ||
{%- endblock header -%} | ||
|
||
{% block any_cell %}{{cell_section(cell, loop)}}{% endblock any_cell %} | ||
|
||
{% block body_header %} | ||
|
||
<body> | ||
<header class="site"> | ||
{% block skip_links %} | ||
<a class="visually-hidden" tabindex="0" href="#/">Skip to content</a> | ||
{% endblock skip_links %} | ||
</header> | ||
<main id="/" aria-labelledby=title> | ||
{% block main_header scoped %} | ||
<form name="notebook" aria-labelledby="nb-controls-label"> | ||
<fieldset> | ||
<legend id="nb-controls-label">Notebook Controls</legend> | ||
<button type="submit">Run All</button> | ||
</fieldset> | ||
</form> | ||
<details id="toc"> | ||
<summary id="title">{{title}}</summary> | ||
</details> | ||
{% endblock main_header %} | ||
{% endblock body_header %} | ||
|
||
{% block body_footer %} | ||
</main> | ||
</body> | ||
|
||
</html> | ||
{% endblock body_footer %} |
Oops, something went wrong.