Commit 0cf10f51 by benjaoming

fix some more btn-default

parent 47dee16b
......@@ -82,7 +82,7 @@
{% else %}
<form method="POST" class="form-vertical" id="attachment_form" enctype="multipart/form-data">
{% 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" %}
</button>
</form>
......
......@@ -99,7 +99,7 @@ function insert_image(image_id) {
{% endfor %}
<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>
{% trans "Add image" %}
</button>
......
......@@ -49,7 +49,7 @@
<form method="POST" class="form-horizontal">
{% wiki_form create_form %}
<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>
{% trans "Go back" %}
</a>
......
......@@ -41,7 +41,7 @@
<form method="POST" class="form-horizontal">
{% wiki_form delete_form %}
<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>
{% trans "Go back" %}
</a>
......
......@@ -36,7 +36,7 @@
{% include "wiki/includes/modals.html" %}
<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>
{% trans "Preview" %}
</a>
......
......@@ -124,7 +124,7 @@
<div class="form-group form-actions">
<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>
{% trans "Merge selected with current..." %}
</button>
......@@ -145,7 +145,7 @@
<iframe name="previewWindow" frameborder="0"></iframe>
</div>
<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>
{% trans "Back to history view" %}
</a>
......@@ -172,7 +172,7 @@
<iframe name="mergeWindow" frameborder="0" style="min-height: 0;"></iframe>
</div>
<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>
{% trans "Back to history view" %}
</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