Commit 025cb59962ff542def127eaefbd0e673d592a534

Authored by totoro
1 parent 3fe910d3

add datetimepicker addon

Showing 1 changed file with 26 additions and 0 deletions   Show diff stats
web/jQuery/ui-addon/datetimepicker.anubis 0 → 100644
  1 +/*
  2 + * Created by PyramIDE.
  3 + * User: フランスのトトロ
  4 + * Date: 16/11/2014
  5 + * Time: 12:14
  6 + * © Calexium
  7 + */
  8 +
  9 +read calexium_lib/web/CXM_making_a_web_site.anubis
  10 +read calexium_lib/web/CXM_jquery.anubis
  11 +
  12 +/* Initialize jQuery datatables */
  13 +public define List(HTML_Head_Tag)
  14 + jq_ui_datetimepicker_init
  15 + =
  16 + [
  17 + css(css_file("/css/jquery/ui/datetimepicker.css")),
  18 + js(js_file("js/ui/jquery-ui-timepicker-addon.js")),
  19 + js_inline(jquery_ready("// Datepicker\n
  20 + $('.datepicker').datepicker({inline: true});\n
  21 + $('.datetimepicker').datetimepicker({inline: true});
  22 + "))
  23 + ]
  24 + .
  25 +
  26 +
... ...