Skip to content

Commit

Permalink
Fix U2F button icon (go-gitea#12167)
Browse files Browse the repository at this point in the history
Previously this used a USB icon which required a separate font file used
nowhere else so replace it with a octicon and fix the background color
on arc-green too.
  • Loading branch information
silverwind authored and Yohann Delafollye committed Jul 31, 2020
1 parent 1d554d5 commit ef37f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/user/settings/security_u2f.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<label for="nickname">{{.i18n.Tr "settings.u2f_nickname"}}</label>
<input id="nickname" name="nickname" type="text" required>
</div>
<button id="register-security-key" class="positive ui labeled icon button"><i class="usb icon"></i>{{.i18n.Tr "settings.u2f_register_key"}}</button>
<button id="register-security-key" class="ui green button">{{svg "octicon-key" 16}} {{.i18n.Tr "settings.u2f_register_key"}}</button>
</div>
{{else}}
<b>{{.i18n.Tr "settings.u2f_require_twofa"}}</b>
Expand Down

0 comments on commit ef37f0f

Please sign in to comment.