Datapicker

This commit is contained in:
2017-10-01 17:03:44 +02:00
parent 121d6f45eb
commit ac6ea08380
4 changed files with 23 additions and 2 deletions

View File

@@ -1,7 +1,26 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>SpazioFirewall</title>
<title>Pannello</title>
<meta charset="utf-8">
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script type="text/javascript">
$(function() {
$.datepicker.setDefaults($.datepicker.regional['it']);
$(".data:input").datepicker({
changeMonth : true,
changeYear : true,
minDate : "-90Y",
maxDate: "+1Y",
yearRange: "1940:2050"
});
});
</script>
</head>
<body>
<link rel="stylesheet" type="text/css" href="<?php print $CONF['base_url'] ?>/css/stile.css" />