Bläddra i källkod

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

Enrico Berti 8 år sedan
förälder
incheckning
2f911e3

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 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">

Vissa filer visades inte eftersom för många filer har ändrats