Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #318 so we can now either delete or purge a queue
- Loading branch information
Showing
3 changed files
with
38 additions
and
17 deletions.
There are no files selected for viewing
30 changes: 21 additions & 9 deletions
30
hawtio-web/src/main/webapp/app/activemq/html/deleteQueue.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
<form class="form-horizontal" ng-controller="ActiveMQ.DestinationController"> | ||
<div ng-controller="ActiveMQ.DestinationController"> | ||
<div class="row-fluid"> | ||
|
||
<div class="control-group"> | ||
<div class="alert"> | ||
<button type="button" class="close" data-dismiss="alert">×</button> | ||
<strong>Warning!</strong> You are about to delete queue '{{name()}}'. | ||
<br/> | ||
This operation cannot be undone! | ||
</div> | ||
<div class="alert"> | ||
<button type="button" class="close" data-dismiss="alert">×</button> | ||
<strong>Warning:</strong> these operations cannot be undone. Please be careful! | ||
</div> | ||
</div> | ||
<div class="control-group"> | ||
</div> | ||
<div class="row-fluid"> | ||
<div class="span4"> | ||
<div class="control-group"> | ||
<button type="submit" class="btn btn-warning" ng-click="deleteDestination()">Delete Queue '{{name()}}'</button> | ||
<label>This will remove the queue completely.</label> | ||
</div> | ||
</div> | ||
<div class="span4"> | ||
<div class="control-group"> | ||
<button type="submit" class="btn btn-warning" ng-click="purgeDestination()">Purge Queue '{{name()}}'</button> | ||
<label>Purges all the current messages on the queue.</label> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters