forked from Tencent/vConsole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitem.html
61 lines (61 loc) · 2.13 KB
/
item.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<div class="vc-group">
<dl class="vc-table-row vc-group-preview">
<dd class="vc-table-col vc-table-col-4">{{url}}</dd>
<dd class="vc-table-col">{{method}}</dd>
<dd class="vc-table-col">{{status}}</dd>
<dd class="vc-table-col">{{costTime}}</dd>
</dl>
<div class="vc-group-detail">
<div>
<dl class="vc-table-row vc-left-border">
<dt class="vc-table-col vc-table-col-title">Headers</dt>
</dl>
{{if (header !== null)}}
{{for (var key in header)}}
<div class="vc-table-row vc-left-border vc-small">
<div class="vc-table-col vc-table-col-2">{{key}}</div>
<div class="vc-table-col vc-table-col-4 vc-max-height-line">{{header[key]}}</div>
</div>
{{/for}}
{{else}}
<div class="vc-table-row vc-left-border vc-small">
<div class="vc-table-col vc-table-col-2">-</div>
</div>
{{/if}}
</div>
{{if (getData !== null)}}
<div>
<dl class="vc-table-row vc-left-border">
<dt class="vc-table-col vc-table-col-title">Query String Parameters</dt>
</dl>
{{for (var key in getData)}}
<div class="vc-table-row vc-left-border vc-small">
<div class="vc-table-col vc-table-col-2">{{key}}</div>
<div class="vc-table-col vc-table-col-4 vc-max-height-line">{{getData[key]}}</div>
</div>
{{/for}}
</div>
{{/if}}
{{if (postData !== null)}}
<div>
<dl class="vc-table-row vc-left-border">
<dt class="vc-table-col vc-table-col-title">Form Data</dt>
</dl>
{{for (var key in postData)}}
<div class="vc-table-row vc-left-border vc-small">
<div class="vc-table-col vc-table-col-2">{{key}}</div>
<div class="vc-table-col vc-table-col-4 vc-max-height-line">{{postData[key]}}</div>
</div>
{{/for}}
</div>
{{/if}}
<div>
<dl class="vc-table-row vc-left-border">
<dt class="vc-table-col vc-table-col-title">Response</dt>
</dl>
<div class="vc-table-row vc-left-border vc-small">
<pre class="vc-table-col vc-max-height vc-min-height">{{response || ''}}</pre>
</div>
</div>
</div>
</div>