mirror of
https://github.com/apache/rocketmq-dashboard.git
synced 2026-06-07 12:59:21 +08:00
specific process for system topic
This commit is contained in:
@@ -46,8 +46,9 @@
|
|||||||
<th class="text-center">{{'TOPIC' | translate}}</th>
|
<th class="text-center">{{'TOPIC' | translate}}</th>
|
||||||
<th class="text-center">{{ 'OPERATION' | translate}}</th>
|
<th class="text-center">{{ 'OPERATION' | translate}}</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr ng-repeat="topic in topicShowList">
|
<tr ng-repeat="fTopic in topicShowList"
|
||||||
<td class="text-center">{{topic}}</td>
|
ng-init="sysFlag = fTopic.startsWith('%SYS%'); topic = sysFlag?fTopic.substring(5):fTopic">
|
||||||
|
<td class="text-left"><font color={{sysFlag?"red":""}}>{{topic}}</font></td>
|
||||||
<td class="text-left">
|
<td class="text-left">
|
||||||
<button class="btn btn-raised btn-sm btn-primary" type="button"
|
<button class="btn btn-raised btn-sm btn-primary" type="button"
|
||||||
ng-click="statsView(topic)">{{'STATUS' | translate}}
|
ng-click="statsView(topic)">{{'STATUS' | translate}}
|
||||||
@@ -60,19 +61,19 @@
|
|||||||
ng-click="consumerView(topic)">consumer {{'MANAGE' | translate}}
|
ng-click="consumerView(topic)">consumer {{'MANAGE' | translate}}
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-raised btn-sm btn-primary" type="button"
|
<button class="btn btn-raised btn-sm btn-primary" type="button"
|
||||||
ng-show="{{!topic.startsWith('%S')}}"
|
ng-show="{{!sysFlag}}"
|
||||||
ng-click="openUpdateDialog(topic)">topic {{'CONFIG' |translate}}
|
ng-click="openUpdateDialog(topic)">topic {{'CONFIG' |translate}}
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-raised btn-sm btn-primary" type="button"
|
<button class="btn btn-raised btn-sm btn-primary" type="button"
|
||||||
ng-show="{{!topic.startsWith('%S')}}"
|
ng-show="{{!sysFlag}}"
|
||||||
ng-click="openSendTopicMessageDialog(topic)">{{'SEND_MSG' | translate}}
|
ng-click="openSendTopicMessageDialog(topic)">{{'SEND_MSG' | translate}}
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-raised btn-sm btn-danger" type="button"
|
<button class="btn btn-raised btn-sm btn-danger" type="button"
|
||||||
ng-show="{{!topic.startsWith('%S')}}"
|
ng-show="{{!sysFlag}}"
|
||||||
ng-click="openConsumerResetOffsetDialog(topic)">{{'RESET_CUS_OFFSET' | translate}}
|
ng-click="openConsumerResetOffsetDialog(topic)">{{'RESET_CUS_OFFSET' | translate}}
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-raised btn-sm btn-danger" type="button"
|
<button class="btn btn-raised btn-sm btn-danger" type="button"
|
||||||
ng-show="{{!topic.startsWith('%S')}}"
|
ng-show="{{!sysFlag}}"
|
||||||
ng-confirm-click="Are you sure to delete?"
|
ng-confirm-click="Are you sure to delete?"
|
||||||
confirmed-click="deleteTopic(topic)">{{'DELETE' | translate}}
|
confirmed-click="deleteTopic(topic)">{{'DELETE' | translate}}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user