generate lislog buttons dymamically