fix head link
add 'add resource' UI
fix leftbar bug