1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{% extends "questions.html" %}
<!-- index.html -->
{% load general_sidebar_tags %}
{% load question_list_tags %}
{% load i18n %}
{% block fulltitle %}{{ settings.APP_TITLE }}{% endblock %}
{% block forejs %}
<style>
#header li #nav_questions {
background: url("m/light/media/images/light/header_b.png") repeat-x scroll left top #DD4814 !important;
}
#header li a#nav_questions:hover {
background: url("m/light/media/images/light/header_b_active.png") repeat-x scroll left top #B83A10 !important;
}
#header li #nav_index {
background: url("m/light/media/images/light/header_b_active.png") repeat-x scroll left top #B83A10;
}
</style>
{% endblock %}
{% block sidebar %}
{% if not request.user.is_authenticated %}
{% if settings.SHOW_WELCOME_BOX %}
<div class="boxA">
<h3>{% trans "welcome to " %}{{ settings.APP_SHORT_NAME }}</h3>
<div class="body">
{{ settings.APP_INTRO|safe }}
<div class="more"><a href="{% url about %}">{% trans "about" %} </a></div>
<div class="more"><a href="{% url faq %}">{% trans "faq" %} </a></div>
</div>
</div>
{% endif %}
{% endif %}
{% include "question_list/count.html" %}
{% sidebar_upper %}
{% if request.user.is_authenticated %}
{% tag_selector %}
{% endif %}
{% sidebar_lower %}
{% recent_tags %}
{% recent_awards %}
{% endblock %}
<!-- index.html -->