##// END OF EJS Templates
Removed borders from footer and header. Removed additional footer block....
neko259 -
r842:b89ae958 default
parent child Browse files
Show More
@@ -101,6 +101,20 b' body {'
101 101 visibility: hidden;
102 102 }
103 103
104 .header {
105 border-bottom: solid 1px #888;
106 margin-bottom: 5px;
107 border-top: none;
108 margin-top: 0;
109 }
110
111 .footer {
112 border-top: solid 1px #888;
113 margin-top: 5px;
114 border-bottom: none;
115 margin-bottom: 0;
116 }
117
104 118 p, .br {
105 119 margin-top: .5em;
106 120 margin-bottom: .5em;
@@ -341,10 +355,6 b' li {'
341 355 display: none;
342 356 }
343 357
344 .footer {
345 margin: 5px;
346 }
347
348 358 .bar-value {
349 359 background: rgba(50, 55, 164, 0.45);
350 360 font-size: 0.9em;
@@ -25,7 +25,7 b''
25 25 <script src="{% static 'js/jquery.mousewheel.js' %}"></script>
26 26 <script src="{% url 'js_info_dict' %}"></script>
27 27
28 <div class="navigation_panel">
28 <div class="navigation_panel header">
29 29 <a class="link" href="{% url 'index' %}">{% trans "All threads" %}</a>
30 30 {% for tag in tags %}
31 31 <a class="tag" href="{% url 'tag' tag_name=tag.name %}"
@@ -45,7 +45,7 b''
45 45 <script src="{% static 'js/refpopup.js' %}"></script>
46 46 <script src="{% static 'js/main.js' %}"></script>
47 47
48 <div class="navigation_panel">
48 <div class="navigation_panel footer">
49 49 {% block metapanel %}{% endblock %}
50 50 [<a href="{% url 'admin:index' %}">{% trans 'Admin' %}</a>]
51 51 {% with ppd=posts_per_day|floatformat:2 %}
@@ -54,9 +54,5 b''
54 54 <a class="link" href="#top">{% trans 'Up' %}</a>
55 55 </div>
56 56
57 <div class="footer">
58 <!-- Put your banners here -->
59 </div>
60
61 57 </body>
62 58 </html>
@@ -154,18 +154,6 b' INSTALLED_APPS = ('
154 154 'boards',
155 155 )
156 156
157 DEBUG_TOOLBAR_PANELS = (
158 'debug_toolbar.panels.version.VersionDebugPanel',
159 'debug_toolbar.panels.timer.TimerDebugPanel',
160 'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
161 'debug_toolbar.panels.headers.HeaderDebugPanel',
162 'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
163 'debug_toolbar.panels.template.TemplateDebugPanel',
164 'debug_toolbar.panels.sql.SQLDebugPanel',
165 'debug_toolbar.panels.signals.SignalDebugPanel',
166 'debug_toolbar.panels.logger.LoggingPanel',
167 )
168
169 157 # A sample logging configuration. The only tangible logging
170 158 # performed by this configuration is to send an email to
171 159 # the site admins on every HTTP 500 error when DEBUG=False.
@@ -229,18 +217,15 b' COMPRESS_HTML = True'
229 217 # Debug mode middlewares
230 218 if DEBUG:
231 219 MIDDLEWARE_CLASSES += (
232 #'boards.profiler.ProfilerMiddleware',
233 220 'debug_toolbar.middleware.DebugToolbarMiddleware',
234 221 )
235 222
236 223 def custom_show_toolbar(request):
237 return DEBUG
224 return False
238 225
239 226 DEBUG_TOOLBAR_CONFIG = {
240 'INTERCEPT_REDIRECTS': False,
241 'SHOW_TOOLBAR_CALLBACK': custom_show_toolbar,
242 'HIDE_DJANGO_SQL': False,
243 227 'ENABLE_STACKTRACES': True,
228 'SHOW_TOOLBAR_CALLBACK': 'neboard.settings.custom_show_toolbar',
244 229 }
245 230
246 231 # FIXME Uncommenting this fails somehow. Need to investigate this
General Comments 0
You need to be logged in to leave comments. Login now