From 215b6f565a65e7ef8dbc704a790b2a4d8faa7e3c Mon Sep 17 00:00:00 2001 From: Bach Dániel <bd@ik.bme.hu> Date: Mon, 27 Oct 2014 13:50:17 +0100 Subject: [PATCH] dashboard: replace tabs in templates --- circle/dashboard/templates/dashboard/confirm/ajax-node-status.html | 4 ++-- circle/dashboard/templates/dashboard/confirm/ajax-remove.html | 2 +- circle/dashboard/templates/dashboard/confirm/node-flush.html | 6 +++--- circle/dashboard/templates/dashboard/confirm/node-status.html | 2 +- circle/dashboard/templates/dashboard/group-list.html | 2 +- circle/dashboard/templates/dashboard/index-groups.html | 2 +- circle/dashboard/templates/dashboard/node-add-trait.html | 2 +- circle/dashboard/templates/dashboard/node-detail/home.html | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/circle/dashboard/templates/dashboard/confirm/ajax-node-status.html b/circle/dashboard/templates/dashboard/confirm/ajax-node-status.html index 8b96540..74b2035 100644 --- a/circle/dashboard/templates/dashboard/confirm/ajax-node-status.html +++ b/circle/dashboard/templates/dashboard/confirm/ajax-node-status.html @@ -15,11 +15,11 @@ <form action="{% url "dashboard.views.status-node" pk=object.pk %}" method="POST"> {% csrf_token %} <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Cancel" %}</button> - <input type="hidden" name="change_status" value=""/> + <input type="hidden" name="change_status" value=""/> <button class="btn btn-warning">{% blocktrans with status=status %}Yes, {{status}}{% endblocktrans %}</button> </form> </div> - <div class="clearfix"></div> + <div class="clearfix"></div> </div> </div><!-- /.modal-content --> diff --git a/circle/dashboard/templates/dashboard/confirm/ajax-remove.html b/circle/dashboard/templates/dashboard/confirm/ajax-remove.html index 60a6400..32d4402 100644 --- a/circle/dashboard/templates/dashboard/confirm/ajax-remove.html +++ b/circle/dashboard/templates/dashboard/confirm/ajax-remove.html @@ -7,7 +7,7 @@ {{ text }} {% else %} {%blocktrans with object=object%} - Are you sure you want to remove <strong>{{ member }}</strong> from <strong>{{ object }}</strong>? + Are you sure you want to remove <strong>{{ member }}</strong> from <strong>{{ object }}</strong>? {%endblocktrans%} {% endif %} <br /> diff --git a/circle/dashboard/templates/dashboard/confirm/node-flush.html b/circle/dashboard/templates/dashboard/confirm/node-flush.html index 0ed51a1..a26e325 100644 --- a/circle/dashboard/templates/dashboard/confirm/node-flush.html +++ b/circle/dashboard/templates/dashboard/confirm/node-flush.html @@ -23,9 +23,9 @@ <div class="pull-right"> <form action="" method="POST"> {% csrf_token %} - <a class="btn btn-default">{% trans "Back" %}</a> - <input type="hidden" name="flush" value=""/> - <button class="btn btn-warning">{% trans "Yes" %}</button> + <a class="btn btn-default">{% trans "Back" %}</a> + <input type="hidden" name="flush" value=""/> + <button class="btn btn-warning">{% trans "Yes" %}</button> </form> </div> </div> diff --git a/circle/dashboard/templates/dashboard/confirm/node-status.html b/circle/dashboard/templates/dashboard/confirm/node-status.html index 3b6b56a..f4a2f84 100644 --- a/circle/dashboard/templates/dashboard/confirm/node-status.html +++ b/circle/dashboard/templates/dashboard/confirm/node-status.html @@ -26,7 +26,7 @@ {% csrf_token %} <a class="btn btn-default">{% trans "Cancel" %}</a> <button type="button" class="btn btn-default" data-dismiss="modal"></button> - <input type="hidden" name="change_status" value=""/> + <input type="hidden" name="change_status" value=""/> <button class="btn btn-warning">{% blocktrans with status=status %}Yes, {{status}}{% endblocktrans %}</button> </form> </div> diff --git a/circle/dashboard/templates/dashboard/group-list.html b/circle/dashboard/templates/dashboard/group-list.html index 4a9a60d..a47f2cd 100644 --- a/circle/dashboard/templates/dashboard/group-list.html +++ b/circle/dashboard/templates/dashboard/group-list.html @@ -13,7 +13,7 @@ <h3 class="no-margin"><i class="fa fa-group"></i> {% trans "Groups" %}</h3> </div> <div class="panel-body"> - <div id="table_container"> + <div id="table_container"> <div id="rendered_table" class="panel-body"> {% render_table table %} </div> diff --git a/circle/dashboard/templates/dashboard/index-groups.html b/circle/dashboard/templates/dashboard/index-groups.html index 9f867b3..e1aba82 100644 --- a/circle/dashboard/templates/dashboard/index-groups.html +++ b/circle/dashboard/templates/dashboard/index-groups.html @@ -26,7 +26,7 @@ <div class="col-sm-6 text-right"> <a class="btn btn-primary btn-xs" href="{% url "dashboard.views.group-list" %}"> <i class="fa fa-chevron-circle-right"></i> - {% if more_groups > 0 %} + {% if more_groups > 0 %} {% blocktrans count more=more_groups %} <strong>{{ more }}</strong> more {% plural %} diff --git a/circle/dashboard/templates/dashboard/node-add-trait.html b/circle/dashboard/templates/dashboard/node-add-trait.html index fac24bf..38ccbd1 100644 --- a/circle/dashboard/templates/dashboard/node-add-trait.html +++ b/circle/dashboard/templates/dashboard/node-add-trait.html @@ -16,7 +16,7 @@ <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-heading"> - <h3 class="no-margin"><i class="fa fa-plus"></i> {% trans "Add Trait" %}</h3> + <h3 class="no-margin"><i class="fa fa-plus"></i> {% trans "Add Trait" %}</h3> </div> <div class="panel-body"> {% with form=form %} diff --git a/circle/dashboard/templates/dashboard/node-detail/home.html b/circle/dashboard/templates/dashboard/node-detail/home.html index e13dcfa..b5e43ef 100644 --- a/circle/dashboard/templates/dashboard/node-detail/home.html +++ b/circle/dashboard/templates/dashboard/node-detail/home.html @@ -8,11 +8,11 @@ {% for t in node.traits.all %} <div class="label label-success label-tag" style="display: inline-block"> {{ t }} - <a data-trait-pk="{{ t.pk }}" href="#" class="node-details-remove-trait"><i class="fa fa-times"></i></a> + <a data-trait-pk="{{ t.pk }}" href="#" class="node-details-remove-trait"><i class="fa fa-times"></i></a> </div> {% endfor %} {% else %} - <small>{% trans "No trait added!" %}</small> + <small>{% trans "No trait added!" %}</small> {% endif %} </div> {% load crispy_forms_tags %} -- libgit2 0.26.0