]> git.mxchange.org Git - friendica.git/blob - view/templates/settings/twofactor/index.tpl
spelling: overridden
[friendica.git] / view / templates / settings / twofactor / index.tpl
1 <div class="generic-page-wrapper">
2         <h1>{{$title}} <a href="help/Two-Factor-Authentication" title="{{$help_label}}" class="btn btn-default btn-sm"><i aria-hidden="true" class="fa fa-question fa-2x"></i></a></h1>
3         <div>{{$message nofilter}}</div>
4         <h2>{{$status_title}}</h2>
5         <p><strong>{{$auth_app_label}}</strong>: {{$app_status}} </p>
6 {{if $has_secret && $verified}}
7         <div>{{$configured_message nofilter}}</div>
8 {{/if}}
9 {{if $has_secret && !$verified}}
10         <div>{{$not_configured_message nofilter}}</div>
11 {{/if}}
12
13 {{if $has_secret && $verified}}
14         <h2>{{$recovery_codes_title}}</h2>
15         <p><strong>{{$recovery_codes_remaining}}</strong>: {{$recovery_codes_count}}</p>
16         <div>{{$recovery_codes_message nofilter}}</div>
17 {{/if}}
18
19         <form action="settings/2fa" method="post">
20                 <h2>{{$action_title}}</h2>
21                 <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
22
23                 {{include file="field_password.tpl" field=$password}}
24
25 {{if !$has_secret}}
26                 <p><button type="submit" name="action" id="confirm-submit-button" class="btn btn-primary confirm-button" value="enable">{{$enable_label}}</button></p>
27 {{else}}
28                 <p><button type="submit" name="action" id="confirm-submit-button" class="btn btn-primary confirm-button" value="disable">{{$disable_label}}</button></p>
29 {{/if}}
30 {{if $has_secret && $verified}}
31                 <p><button type="submit" name="action" id="confirm-submit-button" class="btn btn-primary confirm-button" value="recovery">{{$recovery_codes_label}}</button></p>
32                 <p><button type="submit" name="action" id="confirm-submit-button" class="btn btn-primary confirm-button" value="app_specific">{{$app_specific_passwords_label}}</button></p>
33                 <p><button type="submit" name="action" id="confirm-submit-button" class="btn btn-primary confirm-button" value="trusted">{{$trusted_browsers_label}}</button></p>
34 {{/if}}
35 {{if $has_secret && !$verified}}
36                 <p><button type="submit" name="action" id="confirm-submit-button" class="btn btn-primary confirm-button" value="configure">{{$configure_label}}</button></p>
37 {{/if}}
38         </form>
39 </div>