1
0
Fork 0
friendica_2020-09-1_sharedH.../view/templates/feedtest.tpl

33 lines
811 B
Smarty
Raw Normal View History

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