readthedocs.org/readthedocs/templates/base.html

105 lines
3.2 KiB
HTML
Raw Normal View History

2010-08-14 15:11:06 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<!-- meta -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="icon" type="image/png" href="{{ MEDIA_URL }}images/favicon.png">
2010-08-14 15:11:06 +00:00
<!-- title -->
2010-08-14 17:55:53 +00:00
<title>{% block title %}{% endblock %} | Read the Docs</title>
2010-08-14 15:11:06 +00:00
<!-- css -->
2010-08-14 15:17:45 +00:00
<link rel="stylesheet" href="{{ MEDIA_URL }}css/core.css">
2010-08-15 17:32:45 +00:00
{% block extra_links %}{% endblock %}
2010-08-14 15:11:06 +00:00
<!-- js -->
2010-08-14 16:35:16 +00:00
<!-- jquery -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
2010-08-15 05:38:50 +00:00
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js"></script>
2010-08-14 16:35:16 +00:00
<!-- typekit -->
<script type="text/javascript" src="http://use.typekit.com/xgl8ypn.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
2010-08-15 17:32:45 +00:00
<script type="text/javascript" src="{{ MEDIA_URL }}javascript/rtd.js"></script>
2010-08-15 17:32:45 +00:00
{% block extra_scripts %}{% endblock %}
2010-08-14 15:11:06 +00:00
</head>
2010-08-15 04:33:12 +00:00
<body class="{% block body_class %}{% endblock %}">
2010-08-15 05:42:32 +00:00
{% block header-wrapper %}{% include "core/header.html" %}{% endblock %}
2010-08-14 16:35:16 +00:00
2010-08-31 22:23:40 +00:00
{% block dashboard_bar %}{% endblock %}
2010-08-16 04:07:40 +00:00
2010-08-15 05:42:32 +00:00
{% block project_editing %}{% endblock %}
2010-08-14 17:11:25 +00:00
2010-08-14 16:35:16 +00:00
<!-- BEGIN content-->
<div id="content">
2010-08-14 17:11:25 +00:00
<div class="wrapper">
2010-08-16 04:07:40 +00:00
2010-08-16 04:22:03 +00:00
{% if request.GET.docs_not_built %}
<div class="notification">
<p>You docs are currently being built. It may take a moment for them to appear.</p>
<p>Read the Docs thanks you for your continued patience.</p>
</div>
{% endif %}
2010-08-16 04:07:40 +00:00
2010-08-14 17:55:53 +00:00
{% block content-header %}
{% endblock %}
{% block content %}
{% endblock %}
2010-08-14 17:11:25 +00:00
</div>
2010-08-14 16:35:16 +00:00
</div>
<!-- END content-->
2010-08-14 21:40:05 +00:00
<!-- BEGIN footer-->
<div id="footer">
<div class="wrapper">
<hr>
{% block footer-content %}
2011-04-30 19:49:26 +00:00
<p>2010. Created by <a href="http://ericholscher.com/">Eric Holscher</a>, <a href="http://charlesleifer.com/">Charles Leifer</a>, and <a href="http://bobbygrace.info/">Bobby Grace</a> for the 2010 <a href="http://djangodash.com/">Django Dash</a>. <a href="http://github.com/rtfd/readthedocs.org">Github</a> | <a href="http://read-the-docs.readthedocs.org">Docs</a>. Sponsored by <a href="http://revsys.com">RevSys</a> and <a href="http://www.python.org/psf/">The Python Software Foundation.</a></p>
2010-08-14 21:40:05 +00:00
{% endblock %}
</div>
</div>
<!-- END footer-->
2010-08-14 15:11:06 +00:00
</body>
2010-08-15 05:59:23 +00:00
<!-- BEGIN google analytics -->
2010-08-15 03:55:43 +00:00
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17997319-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
$('.rtfd-header-search input:text').autocomplete({
2010-08-15 05:38:50 +00:00
source: '{% url search_autocomplete %}',
minLength: 2,
open: function(event, ui) {
ac_top = $('.ui-autocomplete').css('top');
$('.ui-autocomplete').css({'width': '233px', 'top': ac_top + 10 });
}
2010-08-15 05:38:50 +00:00
});
2010-08-15 03:55:43 +00:00
</script>
2010-08-15 05:59:23 +00:00
<!-- END google analytics -->
2010-08-14 15:11:06 +00:00
</html>