|
26 | 26 | </div> |
27 | 27 | <md-checkbox aria-label="Checkbox" ng-model="filterNormal" class="md-primary">{{'NORMAL' | translate}} |
28 | 28 | </md-checkbox> |
| 29 | + <md-checkbox aria-label="Checkbox" ng-show="rmqVersion" ng-model="filterFIFO" class="md-primary">{{'FIFO' | translate}} |
| 30 | + </md-checkbox> |
29 | 31 | <md-checkbox aria-label="Checkbox" ng-model="filterSystem" class="md-primary">{{'SYSTEM' | translate}} |
30 | 32 | </md-checkbox> |
31 | 33 | <button class="btn btn-raised btn-sm btn-primary" type="button" ng-show="{{writeOperationEnabled}}" |
@@ -320,6 +322,116 @@ <h4 class="modal-title">{{'SUBSCRIPTION_CHANGE'|translate}}</h4> |
320 | 322 | </div> |
321 | 323 | </script> |
322 | 324 |
|
| 325 | +<script type="text/ng-template" id="consumerModifyDialogForV5"> |
| 326 | + <div> |
| 327 | + <div> |
| 328 | + <div class="modal-header"> |
| 329 | + <h4 class="modal-title">{{'SUBSCRIPTION_CHANGE'|translate}}</h4> |
| 330 | + </div> |
| 331 | + <div class="modal-body " ng-repeat="item in ngDialogData.consumerRequestList"> |
| 332 | + <form id="addAppForm1" name="addAppForm" class="form-horizontal" novalidate> |
| 333 | + <div class="form-group" ng-hide="ngDialogData.bIsUpdate"> |
| 334 | + <label class="control-label col-sm-3">clusterName:</label> |
| 335 | + <div class="col-sm-9"> |
| 336 | + <select name="mySelectClusterNameList" multiple chosen |
| 337 | + ng-model="item.clusterNameList" |
| 338 | + ng-options="clusterNameItem for clusterNameItem in ngDialogData.allClusterNameList"> |
| 339 | + <option value=""></option> |
| 340 | + </select> |
| 341 | + </div> |
| 342 | + </div> |
| 343 | + <div class="form-group"> |
| 344 | + <label class="control-label col-sm-3">brokerName:</label> |
| 345 | + <div class="col-sm-9"> |
| 346 | + <select name="mySelectBrokerNameList" multiple chosen |
| 347 | + ng-disabled="ngDialogData.bIsUpdate" |
| 348 | + ng-model="item.brokerNameList" |
| 349 | + ng-options="brokerNameItem for brokerNameItem in ngDialogData.allBrokerNameList"> |
| 350 | + <option value=""></option> |
| 351 | + </select> |
| 352 | + </div> |
| 353 | + </div> |
| 354 | + <div class="form-group"> |
| 355 | + <label class="control-label col-sm-3">groupName:</label> |
| 356 | + <div class="col-sm-9"> |
| 357 | + <input class="form-control" ng-model="item.subscriptionGroupConfig.groupName" type="text" |
| 358 | + ng-disabled="ngDialogData.bIsUpdate" required/> |
| 359 | + <span class="text-danger" ng-show="addAppForm.name.$error.required">编号不能为空.</span> |
| 360 | + </div> |
| 361 | + </div> |
| 362 | + <div class="form-group"> |
| 363 | + <label class="control-label col-sm-3">consumeEnable:</label> |
| 364 | + <div class="col-sm-9"> |
| 365 | + <md-switch class="md-primary" ng-disabled="{{!ngDialogData.writeOperationEnabled}}" md-no-ink |
| 366 | + aria-label="Switch No Ink" ng-model="item.subscriptionGroupConfig.consumeEnable"> |
| 367 | + </md-switch> |
| 368 | + </div> |
| 369 | + </div> |
| 370 | + <div class="form-group"> |
| 371 | + <label class="control-label col-sm-3">consumeOrderlyEnable:</label> |
| 372 | + <div class="col-sm-9"> |
| 373 | + <md-switch class="md-primary custom-md-switch" eng-disabled="{{!ngDialogData.writeOperationEnabled}}" md-no-ink |
| 374 | + aria-label="Switch No Ink" ng-model="item.subscriptionGroupConfig.consumeMessageOrderly"> |
| 375 | + </md-switch> |
| 376 | + <span style="font-size: 12px;">[Pay Attention: FIFO ConsumerGroup Need Open 'consumeOrderlyEnable' Option]</span> |
| 377 | + </div> |
| 378 | + |
| 379 | + </div> |
| 380 | + <div class="form-group"> |
| 381 | + <label class="control-label col-sm-3">consumeBroadcastEnable:</label> |
| 382 | + <div class="col-sm-9"> |
| 383 | + <md-switch class="md-primary" ng-disabled="{{!ngDialogData.writeOperationEnabled}}" md-no-ink |
| 384 | + aria-label="Switch No Ink" |
| 385 | + ng-model="item.subscriptionGroupConfig.consumeBroadcastEnable"> |
| 386 | + </md-switch> |
| 387 | + </div> |
| 388 | + </div> |
| 389 | + <div class="form-group"> |
| 390 | + <label class="control-label col-sm-3">retryQueueNums:</label> |
| 391 | + <div class="col-sm-9"> |
| 392 | + <input class="form-control" ng-model="item.subscriptionGroupConfig.retryQueueNums" |
| 393 | + type="text" ng-disabled="{{!ngDialogData.writeOperationEnabled}}" |
| 394 | + required/> |
| 395 | + <span class="text-danger" ng-show="addAppForm.name.$error.required">编号不能为空.</span> |
| 396 | + </div> |
| 397 | + </div> |
| 398 | + <div class="form-group"> |
| 399 | + <label class="control-label col-sm-3">brokerId:</label> |
| 400 | + <div class="col-sm-9"> |
| 401 | + <input class="form-control" ng-model="item.subscriptionGroupConfig.brokerId" type="text" |
| 402 | + ng-disabled="{{!ngDialogData.writeOperationEnabled}}" required/> |
| 403 | + <span class="text-danger" ng-show="addAppForm.name.$error.required">编号不能为空.</span> |
| 404 | + </div> |
| 405 | + </div> |
| 406 | + <div class="form-group"> |
| 407 | + <label class="control-label col-sm-3">whichBrokerWhenConsumeSlowly:</label> |
| 408 | + <div class="col-sm-9"> |
| 409 | + <input class="form-control" |
| 410 | + ng-model="item.subscriptionGroupConfig.whichBrokerWhenConsumeSlowly" type="text" |
| 411 | + ng-disabled="{{!ngDialogData.writeOperationEnabled}}" required/> |
| 412 | + <span class="text-danger" ng-show="addAppForm.name.$error.required">编号不能为空.</span> |
| 413 | + </div> |
| 414 | + </div> |
| 415 | + </form> |
| 416 | + <div class="modal-footer"> |
| 417 | + <div class="ngdialog-buttons"> |
| 418 | + <button type="button" class="ngdialog-button ngdialog-button-primary" |
| 419 | + ng-disabled="addAppForm.$invalid" |
| 420 | + ng-show="{{ngDialogData.writeOperationEnabled}}" |
| 421 | + ng-click="postConsumerRequest(item)">{{ 'COMMIT' | translate }} |
| 422 | + </button> |
| 423 | + <button type="button" class="ngdialog-button ngdialog-button-secondary" |
| 424 | + ng-click="closeThisDialog('Cancel')">{{ 'CLOSE' | translate }} |
| 425 | + </button> |
| 426 | + </div> |
| 427 | + </div> |
| 428 | + </div> |
| 429 | + </div> |
| 430 | + </div> |
| 431 | + |
| 432 | + </div> |
| 433 | +</script> |
| 434 | + |
323 | 435 | <!--consumer monitor config--> |
324 | 436 | <script type="text/ng-template" id="consumerMonitorDialog"> |
325 | 437 | <div class="modal-header"> |
|
0 commit comments