aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-15 14:46:13 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-15 14:46:13 +0100
commitf15e84e84dd3ab9b58d2b31921230eafd86a7564 (patch)
tree80b99639e3c684f9a6d69bc3a5b060a8cdd0db6e /pydis_site/templates
parentEditor fixes and sidebar accordion (diff)
Small styling fixes
Diffstat (limited to 'pydis_site/templates')
-rw-r--r--pydis_site/templates/wiki/create.html2
-rw-r--r--pydis_site/templates/wiki/edit.html16
2 files changed, 14 insertions, 4 deletions
diff --git a/pydis_site/templates/wiki/create.html b/pydis_site/templates/wiki/create.html
index 8a68a1c6..5cd5e292 100644
--- a/pydis_site/templates/wiki/create.html
+++ b/pydis_site/templates/wiki/create.html
@@ -35,7 +35,7 @@
<div class="field is-horizontal is-grouped">
<div class="control">
- <a href="{% url 'wiki:get' path=parent_urlpath.path %}" class="button is-white">
+ <a href="{% url 'wiki:get' path=parent_urlpath.path %}" class="button is-light">
<span class="icon">
<i class="fa fa-arrow-left"></i>
</span>
diff --git a/pydis_site/templates/wiki/edit.html b/pydis_site/templates/wiki/edit.html
index fb3efb31..0ebfa2f6 100644
--- a/pydis_site/templates/wiki/edit.html
+++ b/pydis_site/templates/wiki/edit.html
@@ -23,7 +23,7 @@
{% include "wiki/includes/editor.html" %}
{% endwith %}
- <button class="button is-primary" type="submit" name="preview" value="1" id="id_preview"
+ <button class="button is-light" type="submit" name="preview" value="1" id="id_preview"
formaction="{% url 'wiki:preview' path=urlpath.path article_id=article.id %}"
formtarget="previewWindow"
>
@@ -82,8 +82,18 @@
<iframe name="previewWindow" frameborder="0" style="width: 100%; height: 100%;"></iframe>
</div>
<div class="modal-card-foot">
- <button class="button is-primary" aria-label="close">Close</button>
- <a class="button is-success" id="id_preview_save_changes">Save Changes</a>
+ <button class="button is-white" aria-label="close">
+ <span class="icon">
+ <i class="fas fa-arrow-left"></i>
+ </span>
+ <span>Back</span>
+ </button>
+ <a class="button is-primary" id="id_preview_save_changes">
+ <span class="icon">
+ <i class="fas fa-save"></i>
+ </span>
+ <span>Save Changes</span>
+ </a>
</div>
</div>
</div>