Skip to content

Commit

Permalink
SAK-49082 DateManager improvements to additional nullable date support (
Browse files Browse the repository at this point in the history
#11748)

Co-authored-by: Earle Nietzel <[email protected]>
(cherry picked from commit 28f5900)

 Conflicts:
	site-manage/datemanager/tool/src/main/resources/static/js/initDatePicker.js
	site-manage/datemanager/tool/src/main/webapp/WEB-INF/templates/tool_fragment.html
  • Loading branch information
mylescarey2019 authored and ern committed Oct 27, 2023
1 parent 88d6bca commit 0b84916
Show file tree
Hide file tree
Showing 6 changed files with 379 additions and 165 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@
margin-bottom: 0;
table-layout: fixed;

.field-required {
&:after {
content: "*";
color: var(--errorBanner-color);
position: relative;
top: 3px;
left: 3px;
}
}

td {
&.ajax-error {
background-color: var(--errorBanner-bgcolor);
Expand All @@ -97,6 +107,35 @@
right: 0;
}

.hasDatepicker {
padding-right: 22%;
overflow: hidden;
text-overflow: ellipsis;
}

.ui-datepicker-trigger {
position: absolute;
top: 0;
right: 8px;
}

.ui-datepicker-clear-date {
position: relative;
top: 16%;
right: 22px;
cursor: text;
text-decoration: none;
}

.ui-datapicker-clear-date-icon {
cursor: pointer;
}

.ui-datepicker-clear-date > i[disabled] {
cursor: not-allowed;
color:#757575;
}

.day-of-week {
text-transform: capitalize;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ public interface DateManagerService {
public JSONArray getResourcesForContext(String siteId);
public DateManagerValidation validateResources(String siteId, JSONArray resources) throws Exception;
public void updateResources(DateManagerValidation resourceValidation) throws Exception;
public void clearUpdateResourceLocks(DateManagerValidation resourceValidation) throws Exception;

// Calendar methods
public JSONArray getCalendarEventsForContext(String siteId);
public DateManagerValidation validateCalendarEvents(String siteId, JSONArray calendarEvents) throws Exception;
public void updateCalendarEvents(DateManagerValidation calendarValidation) throws Exception;
public void clearUpdateCalendarLocks(DateManagerValidation calendarValidation) throws Exception;

// Forum methods
public JSONArray getForumsForContext(String siteId);
Expand All @@ -75,6 +77,7 @@ public interface DateManagerService {
public JSONArray getAnnouncementsForContext(String siteId);
public DateManagerValidation validateAnnouncements(String siteId, JSONArray announcements) throws Exception;
public void updateAnnouncements(DateManagerValidation announcementValidation) throws Exception;
public void clearUpdateAnnouncementLocks(DateManagerValidation announcementValidation) throws Exception;

// Lessons methods
public JSONArray getLessonsForContext(String siteId);
Expand Down
Loading

0 comments on commit 0b84916

Please sign in to comment.