Skip to content

Commit

Permalink
switch retry button from text label to icon and center. for #524
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Oct 29, 2015
1 parent 6e4e195 commit a8acf63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions static/style.css
Expand Up @@ -147,6 +147,8 @@ form input {
width: 100%;
}

.user-items > .row > .col-sm-1,
.user-items > .row > .col-sm-2,
.user-items > .row > .col-sm-3,
.user-items > .row > .col-sm-4 {
display: table-cell;
Expand Down
7 changes: 4 additions & 3 deletions templates/social_user.html
Expand Up @@ -188,7 +188,7 @@
{% endif %}
</ul>

</div><div class="col-sm-3">
</div><div class="col-sm-2">
{% if response.links %} {# if no links, then there was no propagate task #}
<a href="/log?start_time={{ response.updated|date:'U' }}&key={{ response.key.urlsafe }}">
{% endif %}
Expand All @@ -202,11 +202,12 @@
</a>
{% endif %}

</div><div class="col-sm-1">
<form method="post" action="/retry">
<input name="key" type="hidden" value="{{ response.key.urlsafe }}" />
<input name="redirect_to" type="hidden" value="{{ request.url }}" />
<button id="retry-button" type="submit" class="btn btn-default">
Retry</button>
<button id="retry-button" type="submit" title="Retry"
class="btn btn-default glyphicon glyphicon-refresh"></button>
</form>

</div><div class="col-sm-3">
Expand Down

0 comments on commit a8acf63

Please sign in to comment.