friendica/view/templates/feedtest.tpl

33 lines
811 B
Smarty
Raw Permalink Normal View History

2019-05-05 11:02:17 -04:00
<div id="feedtest" class="generic-page-wrapper">
2019-05-05 04:00:28 -04:00
<h2>Feed Test</h2>
<form action="feedtest" method="get" class="panel panel-default">
2018-03-10 12:43:34 -05:00
<div class="panel-body">
2019-05-05 04:00:28 -04:00
<div class="form-group">
{{include file="field_input.tpl" field=$url}}
</div>
<p><button type="submit" class="btn btn-primary">Submit</button></p>
2018-03-10 12:43:34 -05:00
</div>
2019-05-05 04:00:28 -04:00
</form>
{{if $result}}
<div class="feedtest-result">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Output Items</h3>
</div>
<div class="panel-body">
<pre>{{$result.output}}</pre>
</div>
2018-03-10 12:43:34 -05:00
</div>
2019-05-05 04:00:28 -04:00
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Input Feed XML</h3>
</div>
<div class="panel-body">
{{$result.input}}
</div>
2018-03-10 12:43:34 -05:00
</div>
</div>
2019-05-05 04:00:28 -04:00
{{/if}}
2018-03-10 12:43:34 -05:00
</div>