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

1
.gitignore vendored
View File

@@ -4,3 +4,4 @@ squid_pool.log
script/*.sql script/*.sql
squid_acl/listip squid_acl/listip
.gitignore .gitignore
*.php~

View File

@@ -1,6 +1,7 @@
RewriteEngine on RewriteEngine on
RewriteRule ^(.*/)?img/(.*) risorse/immagini/$2 [L] RewriteRule ^(.*/)?img/(.*) risorse/immagini/$2 [L]
RewriteRule ^(.*/)?css/(.*) risorse/stili/$2 [L] RewriteRule ^(.*/)?css/(.*) risorse/stili/$2 [L]
RewriteRule ^(.*/)?js/(.*) risorse/js/$2 [L]
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d

View File

@@ -1,7 +1,26 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html> <html>
<head> <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> </head>
<body> <body>
<link rel="stylesheet" type="text/css" href="<?php print $CONF['base_url'] ?>/css/stile.css" /> <link rel="stylesheet" type="text/css" href="<?php print $CONF['base_url'] ?>/css/stile.css" />