devpanel: fix long source url issue in template viewer