1 <link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{$smarty.const.FRIENDICA_VERSION}}" type="text/css" media="screen"/>
3 <div id="adminpage" class="adminpage generic-page-wrapper">
4 <h1>{{$title}} - {{$page}}</h1>
6 <div class="well well-lg">
7 {{$label_current}}: <b>{{$storagebackend}}</b>
10 <h2>{{$label_config}}</h2>
12 {{foreach from=$availablestorageforms item=$storage}}
13 <form action="{{$baseurl}}/admin/storage/{{$storage.prefix}}" method="post">
14 <input type='hidden' name='form_security_token' value="{{$form_security_token}}">
16 <div class="section-subtitle-wrapper panel-title" role="tab" id="admin-settings-{{$storage.prefix}}">
18 <button class="btn-link 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">
23 <div id="admin-settings-{{$storage.prefix}}-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-{{$storage.prefix}}">
24 <div class="panel-body">
26 {{foreach from=$storage.form item=$field}}
27 {{include file=$field.field field=$field}}
33 <div class="panel-footer">
35 <input type="submit" name="submit_save" class="btn btn-primary" value="{{$save}}"/>
36 {{if $storage.active}}
37 <input type="submit" name="submit_save_set" class="btn btn-primary" value="{{$save_reload}}"/>
39 <input type="submit" name="submit_save_set" class="btn btn-primary" value="{{$save_use}}"/>
42 <input type="submit" name="submit_save_set" class="btn btn-primary" {{if $storage.active}}disabled="disabled"{{/if}} value="{{$use}}"/>