Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disclaimer layout fix on Manage Survey Page #81

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/main/resources/static/css/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,11 @@ header .header-contents nav .btn {
padding: 0.5rem;
}

.manage-survey-page .disclaimer {
text-align: center;
margin-bottom: 1rem;
}

/*View response page*/
.view-response-page h2 {
margin-bottom: 1.5rem;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/editSurvey.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<body>
<div th:replace="~{fragments/header :: header}"></div>
<div class="container create-survey-container">
<p><strong>Note:</strong>Editing the survey will remove the existing responses from the previous survey!</p>
<h1>Editing Survey#<span th:text="${surveyId}" id="surveyId"></span></h1>
<p class="disclaimer"><strong>Note:</strong>Editing the survey will remove the existing responses from the previous survey!</p>
<div class="form-builder-options">
<button id="add-text" class="btn">Add Text Question</button>
<button id="add-radio-choice" class="btn">Add Multiple Choice Question</button>
Expand Down