friendica-github/view/templates/probe.tpl

31 lines
783 B
Smarty
Raw Normal View History

2024-08-24 18:23:27 +00:00
{{*
* Copyright (C) 2010-2024, the Friendica project
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*}}
2019-05-18 19:05:13 +00:00
<div id="probe" class="generic-page-wrapper">
2021-03-08 21:17:27 +00:00
<h2>{{$title}}</h2>
2019-05-18 19:05:13 +00:00
<form action="probe" method="get" class="panel panel-default">
<div class="panel-body">
<div class="form-group">
{{include file="field_input.tpl" field=$addr}}
</div>
2021-03-08 21:17:27 +00:00
<p><button type="submit" class="btn btn-primary">{{$submit}}</button></p>
2019-05-18 19:05:13 +00:00
</div>
</form>
{{if $res}}
<div class="probe-result">
<div class="panel panel-default">
<div class="panel-heading">
2021-03-08 21:17:27 +00:00
<h3 class="panel-title">{{$output}}</h3>
2019-05-18 19:05:13 +00:00
</div>
<div class="panel-body">
<pre>{{$res}}</pre>
</div>
</div>
</div>
{{/if}}
</div>