소스 검색

HUE-6077 [frontend] Add a message to the login page

Enrico Berti 8 년 전
부모
커밋
2f911e37b2

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/login.css


+ 1 - 1
desktop/core/src/desktop/static/desktop/css/login4.css

@@ -14,4 +14,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
- */.login-container{-webkit-box-shadow:0 2px 8px rgba(0,0,0,0.18);-moz-box-shadow:0 2px 8px rgba(0,0,0,0.18);box-shadow:0 2px 6px 0 rgba(0,0,0,0.18),0 2px 8px 0 rgba(0,0,0,0.13)}.login-container .logo{width:140px;height:70px;text-align:center}.svg-hue-logo-main{fill:#0B7FAD}.svg-hue-logo-trunk{fill:#A37EC6}
+ */.login-container{-webkit-box-shadow:0 2px 8px rgba(0,0,0,0.18);-moz-box-shadow:0 2px 8px rgba(0,0,0,0.18);box-shadow:0 2px 6px 0 rgba(0,0,0,0.18),0 2px 8px 0 rgba(0,0,0,0.13)}.login-container .logo{width:200px;height:70px;text-align:center}.svg-hue-logo-main{fill:#0B7FAD}.svg-hue-logo-trunk{fill:#A37EC6}

+ 5 - 0
desktop/core/src/desktop/static/desktop/less/login.less

@@ -50,6 +50,11 @@
     margin-top: 35px;
     margin-bottom: 35px;
   }
+  h3 {
+    color: @hue-primary-color-dark;
+    margin-bottom: 25px;
+    text-align: center;
+  }
   .empty-logo {
     background-color: @cui-white;
     width: 70px;

+ 1 - 1
desktop/core/src/desktop/static/desktop/less/login4.less

@@ -19,7 +19,7 @@
 
 .login-container {
   .logo {
-    width: 140px;
+    width: 200px;
     height: 70px;
     text-align: center;
   }

+ 2 - 6
desktop/core/src/desktop/templates/login.mako

@@ -68,18 +68,14 @@ ${ commonheader(_("Welcome to Hue"), "login", user, request, "50px", True, True)
   <form method="POST" action="${action}" autocomplete="off">
     ${ csrf_token(request) | n,unicode }
 
-    % if conf.CUSTOM.LOGO_SVG.get():
-    <div class="empty-logo">
-    </div>
-    % else:
     <div class="logo">
       %if is_hue4():
-      <svg style="height: 70px; width: 140px;"><use xlink:href="#hi-logo"></use></svg>
+      <svg style="height: 80px; width: 200px;"><use xlink:href="#hi-logo"></use></svg>
       %else:
       <img src="${ static('desktop/art/hue-login-logo-ellie@2x.png') }" width="70" height="70" alt="${ _('Hue logo') }">
       %endif
     </div>
-    % endif
+    <h3>Query. Explore. Repeat.</h3>
 
     %if first_login_ever:
       <div class="alert alert-info center">

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.