|
@@ -1,7 +1,6 @@
|
|
|
@using VberAdmin.Web.Models.Input
|
|
@using VberAdmin.Web.Models.Input
|
|
|
@using VberAdmin.Web.Models.Modals
|
|
@using VberAdmin.Web.Models.Modals
|
|
|
|
|
|
|
|
-
|
|
|
|
|
@{
|
|
@{
|
|
|
ViewBag.ActiveMenu = PermissionNames.Vber;
|
|
ViewBag.ActiveMenu = PermissionNames.Vber;
|
|
|
ViewBag.Title = L("MyCalendar");
|
|
ViewBag.Title = L("MyCalendar");
|
|
@@ -41,7 +40,7 @@
|
|
|
}
|
|
}
|
|
|
@section styles
|
|
@section styles
|
|
|
{
|
|
{
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<style>
|
|
<style>
|
|
|
.fc .fc-list-empty-cushion {
|
|
.fc .fc-list-empty-cushion {
|
|
|
color: #dc3545 !important;
|
|
color: #dc3545 !important;
|
|
@@ -72,7 +71,6 @@
|
|
|
|
|
|
|
|
@await Html.PartialAsync("_Modal", modal)
|
|
@await Html.PartialAsync("_Modal", modal)
|
|
|
|
|
|
|
|
-
|
|
|
|
|
@section scripts
|
|
@section scripts
|
|
|
{
|
|
{
|
|
|
<script src="/Metronic/assets/plugins/custom/fullcalendar/fullcalendar.bundle.js" asp-append-version="false"></script>
|
|
<script src="/Metronic/assets/plugins/custom/fullcalendar/fullcalendar.bundle.js" asp-append-version="false"></script>
|
|
@@ -436,7 +434,7 @@
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
popoverShow = (e) => {
|
|
popoverShow = (e) => {
|
|
|
popoverDestroy();
|
|
popoverDestroy();
|
|
@@ -470,7 +468,7 @@
|
|
|
option = option || {};
|
|
option = option || {};
|
|
|
$modal = option.modal ? (typeof option.modal == "string" ? $('#' + option.modal) : $(option.modal)) : $(Selector.MODAL);
|
|
$modal = option.modal ? (typeof option.modal == "string" ? $('#' + option.modal) : $(option.modal)) : $(Selector.MODAL);
|
|
|
$form = $modal.find('form');
|
|
$form = $modal.find('form');
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
today = moment().startOf("day");
|
|
today = moment().startOf("day");
|
|
|
$(Selector.BTN_ADD).on(`click${EVENT_KEY}`,
|
|
$(Selector.BTN_ADD).on(`click${EVENT_KEY}`,
|
|
|
() => {
|
|
() => {
|