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

24 lines
793 B
Plaintext
Raw Normal View History

.container-lg.container--main
2020-11-15 01:20:55 -08:00
.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
2022-02-13 09:54:42 -08:00
%h1.totp-setup__recovery-title= t(".heading", app_name: APP_CONFIG['site_name'])
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
2022-02-13 09:54:42 -08:00
.d-none.d-print-block= t(".generated_at", time: l(Time.now))
2020-11-15 01:20:55 -08:00
.card-footer.d-print-none
2022-02-13 09:54:42 -08:00
= t(".recommendation")
2020-11-15 01:20:55 -08:00
%br
2022-02-13 09:54:42 -08:00
%a.btn{ onclick: "print()" }
2020-11-15 01:20:55 -08:00
%i.fa.fa-print
2022-02-13 09:54:42 -08:00
= t(".print")
2020-11-15 01:20:55 -08:00
.d-none.d-print-block.text-success
%i.fa.fa-tree
2022-02-13 09:54:42 -08:00
= t(".consideration")