From a265791d3893b87c04accce4997832be352e520e Mon Sep 17 00:00:00 2001
From: Kunal Jaykam <50500283+kunaljaykam@users.noreply.github.com>
Date: Mon, 20 Mar 2023 21:47:46 +0530
Subject: [PATCH] SAK-48635 Replace B-3 'Hidden' Classes with B-5 Classes
(#11349)
---
.../src/webapp/vm/user/chef_users_list.vm | 12 ++---
.../vm/announcement/chef_announcements.vm | 36 +++++++--------
.../src/webapp/js/studentViewSubmission.js | 4 +-
.../webapp/vm/assignment/assignment_macros.vm | 8 ++--
...nts_instructor_list_deleted_assignments.vm | 6 +--
.../chef_assignments_list_assignments.vm | 26 +++++------
.../chef_assignments_student_estimate.vm | 4 +-
.../chef_calendar-customize_fields.vm | 2 +-
.../vm/content/chef_resources_reorder.vm | 4 +-
.../webapp/vm/content/sakai_resources_list.vm | 44 +++++++++----------
.../src/webapp/vm/macros/content_macros.vm | 4 +-
.../main/webapp/WEB-INF/templates/index.html | 2 +-
.../default/src/sass/base/_defaults.scss | 7 +++
.../src/webapp/content/templates/compose.html | 36 +++++++--------
.../src/webapp/jsp/privateMsg/pvtMsg.jsp | 12 ++---
.../src/webapp/podcasts/podMain.jsp | 2 +-
.../webapp/vm/presence/chef_presence-List.vm | 4 +-
.../webapp/content/templates/validate.html | 6 +--
.../tool/src/webapp/WEB-INF/vm/edit.vm | 4 +-
.../webapp/jsf/author/authorIndex_content.jsp | 16 +++----
.../src/webapp/jsf/author/authorSettings.jsp | 2 +-
.../src/webapp/jsf/author/editAssessment.jsp | 6 +--
.../webapp/jsf/author/item/itemHeadings.jsp | 2 +-
.../webapp/jsf/author/publishedSettings.jsp | 2 +-
.../webapp/jsf/delivery/deliverAssessment.jsp | 2 +-
.../src/webapp/jsf/questionpool/poolList.jsp | 2 +-
.../jsf/select/selectIndex_review_table.jsp | 8 ++--
.../src/webapp/jsf/shared/removeMedia.jsp | 2 +-
.../resources/static/js/initDatePicker.js | 4 +-
.../src/webapp/vm/sitesetup/chef_site-list.vm | 16 +++----
.../chef_site-siteInfo-manageOverview.vm | 8 ++--
.../syllabus-app/src/webapp/syllabus/main.jsp | 6 +--
.../src/webapp/usermembership/sitelist.jsp | 10 ++---
.../src/webapp/usermembership/userlist.jsp | 10 ++---
34 files changed, 163 insertions(+), 156 deletions(-)
diff --git a/admin-tools/src/webapp/vm/user/chef_users_list.vm b/admin-tools/src/webapp/vm/user/chef_users_list.vm
index cff9845dc2ab..2d141ea70eac 100644
--- a/admin-tools/src/webapp/vm/user/chef_users_list.vm
+++ b/admin-tools/src/webapp/vm/user/chef_users_list.vm
@@ -81,9 +81,9 @@
$tlang.getString("useconrem.useid") |
$tlang.getString("useconrem.nam") |
$tlang.getString("useconrem.ema") |
- $tlang.getString("usecre.typ") |
- $tlang.getString("usecre.status") |
- $tlang.getString("useconrem.useuid") |
+ $tlang.getString("usecre.typ") |
+ $tlang.getString("usecre.status") |
+ $tlang.getString("useconrem.useuid") |
#foreach ($user in $users)
@@ -98,9 +98,9 @@
$formattedText.escapeHtml($user.SortName) |
$formattedText.escapeHtml($user.Email) |
- $formattedText.escapeHtml($user.Type) |
- #if($!user.Properties.getProperty("disabled")) $tlang.getString("disabled") #else $tlang.getString("enabled") #end |
- $formattedText.escapeHtml($user.Id)
+ | $formattedText.escapeHtml($user.Type) |
+ #if($!user.Properties.getProperty("disabled")) $tlang.getString("disabled") #else $tlang.getString("enabled") #end |
+ $formattedText.escapeHtml($user.Id)
|
#end
diff --git a/announcement/announcement-tool/tool/src/webapp/vm/announcement/chef_announcements.vm b/announcement/announcement-tool/tool/src/webapp/vm/announcement/chef_announcements.vm
index 75013724526d..ac5e9675d0d8 100644
--- a/announcement/announcement-tool/tool/src/webapp/vm/announcement/chef_announcements.vm
+++ b/announcement/announcement-tool/tool/src/webapp/vm/announcement/chef_announcements.vm
@@ -183,7 +183,7 @@
#end
#end
-
+ |
#if (!$currentSortedBy.equals("from"))
$tlang.getString('gen.from')
#else
@@ -208,7 +208,7 @@
|
#end
#if ($SiteColumnFlag > 0) ## (there are anns from other sites so show what site they are from)
-
+ |
#if (!$currentSortedBy.equals("channel"))
$tlang.getString('gen.site')
#else
@@ -221,7 +221,7 @@
|
#end
#if ($toolId.equals("sakai.announcements"))
-
+ |
#if (!$currentSortedBy.equals("releasedate"))
$tlang.getString("gen.releasedate")
#else
@@ -232,7 +232,7 @@
#end
#end
|
-
+ |
#if (!$currentSortedBy.equals("retractdate"))
$tlang.getString("gen.retractdate")
#else
@@ -281,7 +281,7 @@
#end
|
-
+ |
$formattedText.escapeHtml($ann_item.AuthorDisplayName)
|
#if ($toolId.equals("sakai.announcements"))
@@ -290,19 +290,19 @@
#end
#if ($SiteColumnFlag > 0)
-
+ |
$formattedText.escapeHtml($ann_item.channelDisplayName)
|
#end
#if ($toolId.equals("sakai.announcements"))
-
+ |
#if (!$ann_item_props.isEmpty() && $ann_item_props.getProperty("releaseDate"))
$ann_item_props.getTimeProperty("releaseDate").toStringLocalFull()
#else
#end
|
-
+ |
#if (!$ann_item_props.isEmpty() && $ann_item_props.getProperty("retractDate"))
$ann_item_props.getTimeProperty("retractDate").toStringLocalFull()
#else
@@ -457,7 +457,7 @@
#end
#end
- |
+ |
#if (!$currentSortedBy.equals("from"))
$tlang.getString('gen.from')
#else
@@ -481,7 +481,7 @@
|
#if ($EnableItemCheckBoxes)
#if ($SiteColumnFlag > 0) ## (there are anns from other sites so show what site they are from)
-
+ |
#if (!$currentSortedBy.equals("channel"))
$tlang.getString("gen.site")
#else
@@ -494,7 +494,7 @@
|
#end
#end
-
+ |
#if (!$currentSortedBy.equals("for"))
$tlang.getString("gen.visible")
#else
@@ -505,7 +505,7 @@
#end
#end
|
-
+ |
#if (!$currentSortedBy.equals("releasedate"))
$tlang.getString("gen.releasedate")
#else
@@ -516,7 +516,7 @@
#end
#end
|
-
+ |
#if (!$currentSortedBy.equals("retractdate"))
$tlang.getString("gen.retractdate")
#else
@@ -576,7 +576,7 @@
#end
- |
+ |
$formattedText.escapeHtml($ann_item.Header.From.DisplayName)
|
@@ -588,23 +588,23 @@
|
#if ($EnableItemCheckBoxes)
#if ($SiteColumnFlag > 0)
-
+ |
$formattedText.escapeHtml($ann_item.channelDisplayName)
|
#end
#end
-
+ |
$formattedText.escapeHtml($!ann_item.getRange())
|
-
+ |
#if (!$ann_item_props.isEmpty() && $ann_item_props.getProperty("releaseDate"))
$ann_item_props.getTimeProperty("releaseDate").toStringLocalFull()
#else
#end
|
-
+ |
#if (!$ann_item_props.isEmpty() && $ann_item_props.getProperty("retractDate"))
$ann_item_props.getTimeProperty("retractDate").toStringLocalFull()
#else
diff --git a/assignment/tool/src/webapp/js/studentViewSubmission.js b/assignment/tool/src/webapp/js/studentViewSubmission.js
index fbc92a953b8f..534344a49760 100644
--- a/assignment/tool/src/webapp/js/studentViewSubmission.js
+++ b/assignment/tool/src/webapp/js/studentViewSubmission.js
@@ -141,7 +141,7 @@ ASN.tsAddHandleAjaxError = function (xhr, messagesParam) {
button.disabled = false;
const alertTsheetAddRecord = document.getElementById("alertTsheetAddRecord");
- alertTsheetAddRecord.classList.remove("hidden");
+ alertTsheetAddRecord.classList.remove("d-none");
// Object.keys(window.i18nWlogTab).find((key) => key.includes('ts.add.err.permission'))
let messageArray = [];
for (const [index, key] of Object.entries(messages)) {
@@ -167,7 +167,7 @@ ASN.tsRemoveHandleAjaxError = function (xhr, messagesParam) {
button.disabled = false;
const alertTsheetDelRecord = document.getElementById("alertTsheetDelRecord");
- alertTsheetDelRecord.classList.remove("hidden");
+ alertTsheetDelRecord.classList.remove("d-none");
// Object.keys(window.i18nWlogTab).find((key) => key.includes('ts.add.err.permission'))
let messageArray = [];
for (const [index, key] of Object.entries(messages)) {
diff --git a/assignment/tool/src/webapp/vm/assignment/assignment_macros.vm b/assignment/tool/src/webapp/vm/assignment/assignment_macros.vm
index 37d8c33f6c8b..9394f484a2b3 100644
--- a/assignment/tool/src/webapp/vm/assignment/assignment_macros.vm
+++ b/assignment/tool/src/webapp/vm/assignment/assignment_macros.vm
@@ -194,12 +194,12 @@
#if( $current == "Assignment" )
$!tlang.getString( "ts.tab.assignment" )
-
+
$!tlang.getString( "ts.tab.assignment" )
#else
- $!tlang.getString( "ts.tab.assignment" )
+ $!tlang.getString( "ts.tab.assignment" )
$!tlang.getString( "ts.tab.assignment" )
@@ -209,12 +209,12 @@
#if( $current == "timeSheet" )
$!tlang.getString( "ts.tab.timesheet" )
-
+
$!tlang.getString( "ts.tab.timesheet" )
#else
- $!tlang.getString( "ts.tab.timesheet" )
+ $!tlang.getString( "ts.tab.timesheet" )
$!tlang.getString( "ts.tab.timesheet" )
diff --git a/assignment/tool/src/webapp/vm/assignment/chef_assignments_instructor_list_deleted_assignments.vm b/assignment/tool/src/webapp/vm/assignment/chef_assignments_instructor_list_deleted_assignments.vm
index 97f1ecdd2a72..eae1784adac1 100644
--- a/assignment/tool/src/webapp/vm/assignment/chef_assignments_instructor_list_deleted_assignments.vm
+++ b/assignment/tool/src/webapp/vm/assignment/chef_assignments_instructor_list_deleted_assignments.vm
@@ -38,7 +38,7 @@
-
+
$tlang.getString("gen.removeddate")
#if ($sortedBy.equals("softremoveddate"))
#if ($sortedAsc.equals("true"))
@@ -50,7 +50,7 @@
|
-
+
$tlang.getString("gen.subm2")
#if ($sortedBy.equals("num_submissions"))
#if ($sortedAsc.equals("true"))
@@ -63,7 +63,7 @@
|
#if ($!allowRecoverAssignment)
- $tlang.getString("selectAssignments")
+ $tlang.getString("selectAssignments")
|
#end
diff --git a/assignment/tool/src/webapp/vm/assignment/chef_assignments_list_assignments.vm b/assignment/tool/src/webapp/vm/assignment/chef_assignments_list_assignments.vm
index 066a1fd4a3b2..9702df558bf8 100644
--- a/assignment/tool/src/webapp/vm/assignment/chef_assignments_list_assignments.vm
+++ b/assignment/tool/src/webapp/vm/assignment/chef_assignments_list_assignments.vm
@@ -123,7 +123,7 @@
#if ($!allowGradeSubmission)
-
+ |
#if (!$sortedBy.equalsIgnoreCase("$tlang.getString('gen.visible')"))
$tlang.getString("gen.visible")
#else
@@ -147,7 +147,7 @@
#end
|
-
+ |
$tlang.getString("newassig.opedat")
#if ($sortedBy.equals("opendate"))
@@ -171,7 +171,7 @@
#end
|
-
+ |
$tlang.getString("gen.mod.user")
#if ($sortedBy.equals("modifieduser"))
@@ -183,7 +183,7 @@
#end
|
-
+ |
$tlang.getString("gen.mod.date")
#if ($sortedBy.equals("modifieddate"))
@@ -216,7 +216,7 @@
#if ($!allowGradeSubmission)
#if ($!view.equals('lisofass1'))
#if ($!showNumSubmissionColumn)
- |
+ |
$tlang.getString("gen.in")
#if ($sortedBy.equals("num_submissions"))
@@ -243,7 +243,7 @@
#end
#end
#if ($withGrade && $!allowGradeSubmission)
- |
+ |
$tlang.getString("gen.sca")
#if ($sortedBy.equals("max_grade"))
@@ -258,7 +258,7 @@
#end
#if ($!allowRemoveAssignment && $!view.equals('lisofass1'))
|
- $tlang.getString("gen.remove.q")
+ $tlang.getString("gen.remove.q")
|
#end
@@ -496,7 +496,7 @@
#end
|
#if ($!allowGradeSubmission)
-
+ |
#if($assignment.TypeOfAccess == "SITE")
$tlang.getString("gen.viewallgroupssections")
#else
@@ -534,7 +534,7 @@
#end
#end
|
-
+ |
$!service.getUsersLocalDateTimeString($!assignment.OpenDate)
|
@@ -543,12 +543,12 @@
$!service.getUsersLocalDateTimeString($!assignment.DueDate)
#end
|
-
+ |
#if ($!assignment.Modifier)
$!userDirectoryService.getUser($!assignment.Modifier).getDisplayName()
#end
|
-
+ |
$!service.getUsersLocalDateTimeString($!assignment.DateModified)
|
#if ($!isTimesheet)
@@ -581,7 +581,7 @@
#if ($!allowGradeSubmission)
#if ($!view.equals('lisofass1'))
#if ($!showNumSubmissionColumn)
-
+ |
## not show the link for draft assignment
#if (!$assignment.Draft && $!service.allowGradeSubmission($assignmentReference))
#set($ungradedNumber = $!service.countSubmissions($assignmentReference, false))
@@ -597,7 +597,7 @@
#end
#end
#if ($withGrade && $!allowGradeSubmission)
- |
+ |
#set ($gradeScale = $assignment.TypeOfGrade.ordinal())
#if ($gradeScale == 0)
## Grade type not set
diff --git a/assignment/tool/src/webapp/vm/assignment/chef_assignments_student_estimate.vm b/assignment/tool/src/webapp/vm/assignment/chef_assignments_student_estimate.vm
index d5a43ff31f44..276d5bcf87ba 100644
--- a/assignment/tool/src/webapp/vm/assignment/chef_assignments_student_estimate.vm
+++ b/assignment/tool/src/webapp/vm/assignment/chef_assignments_student_estimate.vm
@@ -14,12 +14,12 @@
window.i18nWlogTab['ts.add.err.submitter']=" $tlang.getString('ts.add.err.submitter')";
-
+
$!tlang.getString("ts.title.timesheet")
##Checks for Timesheet records
##BOOTSTRAP (red)
-
+
#if ($!isAnyRegTimeSheet)
diff --git a/calendar/calendar-tool/tool/src/webapp/vm/calendar/chef_calendar-customize_fields.vm b/calendar/calendar-tool/tool/src/webapp/vm/calendar/chef_calendar-customize_fields.vm
index ee84c0d75c5d..08c93e97be24 100644
--- a/calendar/calendar-tool/tool/src/webapp/vm/calendar/chef_calendar-customize_fields.vm
+++ b/calendar/calendar-tool/tool/src/webapp/vm/calendar/chef_calendar-customize_fields.vm
@@ -107,7 +107,7 @@
-
+
diff --git a/content/content-tool/tool/src/webapp/vm/content/chef_resources_reorder.vm b/content/content-tool/tool/src/webapp/vm/content/chef_resources_reorder.vm
index ac3001782fc8..9a6c7a6989c3 100644
--- a/content/content-tool/tool/src/webapp/vm/content/chef_resources_reorder.vm
+++ b/content/content-tool/tool/src/webapp/vm/content/chef_resources_reorder.vm
@@ -59,10 +59,10 @@
#end
$formattedText.escapeHtml($member.name)
-
+
$formattedText.escapeHtml($member.createdBy)
-
+
$member.ModifiedTime
diff --git a/content/content-tool/tool/src/webapp/vm/content/sakai_resources_list.vm b/content/content-tool/tool/src/webapp/vm/content/sakai_resources_list.vm
index 087a41074ee1..891c63d507c8 100644
--- a/content/content-tool/tool/src/webapp/vm/content/sakai_resources_list.vm
+++ b/content/content-tool/tool/src/webapp/vm/content/sakai_resources_list.vm
@@ -210,7 +210,7 @@
#end
#if (!$dropboxMode)
-
+
-
-
+
-
@@ -78,7 +78,7 @@ Compose
-
-
+
-
@@ -99,7 +99,7 @@ Compose
- |