Merge branch 'submit-buttons2' into 'main'

make submit buttons green

See merge request engineering/remarkbox/remarkbox!12
This commit is contained in:
Russell Ballestrini 2025-04-19 21:50:38 +00:00
commit 0c8859f527
2 changed files with 4 additions and 1 deletions

View file

@ -70,6 +70,7 @@ If checked, allow beautiful math equations with <a href="https://www.mathjax.org
<input type="checkbox" name="hide-powered-by-checkbox" id="hide-powered-by-checkbox" {% if request.namespace.hide_powered_by %}checked{% endif %}></input>
If checked, hide the Remarkbox Logo in footer.{% if request.namespace.hide_powered_by %}.. <b>bummer.</b>{% endif %}
{% set submit_button_classes = 'green-button' %}
{% include 'snippets/submit.j2' %}
<br>
@ -96,6 +97,7 @@ You can host your own CSS file and link it here.
<br>
<br>
{% set submit_button_classes = 'green-button' %}
{% include 'snippets/submit.j2' %}
<br>
@ -113,6 +115,7 @@ You can host your own CSS file and link it here.
<br>
<br>
{% set submit_button_classes = 'green-button' %}
{% include 'snippets/submit.j2' %}
{% include 'snippets/csrf.j2' %}
</form>

View file

@ -22,7 +22,7 @@
placeholder = "{% if request.namespace.placeholder_text %}{{ request.namespace.placeholder_text }}{% else %}What do you want to say? markdown{% endif %}"
required></textarea>
{% set submit_button_classes = 'button-right' %}
{% set submit_button_classes = 'green-button button-right' %}
{% set submit_button_value = 'save message' %}
{% include 'submit.j2' %}