Typically adding a web application to a server will make it considerably less safe.
There are two main reasons for this. One is just that a web application itself has a much broader attack surface than an SSH server. A web application must process relatively (as compared to SSH) complex unauthenticated requests (to handle, say, login to the site) and there's a lot more and generally much more sloppily written software involved in that. (OpenSSH is just the one server and perhaps PAM until you complete authentication; even a simple login screen on a web site typically involves a web server such as Apache, a language interpreter such as PHP, a DBMS such as MySQL, and the code for the application itself, all of which communicate with each other in complex ways.)
The second reason is that proper configuration of web applications and their associated software is very much more complex than configuring an OpenSSH server. Just getting appropriate SSL certificates and making sure that the keys are secure is probably more error-prone than an entire OpenSSL configuration. Beyond that you also need to handle configuration for all the other software, editing configuration files and making sure that, e.g., MySQL isn't listening on a network interface to which attackers might have access, you've got the right PHP interpreter settings (improper PHP settings can destroy the security of an otherwise secure application), your Apache is doing only just what it needs and serving nothing else, and so on. And then you need to keep all this software up to date, which is not as easy as a simple
apt-get update && apt-get dist-upgrade followed by a reboot.
I suggest you stick to administering your system through the command line only, accessed via SSH. Make sure you've configured OpenSSH to disable root logins and password logins (but make sure you've tested your key based login first!) and ensure that you've got a copy of your Pi's host key in your
.ssh/known_hosts on the clients from which you access it. In the long run this is considerably simpler (because there's so much less software to set up) than using a web-based control panel as well as usually more secure.