| 1 | {% load forum_extras %} |
|---|
| 2 | {% load i18n %} |
|---|
| 3 | |
|---|
| 4 | <!DOCTYPE html> |
|---|
| 5 | <html lang="en"> |
|---|
| 6 | <head> |
|---|
| 7 | <meta charset="utf-8"> |
|---|
| 8 | <title>{{ forum_settings.FORUM_BASE_TITLE }} {% block title %}{% endblock %}</title> |
|---|
| 9 | <meta name="description" content="{{ forum_settings.FORUM_META_DESCRIPTION }} " /> |
|---|
| 10 | <meta name="keywords" content="{{ forum_settings.FORUM_META_KEYWORDS }}" /> |
|---|
| 11 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|---|
| 12 | <meta name="author" content=""> |
|---|
| 13 | |
|---|
| 14 | <link rel="alternate" type="application/atom+xml" href="{% url djangobb:forum_posts_feed %}" title="{% trans "Latest posts on forum" %}" /> |
|---|
| 15 | <link rel="alternate" type="application/atom+xml" href="{% url djangobb:forum_topics_feed %}" title="{% trans "Latest topics on forum" %}" /> |
|---|
| 16 | |
|---|
| 17 | <script type="text/javascript"> |
|---|
| 18 | var STATIC_URL = "{{ STATIC_URL }}"; |
|---|
| 19 | var POST_PREVIEW_URL = "{% url djangobb:post_preview %}"; |
|---|
| 20 | </script> |
|---|
| 21 | {% if post %} |
|---|
| 22 | {% set_markup_editor request.user post.markup %} |
|---|
| 23 | {% else %} |
|---|
| 24 | {% set_markup_editor request.user %} |
|---|
| 25 | {% endif %} |
|---|
| 26 | {% if user.is_authenticated %} |
|---|
| 27 | <script type="text/javascript" > |
|---|
| 28 | $(document).ready(function() { |
|---|
| 29 | $(".markup").markItUp(mySettings); |
|---|
| 30 | }); |
|---|
| 31 | </script> |
|---|
| 32 | {% endif %} |
|---|
| 33 | |
|---|
| 34 | <!-- Le styles --> |
|---|
| 35 | <link href="{{ STATIC_URL }}bootstrap/css/bootstrap.css" rel="stylesheet"> |
|---|
| 36 | <style> |
|---|
| 37 | body { |
|---|
| 38 | padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ |
|---|
| 39 | } |
|---|
| 40 | </style> |
|---|
| 41 | <link href="{{ STATIC_URL }}bootstrap/css/bootstrap-responsive.css" rel="stylesheet"> |
|---|
| 42 | |
|---|
| 43 | <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --> |
|---|
| 44 | <!--[if lt IE 9]> |
|---|
| 45 | <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> |
|---|
| 46 | <![endif]--> |
|---|
| 47 | |
|---|
| 48 | <!-- Le fav and touch icons --> |
|---|
| 49 | <link rel="shortcut icon" href="{{ STATIC_URL }}djangobb_forum/favicon.png" type="image/png" /> |
|---|
| 50 | <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ STATIC_URL }}bootstrap/ico/apple-touch-icon-144-precomposed.png"> |
|---|
| 51 | <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ STATIC_URL }}bootstrap/ico/apple-touch-icon-114-precomposed.png"> |
|---|
| 52 | <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ STATIC_URL }}bootstrap/ico/apple-touch-icon-72-precomposed.png"> |
|---|
| 53 | <link rel="apple-touch-icon-precomposed" href="{{ STATIC_URL }}bootstrap/ico/apple-touch-icon-57-precomposed.png"> |
|---|
| 54 | |
|---|
| 55 | <!-- Highlightjs goodies --> |
|---|
| 56 | <link type="text/css" rel="stylesheet" href="{{ STATIC_URL }}djangobb_forum/css/pygments.css" /> |
|---|
| 57 | {% if highlight_word %} |
|---|
| 58 | <script type="text/javascript" src="{{ STATIC_URL }}djangobb_forum/js/jquery.highlight-3.pack.js"></script> |
|---|
| 59 | <script type="text/javascript"> |
|---|
| 60 | $(document).ready(function(){ |
|---|
| 61 | $("div.postmsg").highlight("{{ highlight_word }}"); |
|---|
| 62 | }); |
|---|
| 63 | </script> |
|---|
| 64 | {% endif %} |
|---|
| 65 | {% block extra_meta %}{% endblock %} |
|---|
| 66 | </head> |
|---|
| 67 | |
|---|
| 68 | <body> |
|---|
| 69 | |
|---|
| 70 | {% include 'djangobb_forum/header.html' %} |
|---|
| 71 | <div class="navbar navbar-fixed-top"> |
|---|
| 72 | <div class="navbar-inner"> |
|---|
| 73 | <div class="container"> |
|---|
| 74 | <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> |
|---|
| 75 | <span class="icon-bar"></span> |
|---|
| 76 | <span class="icon-bar"></span> |
|---|
| 77 | <span class="icon-bar"></span> |
|---|
| 78 | </a> |
|---|
| 79 | <a class="brand" href="#">Project name</a> |
|---|
| 80 | <div class="nav-collapse"> |
|---|
| 81 | <ul class="nav"> |
|---|
| 82 | <li class="active"><a href="#">Home</a></li> |
|---|
| 83 | <li><a href="#about">About</a></li> |
|---|
| 84 | <li><a href="#contact">Contact</a></li> |
|---|
| 85 | </ul> |
|---|
| 86 | </div><!--/.nav-collapse --> |
|---|
| 87 | </div> |
|---|
| 88 | </div> |
|---|
| 89 | </div> |
|---|
| 90 | |
|---|
| 91 | <div class="container"> |
|---|
| 92 | |
|---|
| 93 | {% block content %}{% endblock %} |
|---|
| 94 | <div id="brdfooter" class="block"> |
|---|
| 95 | <h2><span>{% trans "Board footer" %}</span></h2> |
|---|
| 96 | <div class="box"> |
|---|
| 97 | <div class="inbox"> |
|---|
| 98 | {% block controls %} |
|---|
| 99 | {% endblock %} |
|---|
| 100 | <p class="conr">Powered by <a href="http://djangobb.org/">DjangoBB</a></p> |
|---|
| 101 | <div class="clearer"></div> |
|---|
| 102 | {% block lofi %} |
|---|
| 103 | {% endblock %} |
|---|
| 104 | </div> |
|---|
| 105 | </div> |
|---|
| 106 | </div> |
|---|
| 107 | |
|---|
| 108 | </div> <!-- /container --> |
|---|
| 109 | |
|---|
| 110 | <!-- Le javascript |
|---|
| 111 | ================================================== --> |
|---|
| 112 | <!-- Placed at the end of the document so the pages load faster --> |
|---|
| 113 | <script src="{{ STATIC_URL }}bootstrap/js/jquery.js"></script> |
|---|
| 114 | <script src="{{ STATIC_URL }}bootstrap/js/bootstrap-transition.js"></script> |
|---|
| 115 | <script src="{{ STATIC_URL }}bootstrap/js/bootstrap-alert.js"></script> |
|---|
| 116 | <script src="{{ STATIC_URL }}bootstrap/js/bootstrap-modal.js"></script> |
|---|
| 117 | <script src="{{ STATIC_URL }}bootstrap/js/bootstrap-dropdown.js"></script> |
|---|
| 118 | <script src="{{ STATIC_URL }}bootstrap/js/bootstrap-scrollspy.js"></script> |
|---|
| 119 | <script src="{{ STATIC_URL }}bootstrap/js/bootstrap-tab.js"></script> |
|---|
| 120 | <script src="{{ STATIC_URL }}bootstrap/js/bootstrap-tooltip.js"></script> |
|---|
| 121 | <script src="{{ STATIC_URL }}bootstrap/js/bootstrap-popover.js"></script> |
|---|
| 122 | <script src="{{ STATIC_URL }}bootstrap/js/bootstrap-button.js"></script> |
|---|
| 123 | <script src="{{ STATIC_URL }}bootstrap/js/bootstrap-collapse.js"></script> |
|---|
| 124 | <script src="{{ STATIC_URL }}bootstrap/js/bootstrap-carousel.js"></script> |
|---|
| 125 | <script src="{{ STATIC_URL }}bootstrap/js/bootstrap-typeahead.js"></script> |
|---|
| 126 | |
|---|
| 127 | </body> |
|---|
| 128 | </html> |
|---|