base template of adaptive xul interface