experimental.hbs 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {{!
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. }}
  18. <div class="alert alert-error">
  19. <h2>Ambari's Experimental Functionality</h2>
  20. <p>
  21. <span class="label label-important">Important</span> <strong>Changes made here are neither tested nor supported by Ambari</strong>
  22. </p>
  23. <p>
  24. Ambari's experimental functionality is provided <strong>as-is</strong>.<br>
  25. Any changes will effect application behavior, including data corruption. Users making changes do so at their own risk.<br>
  26. Experimental functionality can be modified or removed at any time without notice.
  27. </p>
  28. </div>
  29. {{#if App}}
  30. {{#if App.supports}}
  31. <table class="table table-bordered table-striped">
  32. <thead>
  33. <tr>
  34. <td style="width: 20%; font-weight: bold;">Experimental Functionality</td>
  35. <td style="width: 20%; font-weight: bold;">Enabled?</td>
  36. <td style="width: 60%; font-weight: bold;">Description</td>
  37. </tr>
  38. </thead>
  39. <tbody>
  40. {{#each support in view.supports}}
  41. <tr>
  42. <td>{{support.name}}</td>
  43. <td>{{view Ember.Checkbox checkedBinding="support.selected"}}</td>
  44. <td></td>
  45. </tr>
  46. {{/each}}
  47. </tbody>
  48. </table>
  49. <div class="control-group" style="margin-bottom: 100px;">
  50. <div class="controls pull-right">
  51. <button class="btn" {{action doCancel target="view"}}>{{t form.cancel}}</button>
  52. <button class="btn btn-primary" {{action doSave target="view"}}>{{t common.save}}</button>
  53. </div>
  54. </div>
  55. {{else}}
  56. <div class="alert alert-error">
  57. No application supports found. Please login to Ambari and revisit this page.
  58. </div>
  59. {{/if}}
  60. {{else}}
  61. <div class="alert alert-error">
  62. No application found. Please login to Ambari and revisit this page.
  63. </div>
  64. {{/if}}