-
Notifications
You must be signed in to change notification settings - Fork 4
/
templates.html
41 lines (36 loc) · 1.35 KB
/
templates.html
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
38
39
40
41
<template name="lai:ddp-inspector">
<div class="ddp-inspector-panel" style="{{#unless constellation}}display:none;{{/unless}}">
{{#unless constellation}}{{> searchTemplate}}{{/unless}} {{#each ddpMessages}}
<div class="ddp-message">
<div class="ddp-inspector-arrow">{{#if out}}→{{else}}←{{/if}}</div>
{{> whichDDPTemplate}}
</div>
{{else}}
<p class="ddp-message">No DDP Messages... yet.</p>
{{/each}}
</div>
</template>
<template name="lai:ddp-inspector:search">
<input class="ddp-inspector-search" value="{{searchInput}}" placeholder=" Search for any DDP message..." type="text" tabindex="-1">
<input value="Reset" class="ddp-inspector-reset" type="button" title="Clears all messages from the inspector" tabindex="-1">
</template>
<template name="lai:ddp-inspector:collection">
<strong>Collection:</strong>
{{message.collection}} - {{message.msg}}
<br>
<pre>{{{ddpInspectorMessageStr}}}</pre>
</template>
<template name="lai:ddp-inspector:method">
<strong>Method:</strong>
{{methodName}}
<br>
<pre>{{{ddpInspectorMessageStr}}}</pre>
</template>
<template name="lai:ddp-inspector:subscription">
<strong>Subscription:</strong>
{{subscriptionName}}
<pre>{{{ddpInspectorMessageStr}}}</pre>
</template>
<template name="lai:ddp-inspector:unknown">
<pre>{{{ddpInspectorMessageStr}}}</pre>
</template>