diff --git a/public/index.html b/public/index.html index 2dfc882c9..d49240a53 100644 --- a/public/index.html +++ b/public/index.html @@ -31,12 +31,12 @@ diff --git a/public/red/main.js b/public/red/main.js index 9bda19015..6c4f1aa56 100644 --- a/public/red/main.js +++ b/public/red/main.js @@ -315,7 +315,7 @@ var RED = (function() { options: [] }); - function updateUserMenu() { + var updateUserMenu = function() { $("#btn-usermenu-submenu li").remove(); if (RED.settings.user.anonymous) { RED.menu.addItem("btn-usermenu",{ @@ -347,6 +347,8 @@ var RED = (function() { } updateUserMenu(); + } else { + $("#btn-usermenu").parent().hide(); } $("#main-container").show(); diff --git a/public/style.css b/public/style.css index 62f81bad1..0d7556853 100644 --- a/public/style.css +++ b/public/style.css @@ -85,12 +85,15 @@ span.logo img { } #header ul.header-toolbar > li { - display: inline-block; padding: 0; margin: 0; position: relative; } +#header ul.header-toolbar > li { + display: inline-block; +} + .button { -webkit-user-select: none; -khtml-user-select: none; @@ -181,7 +184,7 @@ span.deploy-button-group.open > #btn-deploy.disabled + a { .button-group { display: inline-block; - margin: auto 10px; + margin: auto 15px; vertical-align: middle; background: #555; clear: both; @@ -199,16 +202,16 @@ span.deploy-button-group.open > #btn-deploy.disabled + a { .button-group > a:last-child { } -#btn-sidemenu { +#header .button { font-size: 20px !important; } -#btn-sidemenu:active, #btn-sidemenu.active { +#header .button:active, #header .button.active { background: #121212; } #header .button:focus { outline: none; } -li.open #btn-sidemenu { +#header li.open .button { background: #121212; border-color: #121212; } diff --git a/red/api/auth/clients.js b/red/api/auth/clients.js index fdb5432eb..6d8c7380c 100644 --- a/red/api/auth/clients.js +++ b/red/api/auth/clients.js @@ -1,5 +1,5 @@ /** - * Copyright 2014 IBM Corp. + * Copyright 2015 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/red/api/auth/index.js b/red/api/auth/index.js index 144207c36..f05c8b093 100644 --- a/red/api/auth/index.js +++ b/red/api/auth/index.js @@ -1,5 +1,5 @@ /** - * Copyright 2014 IBM Corp. + * Copyright 2015 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/red/api/auth/permissions.js b/red/api/auth/permissions.js index 0bda4e34b..8da0f6a1d 100644 --- a/red/api/auth/permissions.js +++ b/red/api/auth/permissions.js @@ -1,5 +1,5 @@ /** - * Copyright 2014 IBM Corp. + * Copyright 2015 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/red/api/auth/strategies.js b/red/api/auth/strategies.js index f750eb5b3..10a6d78a4 100644 --- a/red/api/auth/strategies.js +++ b/red/api/auth/strategies.js @@ -1,5 +1,5 @@ /** - * Copyright 2014 IBM Corp. + * Copyright 2015 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/red/api/auth/tokens.js b/red/api/auth/tokens.js index 0f832f32a..9285d0974 100644 --- a/red/api/auth/tokens.js +++ b/red/api/auth/tokens.js @@ -1,5 +1,5 @@ /** - * Copyright 2014 IBM Corp. + * Copyright 2015 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/red/api/auth/users.js b/red/api/auth/users.js index fe80a429b..9c9741a9b 100644 --- a/red/api/auth/users.js +++ b/red/api/auth/users.js @@ -1,5 +1,5 @@ /** -* Copyright 2014 IBM Corp. +* Copyright 2015 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.