[dashboard] refactor move templates