Reuse some strings in WebAdmin's Listening Ports

This commit is contained in:
Badlop 2015-07-27 11:23:51 +02:00
parent 76104cd117
commit d03d08539b
1 changed files with 3 additions and 3 deletions

View File

@ -2399,11 +2399,11 @@ node_ports_to_xhtml(Ports, Lang) ->
?XE(<<"td">>,
[?INPUTT(<<"submit">>,
<<"add", SSPort/binary>>,
<<"Update">>)]),
<<"Restart">>)]),
?XE(<<"td">>,
[?INPUTT(<<"submit">>,
<<"delete", SSPort/binary>>,
<<"Delete">>)])])
<<"Stop">>)])])
end,
Ports)
++
@ -2423,7 +2423,7 @@ node_ports_to_xhtml(Ports, Lang) ->
<<"[]">>)]),
?XAE(<<"td">>, [{<<"colspan">>, <<"2">>}],
[?INPUTT(<<"submit">>, <<"addnew">>,
<<"Add New">>)])])]))]).
<<"Start">>)])])]))]).
make_netprot_html(NetProt) ->
?XAE(<<"select">>, [{<<"name">>, <<"netprotnew">>}],