shahar1 commented on code in PR #40145:
URL: https://github.com/apache/airflow/pull/40145#discussion_r1632099581


##########
airflow/www/templates/appbuilder/navbar_right.html:
##########
@@ -83,7 +83,12 @@
         <li><a href="{{user_profile_url}}"><span 
class="material-icons">account_circle</span>{{_("Your Profile")}}</a></li>
         <li role="separator" class="divider"></li>
       {% endif %}
-      <li><a href="{{auth_manager.get_url_logout()}}"><span 
class="material-icons">exit_to_app</span>{{_("Log Out")}}</a></li>
+      <li class="dropdown">
+        <form method="POST" action="{{auth_manager.get_url_logout()}}">
+        <input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
+        <button type="submit" class="btn btn-link"><span 
class="material-icons">exit_to_app</span>{{_("Log Out")}}</button>

Review Comment:
   I'd be happy for help with alignment and color (my CSS abilities are good as 
my french 😅):
   
   
![image](https://github.com/apache/airflow/assets/60007259/af5be93b-3c5f-42b2-8530-bbbdbfdc4ba7)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to