vishwamano

source of vishwamano.com
git clone git://git.ricketyspace.net/vishwamano.git
Log | Files | Refs

commit 9701da989de582f8742575c9839dfde03eb07d92
parent a658faf6339ba787f77971ec79dd736610bb4f40
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Wed, 31 Dec 2014 22:01:37 -0500

added date time picker to the 'Request Shoot' modal in the Photography Services page.

	modified:   bs3/css/custom.css
	modified:   bs3/templates/header.tpl
	modified:   bs3/templates/p-services.tpl

Diffstat:
themes/bs3/css/custom.css | 18++++++++++++++++++
themes/bs3/templates/header.tpl | 2++
themes/bs3/templates/p-services.tpl | 8+++++++-
3 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/themes/bs3/css/custom.css b/themes/bs3/css/custom.css @@ -164,6 +164,24 @@ h1.gallery { text-shadow: 0 1px 0 #fff; } +/* date time picker */ +.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_today { + color: rgb(255, 255, 255); +} + +.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_default, .xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_current, .xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box > div > div.xdsoft_current { + background: none repeat scroll 0 0 rgb(150, 150, 150); + box-shadow: 0 1px 3px 0 rgb(90, 90, 90) inset; + color: #000; +} + +.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td:hover, .xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box > div > div:hover { + background: none repeat scroll 0 0 rgb(185, 185, 185) !important; + color: #000 !important; +} + + + /* Indian Rupees * * The following section is by WebRupee. diff --git a/themes/bs3/templates/header.tpl b/themes/bs3/templates/header.tpl @@ -8,6 +8,8 @@ <link rel="stylesheet" href="{$doc_root}themes/bs3/css/jquery-fancybox/jquery.fancybox.css" type="text/css" media="screen" /> + <link rel="stylesheet" href="{$doc_root}themes/bs3/css/jquery.datetimepicker.css" + type="text/css" media="screen" /> <link href="{$doc_root}themes/bs3/css/bootstrap.min.css" rel="stylesheet" media="screen"> <link href="{$doc_root}themes/bs3/css/custom.css" rel="stylesheet" media="screen"> </head> diff --git a/themes/bs3/templates/p-services.tpl b/themes/bs3/templates/p-services.tpl @@ -166,5 +166,11 @@ } }, 20000) </script> - +<script type="text/javascript" + src="{$doc_root}themes/bs3/js/jquery.datetimepicker.js"></script> +{literal} +<script> +$('#shoot_date').datetimepicker({theme: 'dark'}); +</script> +{/literal} {include file='footer.tpl'}