Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
birger
users
Commits
764d4f11
Commit
764d4f11
authored
Aug 03, 2019
by
o@immerda.ch
Browse files
changes to layout for the rewording
parent
315c7ce8
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/views/tfa/new_totp.html.erb
View file @
764d4f11
...
@@ -2,17 +2,14 @@
...
@@ -2,17 +2,14 @@
<p>
<p>
<%=
t
(
:totp_description
)
%>
<%=
t
(
:add_your_totp_long
)
%>
<%=
link_to
'FreeOTP'
,
'https://freeotp.github.io/'
,
target:
'_new'
%>
<%=
t
(
:totp_description
)
%>
<%=
t
(
:add_your_totp_long
)
%>
<%=
link_to
'FreeOTP'
,
'https://freeotp.github.io/'
,
target:
'_new'
%>
</p>
</p>
<h4>
<%=
t
(
:your_new_totp_token
)
%>
</h4>
<p>
<p>
<%=
t
(
:your_new_totp_token_long
)
%>
<div
class=
"qr-field"
>
<%=
raw
(
totp_qr
.
as_html
)
%>
</div>
<div
class=
"qr-field"
>
<%=
raw
(
totp_qr
.
as_html
)
%>
</div>
<br/>
<br/>
Secret:
<%=
totp_secret
%>
Secret:
<%=
totp_secret
%>
</p>
</p>
<p>
<p>
<h4>
<%=
t
(
:finalize_your_totp
)
%>
</h4>
<p>
<p>
<%=
t
(
:finalize_your_totp
_long
)
%>
<%=
t
(
:finalize_your_totp
)
%>
</p>
</p>
<%=
form_tag
(
tfa_totp_path
,
method:
"post"
)
do
%>
<%=
form_tag
(
tfa_totp_path
,
method:
"post"
)
do
%>
<%=
hidden_field
(
''
,
:kind
,
:value
=>
'totp'
)
%>
<%=
hidden_field
(
''
,
:kind
,
:value
=>
'totp'
)
%>
...
...
app/views/tfa/new_webauthn.html.erb
View file @
764d4f11
...
@@ -2,11 +2,7 @@
...
@@ -2,11 +2,7 @@
<p>
<p>
<%=
t
(
:register_webauthn_description
)
%>
<%=
t
(
:register_webauthn_description
)
%>
</p>
</p>
<h4>
<%=
t
(
:register_new_webauthn
)
%>
</h4>
<div
class=
"webauthn-form"
>
<div
class=
"webauthn-form"
>
<div>
<%=
image_tag
'webauthn.png'
%>
</div>
<%=
form_tag
(
tfa_webauthn_path
,
method:
"post"
)
do
%>
<%=
form_tag
(
tfa_webauthn_path
,
method:
"post"
)
do
%>
<table>
<table>
<tr><td>
<tr><td>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment