diff --git a/sitestatic/archweb.css b/sitestatic/archweb.css index f7c61f10..982f0032 100644 --- a/sitestatic/archweb.css +++ b/sitestatic/archweb.css @@ -1197,3 +1197,24 @@ ul.signoff-list { .pgp-key-ids { display: inline-block; } + +.logout-form { + display: inline-block; + + /* style input as a normal anchor */ + input { + background: none!important; + border: none; + padding: 0!important; + /*optional*/ + font-family: arial, sans-serif; + font-size: 0.9em; + /*input has OS specific font-family*/ + color: #07b; + } + + input:hover { + text-decoration: underline; + cursor: pointer; + } +} diff --git a/templates/base.html b/templates/base.html index 03392a69..47cfd8a1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -55,7 +55,11 @@ {% if user|in_groups:'Developers:Package Maintainers:Support Staff' %}
  • Tier0 mirror
  • {% endif %} -
  • Logout
  • +
  • +
    {% csrf_token %} + +
    +
  • {% endif %}