diff options
author | silverwind <me@silverwind.io> | 2020-07-07 00:37:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 01:37:48 +0300 |
commit | 075f33c48c0c2582e0e42d6847c52e9f85f3c7ad (patch) | |
tree | 862c1a9782d2b5ebd8b4d246627811e3b23147ba /templates | |
parent | 8a0bb7cd040b17e6c6c3d75b4b76051953253c31 (diff) | |
download | gitea-075f33c48c0c2582e0e42d6847c52e9f85f3c7ad.tar.gz gitea-075f33c48c0c2582e0e42d6847c52e9f85f3c7ad.zip |
Fix U2F button icon (#12167)
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.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user/settings/security_u2f.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/security_u2f.tmpl b/templates/user/settings/security_u2f.tmpl index 4703f9deb9..e083e0b434 100644 --- a/templates/user/settings/security_u2f.tmpl +++ b/templates/user/settings/security_u2f.tmpl @@ -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> |