ManageIQ/manageiq-ui-classic

View on GitHub
app/views/static/automate-selection-modal.html

Summary

Maintainability
Test Coverage
<div class="modal-header">
  <h4 class="modal-title" translate>Select Item</h4>
</div>
<div class="modal-body">
  <div class="pull-left">
    <miq-tree-selector
      name="entrypoint_selection"
      selected="$ctrl.parent.selected"
      selectable="$ctrl.parent.selectable"
      data="$ctrl.parent.data"
      lazy-load="$ctrl.parent.lazyLoad(node)"
      on-select="$ctrl.parent.onSelect(node)"
    ></miq-tree-selector>
  </div>
  <div class="form-group pull-right">
    <label class="control-label" translate>Include domain prefix in the path:</label>
    <input bs-switch type="checkbox" ng-model="$ctrl.parent.includeDomain" ng-show="$ctrl.parent.showInclude"/>
  </div>
  <div class="clearfix"></div>
</div>
<div class="modal-footer">
  <button class="btn btn-default" ng-click="$ctrl.parent.closeModal(false);" translate>Close</button>
</div>