diff --git a/circle/dashboard/templates/dashboard/_client-check.html b/circle/dashboard/templates/dashboard/_client-check.html index e74969b..375999d 100644 --- a/circle/dashboard/templates/dashboard/_client-check.html +++ b/circle/dashboard/templates/dashboard/_client-check.html @@ -22,7 +22,7 @@ {% csrf_token %} <a class="btn btn-default" href="{% url "dashboard.views.detail" pk=instance.pk %}" data-dismiss="modal">{% trans "Cancel" %}</a> <a class="btn btn-info" href="{{ client_download_url }}" traget="_blank">{% trans "Download the Client" %}</a> - <button data-dismiss="modal" id="client-check-button" type="submit" class="btn btn-success" title="{% trans "I downloaded and installed the client and I want to connect using it. This choice will be saved to your compuer" %}"> + <button data-dismiss="modal" id="client-check-button" type="submit" class="btn btn-success modal-accept" title="{% trans "I downloaded and installed the client and I want to connect using it. This choice will be saved to your compuer" %}"> <i class="fa fa-external-link"></i> {% trans "I have the Client installed" %} </button> <input id="connect-uri" name="connect-uri" type="hidden" value="{% if instance.get_connect_uri %}{{ instance.get_connect_uri}}{% endif %}" /> diff --git a/circle/dashboard/templates/dashboard/confirm/ajax-delete.html b/circle/dashboard/templates/dashboard/confirm/ajax-delete.html index 716dd9c..e4f9395 100644 --- a/circle/dashboard/templates/dashboard/confirm/ajax-delete.html +++ b/circle/dashboard/templates/dashboard/confirm/ajax-delete.html @@ -18,7 +18,7 @@ {% csrf_token %} <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Cancel" %}</button> <input type="hidden" name="next" value="{{ request.GET.next }}"/> - <button class="btn btn-danger" + <button class="btn btn-danger modal-accept" {% if disable_submit %}disabled{% endif %} >{% trans "Delete" %}</button> </form> diff --git a/circle/dashboard/templates/dashboard/mass-operate.html b/circle/dashboard/templates/dashboard/mass-operate.html index 0c9baa7..cc689fe 100644 --- a/circle/dashboard/templates/dashboard/mass-operate.html +++ b/circle/dashboard/templates/dashboard/mass-operate.html @@ -31,7 +31,7 @@ Do you want to perform the <strong>{{op}}</strong> operation on the following {{ <div class="pull-right"> <a class="btn btn-default" href="{% url "dashboard.views.vm-list" %}" data-dismiss="modal">{% trans "Cancel" %}</a> - <button class="btn btn-{{ opview.effect }}" type="submit" id="mass-op-form-send"> + <button class="btn btn-{{ opview.effect }} modal-accept" type="submit" id="mass-op-form-send"> {% if opview.icon %}<i class="fa fa-fw fa-{{opview.icon}}"></i> {% endif %}{{ opview.name|capfirst }} </button> </div> diff --git a/circle/dashboard/templates/dashboard/operate.html b/circle/dashboard/templates/dashboard/operate.html index 173d8ef..f535b0f 100644 --- a/circle/dashboard/templates/dashboard/operate.html +++ b/circle/dashboard/templates/dashboard/operate.html @@ -19,7 +19,7 @@ Do you want to perform the following operation on <div class="pull-right"> <a class="btn btn-default" href="{{object.get_absolute_url}}" data-dismiss="modal">{% trans "Cancel" %}</a> - <button class="btn btn-{{ opview.effect }} btn-op-form-send" type="submit" id="op-form-send"> + <button class="btn btn-{{ opview.effect }} btn-op-form-send modal-accept" type="submit" id="op-form-send"> {% if opview.icon %}<i class="fa fa-fw fa-{{opview.icon}}"></i> {% endif %}{{ op.name|capfirst }} </button> </div>