alps theme: add button to load remote content
This commit is contained in:
parent
1e109b7ac3
commit
7293b7e8e7
|
@ -197,6 +197,13 @@ main.message th,
|
||||||
main.event th { width: 5%;}
|
main.event th { width: 5%;}
|
||||||
main.message h1,
|
main.message h1,
|
||||||
main.event h1 { font-size: 1.2rem; padding: 0.5rem;}
|
main.event h1 { font-size: 1.2rem; padding: 0.5rem;}
|
||||||
|
main.message .remote-content {
|
||||||
|
background: #eeffee;
|
||||||
|
}
|
||||||
|
|
||||||
|
main.message .remote-content td {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
main.message pre,
|
main.message pre,
|
||||||
main.message iframe,
|
main.message iframe,
|
||||||
|
|
|
@ -168,6 +168,16 @@
|
||||||
<td>{{template "addr-list" .Message.Envelope.Bcc}}</td>
|
<td>{{template "addr-list" .Message.Envelope.Bcc}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{if and .Extra.HasRemoteResources (not .Extra.RemoteResourcesAllowed)}}
|
||||||
|
<tr class="remote-content">
|
||||||
|
<td colspan="2">
|
||||||
|
This message contains remote content, such as external images.
|
||||||
|
<a href="?part={{.Part.PathString}}&allow-remote-resources=1">
|
||||||
|
Load remote content »
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{{end}}
|
||||||
</table>
|
</table>
|
||||||
<section class="parts">
|
<section class="parts">
|
||||||
{{template "message-part-tree" (tuple $ .Message.PartTree)}}
|
{{template "message-part-tree" (tuple $ .Message.PartTree)}}
|
||||||
|
|
Loading…
Reference in a new issue