diff options
-rw-r--r-- | app/helpers/application_helper.rb | 2 | ||||
-rw-r--r-- | public/stylesheets/application.css | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 5670b2462..12bf00da2 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1076,7 +1076,7 @@ module ApplicationHelper "var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " + "showOn: 'button', buttonImageOnly: true, buttonImage: '" + path_to_image('/images/calendar.png') + - "', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true};") + "', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true, changeMonth: true, changeYear: true};") jquery_locale = l('jquery.locale', :default => current_language.to_s) unless jquery_locale == 'en' tags << javascript_include_tag("i18n/jquery.ui.datepicker-#{jquery_locale}.js") diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 506c1f005..31e56b88e 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -1037,6 +1037,10 @@ h2 img { vertical-align:middle; } .hascontextmenu { cursor: context-menu; } +/* Custom JQuery styles */ +.ui-datepicker-title select {width:70px !important; margin-top:-2px !important; margin-right:4px !important;} + + /************* CodeRay styles *************/ .syntaxhl div {display: inline;} .syntaxhl .line-numbers {padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px;} |