core: update styling of impersonate banner
This commit is contained in:
parent
5f04a75878
commit
02c1c434a2
|
@ -20,11 +20,15 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% if 'impersonate_id' in request.session %}
|
{% if 'impersonate_id' in request.session %}
|
||||||
<div class="experimental-pf-bar">
|
<div class="pf-c-banner pf-m-warning pf-c-alert pf-m-sticky">
|
||||||
<span id="experimentalBar" class="experimental-pf-text">
|
<div class="pf-l-flex pf-m-justify-content-center pf-m-justify-content-space-between-on-lg pf-m-nowrap" style="height: 100%;">
|
||||||
{% blocktrans with user=user %}You're currently impersonating {{ user }}.{% endblocktrans %}
|
<div class=""></div>
|
||||||
<a href="?__unimpersonate=True" id="acceptMessage">{% trans 'Stop impersonation' %}</a>
|
<div class="pf-u-display-none pf-u-display-block-on-lg">
|
||||||
</span>
|
{% blocktrans with user=user %}You're currently impersonating {{ user }}.{% endblocktrans %}
|
||||||
|
<a href="?__unimpersonate=True" id="acceptMessage">{% trans 'Stop impersonation' %}</a>
|
||||||
|
</div>
|
||||||
|
<div class=""></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
Reference in New Issue