friendica-github/view/templates/feedtest.tpl

33 lines
811 B
Smarty
Raw Normal View History

2019-05-05 15:02:17 +00:00
<div id="feedtest" class="generic-page-wrapper">
2019-05-05 08:00:28 +00:00
<h2>Feed Test</h2>
<form action="feedtest" method="get" class="panel panel-default">
2018-03-10 17:43:34 +00:00
<div class="panel-body">
2019-05-05 08:00:28 +00: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 17:43:34 +00:00
</div>
2019-05-05 08:00:28 +00: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 17:43:34 +00:00
</div>
2019-05-05 08:00:28 +00: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 17:43:34 +00:00
</div>
</div>
2019-05-05 08:00:28 +00:00
{{/if}}
2018-03-10 17:43:34 +00:00
</div>