aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html71
1 files changed, 71 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..52e8ad6
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,71 @@
+{# This file is part of GCIDE #}
+{# Copyright (C) 2012 Sergey Poznyakoff #}
+
+{# GCIDE is free software; you can redistribute it and/or modify #}
+{# it under the terms of the GNU General Public License as published by #}
+{# the Free Software Foundation; either version 3, or (at your option) #}
+{# any later version. #}
+
+{# GCIDE is distributed in the hope that it will be useful, #}
+{# but WITHOUT ANY WARRANTY; without even the implied warranty of #}
+{# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #}
+{# GNU General Public License for more details. #}
+
+{# You should have received a copy of the GNU General Public License #}
+{# along with GCIDE. If not, see <http://www.gnu.org/licenses/>. #}
+
+{% load withsetting %}
+{% withsetting MEDIA_URL as media_prefix %}
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<title>{{ page.title|striptags }}GNU Collaborative International Dictionary of English</title>
+<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+<meta name="keywords" content="gcide cide webster" />
+<meta name="description" content="GNU Collaborative International Dictionary of English" />
+<meta name="robots" content="{{ page.robots }}" />
+<link rel="stylesheet" type="text/css" href="{{ media_prefix }}/gcide.css" />
+<link rel="search" type="application/opensearchdescription+xml" title="GCIDE WebSearch" href="{% url opensearch %}" />
+<script type="text/javascript" src="{{ media_prefix }}/dicoweb.js"></script>
+</head>
+
+<body>
+{% block warning %}{% endblock %}
+<div id="content">
+<h1>GNU Collaborative International Dictionary of English</h1>
+
+
+<div id="menu">
+ <ul>
+ <li class="tab"><a {{ menu_class.about|safe }} href="/">About</a></li>
+ <li class="tab"><a {{ menu_class.license|safe }} href="/license">License</a>
+</li>
+ <li class="tab"><a {{ menu_class.download|safe }} href="/download">Download</a></li>
+ </ul>
+</div>
+
+{% block search %}{% endblock %}
+
+<div class="clear"></div>
+
+<div id="results">
+{% block results %}{% endblock %}
+</div>
+
+<div id="footer">
+<p>
+ Powered by <a href="http://www.gnu.org.ua/software/dico/">GNU
+ Dico</a>. Copyright &copy; 2008-{% now "Y" %} GNU Dico Team.
+</p>
+{% block license %}{% endblock %}
+<p>
+ Please send broken links and other corrections or suggestions to
+ <a href="mailto:gray@gnu.org.ua">Sergey Poznyakoff</a>.
+</p>
+</div>
+</div>
+
+</body>
+</html>
+{% endwithsetting %}

Return to:

Send suggestions and report system problems to the System administrator.