You need to log into the router using SSH, you can follow the guide here:
Then you can do:
cd /www ls -la
All the files for the UI are there, you can edit them as needed.