github.com/cjdelisle/matterfoss@v5.11.1+incompatible/templates/globalrelay_compliance_export.html (about) 1 {{define "globalrelay_compliance_export"}} 2 <style type="text/css"> 3 body { 4 font-family:Arial, sans-serif; 5 font-size:14px; 6 font-weight:normal; 7 } 8 9 .summary-list ul { 10 padding: 0px; 11 list-style:none; 12 } 13 .summary-list li { 14 display: inline; 15 padding: 0 1em 0 0; 16 } 17 .summary-list .bold { 18 font-weight: bold; 19 } 20 21 .participants { 22 border-collapse:collapse; 23 border-spacing:0; 24 } 25 .participants td { 26 padding:10px 5px; 27 border:1px solid black; 28 overflow:hidden; 29 text-align: center; 30 word-break:normal; 31 } 32 .participants th { 33 padding:10px 5px; 34 border:1px solid black; 35 overflow:hidden; 36 word-break:normal; 37 } 38 .participants th,td { 39 vertical-align:top 40 } 41 42 .message-list ul { 43 list-style:none; 44 padding: 0; 45 } 46 .message-list li { 47 padding: 0 0 1em 0; 48 } 49 .message .sent_time { 50 font-weight:bold; 51 } 52 .message .username { 53 font-weight:bold; 54 } 55 .message .email { 56 font-weight: bold; 57 } 58 </style> 59 60 <h1>Mattermost Compliance Export</h1> 61 62 <h2>Conversation Summary</h2> 63 <div class="summary-list"> 64 <ul> 65 <li><span class="bold">Channel: </span>{{.Props.ChannelName}}</li> 66 <li><span class="bold">Started: </span>{{.Props.Started}}</li> 67 <li><span class="bold">Ended: </span>{{.Props.Ended}}</li> 68 <li><span class="bold">Duration: </span>{{.Props.Duration}}</li> 69 </ul> 70 </div> 71 <table class="participants"> 72 <tr> 73 <th class="username">Username<br></th> 74 <th class="email">Email</th> 75 <th class="joined">Joined</th> 76 <th class="left">Left</th> 77 <th class="duration">Duration</th> 78 <th class="messages">Messages</th> 79 </tr> 80 {{.Props.ParticipantRows}} 81 </table> 82 83 <h2>Messages</h2> 84 <div class="message-list"> 85 <ul> 86 {{.Props.Messages}} 87 </ul> 88 </div> 89 90 <p>Exported on {{.Props.ExportDate}}</p> 91 {{end}}