kopia lustrzana https://github.com/snarfed/bridgy-fed
rodzic
cb605e96c6
commit
ca2bffd076
|
@ -184,7 +184,11 @@ form input {
|
|||
}
|
||||
}
|
||||
|
||||
.source-buttons, .original-post {
|
||||
.deliveries li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.source-buttons, .original-post, .deliveries li {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
{% for obj in objects %}
|
||||
<li class="row">
|
||||
<div class="col-sm-{{ 7 if show_domains else 10 }}">
|
||||
<div class="col-sm-{{ 5 if show_domains else 8 }}">
|
||||
{{ obj.actor_link(user=user)|safe }}
|
||||
{{ obj.phrase|safe }}
|
||||
<a target="_blank" href="{{ obj.url }}">
|
||||
|
@ -29,13 +29,31 @@
|
|||
{% endif %}
|
||||
|
||||
<div class="col-sm-2">
|
||||
{% if obj.status == 'failed' %}
|
||||
<span title="Error" class="glyphicon glyphicon-exclamation-sign"></span>
|
||||
{% else %}{% if obj.status == 'new' %}
|
||||
<span title="Processing" class="glyphicon glyphicon-transfer"></span>
|
||||
{% endif %}{% endif %}
|
||||
{{ logs.maybe_link(obj.updated, obj.key.id())|safe }}
|
||||
</div>
|
||||
|
||||
<div class="col-sm-2">
|
||||
<ul class="deliveries">
|
||||
{% if obj.delivered %}
|
||||
<li title="Delivered sucessfully">
|
||||
<span class="glyphicon glyphicon-ok-sign"></span>
|
||||
{{ obj.delivered|length }}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if obj.undelivered %}
|
||||
<li title="Remaining to be delivered">
|
||||
<span class="glyphicon glyphicon-transfer"></span>
|
||||
{{ obj.undelivered|length }}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if obj.failed %}
|
||||
<li title="Failed delivery">
|
||||
<span class="glyphicon glyphicon-exclamation-sign"></span>
|
||||
{{ obj.failed|length }}
|
||||
</li>
|
||||
{% endif %}
|
||||
<ul>
|
||||
</div>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="row">Nothing yet!</li>
|
||||
|
|
Ładowanie…
Reference in New Issue