base: nav menu: clean inline code

Removes inline javascript and css from navbar register and login buttons.