Github user mtaylor commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1471#discussion_r133948157
--- Diff:
artemis-hawtio/artemis-plugin/src/main/webapp/plugin/html/consumers.html ---
@@ -44,9 +44,30 @@
</button>
</form>
</div>
+
+ <div class="pull-right">
+ <form class="form-inline">
+ <button class="btn-danger"
ng-disabled="gridOptions.selectedItems.length == 0"
+ ng-click="deleteDialog = true"
+ title="Close the selected Consumer">
+ <i class="icon-remove"></i> Close
+ </button>
+
+ </form>
+ </div>
</div>
</div>
+ <div hawtio-confirm-dialog="deleteDialog"
+ ok-button-text="Close"
+ on-ok="closeConsumer()">
+ <div class="dialog-body">
+ <p>You are about to close the selected session:
{{gridOptions.selectedItems[0].id}}
--- End diff --
There are some issues with the layout. The buttons do not disable when
nothing select and the submission will try with empty id. I will see if I can
fix here, @andytaylor I'll send a PR to your branch.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---