Skip to content

Commit

Permalink
Merge pull request #47 from tsimbalar/patch-2
Browse files Browse the repository at this point in the history
Improve layout of multiline properties  fix #46
  • Loading branch information
nblumhardt authored Oct 18, 2017
2 parents 1cb6a5f + 45695b5 commit b6175e5
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/Seq.App.EmailPlus/Resources/DefaultBodyTemplate.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,39 +40,39 @@
<div style="margin-top:20px;" >
<div style="margin-top:10px;" >
<div style="font-family:monospace;font-weight:bold;" >Query</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre-wrap;" >{{Query}}</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;" >{{Query}}</div>
</div>
<div style="margin-top:10px;">
<div style="font-family:monospace;font-weight:bold;">Measurement window</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre-wrap;">{{MeasurementWindow}}</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;">{{MeasurementWindow}}</div>
</div>
<div style="margin-top:10px;">
<div style="font-family:monospace;font-weight:bold;">Suppression time</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre-wrap;">{{SuppressionTime}}</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;">{{SuppressionTime}}</div>
</div>
<div style="margin-top:10px;">
<div style="font-family:monospace;font-weight:bold;">Detected range start</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre-wrap;">{{AlertRangeStart}}</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;">{{AlertRangeStart}}</div>
</div>
<div style="margin-top:10px;" >
<div style="font-family:monospace;font-weight:bold;" >Detected range end</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre-wrap;" >{{AlertRangeEnd}}</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;" >{{AlertRangeEnd}}</div>
</div>
<div style="margin-top:10px;" >
<div style="font-family:monospace;font-weight:bold;" >Intersected signals</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre-wrap;" >{{pretty SignalTitles}}</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;" >{{pretty SignalTitles}}</div>
</div>
{{#if OwnerUsername}}
<div style="margin-top:10px;" >
<div style="font-family:monospace;font-weight:bold;" >Owner</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre-wrap;" >{{OwnerUsername}}</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;" >{{OwnerUsername}}</div>
</div>
{{/if}}
{{#if Errors}}
<div style="margin-top:10px;" >
<div style="font-family:monospace;font-weight:bold;" >Error</div>
{{#each Errors}}
<div style="overflow:hidden;font-family:monospace;white-space:pre-wrap;" >{{this}}</div>
<div style="overflow:hidden;font-family:monospace;white-space:pre;white-space:pre-wrap;" >{{this}}</div>
{{/each}}
</div>
{{/if}}
Expand All @@ -84,7 +84,7 @@
<div style="margin-top:10px;" >
<div style="font-family:monospace;font-weight:bold;" >{{pretty this.Key}}</div>
{{#each Slices}}
<div style="font-family:monospace;word-wrap:break-word;white-space:pre-wrap;" ><span class="seq-slice-start" style="font-weight:bold;" >{{SliceStart}}</span> {{pretty Rowset}}</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;" ><span class="seq-slice-start" style="font-weight:bold;" >{{SliceStart}}</span> {{pretty Rowset}}</div>
{{/each}}
</div>
{{/each}}
Expand All @@ -101,13 +101,13 @@
{{#each $Properties}}
<div style="margin-top:10px;" >
<div title="{{@key}}" style="font-family:monospace;font-weight:bold;" >{{@key}}</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre-wrap;" >{{pretty this}}</div>
<div style="font-family:monospace;word-wrap:break-word;white-space:pre;white-space:pre-wrap;" >{{pretty this}}</div>
</div>
{{/each}}
{{#if $Exception}}
<div style="margin-top:10px;" >
<div style="font-family:monospace;font-weight:bold;" >Exception</div>
<div style="overflow:hidden;font-family:monospace;white-space:pre-wrap;" >{{$Exception}}</div>
<div style="overflow:hidden;font-family:monospace;white-space:pre;white-space:pre-wrap;" >{{$Exception}}</div>
</div>
{{/if}}
</div>
Expand All @@ -121,4 +121,4 @@
</tr>
</table>
</body>
</html>
</html>

0 comments on commit b6175e5

Please sign in to comment.