add textbox to bulk add attribs/rels, add main.css
see prev commit (forgot to stage edits)
split up html gen as separate fns, extract handle-resource-update
fn (for POST reqs)