Retrospring/app/views/settings/security/recovery_keys.haml

24 lines
882 B
Plaintext
Raw Normal View History

2020-11-15 01:20:55 -08:00
.container.container--main
.row.justify-content-center
.col-md-5.totp-setup__recovery-container
.card
.card-body
.d-none.d-print-block.totp-setup__recovery-icon
%i.fa.fa-comments
%h1.totp-setup__recovery-title Your Retrospring recovery codes
2020-11-01 08:55:31 -08:00
2020-11-15 01:20:55 -08:00
%ul.totp-setup__recovery-codes
- @recovery_keys.each do |key|
%li
%code= key.code
2020-11-15 12:35:50 -08:00
.d-none.d-print-block These codes were generated #{Time.now.strftime('%F at %T %Z')}
2020-11-15 01:20:55 -08:00
.card-footer.d-print-none
We recommend storing these in a password manager or printing them out on paper.
%br
2020-11-15 12:35:50 -08:00
%a.btn{ onclick: 'print()' }
2020-11-15 01:20:55 -08:00
%i.fa.fa-print
Print
.d-none.d-print-block.text-success
%i.fa.fa-tree
2020-11-15 12:35:50 -08:00
Please consider the environment before printing this page.