Forráskód Böngészése

HUE-3193 [core] The login form should display the ldap server nicely

Enrico Berti 9 éve
szülő
commit
5adf1a4b7c

+ 6 - 0
desktop/core/src/desktop/static/desktop/css/login.css

@@ -133,6 +133,12 @@
   font-size: 16px;
 }
 
+.login-content select {
+  width: 100%;
+  font-size: 14px;
+  margin-top: 4px;
+}
+
 .login-box input:-webkit-autofill {
   -webkit-box-shadow: 0 0 0px 1000px white inset !important;
 }

+ 0 - 7
desktop/core/src/desktop/templates/login.mako

@@ -123,15 +123,8 @@ ${ commonheader(_("Welcome to Hue"), "login", user, "50px", True) | n,unicode }
   </div>
 </div>
 
-<script src="${ static('desktop/ext/chosen/chosen.jquery.min.js') }" type="text/javascript" charset="utf-8"></script>
 <script>
   $(document).ready(function () {
-    $("#id_server").chosen({
-      disable_search_threshold: 5,
-      width: "90%",
-      no_results_text: "${_('Oops, no database found!')}"
-    });
-
     $("form").on("submit", function () {
       window.setTimeout(function () {
         $(".logo").find("img").addClass("waiting");