agora-server/app/templates/base.html

60 lines
2.3 KiB
HTML
Raw Normal View History

2020-11-07 14:34:48 +00:00
<!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" />
2021-01-01 01:46:47 +00:00
{% if node is defined %}
2021-01-01 01:48:42 +00:00
<title>α: {{node.uri}}</title>
2021-01-01 01:46:47 +00:00
{% else %}
<title>Agora</title>
{% endif %}
2020-11-07 14:34:48 +00:00
<meta name="description" content="See flancia.org/go/agora." />
<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')}}" id="theme-link" />
<script type=text/javascript src="{{url_for('static', filename='js/main.js')}}"></script>
2020-12-20 17:12:09 +00:00
<!-- 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>
2020-11-07 14:34:48 +00:00
</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>
2020-11-16 15:39:30 +00:00
| <a href="/journals">journals</a>
| <a href="/users">users</a>
| <a href="/latest">latest</a>
2020-11-16 15:39:30 +00:00
| <a href="/search">search</a>
2020-12-20 17:12:09 +00:00
| <a href="#" style="text-decoration: none;" class="theme-toggle">🌙</a>
2020-11-16 15:59:12 +00:00
| <a href="/node/agora-help" style="text-decoration: none;" class="help-button"></a>
</nav>
2020-11-07 14:34:48 +00:00
<hr>
<div class="content">
2020-11-07 14:34:48 +00:00
{% block content %}
{% endblock %}
</div>
</body>
2020-11-07 14:34:48 +00:00
</html>