From a9f1f6c15f09a83ecb667d32599567c2eb13d876 Mon Sep 17 00:00:00 2001 From: Sabina Talipova Date: Tue, 14 Mar 2023 14:01:48 +1300 Subject: [PATCH] FIX CSS and JS warnings --- client/dist/styles/advancedworkflow.css | 2 +- client/src/bundles/WorkflowField.js | 1 + .../bundles/advancedworkflow-management.js | 3 +++ client/src/styles/AdvancedWorkflowAdmin.scss | 4 +-- client/src/styles/WorkflowField.scss | 26 +++++++++---------- 5 files changed, 19 insertions(+), 17 deletions(-) diff --git a/client/dist/styles/advancedworkflow.css b/client/dist/styles/advancedworkflow.css index b8ff5daf..1bd9be2e 100644 --- a/client/dist/styles/advancedworkflow.css +++ b/client/dist/styles/advancedworkflow.css @@ -1 +1 @@ -.field.date .message.required,.field.datetime .message.required{position:relative;top:10px}.cms-tree.jstree span.badge.status-embargo,.cms-tree.jstree span.badge.status-expiry,.cms-tree.jstree span.badge.status-embargo_expiry{background-color:#ebfbff;color:#3fa142}#cms-content-tools-CMSMain .cms-tree.jstree span.badge.status-embargo,#cms-content-tools-CMSMain .cms-tree.jstree span.badge.status-expiry,#cms-content-tools-CMSMain .cms-tree.jstree span.badge.status-embargo_expiry{box-shadow:0 0 6px 2px #ebfbff}.workflow-field-diff del{background-color:#fdd;color:#d40404;padding:2px}.workflow-field-diff del p{background-color:inherit}.workflow-field-diff ins{background-color:#dfd;padding:2px;text-decoration:none}.workflow-field-diff ins p{background-color:inherit}.workflow-field{position:relative;padding-bottom:0}.workflow-field .workflow-field-header{background:#95a5ab;border:1px solid rgba(0,0,0,.1);border-radius:3px 3px 0 0}.workflow-field .workflow-field-header h3{background:#7f9198;border-bottom:1px solid rgba(0,0,0,.1);color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.1);margin:0;padding:8px}.workflow-field .workflow-field-header .workflow-field-do-create{margin-left:4px}.workflow-field .workflow-field-create{padding:4px 8px}.workflow-field .workflow-field-actions{background:#fff;border:1px solid rgba(0,0,0,.2);border-top:0;border-radius:0 0 3px 3px;padding:8px}.workflow-field .workflow-field-actions .workflow-field-action{margin-bottom:4px}.workflow-field .workflow-field-actions .workflow-field-action:last-child{margin-bottom:0}.workflow-field .workflow-field-actions .workflow-field-action .workflow-field-action-disabled{opacity:.35;filter:Alpha(Opacity=35);cursor:default}.workflow-field .workflow-field-actions .workflow-field-action .workflow-field-action-disabled.ui-state-hover,.workflow-field .workflow-field-actions .workflow-field-action .workflow-field-action-disabled.ui-state-focus{text-decoration:none;background-color:#e6e6e6;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2Q5ZDlkOSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==);background:linear-gradient(#fff, #d9d9d9);-webkit-text-shadow:#fff 0 1px 1px;-moz-text-shadow:#fff 0 1px 1px;text-shadow:#fff 0 1px 1px;box-shadow:none}.workflow-field .workflow-field-actions .workflow-field-action-header{background:#d7dde0;border:1px solid #95a5ab;border-left:0;overflow:auto;padding:2px 8px 2px 0}.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-icon,.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-drag{display:block;float:left}.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-drag{background:#95a5ab;cursor:move;margin:-2px 0;width:4px;height:36px}.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-icon{width:16px;height:16px;margin:7px 8px 0 8px}.workflow-field .workflow-field-actions .workflow-field-action-header h4{float:left;margin:7px 8px 0 0;min-width:360px;text-shadow:0 1px 0 rgba(255,255,255,.4)}.workflow-field .workflow-field-actions .workflow-field-action-transitions{padding-left:0}.workflow-field .workflow-field-actions .workflow-field-action-transitions li{background:#f8f8f8;border:1px solid #d7dde0;border-left:0;border-top:0;overflow:auto;padding:4px 4px 4px 0}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-field-action-drag{background:#d7dde0;cursor:move;float:left;margin:-4px 0;width:4px;height:41px}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-field-transition-title{float:left;min-width:390px;overflow:auto}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-field-transition-text{margin-top:6px}.workflow-field .workflow-field-actions .workflow-field-action-transitions li span{float:left}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-transition-actions{display:inline;float:none}.workflow-field .workflow-placeholder{margin-bottom:4px;height:32px}.workflow-field .workflow-field-loading{background:rgba(0,0,0,.15) url(data:image/gif;base64,R0lGODlhKwArAKIHAOvt7rS8wdLW2EB9ogBakqysrP///////yH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgt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gMkZ7Q8AUAd8ihvcgXq3eBwW/YsOyIkgQAIfkEBQAABwAsBwAPAAgADAAAAx54cNwXjolSYqC1YSrYLsvxdc8GHdM2DOLWpJnDNgkAIfkEBQAABwAsCAAUABEACQAAAyl4unwSLSoQShGygGOEtVhWfeBWNCS5rUv6QYznWoERUa5gSxwgCBtJAgAh+QQFAAAHACwVAA8ACwAKAAADIni6IHFmGVFqGTJYu/SuCvBx03gdzSYsYRUArGIUayzZSgIAIfkEBQAABwAsHQAPAAgADAAAAyAocNxXJSwHi6D1sgpN4NAFgAEjgMzIbSgzvEfpHISQAAAh+QQFAAAHACwZABgACwALAAADIXi6sq6iSLlAmBPiGeyewPAV3SFuzYKVjygYj0Kk8QHXCQA7) no-repeat center center;border-radius:0 0 3px 3px;bottom:0;display:none;left:0;position:absolute;right:0;top:0;z-index:999}.cms table.ss-gridfield-table .btn-icon-download-csv{display:inline-block;vertical-align:middle;width:16px;height:16px;margin:-2px 0 0 10px}.cms .workflow-field-editor-dialog .tab-content{clear:both}.ss-gridfield .ss-gridfield-item .disabled a.action{opacity:.35;filter:Alpha(Opacity=35);cursor:default} +.field.date .message.required,.field.datetime .message.required{position:relative;top:10px}.cms-tree.jstree span.badge.status-embargo,.cms-tree.jstree span.badge.status-expiry,.cms-tree.jstree span.badge.status-embargo_expiry{background-color:#ebfbff;color:#3fa142}#cms-content-tools-CMSMain .cms-tree.jstree span.badge.status-embargo,#cms-content-tools-CMSMain .cms-tree.jstree span.badge.status-expiry,#cms-content-tools-CMSMain .cms-tree.jstree span.badge.status-embargo_expiry{box-shadow:0 0 6px 2px #ebfbff}.workflow-field-diff del{background-color:#fdd;color:#d40404;padding:2px}.workflow-field-diff del p{background-color:inherit}.workflow-field-diff ins{background-color:#dfd;padding:2px;text-decoration:none}.workflow-field-diff ins p{background-color:inherit}.workflow-field{position:relative;padding-bottom:0}.workflow-field .workflow-field-header{background:#95a5ab;border:1px solid rgba(0,0,0,.1);border-radius:3px 3px 0 0}.workflow-field .workflow-field-header h3{background:#7f9198;border-bottom:1px solid rgba(0,0,0,.1);color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.1);margin:0;padding:8px}.workflow-field .workflow-field-header .workflow-field-do-create{margin-left:4px}.workflow-field .workflow-field-create{padding:4px 8px}.workflow-field .workflow-field-actions{background:#fff;border:1px solid rgba(0,0,0,.2);border-top:0;border-radius:0 0 3px 3px;padding:8px}.workflow-field .workflow-field-actions .workflow-field-action{margin-bottom:4px}.workflow-field .workflow-field-actions .workflow-field-action:last-child{margin-bottom:0}.workflow-field .workflow-field-actions .workflow-field-action .workflow-field-action-disabled{opacity:.35;filter:Alpha(Opacity=35);cursor:default}.workflow-field .workflow-field-actions .workflow-field-action .workflow-field-action-disabled.ui-state-hover,.workflow-field .workflow-field-actions .workflow-field-action .workflow-field-action-disabled.ui-state-focus{text-decoration:none;background-color:#e6e6e6;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2Q5ZDlkOSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==);background:linear-gradient(#fff, #d9d9d9);text-shadow:#fff 0 1px 1px;box-shadow:none}.workflow-field .workflow-field-actions .workflow-field-action-header{background:#d7dde0;border:1px solid #95a5ab;border-left:0;overflow:auto;padding:2px 8px 2px 0}.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-icon,.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-drag{display:block;float:left}.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-drag{background:#95a5ab;cursor:move;margin:-2px 0;width:4px;height:36px}.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-icon{width:16px;height:16px;margin:7px 8px 0 8px}.workflow-field .workflow-field-actions .workflow-field-action-header h4{float:left;margin:7px 8px 0 0;min-width:360px;text-shadow:0 1px 0 rgba(255,255,255,.4)}.workflow-field .workflow-field-actions .workflow-field-action-transitions{padding-left:0}.workflow-field .workflow-field-actions .workflow-field-action-transitions li{background:#f8f8f8;border:1px solid #d7dde0;border-left:0;border-top:0;overflow:auto;padding:4px 4px 4px 0}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-field-action-drag{background:#d7dde0;cursor:move;float:left;margin:-4px 0;width:4px;height:41px}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-field-transition-title{float:left;min-width:390px;overflow:auto}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-field-transition-text{margin-top:6px}.workflow-field .workflow-field-actions .workflow-field-action-transitions li span{float:left}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-transition-actions{display:inline;float:none}.workflow-field .workflow-placeholder{margin-bottom:4px;height:32px}.workflow-field .workflow-field-loading{background:rgba(0,0,0,.15) url(data:image/gif;base64,R0lGODlhKwArAKIHAOvt7rS8wdLW2EB9ogBakqysrP///////yH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9I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AIfkEBQAABwAsEAAHAA0AHgAAAzp4aiH6EJQS4GNzWpXzPkNXfZ3zgcN4rmzrvnAsz3Rt31vRDgRbEL0VD7gCGg+qh5EwAHyMSUuhCUkAACH5BAUAAAcALAgACgAPAA4AAAMveLoHwVAZUUpkoNZ7pv6FsDigJi5lFRgMkZ7Q8AUAd8ihvcgXq3eBwW/YsOyIkgQAIfkEBQAABwAsBwAPAAgADAAAAx54cNwXjolSYqC1YSrYLsvxdc8GHdM2DOLWpJnDNgkAIfkEBQAABwAsCAAUABEACQAAAyl4unwSLSoQShGygGOEtVhWfeBWNCS5rUv6QYznWoERUa5gSxwgCBtJAgAh+QQFAAAHACwVAA8ACwAKAAADIni6IHFmGVFqGTJYu/SuCvBx03gdzSYsYRUArGIUayzZSgIAIfkEBQAABwAsHQAPAAgADAAAAyAocNxXJSwHi6D1sgpN4NAFgAEjgMzIbSgzvEfpHISQAAAh+QQFAAAHACwZABgACwALAAADIXi6sq6iSLlAmBPiGeyewPAV3SFuzYKVjygYj0Kk8QHXCQA7) no-repeat center center;border-radius:0 0 3px 3px;bottom:0;display:none;left:0;position:absolute;right:0;top:0;z-index:999}.cms table.ss-gridfield-table .btn-icon-download-csv{display:inline-block;vertical-align:middle;width:16px;height:16px;margin:-2px 0 0 10px}.cms .workflow-field-editor-dialog .tab-content{clear:both}.ss-gridfield .ss-gridfield-item .disabled a.action{opacity:.35;filter:Alpha(Opacity=35);cursor:default} diff --git a/client/src/bundles/WorkflowField.js b/client/src/bundles/WorkflowField.js index 11c55700..a5089328 100644 --- a/client/src/bundles/WorkflowField.js +++ b/client/src/bundles/WorkflowField.js @@ -145,6 +145,7 @@ jQuery.entwine('workflow', ($) => { $('.workflow-field .workflow-field-delete').entwine({ onclick() { + // eslint-disable-next-line no-alert if (confirm(i18n._t('Workflow.DeleteQuestion'))) { const data = { SecurityID: this.data('securityid'), diff --git a/client/src/bundles/advancedworkflow-management.js b/client/src/bundles/advancedworkflow-management.js index 4a1c5a81..1da67715 100644 --- a/client/src/bundles/advancedworkflow-management.js +++ b/client/src/bundles/advancedworkflow-management.js @@ -7,11 +7,13 @@ jQuery.entwine('ss', ($) => { e.preventDefault(); // get the stuff for it and show a dialog + // eslint-disable-next-line no-alert const comments = prompt('Comments'); const instanceId = this.parents('ul').attr('data-instance-id'); const transitionId = this.attr('data-transition-id'); const securityId = $('[name=SecurityID]').val(); if (!securityId) { + // eslint-disable-next-line no-alert alert('Invalid SecurityID field!'); return false; } @@ -31,6 +33,7 @@ jQuery.entwine('ss', ($) => { if (parsedData.success) { location.href = parsedData.link; } else { + // eslint-disable-next-line no-alert alert(i18n._t('Workflow.ProcessError')); } } diff --git a/client/src/styles/AdvancedWorkflowAdmin.scss b/client/src/styles/AdvancedWorkflowAdmin.scss index e80cd390..cf235721 100644 --- a/client/src/styles/AdvancedWorkflowAdmin.scss +++ b/client/src/styles/AdvancedWorkflowAdmin.scss @@ -15,11 +15,11 @@ .cms-tree.jstree { span.badge.status-embargo, span.badge.status-expiry, - span.badge.status-embargo_expiry { + span.badge.status-embargo_expiry {// sass-lint:disable-line class-name-format background-color: $grey-light; color: $brand-success; - #cms-content-tools-CMSMain & { + #cms-content-tools-CMSMain & {// sass-lint:disable-line no-ids -webkit-box-shadow: 0 0 6px 2px $grey-light; box-shadow: 0 0 6px 2px $grey-light; } diff --git a/client/src/styles/WorkflowField.scss b/client/src/styles/WorkflowField.scss index 3b2a1529..da512558 100644 --- a/client/src/styles/WorkflowField.scss +++ b/client/src/styles/WorkflowField.scss @@ -17,12 +17,12 @@ } .workflow-field-do-create { - margin-left: $wf-grid / 2; + margin-left: calc($wf-grid / 2); } } .workflow-field-create { - padding: $wf-grid/2 $wf-grid; + padding: calc($wf-grid / 2) $wf-grid; } .workflow-field-actions { @@ -33,7 +33,7 @@ padding: $wf-grid; .workflow-field-action { - margin-bottom: $wf-grid/2; + margin-bottom: calc($wf-grid / 2); &:last-child { margin-bottom: 0; @@ -57,8 +57,6 @@ background: -o-linear-gradient($white, $grey-lightish); background: -ms-linear-gradient($white, $grey-lightish); background: linear-gradient($white, $grey-lightish); - -webkit-text-shadow: $white 0 1px 1px; - -moz-text-shadow: $white 0 1px 1px; text-shadow: $white 0 1px 1px; -webkit-box-shadow: none; -moz-box-shadow: none; @@ -72,7 +70,7 @@ border: 1px solid $med-blue; border-left: 0; overflow: auto; - padding: $wf-grid/4 $wf-grid $wf-grid/4 0; + padding: calc($wf-grid / 4) $wf-grid calc($wf-grid / 4) 0; .workflow-field-action-icon, .workflow-field-action-drag { @@ -83,20 +81,20 @@ .workflow-field-action-drag { background: $med-blue; cursor: move; - margin: -$wf-grid/4 0; + margin: -(calc($wf-grid / 4)) 0; width: 4px; - height: $wf-height + $wf-grid/2 + 4; + height: $wf-height + calc($wf-grid / 2) + 4; } .workflow-field-action-icon { width: 16px; height: 16px; - margin: $wf-height/4 $wf-grid 0 $wf-grid; + margin: calc($wf-height / 4) $wf-grid 0 $wf-grid; } h4 { float: left; - margin: $wf-height/4 $wf-grid 0 0; + margin: calc($wf-height / 4) $wf-grid 0 0; min-width: $wf-min-width; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); } @@ -111,13 +109,13 @@ border-left: 0; border-top: 0; overflow: auto; - padding: $wf-grid/2 $wf-grid/2 $wf-grid/2 0; + padding: calc($wf-grid / 2) calc($wf-grid / 2) calc($wf-grid / 2) 0; .workflow-field-action-drag { background: $light-blue; cursor: move; float: left; - margin: -$wf-grid/2 0; + margin: -(calc($wf-grid / 2)) 0; width: 4px; height: 41px; } @@ -145,8 +143,8 @@ } .workflow-placeholder { - margin-bottom: $wf-grid / 2; - height: $wf-grid * 4; + margin-bottom: calc($wf-grid / 2); + height: calc($wf-grid * 4); } .workflow-field-loading {