Source

trustlink / trustlink / django / templates / trustlink / link_block.html

Full commit
{% if trustlink.prepend %}{{ trustlink.prepend|safe }}{% endif %}
<style>
table.cfc5f4 {
padding: 0 !important;
margin: 0 !important;
font-size: 12px !important;
border: 1px solid #e0e0e0e !important;
background-color: #ffffff !important;
}
table.cfc5f4 td {
padding: 5px !important;
text-align: left !important;
}
.cfc5f4 a {
color: #0000cc !important;
font-weight: normal;
font-size: 12px !important;
}
.cfc5f4 .text {
color: #000000 !important;
font-size: 12px !important;
padding: 3px 0 !important;
line-height: normal !important;
}
.cfc5f4 .host {
color: #006600;
font-weight: normal;
font-size: 12px !important;
padding: 3px 0 !important;
line-height: normal !important;
}
</style>

<table class="cfc5f4">
    <tbody>
    {% for link in trustlink.links %}
        <tr>
            <td>
                {% if link.anchor %}
                <div><a href="{{ link.url }}">{{ link.anchor }}</a></div>
                {% endif %}
                <div class="text">{{ link.text }}</div>
                <div class="host">{{ link.host }}</div>
            </td>
        </tr>
    {% endfor %}
    </tbody>
</table>
{% if trustlink.append %}{{ trustlink.append|safe }}{% endif %}