blob: 341a2daaa23b33b3b569067b6b58eed0b9a4be47 [file] [log] [blame]
Nils Diewald1d2903f2014-11-03 22:31:20 +00001% use JSON::XS;
2
3% if (stash('test_port') && stash('search.apirequest')) {
Nils Diewalde99d9042014-11-20 23:36:54 +00004<pre class="query api" onclick="this.classList.toggle('active')">
Nils Diewald1d2903f2014-11-03 22:31:20 +00005 <span>API Response for </span>
6 <span style="font-size: 70%"><%= stash('search.apirequest') %></span>
7 <code>
8<%= stash('search.apiresponse') =%>
9 </code>
10</pre>
11%= javascript begin
12hljs.initHighlightingOnLoad();
Nils Diewald1d2903f2014-11-03 22:31:20 +000013% end
14% };