mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Polish forms
Summary: - Updates styling of form submitted page. - Tweaks styling of checkboxes, labels, and questions on form page. - Adds new form 404 page. - Adds checkbox to not show warning again when publishing or un-publishing a form. - Excludes formula, hidden, and attachment columns in submitted form data. - Adds placeholder text to form configuration inputs. - Improves dark mode styling in Form widget. - Updates default title and description of new forms. - Updates styling of Form widget buttons. - Fixes form success text input handling. Test Plan: Browser tests. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D4170
This commit is contained in:
@@ -38,13 +38,40 @@
|
||||
</a>
|
||||
</div>
|
||||
</form>
|
||||
<div class='grist-form-confirm' style='display: none'>
|
||||
<div>
|
||||
{{ SUCCESS_TEXT }}
|
||||
|
||||
<div class="grist-form-confirm-container">
|
||||
<div class='grist-form-confirm' style='display: none'>
|
||||
<div class="grist-form-confirm-body">
|
||||
<img class='grist-form-confirm-image' src="forms/form-submitted.svg">
|
||||
<div class='grist-form-confirm-text'>
|
||||
{{ SUCCESS_TEXT }}
|
||||
</div>
|
||||
{{#if ANOTHER_RESPONSE }}
|
||||
<div class='grist-form-confirm-buttons'>
|
||||
<button
|
||||
class='grist-form-confirm-new-response-button'
|
||||
onclick='window.location.reload()'
|
||||
>
|
||||
Submit new response
|
||||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class='grist-form-confirm-footer'>
|
||||
<div class="grist-power-by">
|
||||
<a href="https://www.getgrist.com" target="_blank">
|
||||
<div>Powered by</div>
|
||||
<div class="grist-logo"></div>
|
||||
</a>
|
||||
</div>
|
||||
<div class='grist-form-confirm-build-form'>
|
||||
<a class='grist-form-confirm-build-form-link' href="https://www.getgrist.com/forms/" target="_blank">
|
||||
Build your own form
|
||||
<div class="grist-form-icon grist-form-icon-expand"></div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{#if ANOTHER_RESPONSE }}
|
||||
<button onclick="window.location.reload()">Submit another response</button>
|
||||
{{/if}}
|
||||
</div>
|
||||
</main>
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user