Revision e55b8703 ui/templates/home.html

b/ui/templates/home.html
7 7
	<title>{{ project }}</title>
8 8
	<!-- include the Tools -->
9 9
	<script src="static/jquery.tools.min.js"></script>
10
	<link rel="stylesheet" type="text/css" href="static/alt-main.css"/>	
10
	<link rel="stylesheet" type="text/css" href="static/main.css"/>	
11 11
    <link href='http://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css' />
12 12

  
13 13
</head>
......
24 24
        </div>
25 25

  
26 26
        <div id='user'><a href="#">{% trans "username" %}</a> &nbsp;|&nbsp; <a href="#">{% trans "settings" %}</a>
27

  
27 28
{% comment %}
28 29
{% get_available_languages as LANGUAGES %}
29 30
<form action="/i18n/setlang/" method="post">
......
53 54
        </div>
54 55
        <!-- tabs -->
55 56
        <ul class="css-tabs">
56
	        <li><a href="alt-instances" title="manage your virtual machines" id="instances">instances</a></li>
57
	        <li><a href="instances" title="manage your virtual machines" id="instances">instances</a></li>
57 58
	        <li><a href="disks" title="manage your storage volumes" id="disks">disks</a></li>
58 59
	        <li><a href="images" title="manage boot images" id="images">images</a></li>
59 60
	        <li><a href="networks" title="configure networking" id="networks">networks</a></li>
......
68 69
    <!-- activate tabs with JavaScript -->
69 70
    <script>
70 71
		$(function() {
71
            if ($("link").attr("href") == "static/alt-main.css") {
72
			    $('ul.css-tabs li').hover(function(){
73
				    $(this).find('a:not(.current)').animate({top:'-3px'},{queue:false,duration:150});
74
                }, function(){
75
                    $(this).find('a:not(.current)').animate({top:'0px'},{queue:false,duration:150});
76
			    });
77
            }
72
		    $('ul.css-tabs li').hover(function(){
73
			    $(this).find('a:not(.current)').animate({top:'-3px'},{queue:false,duration:150});
74
            }, function(){
75
                $(this).find('a:not(.current)').animate({top:'0px'},{queue:false,duration:150});
76
		    });
78 77
		});
79 78
        $(function() {
80 79
	        $("ul.css-tabs").tabs("div.css-panes div.pane", {	

Also available in: Unified diff