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.
This commit is contained in:
parent
8a0bb7cd04
commit
075f33c48c
|
@ -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…
Reference in a new issue