Commit 298d0aef authored by Riccardo Padovani's avatar Riccardo Padovani

- Aggiornato footer per renderlo uguale a quello del forum

- Inserito link per tornare allhome page
- Aggiornato style.css con piccoli bugfix
parent a22c44ec
...@@ -240,6 +240,7 @@ blockquote blockquote { ...@@ -240,6 +240,7 @@ blockquote blockquote {
margin: 0; margin: 0;
padding-right: 2px; padding-right: 2px;
list-style: none; list-style: none;
text-transform: capitalize;
} }
#header li a { #header li a {
...@@ -252,7 +253,7 @@ blockquote blockquote { ...@@ -252,7 +253,7 @@ blockquote blockquote {
float: left; float: left;
} }
#header li.active-trail a, #header li a.active, #header li.active a, #header li a:hover { #header li.active-trail a, #header li a.active, #header li.active a, #header li a:hover, #header li a.on {
background: url("../images/light/header_b_active.png") repeat-x scroll left top #B83A10 !important; background: url("../images/light/header_b_active.png") repeat-x scroll left top #B83A10 !important;
text-decoration: none; text-decoration: none;
} }
...@@ -1334,14 +1335,12 @@ ins { ...@@ -1334,14 +1335,12 @@ ins {
cursor: pointer; cursor: pointer;
} }
.footerLinks { #footer * {
color: #3060A8; color: #666;
font-size: 13px; font-size: 10px;
} text-align: center;
text-shadow: 0 1px 0 white;
.footerLinks a { padding: 6px;
color: #3060A8;
font-size: 13px;
} }
.user { .user {
......
{% load extra_tags ui_registry i18n %} {% load extra_tags ui_registry i18n %}
<div> <div id="footer">
<!--<div class="footerLinks" > <!--<div class="footerLinks" >
{% loadregistry footer_links %}<span class="link-separator"> |</span>{% endloadregistry %} {% loadregistry footer_links %}<span class="link-separator"> |</span>{% endloadregistry %}
</div>--> </div>-->
<p> <p>
<a href="http://osqa.net" target="_blank" title="OSQA {{ settings.OSQA_VERSION }} ({{ settings.SVN_REVISION }})"> <a href="http://osqa.net" target="_blank" title="OSQA {{ settings.OSQA_VERSION }} ({{ settings.SVN_REVISION }})">powered by OSQA</a>
powered by OSQA &bull; <a href="http://www.postgresql.org/" target="_blank">PostgreSQL database</a><br/>
</a>
&bull; <a href="http://www.postgresql.org/" target="_blank">PostgreSQL</a> database <br/>
Ubuntu e Canonical sono marchi registrati da Canonical Ltd. Ubuntu e Canonical sono marchi registrati da Canonical Ltd.
</p> </p>
</div> </div>
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<div id="header" class="shadowed curved-bottom"> <!--Menù arancione--> <div id="header" class="shadowed curved-bottom"> <!--Menù arancione-->
<div class="container"> <div class="container">
<ul class="links"> <ul class="links">
<li><a id="nav_index" href="{% url index %}">{% trans "home" %}</a></li>
{% loopregistry page_top_tabs %}{% spaceless %} {% loopregistry page_top_tabs %}{% spaceless %}
<li><a id="nav_{{ tab_name }}"{% ifequal tab tab_name %} class="on"{% endifequal %} href="{{ tab_url }}" >{{ tab_title }}</a></li> <li><a id="nav_{{ tab_name }}"{% ifequal tab tab_name %} class="on"{% endifequal %} href="{{ tab_url }}" >{{ tab_title }}</a></li>
{% endspaceless %}{% endloopregistry %} {% endspaceless %}{% endloopregistry %}
......
...@@ -4,6 +4,19 @@ ...@@ -4,6 +4,19 @@
{% load question_list_tags %} {% load question_list_tags %}
{% load i18n %} {% load i18n %}
{% block fulltitle %}{{ settings.APP_TITLE }}{% endblock %} {% 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 %} {% block sidebar %}
{% if not request.user.is_authenticated %} {% if not request.user.is_authenticated %}
{% if settings.SHOW_WELCOME_BOX %} {% if settings.SHOW_WELCOME_BOX %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment