Skip to content

Commit

Permalink
Revert "[CCAP-310] Only load dropzone related JS and CSS on doc uploa…
Browse files Browse the repository at this point in the history
…d screens" (#806)
  • Loading branch information
analoo authored Nov 18, 2024
1 parent 66176d8 commit bce916f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 59 deletions.
58 changes: 0 additions & 58 deletions src/main/resources/templates/fragments/doc-upload-head.html

This file was deleted.

2 changes: 2 additions & 0 deletions src/main/resources/templates/fragments/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@
})
</script>
<script src="/webjars/form-flow/0.0.1/js/honeycrisp.min.js"></script>
<script src="/webjars/form-flow/0.0.1/js/formFlowDropZone.js"></script>
<script src="/webjars/form-flow/0.0.1/js/formFlowLanguageSelector.js" defer></script>
<script src="/webjars/form-flow/0.0.1/js/formFlowDisableMultipleFormSubmit.js" defer></script>
<script src="/webjars/form-flow/0.0.1/js/formFlowFollowUpQuestion.js" defer></script>
<th:block th:replace="~{fragments/mixpanelTracking :: mixpanelTracking}"></th:block>
<link href="/webjars/form-flow/0.0.1/css/honeycrisp.min.css" rel="stylesheet"/>
<link href="/webjars/form-flow/0.0.1/css/libraryStyles.css" rel="stylesheet"/>
<link href="/webjars/form-flow/0.0.1/css/customDropzone.css" rel="stylesheet"/>
<link href="/assets/css/custom.css" rel="stylesheet"/>
<link rel="preload" href="/webjars/form-flow/0.0.1/fonts/MaterialIcons-Regular.eot?ia7soh"
as="font"
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/templates/gcc/doc-upload-add-files.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<head th:replace="~{fragments/doc-upload-head :: head(title=#{doc-upload-add-files.title})}"></head>
<head th:replace="~{fragments/head :: head(title=#{doc-upload-add-files.title})}"></head>
<body>
<div class="page-wrapper">
<div th:replace="~{fragments/toolbar :: toolbar}"></div>
Expand Down Expand Up @@ -42,6 +42,7 @@
</div>
<th:block
th:replace="~{fragments/inputs/overrides/fileUploader :: fileUploader(inputName='uploadDocuments')}"></th:block>

</div>
<div class="form-card__footer">
<th:block th:replace="~{fragments/inputs/submitButton :: submitButton(
Expand Down

0 comments on commit bce916f

Please sign in to comment.