agora-server/app/templates/base.html

61 lines
2.4 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<!--
Copyright 2020 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
<meta charset="utf-8" />
{% if node is defined %}
<title>Node [[{{node.uri}}]]</title>
{% else %}
<title>Agora</title>
{% endif %}
<meta name="description" content="The Agora is a crowdsourced distributed knowledge graph: anagora.org." />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" />
<link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='css/screen-dark.css')}}?uncached2" id="theme-link" />
<script type=text/javascript src="{{url_for('static', filename='js/main.js')}}"></script>
<!-- considering this way of integrating hypothesis, although I like "standard" (sidebar) mode.
<script type="application/json" class="js-hypothesis-config">
{
"externalContainerSelector": ".node",
}
</script>
-->
<script async src="https://hypothes.is/embed.js"></script>
<script src="https://hypothes.is/embed.js" async></script>
</head>
<body>
<nav class="navigation">
<a href="/"><img src="/static/img/agora.png" class="logo" style="vertical-align: top" width="19" height="19"></a>
| <a href="/nodes">nodes</a>
| <a href="/users">@</a>
| <a href="/latest">Δ</a>
| <form action="/jump" method="get" style="display: inline;">jump: <input type="text" name="q"></form>
| <a href="#" style="text-decoration: none;" class="theme-toggle">🌙</a>
<!-- doesn't fit on mobile right now.
| <a href="/node/agora-help" style="text-decoration: none;" class="help-button"></a>
-->
</nav>
<hr>
<div class="content">
{% block content %}
{% endblock %}
</div>
</body>
</html>