@@ -1076,7 +1076,7 module ApplicationHelper | |||||
1076 | "var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " + |
|
1076 | "var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " + | |
1077 | "showOn: 'button', buttonImageOnly: true, buttonImage: '" + |
|
1077 | "showOn: 'button', buttonImageOnly: true, buttonImage: '" + | |
1078 | path_to_image('/images/calendar.png') + |
|
1078 | path_to_image('/images/calendar.png') + | |
1079 | "', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true};") |
|
1079 | "', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true, changeMonth: true, changeYear: true};") | |
1080 | jquery_locale = l('jquery.locale', :default => current_language.to_s) |
|
1080 | jquery_locale = l('jquery.locale', :default => current_language.to_s) | |
1081 | unless jquery_locale == 'en' |
|
1081 | unless jquery_locale == 'en' | |
1082 | tags << javascript_include_tag("i18n/jquery.ui.datepicker-#{jquery_locale}.js") |
|
1082 | tags << javascript_include_tag("i18n/jquery.ui.datepicker-#{jquery_locale}.js") |
@@ -1037,6 +1037,10 h2 img { vertical-align:middle; } | |||||
1037 |
|
1037 | |||
1038 | .hascontextmenu { cursor: context-menu; } |
|
1038 | .hascontextmenu { cursor: context-menu; } | |
1039 |
|
1039 | |||
|
1040 | /* Custom JQuery styles */ | |||
|
1041 | .ui-datepicker-title select {width:70px !important; margin-top:-2px !important; margin-right:4px !important;} | |||
|
1042 | ||||
|
1043 | ||||
1040 | /************* CodeRay styles *************/ |
|
1044 | /************* CodeRay styles *************/ | |
1041 | .syntaxhl div {display: inline;} |
|
1045 | .syntaxhl div {display: inline;} | |
1042 | .syntaxhl .line-numbers {padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px;} |
|
1046 | .syntaxhl .line-numbers {padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px;} |
General Comments 0
You need to be logged in to leave comments.
Login now