[TACHYON-94] Reuse header and footer in UI code

Solve the problem mentioned in TACHYON-94 "Reuse header and footer in UI
code".
[TACHYON-94] Fix the format problem

use one space instead of two spaces before id
Merge pull request #394 from PasaLab/TACHYON-94

[TACHYON-94] Reuse header and footer in UI code