diff --git a/client/components/boards/boardBody.css b/client/components/boards/boardBody.css index b4db4765b..aa0e5740e 100644 --- a/client/components/boards/boardBody.css +++ b/client/components/boards/boardBody.css @@ -167,3 +167,11 @@ border-color: #2b004d; color: #fff !important; } +.modal-dialog { + display: flex; + justify-content: center; + align-items: center; +} +.modal-header { + text-align: center; +} diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js index 14a5f3ada..92163fd58 100644 --- a/client/components/boards/boardBody.js +++ b/client/components/boards/boardBody.js @@ -422,6 +422,44 @@ BlazeComponent.extendComponent({ revertFunc(); } }, + select: function(startDate) { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + const currentUser = Meteor.user(); + const $modal = $(` +