From 63836ffb197f436fc7f3307a968d31da0dbbafed Mon Sep 17 00:00:00 2001 From: elhombretecla Date: Thu, 2 Mar 2017 16:37:06 +0100 Subject: [PATCH] add login test message --- frontend/resources/styles/common/framework.scss | 10 ++++++++++ frontend/src/uxbox/main/ui/auth/login.cljs | 2 ++ 2 files changed, 12 insertions(+) diff --git a/frontend/resources/styles/common/framework.scss b/frontend/resources/styles/common/framework.scss index 550d5e563d..27719f541c 100644 --- a/frontend/resources/styles/common/framework.scss +++ b/frontend/resources/styles/common/framework.scss @@ -1077,3 +1077,13 @@ input[type=range]:focus::-ms-fill-upper { fill: $color-white; } } + +.message-inline { + background-color: $color-info; + color: $color-info-darker; + margin-bottom: 1.2rem; + padding: .8rem; + p { + margin: 0; + } +} diff --git a/frontend/src/uxbox/main/ui/auth/login.cljs b/frontend/src/uxbox/main/ui/auth/login.cljs index 2874b3c69b..db6857f202 100644 --- a/frontend/src/uxbox/main/ui/auth/login.cljs +++ b/frontend/src/uxbox/main/ui/auth/login.cljs @@ -40,6 +40,8 @@ :password (:password data)})))] [:form {:on-submit on-submit} [:div.login-content + [:div.message-inline.hide + [:p "UXBOX is currently on alpha version. That means that you're going to use a non-stable environment. Sorry for the inconvenience."]] [:input.input-text {:name "email" :ref "email"