前者是寫單獨(dú)的html,后者需要在模板上對身份進(jìn)行驗(yàn)證,然后根據(jù)身份,顯示不同的html元素
Of course it depends on whether the page elements are very different.
Just write it alone.
But if the admin page is for others, it's best to give it more thought.
My method is to separate the head and tail function pages and include each one