diff --git a/app/components/find-journal/index.hbs b/app/components/find-journal/index.hbs index 9e591579..dd24da73 100644 --- a/app/components/find-journal/index.hbs +++ b/app/components/find-journal/index.hbs @@ -1,6 +1,6 @@ {{! template-lint-disable no-action }} + {{get @record @column.propertyName}} \ No newline at end of file diff --git a/app/components/oap-compliance-cell/index.hbs b/app/components/oap-compliance-cell/index.hbs index 00f72a16..d4e8a4e1 100644 --- a/app/components/oap-compliance-cell/index.hbs +++ b/app/components/oap-compliance-cell/index.hbs @@ -1,6 +1,6 @@ {{#if this.isStalled}}
-

+

stalled (?)

{{else}} diff --git a/app/components/submission-repo-details/index.hbs b/app/components/submission-repo-details/index.hbs index 9fcf9977..9555904c 100644 --- a/app/components/submission-repo-details/index.hbs +++ b/app/components/submission-repo-details/index.hbs @@ -1,8 +1,8 @@ {{! template-lint-disable link-rel-noopener no-curly-component-invocation no-implicit-this }}
  • -
    -
    +
    +
    {{#if @repo.url}} {{@repo.name}} {{else}} @@ -16,7 +16,7 @@
    {{#if this.tooltip}} - + {{#if (eq this.status "not-submitted")}} n/a {{else}} @@ -25,7 +25,7 @@ {{else}} - + {{this.status}} {{/if}} diff --git a/app/components/workflow-review/index.hbs b/app/components/workflow-review/index.hbs index 9e24529a..465c9c34 100644 --- a/app/components/workflow-review/index.hbs +++ b/app/components/workflow-review/index.hbs @@ -29,7 +29,7 @@
    Please review the information below
    - +
    {{#if this.mustVisitWeblink}} -
    + Repositories @@ -95,7 +95,7 @@ Files - +
    @@ -115,15 +115,15 @@
    File Type
    {{#if (eq file.mimeType "png")}} - + {{else if (eq file.mimeType "vnd.openxmlformats-officedocument.presentationml.presentation")}} - + {{else if (eq file.mimeType "msword")}} - + {{else if (eq file.mimeType "pdf")}} - + {{else}} - + {{/if}} diff --git a/app/styles/app.css b/app/styles/app.css index 3f321552..51d75e0d 100644 --- a/app/styles/app.css +++ b/app/styles/app.css @@ -1,5 +1,16 @@ @import url('branding.css'); @import url('font-awesome-5-0-13.css'); +@import url('workflow-wrapper.css'); +@import url('workflow-review.css'); +@import url('grant-link-cell.css'); +@import url('workflow-files.css'); +@import url('find-journal.css'); +@import url('message-dialog.css'); +@import url('workflow-metadata.css'); +@import url('oap-compliance-cell.css'); +@import url('submission-action-cell.css'); +@import url('submission-repo-details.css'); +@import url('workflow-basics-user-search.css'); #dashboard-container .card { height: 100%; diff --git a/app/components/find-journal/index.css b/app/styles/find-journal.css similarity index 100% rename from app/components/find-journal/index.css rename to app/styles/find-journal.css diff --git a/app/components/grant-link-cell/index.css b/app/styles/grant-link-cell.css similarity index 100% rename from app/components/grant-link-cell/index.css rename to app/styles/grant-link-cell.css diff --git a/app/components/message-dialog/index.css b/app/styles/message-dialog.css similarity index 100% rename from app/components/message-dialog/index.css rename to app/styles/message-dialog.css diff --git a/app/components/oap-compliance-cell/index.css b/app/styles/oap-compliance-cell.css similarity index 100% rename from app/components/oap-compliance-cell/index.css rename to app/styles/oap-compliance-cell.css diff --git a/app/components/submission-action-cell/index.css b/app/styles/submission-action-cell.css similarity index 100% rename from app/components/submission-action-cell/index.css rename to app/styles/submission-action-cell.css diff --git a/app/components/submission-repo-details/index.css b/app/styles/submission-repo-details.css similarity index 100% rename from app/components/submission-repo-details/index.css rename to app/styles/submission-repo-details.css diff --git a/app/components/workflow-basics-user-search/index.css b/app/styles/workflow-basics-user-search.css similarity index 100% rename from app/components/workflow-basics-user-search/index.css rename to app/styles/workflow-basics-user-search.css diff --git a/app/components/workflow-files/index.css b/app/styles/workflow-files.css similarity index 100% rename from app/components/workflow-files/index.css rename to app/styles/workflow-files.css diff --git a/app/components/workflow-metadata/index.css b/app/styles/workflow-metadata.css similarity index 100% rename from app/components/workflow-metadata/index.css rename to app/styles/workflow-metadata.css diff --git a/app/components/workflow-review/index.css b/app/styles/workflow-review.css similarity index 78% rename from app/components/workflow-review/index.css rename to app/styles/workflow-review.css index b8528d75..4a27b45c 100644 --- a/app/components/workflow-review/index.css +++ b/app/styles/workflow-review.css @@ -6,9 +6,12 @@ line-height: 35px; } -table td { - border: 1px dotted silver; - word-break: break-all; +#review-step-table { + /* stylelint-disable-next-line no-descending-specificity */ + td { + border: 1px dotted silver; + word-break: break-all; + } } .max-width { diff --git a/app/components/workflow-wrapper/index.css b/app/styles/workflow-wrapper.css similarity index 100% rename from app/components/workflow-wrapper/index.css rename to app/styles/workflow-wrapper.css diff --git a/app/templates/not-found-error.hbs b/app/templates/not-found-error.hbs index 136078a1..69b96f13 100644 --- a/app/templates/not-found-error.hbs +++ b/app/templates/not-found-error.hbs @@ -5,13 +5,13 @@

    404: Page not found

    -

    Looks like the page you're looking for does not exist. If you think there is a problem - with the site, please - {{#if this.contactUrl}} - let us know. - {{else}} - contact your administrator. - {{/if}} -

    +

    + Looks like the page you're looking for does not exist. If you think there is a problem with the site, please + {{#if this.contactUrl}} + let us know. + {{else}} + contact your administrator. + {{/if}} +

    \ No newline at end of file diff --git a/app/templates/submissions/detail.hbs b/app/templates/submissions/detail.hbs index 0bb66e09..62c6ebad 100644 --- a/app/templates/submissions/detail.hbs +++ b/app/templates/submissions/detail.hbs @@ -251,7 +251,7 @@

    {{else}} - +
    @@ -271,17 +271,15 @@
    {{#if (eq file.mimeType "png")}} - - {{else if - (eq file.mimeType "vnd.openxmlformats-officedocument.presentationml.presentation") - }} - + + {{else if (eq file.mimeType "vnd.openxmlformats-officedocument.presentationml.presentation")}} + {{else if (eq file.mimeType "msword")}} - + {{else if (eq file.mimeType "pdf")}} - + {{else}} - + {{/if}} diff --git a/ember-cli-build.js b/ember-cli-build.js index 379f8227..d1127d64 100644 --- a/ember-cli-build.js +++ b/ember-cli-build.js @@ -5,8 +5,6 @@ const EmberApp = require('ember-cli/lib/broccoli/ember-app'); const stringHash = require('string-hash'); -const disableCssModules = ['/pass-ui/styles/app.css', '/pass-ui/styles/font-awesome-5-0-13.css']; - module.exports = function (defaults) { let app = new EmberApp(defaults, { // Add options here @@ -30,19 +28,6 @@ module.exports = function (defaults) { }, }, - cssModules: { - generateScopedName(className, modulePath) { - if (!disableCssModules.includes(modulePath)) { - let hash = stringHash(modulePath).toString(36).substring(0, 6); - let scopedName = `_${className}_${hash}`; - - return scopedName; - } - - return className; - }, - }, - fingerprint: { enabled: false, }, diff --git a/package.json b/package.json index 518e745b..4690d6aa 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,6 @@ "ember-composable-helpers": "^5.0.0", "ember-concurrency": "^2.3.4", "ember-concurrency-decorators": "^1.0.0", - "ember-css-modules": "^2.0.1", "ember-data": "~5.3.3", "ember-file-upload": "^7.3.0", "ember-inflector": "^4.0.2",