Update login.html

This commit is contained in:
alphatownsman 2022-05-08 10:47:44 -04:00 committed by GitHub
parent 3da5027763
commit 09e716956e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,6 +40,7 @@
<form action="/users/connect" onsubmit="return /^(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,})$/.test($('#domain').val())">
<input type="search" name="domain" id="domain" placeholder="实例域名如mastodon.social (不含@)" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
<input type='submit' value="{% trans '授权登录' %}" />
<br><a target="_blank" href="https://about.neodb.social/doc/howto/">{% trans '了解更多' %}</a>
</form>
{% else %}
<select name="sites" id="sitesSelect" placeholder="test">
@ -48,7 +49,6 @@
{% endfor %}
</select>
<button name='login'>{% trans '授权登录' %}</button>
<a target="_blank" href="https://about.neodb.social/doc/howto/">{% trans '了解更多' %}</a>
{% endif %}
</div>