summaryrefslogtreecommitdiffstats
path: root/templates/post_batched_post_generic.html
blob: 5d34af645d6b6427e9228197e21c064ab876f737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{{define "post_batched_post_generic"}}

<style type="text/css">
    @media screen and (max-width: 480px){
        a[class="post_btn"] {
            float: none !important;
        }
    }
</style>

<table style="border-top: 1px solid #ddd; padding: 20px 0; width: 100%">
    <tr>
        <td style="text-align: left">
            <span style="font-size: 16px; font-weight: bold; color: #555; margin: 0 0 5px; display: inline-block;" >
                {{.Props.ChannelName}}
            </span>
            <span style="font-weight: bold; white-space: nowrap; color: #555;">
                @{{.Props.SenderName}}
            </span>
            <br/>
            <div style="margin: 5px 0 0;">
                <span style="color: #AAA; font-size: 12px; margin-left: 2px;">
                    {{.Props.Date}}
                </span>
            </div>
        </td>
    </tr>
    <tr>
        <td colspan=2>
            <a class="post_btn" href="{{.Props.PostLink}}" style="font-size: 13px; background: #2389D7; display: inline-block; border-radius: 2px; color: #fff; padding: 6px 0; width: 120px; text-decoration: none; float:left; text-align: center; margin: 15px 0 5px;">
                {{.Props.Button}}
            </a>
        </td>
    </tr>
</table>

{{end}}