Revision fb67376a templates/user_routes.html
b/templates/user_routes.html | ||
---|---|---|
101 | 101 |
$('#console').dialog('open'); |
102 | 102 |
return false; |
103 | 103 |
}); |
104 |
|
|
105 |
$(".expiresclass").tooltip(); |
|
104 | 106 |
|
105 | 107 |
}); |
106 | 108 |
|
... | ... | |
122 | 124 |
.message { |
123 | 125 |
font-family: monospace !important; |
124 | 126 |
} |
127 |
.tooltip { |
|
128 |
display:none; |
|
129 |
background:transparent url(/static/black_arrow.png); |
|
130 |
font-size:12px; |
|
131 |
height:70px; |
|
132 |
width:160px; |
|
133 |
padding:25px; |
|
134 |
color:#fff; |
|
135 |
} |
|
125 | 136 |
|
126 | 137 |
</style> |
127 | 138 |
{% endblock %} |
... | ... | |
157 | 168 |
<td>{{ route.name }}</td> |
158 | 169 |
<td>{{ route.get_match|safe|escape }}</td> |
159 | 170 |
<td style="text-align: center;">{{route.get_then|safe|escape}}</td> |
160 |
<td style="text-align: center; ">{{route.status}}</td> |
|
171 |
<td style="text-align: center; "> |
|
172 |
<span |
|
173 |
{% if route.days_to_expire %} |
|
174 |
class="expiresclass" |
|
175 |
style="border-bottom:2px dashed red;" |
|
176 |
title="Expires in {{route.days_to_expire}} day{{route.days_to_expire|pluralize}}" |
|
177 |
{% endif %}>{{route.status}} |
|
178 |
</span> |
|
179 |
</td> |
|
161 | 180 |
{% comment %}<td style="text-align: center;">{{ route.response }}</td>{% endcomment %} |
162 | 181 |
<td style="text-align: center;">{{ route.applier }}</td> |
163 | 182 |
<td style="text-align: center;">{{ route.expires }}</td> |
... | ... | |
177 | 196 |
- |
178 | 197 |
{% endifequal %} |
179 | 198 |
{% endifequal %} |
180 |
{% endifequal %}</td> |
|
199 |
{% endifequal %} |
|
200 |
</td> |
|
181 | 201 |
</tr> |
182 | 202 |
|
183 | 203 |
{% endfor %} |
Also available in: Unified diff