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

Create new instance btn and go to next prompt #208

Open
wants to merge 7 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 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
17 changes: 16 additions & 1 deletion app/config/assets/css/odk-survey.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ body {
padding-left: 1em;
padding-right: 1em;
padding-bottom: 3em;
margin: 24px;
}

.input-container {
Expand Down Expand Up @@ -339,8 +340,22 @@ Eventually we should make a jqm theme for this.
width: 100%;
}

.createInstance{
display: flex;
justify-content: center;
gap: 8px;
background-color: #5594d7;
color: white;
text-align: center;
font-size: 14px;
border: none;
border-radius: 24px;
width: 100%;
padding: 16px;
}

.instanceRowControl{
float: right;
float:right;
}

.openingRowControl{
Expand Down
2 changes: 1 addition & 1 deletion app/system/survey/templates/opening.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<fieldset class="openingNew">
<div class="row">
<div>
<button class="odk-next-btn btn btn-default" type="button" tabindex="0">
<button class="createInstance odk-next-btn btn btn-default" type="button" tabindex="0">
{{localizeText display.opening_survey_next_button_label}} <span class="glyphicon glyphicon-chevron-right" style="font-size:20px;"></span>
</button>
</div>
Expand Down
75 changes: 75 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"grunt-contrib-watch": "^1.1.0",
"grunt-exec": "~3.0.0",
"grunt-open": "~0.2.4",
"grunt-shell": "^4.0.0",
"load-grunt-tasks": "~5.1.0",
"serve-index": "^1.9.1",
"serve-static": "^1.15.0",
Expand Down