Refactor dashboard template.
Fix full text search.