remove link as it doesn't exist anymore
This commit is contained in:
parent
6bbbef235c
commit
7f6f7ee4fd
@ -18,8 +18,6 @@ class StatusView < ElementView
|
|||||||
div("span.clock" , clock_text) <<
|
div("span.clock" , clock_text) <<
|
||||||
div( "br") <<
|
div( "br") <<
|
||||||
div("span.state" , state_text) <<
|
div("span.state" , state_text) <<
|
||||||
div( "br") <<
|
|
||||||
div( "span.link" , link_text) <<
|
|
||||||
div( "br" , "Stdout") <<
|
div( "br" , "Stdout") <<
|
||||||
div("span.stdout")
|
div("span.stdout")
|
||||||
# set up event handler
|
# set up event handler
|
||||||
@ -60,15 +58,10 @@ class StatusView < ElementView
|
|||||||
puts e
|
puts e
|
||||||
end
|
end
|
||||||
@element.at_css(".clock").text = clock_text
|
@element.at_css(".clock").text = clock_text
|
||||||
@element.at_css(".link").text = link_text
|
|
||||||
@element.at_css(".state").text = state_text
|
@element.at_css(".state").text = state_text
|
||||||
@element.at_css(".stdout").text = @interpreter.stdout
|
@element.at_css(".stdout").text = @interpreter.stdout
|
||||||
end
|
end
|
||||||
|
|
||||||
def link_text
|
|
||||||
"Link #{@interpreter.link}"
|
|
||||||
end
|
|
||||||
|
|
||||||
def state_text
|
def state_text
|
||||||
"State #{@interpreter.state}"
|
"State #{@interpreter.state}"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user