mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Make it possible to copy meal plan days (closes #573)
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
rel="stylesheet">
|
||||
|
||||
<style>
|
||||
.fc-event-container:not(:last-child) {
|
||||
.fc-event-container {
|
||||
border-bottom: 1px solid !important;
|
||||
border-color: #d6d6d6 !important;
|
||||
}
|
||||
@@ -181,4 +181,43 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade"
|
||||
id="copy-day-modal"
|
||||
tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 id="copy-day-modal-title"
|
||||
class="modal-title w-100"></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form id="copy-day-form"
|
||||
novalidate>
|
||||
|
||||
@include('components.datetimepicker', array(
|
||||
'id' => 'copy_to_date',
|
||||
'label' => 'Day',
|
||||
'format' => 'YYYY-MM-DD',
|
||||
'initWithNow' => false,
|
||||
'limitEndToNow' => false,
|
||||
'limitStartToNow' => false,
|
||||
'isRequired' => true,
|
||||
'additionalCssClasses' => 'date-only-datetimepicker',
|
||||
'invalidFeedback' => $__t('A date is required')
|
||||
))
|
||||
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button"
|
||||
class="btn btn-secondary"
|
||||
data-dismiss="modal">{{ $__t('Cancel') }}</button>
|
||||
<button id="save-copy-day-button"
|
||||
data-dismiss="modal"
|
||||
class="btn btn-primary">{{ $__t('Copy') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
Reference in New Issue
Block a user