Login/logout style tweaks.
- Legacy-Id: 7537
This commit is contained in:
parent
475bcbbd30
commit
721b9a5cd7
|
@ -60,12 +60,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
{% if user %}
|
||||
<div id="ietf-login" class="noprint">
|
||||
{% if request.get_full_path == "/accounts/loggedout/" %}
|
||||
<a href="https://{{ request.get_host }}/accounts/login/" rel="nofollow">Sign In</a>
|
||||
<a href="https://{{ request.get_host }}/accounts/login/" class="login" rel="nofollow">Sign in</a>
|
||||
{% else %}
|
||||
{% if user.is_authenticated %}
|
||||
{{ user }} | <a href="/accounts/logout/">Sign Out</a>
|
||||
{{ user }} | <a href="/accounts/logout/" class="login" rel="nofollow">Sign out</a>
|
||||
{% else %}
|
||||
<a href="https://{{ request.get_host }}/accounts/login/?next={{request.get_full_path|urlencode}}" rel="nofollow">Sign In</a>
|
||||
<a href="https://{{ request.get_host }}/accounts/login/?next={{request.get_full_path|urlencode}}" class="login" rel="nofollow">Sign in</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
@ -406,17 +406,21 @@ span.fieldRequired {
|
|||
|
||||
|
||||
#login-pane {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
// background: rgba(196,196,196,.5);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
// background: rgba(196,196,196,.5);
|
||||
}
|
||||
|
||||
|
||||
#login-form {
|
||||
width: 24em;
|
||||
padding: 2em;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
margin-top: 10em;
|
||||
background: white;
|
||||
width: 24em;
|
||||
padding: 2em;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
margin-top: 10em;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.login {
|
||||
font-style: italic;
|
||||
}
|
Loading…
Reference in a new issue