From 102583daedf4c56adaf6fdca4da87573f2bd5e45 Mon Sep 17 00:00:00 2001 From: Johannes Raggam <raggam-nl@adm.at> Date: Thu, 12 May 2011 19:11:18 +0200 Subject: add anytime picker diff --git a/nop/templates/nop/nop_form.html b/nop/templates/nop/nop_form.html index 94d1b3b..71e16a2 100644 --- a/nop/templates/nop/nop_form.html +++ b/nop/templates/nop/nop_form.html @@ -4,14 +4,25 @@ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script> <script type="text/javascript" src="http://cdn.jquerytools.org/1.2.5/form/jquery.tools.min.js"></script> <link rel="stylesheet" type="text/css" href="http://static.flowplayer.org/tools/demos/dateinput/css/skin1.css"/> + + <script type="text/javascript" src="http://www.ama3.com/anytime/AnyTime/anytimec.js"></script> + <link rel="stylesheet" type="text/css" href="http://www.ama3.com/anytime/AnyTime/anytimec.css"/> + <script type="text/javascript"><!-- $(document).ready(function() { - $(":date").dateinput({ + $(":date").dateinput({ format: 'yyyy-mm-dd', firstDay: 1 }); + $("#time").AnyTime_picker({ + format: "%H:%i", + labelTitle: "Zeit", + labelHour: "Stunde", + labelMinute: "Minute" + }); }); --></script> + </head> <body> -- cgit v0.10.2