Merged in [19471] from lars@eggert.org:

More conformant HTML for the 'sign in' button.
 - Legacy-Id: 19513
Note: SVN reference [19471] has been migrated to Git commit 63f1df0309
This commit is contained in:
Robert Sparks 2021-11-01 18:19:32 +00:00
commit 95666eabc6

View file

@ -76,9 +76,7 @@
</ul> </ul>
{% if not user.is_authenticated %} {% if not user.is_authenticated %}
<p class="navbar-text"></p> <p class="navbar-text"></p>
<button type="button" class="btn {% if server_mode and server_mode == "production" %}btn-warning{% else %}btn-default{% endif %} btn-sm navbar-btn"> <a class="btn {% if server_mode and server_mode == "production" %}btn-warning{% else %}btn-default{% endif %} btn-sm navbar-btn" rel="nofollow" href="/accounts/login/?next={{request.get_full_path|urlencode}}">Sign in</a>
<a style="color:inherit" rel="nofollow" href="/accounts/login/?next={{request.get_full_path|urlencode}}">Sign in</a>
</button>
{% endif %} {% endif %}
<form class="navbar-form navbar-right hidden-xs" action="/doc/search/"> <form class="navbar-form navbar-right hidden-xs" action="/doc/search/">