63 lines
1.6 KiB
Django/Jinja
63 lines
1.6 KiB
Django/Jinja
{%- import 'snippets/snippets.j2' as snippets with context -%}
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>{% block title %}foxhop.net{% endblock %}</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link rel="stylesheet" href="/static/css/common.css">
|
|
<link rel="stylesheet" href="/static/theme/chaostheory/css/960.css">
|
|
<link rel="stylesheet" href="/static/theme/chaostheory/css/pygments-native.css">
|
|
<link rel="stylesheet" href="/static/theme/chaostheory/css/theme.css">
|
|
|
|
{% include 'snippets/javascript-includes.j2' %}
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<noscript>
|
|
<style>.js-only { display: none; }</style>
|
|
</noscript>
|
|
|
|
{% include 'snippets/flash-alerts.j2' %}
|
|
|
|
<div id="header">
|
|
<a href="/">foxhop.net</a>
|
|
</div>
|
|
|
|
<div class="container_16">
|
|
|
|
<div id="wikibar" class="grid_16">
|
|
<div id="wikibar-left" class="grid_10">
|
|
<a href="/" class="on">home</a>
|
|
{%- if request.user %}
|
|
{{ snippets.user_link(request.user) }}
|
|
<a href="/log-out">log out</a>
|
|
{%- else %}
|
|
<a href="/join-or-log-in">join or log in</a>
|
|
{%- endif %}
|
|
</div>
|
|
<div id="wikibar-right" class="grid_6">
|
|
<form action="/search" id="search" onsubmit="submit.disabled = true; return true;">
|
|
<input type="hidden" name="namespace" value="{{ request.namespace.name }}">
|
|
<input type="input" name="keywords" id="keywords" placeholder="search" required/>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
<div id="content" class="grid_16">
|
|
{% block content %}
|
|
{% endblock %}
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="footer">
|
|
{% include 'snippets/powered-by.j2' %}
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|