webui: Only show local (or raw) options when local (or raw) is selected

Until now, we were always showing local and raw options when local or
raw was selected. They should only appear when the correct option is
selected.
Merge pull request #56 from vuntz/ui-fix

webui: Only show local (or raw) options when local (or raw) is selected