UX: Improve second factor UI (#9526)

This will make a few minor improvements to the second factor user interface. Highlights include:

- Using the site's title to prefix the backup code filename. If non-ascii characters are detected, then prefix "discourse" instead.
- Add icons and change the text on some of the buttons for better clarity and consistency
- Add an education link to the security key modal
This commit is contained in:
tshenry
2020-05-04 18:05:25 -07:00
committed by GitHub
parent d59d170452
commit b8b1cbbfb9
13 changed files with 239 additions and 109 deletions

View File

@@ -8,12 +8,14 @@
<span class="presence-text">
<span class="description">
{{#if isReply ~}}
{{i18n 'presence.replying'}}
{{i18n "presence.replying"}}
{{~else~}}
{{i18n 'presence.editing'}}
{{~/if}}</span>{{!-- (using comment to stop whitespace)
--}}</span>{{!--
--}}<span class="wave"><span class="dot">.</span><span class="dot">.</span><span class="dot">.</span>
{{i18n "presence.editing"}}
{{~/if}}
</span>{{!-- (using comment to stop whitespace)
--}}</span>{{!--
--}}<span class="wave">
<span class="dot">.</span><span class="dot">.</span><span class="dot">.</span>
</span>
</div>
{{/if}}