Commit b0a26a3b79aaaac4eba8aac8af2f763b9cdced77
1 parent
0e5abae9
Exists in
master
and in
2 other branches
Some adjusts related to the contrast button
Showing
1 changed file
with
11 additions
and
13 deletions
Show diff stats
amadeus/templates/base.html
... | ... | @@ -108,18 +108,10 @@ |
108 | 108 | </div> |
109 | 109 | |
110 | 110 | <ul class="nav navbar-nav navbar-right notifications"> |
111 | - <a href="" id="contrast_button" style="color:inherit;padding-right:5px;"> | |
112 | - {% if user.is_staff %} | |
113 | - <i style="top:18px;left:5px;"class="glyphicon glyphicon-adjust"></i> | |
114 | - {% else %} | |
115 | - <i style="top:18px;right:5px;" class="glyphicon glyphicon-adjust"></i> | |
116 | - {% endif %} </a> | |
117 | - | |
118 | - {% if user.is_staff %} | |
111 | + | |
112 | + | |
119 | 113 | <li class="dropdown language-selector-on-header {{ settings_menu_active }}" title data-original-title="{% trans 'Language Selector' %}" style="width:40px;"> |
120 | - {% else %} | |
121 | - <li class="dropdown language-selector-on-header {{ settings_menu_active }}" title data-original-title="{% trans 'Language Selector' %}" style="width:40px;right:10px"> | |
122 | - {% endif %} | |
114 | + | |
123 | 115 | |
124 | 116 | |
125 | 117 | <a href="#" class="dropdown-toggle title" data-toggle="dropdown" data-close-others="true"> |
... | ... | @@ -152,6 +144,12 @@ |
152 | 144 | {% endfor %} |
153 | 145 | </ul> |
154 | 146 | </li> |
147 | + <li style="width:40px;"> | |
148 | + <a href="" id="contrast_button"> | |
149 | + <i style="font-size:15px;right: 150%;" class="glyphicon glyphicon-adjust"></i> | |
150 | + </a> | |
151 | + | |
152 | + </li> | |
155 | 153 | |
156 | 154 | |
157 | 155 | <li id="profile-menu" class="dropdown" data-toggle="tooltip" data-placement="bottom" title data-original-title="{{ user }}"> |
... | ... | @@ -169,9 +167,9 @@ |
169 | 167 | </li> |
170 | 168 | |
171 | 169 | {% if user.is_staff %} |
172 | - <li id="staff-menu" class="dropdown {{ settings_menu_active }}" title data-original-title="{% trans 'settings' %}"> | |
170 | + <li id="staff-menu" style="width:40px;" class="dropdown {{ settings_menu_active }}" title data-original-title="{% trans 'settings' %}"> | |
173 | 171 | <a href="#" class="dropdown-toggle" data-toggle="dropdown"> |
174 | - <i class="fa fa-cog hidden-xs" aria-hidden="true"></i> | |
172 | + <i class="fa fa-cog hidden-xs" style="position:relative;right:150%;"aria-hidden="true"></i> | |
175 | 173 | <span class="visible-xs-inline">{% trans 'Settings' %}</span> |
176 | 174 | </a> |
177 | 175 | <ul class="dropdown-menu" role="menu"> | ... | ... |