[ticket/12377] Move navbar(s) to new template file

Just a pull request so we know what we're looking at.

PHPBB3-12377