diff --git a/ui/src/app/login/login.controller.js b/ui/src/app/login/login.controller.js index 3dfb2d8c18..ab95b47d3e 100644 --- a/ui/src/app/login/login.controller.js +++ b/ui/src/app/login/login.controller.js @@ -13,10 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +/* eslint-disable import/no-unresolved, import/default */ + +import logoSvg from '../../svg/logo_title_white.svg'; + +/* eslint-enable import/no-unresolved, import/default */ + /*@ngInject*/ export default function LoginController(toast, loginService, userService/*, $rootScope, $log, $translate*/) { var vm = this; + vm.logoSvg = logoSvg; + vm.user = { name: '', password: '' diff --git a/ui/src/app/login/login.scss b/ui/src/app/login/login.scss index 0dbf8ad419..093b0afa95 100644 --- a/ui/src/app/login/login.scss +++ b/ui/src/app/login/login.scss @@ -20,4 +20,12 @@ md-card.tb-login-card { @media (min-width: $layout-breakpoint-sm) { width: 450px !important; } + md-card-title { + img.tb-login-logo { + height: 50px; + } + } + md-card-content { + margin-top: -50px; + } } diff --git a/ui/src/app/login/login.tpl.html b/ui/src/app/login/login.tpl.html index 05f9c8936f..213879adb4 100644 --- a/ui/src/app/login/login.tpl.html +++ b/ui/src/app/login/login.tpl.html @@ -18,11 +18,9 @@ - - login.sign-in - + -