2021-07-18 20:36:06 +00:00
|
|
|
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{$smarty.const.FRIENDICA_VERSION}}" type="text/css" media="screen"/>
|
|
|
|
|
|
|
|
<div id="adminpage" class="adminpage generic-page-wrapper">
|
|
|
|
<h1>{{$title}} - {{$page}}</h1>
|
|
|
|
|
2021-07-20 21:33:35 +00:00
|
|
|
<div class="well well-lg">
|
|
|
|
Current Storage Backend: <b>{{$storagebackend}}</b>
|
|
|
|
</div>
|
2021-07-18 20:36:06 +00:00
|
|
|
|
|
|
|
<h2>Storage Configuration</h2>
|
|
|
|
|
|
|
|
{{foreach from=$availablestorageforms item=$storage}}
|
2021-07-20 21:33:35 +00:00
|
|
|
<form action="{{$baseurl}}/admin/storage/{{$storage.prefix}}" method="post">
|
|
|
|
<input type='hidden' name='form_security_token' value="{{$form_security_token}}">
|
2021-07-18 20:36:06 +00:00
|
|
|
<div class="panel">
|
2021-07-20 21:33:35 +00:00
|
|
|
<div class="section-subtitle-wrapper panel-title" role="tab" id="admin-settings-{{$storage.prefix}}">
|
2021-07-18 20:36:06 +00:00
|
|
|
<h3>
|
2021-07-18 21:09:45 +00:00
|
|
|
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-{{$storage.prefix}}-collapse" aria-expanded="false" aria-controls="admin-settings-{{$storage.prefix}}-collapse">
|
2021-07-18 20:36:06 +00:00
|
|
|
{{$storage.name}}
|
|
|
|
</a>
|
|
|
|
</h3>
|
|
|
|
</div>
|
2021-07-18 21:09:45 +00:00
|
|
|
<div id="admin-settings-{{$storage.prefix}}-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-{{$storage.prefix}}">
|
2021-07-18 20:36:06 +00:00
|
|
|
<div class="panel-body">
|
|
|
|
{{foreach from=$storage.form item=$field}}
|
|
|
|
{{include file=$field.field field=$field}}
|
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
2021-07-20 21:33:35 +00:00
|
|
|
{{if $storage.form}}
|
|
|
|
<input type="submit" name="submit_save" class="btn btn-primary" value="{{$save}}"/>
|
|
|
|
{{/if}}
|
|
|
|
<input type="submit" name="submit_save_set" class="btn btn-primary" value="{{$save_set}}"/>
|
2021-07-18 20:36:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-07-20 21:33:35 +00:00
|
|
|
</form>
|
2021-07-18 20:36:06 +00:00
|
|
|
|
|
|
|
{{/foreach}}
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</div>
|