summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Raggam <raggam-nl@adm.at>2011-05-12 17:11:18 (GMT)
committerJohannes Raggam <raggam-nl@adm.at>2011-05-12 17:11:18 (GMT)
commit102583daedf4c56adaf6fdca4da87573f2bd5e45 (patch)
treec24eaf3eb29351cb1cbef988d5abe7c20d272387
parent3a0cc2445028a11d760df6b038c8a812373e0a07 (diff)
add anytime picker
-rw-r--r--nop/templates/nop/nop_form.html13
1 files changed, 12 insertions, 1 deletions
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>