Update app.py
Browse files
app.py
CHANGED
@@ -62,6 +62,37 @@ app_ui = ui.page_fluid(
|
|
62 |
placement="right",
|
63 |
),
|
64 |
ui.output_ui("results"),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
ui.card_footer("Application developed by Jan Sodoge. Project by the Computational Extreme Events Group at the Helmholtz-Centre For Environmental Research"),
|
66 |
|
67 |
|
|
|
62 |
placement="right",
|
63 |
),
|
64 |
ui.output_ui("results"),
|
65 |
+
ui.HTML(
|
66 |
+
"""
|
67 |
+
<!-- Feedback Form Section -->
|
68 |
+
<div style="margin-top: 20px; border-top: 1px solid #ccc; padding-top: 20px;">
|
69 |
+
<h3>Feedback</h3>
|
70 |
+
<p>Was the tool useful?</p>
|
71 |
+
<form action="mailto:jan.sodoge@ufz.de" method="post" enctype="text/plain">
|
72 |
+
<!-- Radio Buttons for Yes/No -->
|
73 |
+
<label>
|
74 |
+
<input type="radio" name="useful" value="Yes" required>
|
75 |
+
Yes
|
76 |
+
</label>
|
77 |
+
<label>
|
78 |
+
<input type="radio" name="useful" value="No" required>
|
79 |
+
No
|
80 |
+
</label>
|
81 |
+
<br><br>
|
82 |
+
<!-- Text Area for Comments -->
|
83 |
+
<label for="comments">Comments:</label>
|
84 |
+
<br>
|
85 |
+
<textarea id="comments" name="comments" rows="4" cols="50" placeholder="Enter your feedback here..."></textarea>
|
86 |
+
<br><br>
|
87 |
+
<!-- Submit Button -->
|
88 |
+
<button type="submit" style="padding: 10px 15px; background-color: #4CAF50; color: white; border: none; border-radius: 4px; cursor: pointer;">
|
89 |
+
Submit
|
90 |
+
</button>
|
91 |
+
</form>
|
92 |
+
</div>
|
93 |
+
"""
|
94 |
+
),
|
95 |
+
|
96 |
ui.card_footer("Application developed by Jan Sodoge. Project by the Computational Extreme Events Group at the Helmholtz-Centre For Environmental Research"),
|
97 |
|
98 |
|