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.
tokarchuk/v1.17
silverwind 4 years ago committed by GitHub
parent 8a0bb7cd04
commit 075f33c48c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/user/settings/security_u2f.tmpl

@ -24,7 +24,7 @@
<label for="nickname">{{.i18n.Tr "settings.u2f_nickname"}}</label> <label for="nickname">{{.i18n.Tr "settings.u2f_nickname"}}</label>
<input id="nickname" name="nickname" type="text" required> <input id="nickname" name="nickname" type="text" required>
</div> </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> </div>
{{else}} {{else}}
<b>{{.i18n.Tr "settings.u2f_require_twofa"}}</b> <b>{{.i18n.Tr "settings.u2f_require_twofa"}}</b>

Loading…
Cancel
Save