Remove /login/home.js file as it is no more related to login

This commit is contained in:
Nicolas Le Goff
2013-03-25 23:16:26 +01:00
committed by Romain Neutron
parent 70c27b7cbc
commit 9264df7547
2 changed files with 41 additions and 40 deletions

View File

@@ -2,12 +2,48 @@
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="{{ locale }}">
<head>
<script src="/include/minify/?f=include/jslibs/jquery-1.7.1.js,include/jslibs/jquery-validation/jquery.validate.js,include/jslibs/jquery-validate.password/jquery.validate.password.js,include/jslibs/jquery.cookie.js" type="text/javascript"></script>
<script type="text/javascript" src="/include/jslibs/jquery-ui-1.8.17/js/jquery-ui-1.8.17.custom.min.js"></script>
<script type="text/javascript" src="/include/path_files_tests.jquery.js"></script>
<script type="text/javascript" src="/include/login/home.js"></script>
<link rel="stylesheet" type="text/css" href="/include/jslibs/jquery-ui-1.8.17/css/dark-hive/jquery-ui-1.8.17.custom.css" />
<script src="/include/minify/f=include/jslibs/$-1.7.1.js,include/jslibs/$-validation/$.validate.js,include/jslibs/$-validate.password/$.validate.password.js,include/jslibs/$.cookie.js" type="text/javascript"></script>
<script type="text/javascript" src="/include/jslibs/$-ui-1.8.17/js/$-ui-1.8.17.custom.min.js"></script>
<script type="text/javascript" src="/include/path_files_tests.$.js"></script>
<link rel="stylesheet" type="text/css" href="/include/jslibs/$-ui-1.8.17/css/dark-hive/$-ui-1.8.17.custom.css" />
<link rel="stylesheet" type="text/css" href="/skins/setup/setup.css" />
<script type="text/javascript">
$(document).ready(function(){
var date = new Date();
date.setMonth(date.getMonth() + 2);
$.cookie('screen', screen.width+"x"+screen.height, { path: '/', expires: date });
var test_cookie = date.getTime();
$.cookie('test_cookie'+test_cookie, 'accepted', { path: '/', expires: date });
if(!$.cookie('test_cookie'+test_cookie))
{
$('.notice.notice_cookie').show();
}
else
{
date.setMonth(date.getMonth() - 5);
$.cookie('test_cookie'+test_cookie, '', { path: '/', expires: date });
}
return false;
});
function setLanguage()
{
var date = new Date();
date.setMonth(date.getMonth() + 2);
$.cookie('locale', $('#lng-select')[0].value, { path: '/', expires: date });
window.location.replace(window.location.protocol+"//"+window.location.host+window.location.pathname);
}
function setTab(tab,el)
{
$('.tab').removeClass('click');
$(el).addClass('click');
$('.tab-content').hide();
$('#id-'+tab).show();
}
</script>
{% block extrahead %}{% endblock %}
</head>
<body>