storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhishek Agarwal <abhishc...@gmail.com>
Subject Re: Re: to remove the kill button in storm ui
Date Mon, 11 Apr 2016 11:33:17 GMT
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 <enginespot@gmail.com> 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 fanxinpu@travelsky.com <fanxinpu@travelsky.com>
> :
>
>> Hi, Edwin
>>
>> Thank you for your reply.
>> I have tried that way, but it is useless.
>>
>>
>> ------------------------------
>> 范新普
>>
>> 中国民航信息网络股份有限公司
>> 研发中心  数据服务部
>> 地址:北京市朝阳区天辰东路7号国家会议中心北区七层
>>
>>
>>
>> *From:* Edwin Liu <enginespot@gmail.com>
>> *Date:* 2016-04-11 17:14
>> *To:* user <user@storm.apache.org>
>> *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 fanxinpu@travelsky.com <fanxinpu@travelsky.com
>> >:
>>
>>> 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

Mime
View raw message