webui: update style and js
webui: implement terminal webui