background-color: #6a0307 ;
border-top: .25em solid #6a0307;
padding-left:26px;
+ position:relative;
}
#menu a, #menu a:visited{
/* Drop Down Menus */
.clear {clear:both}
+#formlang{
+ display:inline-block;
+ position:absolute;
+ right:1%;
+ top:10%;
+}
+
#nav {
margin:0;
padding:0;
list-style:none;
+ display:inline-block;
}
/* make the LI display inline */
{{ user.username }}
{% endif %}
<a href="{% url "telemeta-flatpage" "help" %}">{% trans "Help" %}</a> |
-<a href="{% url "telemeta-logout" %}">{% trans "Sign out" %} |
+<a href="{% url "telemeta-logout" %}">{% trans "Sign out" %}
<img src="{{ STATIC_URL }}telemeta/images/logout.png" alt="logout" style="vertical-align:middle" /></a>
{% else %}
<a href="{% url "telemeta-flatpage" "help" %}">{% trans "Help" %}</a> |
-<a href="{% url "telemeta-login" %}">{% trans "Sign in" %}</a> |
+<a href="{% url "telemeta-login" %}">{% trans "Sign in" %}</a>
{% endif %}
-<form action="/i18n/setlang/" method="post" style="display:inline-block;">
-
- {% csrf_token %}
-
- <input name="next" type="hidden" value="{% url 'telemeta-home' %}" />
-
- <select name="language" style="color:#6a0307">
-
- {% for lang in LANGUAGES %}
-
- <option value="{{ lang.0 }}">{{ lang.1 }}</option>
-
- {% endfor %}
-
- </select>
-
-
- <input type="submit" value="Ok" />
-
-</form>
</div>
</li>
{% endif %}
</ul>
+<form id="formlang" action="/i18n/setlang/" method="post" style="display:inline-block;">
+
+ {% csrf_token %}
+
+ <input name="next" type="hidden" value="{% url 'telemeta-home' %}" />
+
+ <select name="language" style="color:#6a0307">
+
+ {% for lang in LANGUAGES %}
+
+ <option value="{{ lang.0 }}">{{ lang.1 }}</option>
+
+ {% endfor %}
+
+ </select>
+
+
+ <input type="submit" value="Ok" />
+
+</form>
+
{% endblock menu %}
</div>