create layout for device listing