Skip to content

Commit 9dfc586

Browse files
Result instructions
1 parent 6f320e0 commit 9dfc586

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

geophires/geophires-ui.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
.hidden {
1717
visibility: hidden;
18+
display: none;
1819
}
1920

2021
#geophires_input_parameters, #geophires_text_input_parameters > textarea {

geophires/geophires-ui.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ function setLoading(isLoading) {
44
setVisible(loader, true)
55
resetGenerationProfileGraphs()
66
setVisible($('#result-actions'), false)
7+
setVisible($('#result-instructions'), false)
78
} else {
89
setVisible(loader, false)
910
}

geophires/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ <h3>
131131
<div class="mui-tabs__pane" id="pane-default-4">
132132
<form
133133
method="POST"
134-
onsubmit="return submitForm(this);"
135134
class="apiActionForm"
136-
action="https://nmgmk2gu5b.execute-api.us-west-2.amazonaws.com/get-geophires-result">
135+
action="https://nmgmk2gu5b.execute-api.us-west-2.amazonaws.com/get-geophires-result"
136+
onsubmit="return submitForm(this);">
137137
<textarea id="geophires_input_parameters"
138138
name="geophires_input_parameters"
139139
class="mui-textfield"
@@ -168,6 +168,7 @@ <h3>
168168

169169
</h3>
170170
<span id="loading" class="hidden loader">Running...</span>
171+
<div id="result-instructions">Enter Parameters or select an example, then press Run GEOPHIRES to get a result.</div>
171172
<div id="results"></div>
172173
<div id="generation-profile-graphs">
173174
<div id="power-generation-profile-chart" style="width: 100%; height: 250px"></div>

0 commit comments

Comments
 (0)