Commit 0cf10f51 by benjaoming

fix some more btn-default

parent 47dee16b
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
{% else %} {% else %}
<form method="POST" class="form-vertical" id="attachment_form" enctype="multipart/form-data"> <form method="POST" class="form-vertical" id="attachment_form" enctype="multipart/form-data">
{% wiki_form form %} {% wiki_form form %}
<button type="submit" name="save" value="1" class="btn btn-large"> <button type="submit" name="save" value="1" class="btn btn-default btn-large">
{% trans "Upload file" %} {% trans "Upload file" %}
</button> </button>
</form> </form>
......
...@@ -99,7 +99,7 @@ function insert_image(image_id) { ...@@ -99,7 +99,7 @@ function insert_image(image_id) {
{% endfor %} {% endfor %}
<p> <p>
<button type="submit" name="{{ plugin.slug }}_save" value="1" class="btn btn-large"> <button type="submit" name="{{ plugin.slug }}_save" value="1" class="btn btn-default btn-large">
<span class="icon-upload"></span> <span class="icon-upload"></span>
{% trans "Add image" %} {% trans "Add image" %}
</button> </button>
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<form method="POST" class="form-horizontal"> <form method="POST" class="form-horizontal">
{% wiki_form create_form %} {% wiki_form create_form %}
<div class="form-group form-actions"> <div class="form-group form-actions">
<a href="{% url 'wiki:get' path=parent_urlpath.path %}" class="btn btn-large"> <a href="{% url 'wiki:get' path=parent_urlpath.path %}" class="btn btn-default btn-large">
<span class="icon-circle-arrow-left"></span> <span class="icon-circle-arrow-left"></span>
{% trans "Go back" %} {% trans "Go back" %}
</a> </a>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<form method="POST" class="form-horizontal"> <form method="POST" class="form-horizontal">
{% wiki_form delete_form %} {% wiki_form delete_form %}
<div class="form-group form-actions"> <div class="form-group form-actions">
<a href="{% url 'wiki:get' path=urlpath.path article_id=article.id %}" class="btn btn-large"> <a href="{% url 'wiki:get' path=urlpath.path article_id=article.id %}" class="btn btn-default btn-large">
<span class="icon-circle-arrow-left"></span> <span class="icon-circle-arrow-left"></span>
{% trans "Go back" %} {% trans "Go back" %}
</a> </a>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
{% include "wiki/includes/modals.html" %} {% include "wiki/includes/modals.html" %}
<div class="form-group form-actions"> <div class="form-group form-actions">
<a class="btn btn-large" onclick="$('#previewModal').modal('show'); document.getElementById('article_edit_form').target='previewWindow'; document.getElementById('article_edit_form').action='{% url 'wiki:preview' path=urlpath.path article_id=article.id %}'; $('#article_edit_form').submit()" href="#"> <a class="btn btn-default btn-large" onclick="$('#previewModal').modal('show'); document.getElementById('article_edit_form').target='previewWindow'; document.getElementById('article_edit_form').action='{% url 'wiki:preview' path=urlpath.path article_id=article.id %}'; $('#article_edit_form').submit()" href="#">
<span class="icon-eye-open"></span> <span class="icon-eye-open"></span>
{% trans "Preview" %} {% trans "Preview" %}
</a> </a>
......
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<div class="form-group form-actions"> <div class="form-group form-actions">
<div class="pull-right"> <div class="pull-right">
<button type="submit" name="preview" value="1" class="btn btn-large" onclick="$('#mergeModal').modal('show'); this.form.target='mergeWindow'; this.form.action=$('input[type=radio]:checked').attr('merge-button-href'); $('.merge-revision-commit').attr('href', $('input[type=radio]:checked').attr('merge-button-commit-href'))"> <button type="submit" name="preview" value="1" class="btn btn-default btn-large" onclick="$('#mergeModal').modal('show'); this.form.target='mergeWindow'; this.form.action=$('input[type=radio]:checked').attr('merge-button-href'); $('.merge-revision-commit').attr('href', $('input[type=radio]:checked').attr('merge-button-commit-href'))">
<span class="icon-random"></span> <span class="icon-random"></span>
{% trans "Merge selected with current..." %} {% trans "Merge selected with current..." %}
</button> </button>
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
<iframe name="previewWindow" frameborder="0"></iframe> <iframe name="previewWindow" frameborder="0"></iframe>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<a href="#" class="btn btn-large" data-dismiss="modal"> <a href="#" class="btn btn-default btn-large" data-dismiss="modal">
<span class="icon-circle-arrow-left"></span> <span class="icon-circle-arrow-left"></span>
{% trans "Back to history view" %} {% trans "Back to history view" %}
</a> </a>
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<iframe name="mergeWindow" frameborder="0" style="min-height: 0;"></iframe> <iframe name="mergeWindow" frameborder="0" style="min-height: 0;"></iframe>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<a href="#" class="btn btn-large" data-dismiss="modal"> <a href="#" class="btn btn-default btn-large" data-dismiss="modal">
<span class="icon-circle-arrow-left"></span> <span class="icon-circle-arrow-left"></span>
{% trans "Back to history view" %} {% trans "Back to history view" %}
</a> </a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment