I am working on that as part of https://issues.apache.org/jira/browse/STORM-1514. Will update on this thread once I have something ready.
On Mon, Apr 11, 2016 at 3:22 PM, Edwin Liu <[email protected]> wrote: > it should work, tried to view the page(topology-page-template.html) > directly on the browser , and if it does not work well again , tried to > clear browser cache > > 2016-04-11 17:34 GMT+08:00 [email protected] <[email protected]> > : > >> Hi, Edwin >> >> Thank you for your reply. >> I have tried that way, but it is useless. >> >> >> ------------------------------ >> 范新普 >> >> 中国民航信息网络股份有限公司 >> 研发中心 数据服务部 >> 地址:北京市朝阳区天辰东路7号国家会议中心北区七层 >> >> >> >> *From:* Edwin Liu <[email protected]> >> *Date:* 2016-04-11 17:14 >> *To:* user <[email protected]> >> *Subject:* Re: to remove the kill button in storm ui >> try this way: >> >> tried to change topology-page-template.html >> >> try to comment the line >> >> <input {{killStatus}} onclick="confirmAction('{{encodedId}}', >> '{{name}}', 'kill', true, 30, 'wait time in seconds')" type="button" >> value="Kill" class="btn btn-default"> >> >> >> >> 2016-04-11 16:52 GMT+08:00 [email protected] <[email protected] >> >: >> >>> user,您好: >>> >>> Hi, >>> >>> Any one can help me? >>> >>> I would like to disable the "kill" button in the storm UI. My storm >>> version is 0.9.2. >>> >>> I tried to revise the topologyActions staff in the src/ui/topology.html, >>> it turned out to be no use. >>> I tried to revise the topology-actions-template staff in the >>> src/ui/template/topology-page-template.html, it turned out to be no use. >>> I tried to revise the confirmAction staff in the src/ui/js/script.js, it >>> turned out to be no use. >>> I tried to revise the main-routes staff in the >>> src/clj/backtype/storm/ui/core.clj, it turned out to be useful. But it is >>> weird that there is a button which does nothing when being clicked. >>> >>> So, is there a way to remove just the button in the topology-page in the >>> UI? >>> >>> ------------------------------ >>> 范新普 >>> >>> 中国民航信息网络股份有限公司 >>> 研发中心 数据服务部 >>> 地址:北京市朝阳区天辰东路7号国家会议中心北区七层 >>> >>> >>> >> > -- Regards, Abhishek Agarwal
