CCS.UserAdmin.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // Licensed to Cloudera, Inc. under one
  2. // or more contributor license agreements. See the NOTICE file
  3. // distributed with this work for additional information
  4. // regarding copyright ownership. Cloudera, Inc. licenses this file
  5. // to you under the Apache License, Version 2.0 (the
  6. // "License"); you may not use this file except in compliance
  7. // with the License. You may obtain a copy of the License at
  8. //
  9. // http://www.apache.org/licenses/LICENSE-2.0
  10. //
  11. // Unless required by applicable law or agreed to in writing, software
  12. // distributed under the License is distributed on an "AS IS" BASIS,
  13. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. // See the License for the specific language governing permissions and
  15. // limitations under the License.
  16. /*
  17. ---
  18. description: User Admin
  19. provides: [CCS.UserAdmin]
  20. requires: [ccs-shared/CCS.JBrowser]
  21. script: CCS.UserAdmin.js
  22. ...
  23. */
  24. UI.Sheet.define('window.art.browser.useradmin', {
  25. 'header-height': 70,
  26. 'header-overflow': 'visible',
  27. 'min-width': 700
  28. });
  29. ART.Sheet.define('window.useradmin history.browser', {
  30. 'top':32,
  31. 'padding': '0 8px 0 60px'
  32. });
  33. ART.Sheet.define('window.useradmin history input', {
  34. 'left': 66
  35. });
  36. ART.Sheet.define('window.useradmin history input.disabled', {
  37. 'left': 66
  38. });
  39. CCS.UserAdmin = new Class({
  40. Extends: CCS.JBrowser,
  41. options: {
  42. className: 'art browser logo_header useradmin',
  43. jframeOptions: {
  44. clickRelays: 'a, .relays'
  45. }
  46. }
  47. });