disable settings and two-week view if no settings data or no smbg data

All this PR does is disable the links to Device Settings and Two Weeks when there's no settings data or no smbg data, respectively. The links have the styling that other disabled links have (slightly grayed out).

Will probably merge myself to prepare for deploy(s) tonight, but @nicolashery want to give it a quick look post-facto?