From 6e6765e09d222976b09ac4dc54e00c369cb1264a Mon Sep 17 00:00:00 2001 From: rulingcom Date: Tue, 21 Jan 2025 19:21:37 +0800 Subject: [PATCH] css changes by ken for admin hire page --- .../property_hire_calendar_frontend.js | 2 + .../admin/property_hires/_admin_hire.html.erb | 67 +++++++++++++++++-- app/views/property_hires/hire.html.erb | 5 +- 3 files changed, 66 insertions(+), 8 deletions(-) diff --git a/app/assets/javascripts/property_hire_calendar_frontend.js b/app/assets/javascripts/property_hire_calendar_frontend.js index f2513da..4bb9d37 100644 --- a/app/assets/javascripts/property_hire_calendar_frontend.js +++ b/app/assets/javascripts/property_hire_calendar_frontend.js @@ -162,6 +162,8 @@ var Calendar = function(dom, property_id, valid_range, currentView, display_hire }); }, // events: 'https://fullcalendar.io/demo-events.json', + editable: true, + selectable: true, headerToolbar: false, fixedWeekCount: false, initialView: dview, diff --git a/app/views/admin/property_hires/_admin_hire.html.erb b/app/views/admin/property_hires/_admin_hire.html.erb index 8671fcc..1131fe5 100644 --- a/app/views/admin/property_hires/_admin_hire.html.erb +++ b/app/views/admin/property_hires/_admin_hire.html.erb @@ -110,6 +110,32 @@ all_day_settings = property.all_day_settings %>