]> git.mxchange.org Git - friendica.git/blob - view/templates/settings/twofactor/trusted_browsers.tpl
29d2ab29c6d87f8d42d4250e88ec9cc1d71e67fb
[friendica.git] / view / templates / settings / twofactor / trusted_browsers.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
5         <form action="settings/2fa/trusted?t={{$password_security_token}}" method="post">
6                 <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
7                 <table class="trusted-passwords table table-hover table-condensed table-striped">
8                         <thead>
9                                 <tr>
10                                         <th>{{$device_label}}</th>
11                                         <th>{{$os_label}}</th>
12                                         <th>{{$browser_label}}</th>
13                                         <th>{{$created_label}}</th>
14                                         <th>{{$last_used_label}}</th>
15                                         <th><button type="submit" name="action" class="btn btn-primary btn-small" value="remove_all">{{$remove_all_label}}</button></th>
16                                 </tr>
17                         </thead>
18                         <tbody>
19 {{foreach $trusted_browsers as $trusted_browser}}
20                                 <tr{{if $generated_trusted_browser && $trusted_browser.id == $generated_trusted_browser.id}} class="success"{{/if}}>
21                                         <td>
22                                 {{$trusted_browser.device}}
23                                         </td>
24                                         <td>
25                                 {{$trusted_browser.os}}
26                                         </td>
27                                         <td>
28                                 {{$trusted_browser.browser}}
29                                         </td>
30                                         <td>
31                                                 <time class="time" title="{{$trusted_browser.created_local}}" data-toggle="tooltip" datetime="{{$trusted_browser.created_utc}}">{{$trusted_browser.created_ago}}</time>
32                                         </td>
33                                         <td>
34                                                 <time class="time" title="{{$trusted_browser.last_used_local}}" data-toggle="tooltip" datetime="{{$trusted_browser.last_used_utc}}">{{$trusted_browser.last_used_ago}}</time>
35                                         </td>
36                                         <td>
37                                                 <button type="submit" name="remove_id" class="btn btn-default btn-small" value="{{$trusted_browser.cookie_hash}}">{{$remove_label}}</button>
38                                         </td>
39                                 </tr>
40 {{/foreach}}
41                         </tbody>
42                 </table>
43         </form>
44 </div>