From ad3297ff2feb2fce944409ae50446ae5d9ddf7e3 Mon Sep 17 00:00:00 2001 From: q4speed Date: Tue, 2 Jan 2018 17:40:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=AA=E4=BA=BA=E5=A4=B4?= =?UTF-8?q?=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/static/css/jumpserver.css | 4 ++++ apps/templates/_header_bar.html | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/static/css/jumpserver.css b/apps/static/css/jumpserver.css index 049fab046..a7873dbb4 100644 --- a/apps/static/css/jumpserver.css +++ b/apps/static/css/jumpserver.css @@ -318,4 +318,8 @@ div.dataTables_wrapper div.dataTables_filter { .logo-element { padding: 10px 0; +} + +.welcome-message img { + margin: -12px 0; } \ No newline at end of file diff --git a/apps/templates/_header_bar.html b/apps/templates/_header_bar.html index dd89b8853..ccee782f2 100644 --- a/apps/templates/_header_bar.html +++ b/apps/templates/_header_bar.html @@ -22,7 +22,11 @@ {% if user.is_authenticated %} - {{ request.user.name }} + image + {{ request.user.name }} + + +