improve ui slightly
extract partial from main#index