Revision 01c096d2 ui/templates/home.html

b/ui/templates/home.html
13 13

  
14 14
<body>
15 15
    <div id="wrapper">
16

  
17 16
        <div id='user'><a href="#">{% trans "username" %}</a> &nbsp;|&nbsp; <a href="#">{% trans "settings" %}</a>
18
{% get_available_languages as LANGUAGES %}
19
<form action="/i18n/setlang/" method="post">
20
{% csrf_token %}
21
<input name="next" type="hidden" value="/" />
22
<select name="language">
23
{% for language in LANGUAGES %}
24
<option value="{{ language.0 }}">{{ language.1 }}::{{ language.0 }}</option>
25
{% endfor %}
26
</select>
27
<input type="submit" value="Go" />
28
</form>
29

  
30

  
17
            {% get_available_languages as LANGUAGES %}
18
            <form action="/i18n/setlang/" method="post">
19
                {% csrf_token %}
20
                <input name="next" type="hidden" value="/" />
21
                <select name="language">
22
                {% for language in LANGUAGES %}
23
                <option value="{{ language.0 }}">{{ language.1 }}::{{ language.0 }}</option>
24
                {% endfor %}
25
                </select>
26
                <input type="submit" value="Go" />
27
            </form>
31 28
</div>
32 29
        <div id='nefo'><a href="/" class="logo"><img src="static/nefo.png"/></a></div>
33 30
        <div id="header">
......
55 52
		$(function() {
56 53
            if ($("link").attr("href") == "static/alt-main.css") {
57 54
			    $('ul.css-tabs li').hover(function(){
58
				    $(this).find('a').animate({top:'0px'},{queue:true, duration:'slow'});
55
				    $(this).find('a:not(.current)').animate({top:'-3px'},{queue:false,duration:150});
56
                }, function(){
57
                    $(this).find('a:not(.current)').animate({top:'0px'},{queue:false,duration:150});
59 58
			    });
60 59
            }
61 60
		});

Also available in: Unified diff