step4.hbs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 id="step4">
  19. <h2>{{t installer.step4.header}}</h2>
  20. <div class="alert alert-info">
  21. {{t installer.step4.body}}
  22. </div>
  23. <table class="table table-striped">
  24. <thead>
  25. <tr>
  26. <th class="span3">Service
  27. <span style="margin-left:10px">
  28. <a href="#" {{action selectAll target="controller"}} {{bindAttr class="isAll:selected:deselected"}}>all</a>
  29. |
  30. <a href="#" {{action selectMinimum target="controller"}} {{bindAttr class="isMinimum:selected:deselected"}}>minimum</a>
  31. </span>
  32. </th>
  33. <th>Description</th>
  34. </tr>
  35. </thead>
  36. <tbody>
  37. {{#each controller}}
  38. {{#unless isHidden}}
  39. <tr {{bindAttr class="isSelected:success:"}}>
  40. <td><label
  41. class="checkbox">{{view Ember.Checkbox disabledBinding="isDisabled" checkedBinding="isSelected"}}{{displayName}}</label>
  42. </td>
  43. <td>{{description}}</td>
  44. </tr>
  45. {{/unless}}
  46. {{/each}}
  47. </tbody>
  48. </table>
  49. <div class="btn-area">
  50. <a class="btn pull-left" {{action back}}>&larr; Back</a>
  51. <a class="btn btn-success pull-right" {{action submit target="controller"}}>Next &rarr;</a>
  52. </div>
  53. </div>