Pikaday with time support
This commit is contained in:
1194
attract/static/assets/js/vendor/pikaday.js
vendored
1194
attract/static/assets/js/vendor/pikaday.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,4 +1,5 @@
|
||||
@import ../_config
|
||||
@import ../_app_utils
|
||||
@charset "UTF-8"
|
||||
|
||||
/* Pikaday */
|
||||
@@ -181,3 +182,18 @@
|
||||
.pika-table abbr
|
||||
border-bottom: none
|
||||
cursor: help
|
||||
|
||||
.pika-time
|
||||
width: 100%
|
||||
display: flex
|
||||
align-items: center
|
||||
justify-content: center
|
||||
padding: 5px 0 10px 0
|
||||
color: $color-text-dark-primary
|
||||
|
||||
td
|
||||
padding: 0 2px
|
||||
|
||||
select
|
||||
+input-generic
|
||||
padding: 2px 3px
|
||||
|
@@ -167,8 +167,13 @@ script.
|
||||
{
|
||||
field: document.getElementById('item-due_date'),
|
||||
firstDay: 1,
|
||||
showTime: false,
|
||||
use24hour: true,
|
||||
format: 'dddd D, MMMM YYYY',
|
||||
disableWeekends: true,
|
||||
timeLabel: 'Time: ',
|
||||
autoClose: true,
|
||||
incrementMinuteBy: 15,
|
||||
yearRange: [new Date().getFullYear(),new Date().getFullYear() + 5]
|
||||
});
|
||||
|
||||
@@ -177,6 +182,7 @@ script.
|
||||
if (ProjectUtils.context() == 'shot'){
|
||||
$('.field-type').hide();
|
||||
}
|
||||
|
||||
$('#item-description')
|
||||
.autoResize()
|
||||
.blur();
|
||||
|
Reference in New Issue
Block a user