Skip to content

Commit

Permalink
fix stupid typo and remove lonely }
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Glatthard committed Aug 11, 2015
1 parent cb0957a commit 5bdd9de
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ipynbsrv/web/templates/web/snippets/container_grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<div class="panel panel-warning panel-container">
{% else %}
<div class="panel panel-success panel-container">
}
{% endif %}
{% else %}
<div class="panel panel-danger panel-container">
Expand All @@ -26,7 +25,7 @@
</thead>
<tbody>
{% for port_mapping in ct.port_mappings %}
{% if not port_mapping.is_protected_mappping %}
{% if not port_mapping.is_protected_mapping %}
<tr>
<td>{{ port_mapping.internal_port }}</td>
<td>{{ ct.server.external_ip }}:{{ port_mapping.external_port }}</td>
Expand Down Expand Up @@ -80,7 +79,7 @@
</li>
{% else %}
<li role="presentation">
<a role="menuitem" tabindex="-1" href="javascript:document.getElementById('resume-{{ ct.id }}').getElementsByTagName('button')[0].click();">Suspend</a>
<a role="menuitem" tabindex="-1" href="javascript:document.getElementById('suspend-{{ ct.id }}').getElementsByTagName('button')[0].click();">Suspend</a>
<form id="suspend-{{ ct.id }}" action="{% url 'container_suspend' %}" method="POST" role="form">
{% csrf_token %}
<input name="id" type="hidden" value="{{ ct.id }}">
Expand Down

0 comments on commit 5bdd9de

Please sign in to comment.