mirror of
https://github.com/pretix/pretix.git
synced 2026-10-02 19:24:42 +00:00
Always show profile header
This commit is contained in:
@@ -99,8 +99,6 @@
|
||||
data-select2-locale="{{ select2locale }}" data-longdateformat="{{ js_long_date_format }}" class="nojs">
|
||||
<div id="wrapper">
|
||||
<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
|
||||
|
||||
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="{% url "control:index" %}">
|
||||
<img src="{% static "pretixbase/img/pretix-icon-white-mini.svg" %}" />
|
||||
@@ -148,10 +146,8 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<ul class="nav navbar-nav navbar-top-links navbar-left flip hidden-xs">
|
||||
{% if request.event %}
|
||||
<li>
|
||||
@@ -198,6 +194,7 @@
|
||||
<li class="dropdown-mobile-header visible-xs">
|
||||
<strong>{{ nav.title }}</strong>
|
||||
</li>
|
||||
<li role="separator" class="divider visible-xs"></li>
|
||||
{% for item in nav.children %}
|
||||
{% if item.separator %}
|
||||
<li role="separator" class="divider"></li>
|
||||
@@ -246,10 +243,11 @@
|
||||
<i class="fa fa-user"></i> {{ request.user.get_full_name }}
|
||||
</a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li class="dropdown-mobile-header visible-xs">
|
||||
<li class="dropdown-mobile-header dropdown-header">
|
||||
<strong>{{ request.user.get_full_name }}</strong><br>
|
||||
{{ request.user.email }}
|
||||
</li>
|
||||
<li role="separator" class="divider"></li>
|
||||
<li>
|
||||
<a href="{% url 'control:organizers' %}">
|
||||
<i class="fa fa-fw fa-group"></i> {% trans "My organizer accounts" %}
|
||||
|
||||
@@ -250,12 +250,12 @@
|
||||
padding: 12px 15px 12px 25px;
|
||||
}
|
||||
.dropdown-header, .dropdown-mobile-header, .divider {
|
||||
margin-left: 25px; margin-right: 15px;
|
||||
margin-left: 25px; margin-right: 15px; padding-left: 0; padding-right: 0;
|
||||
}
|
||||
.dropdown-mobile-header {
|
||||
padding: 20px 0 21px 0; font-size: 14px; border-bottom: 1px solid $dropdown-divider-bg; margin-bottom: 9px;
|
||||
min-height: 70px;
|
||||
* { color: black; background: transparent; font-size: 14px; }
|
||||
padding: 20px 0 10px 0; font-size: 14px;
|
||||
color: #333; white-space: inherit;
|
||||
strong { font-size: 120%; }
|
||||
}
|
||||
> li > a {
|
||||
line-height: $line-height-computed;
|
||||
|
||||
Reference in New Issue
Block a user