{"action":"opened","issue":{"url":"https://api.github.com/repos/nbtdev/client/issues/1","labels_url":"https://api.github.com/repos/nbtdev/client/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/nbtdev/client/issues/1/comments","events_url":"https://api.github.com/repos/nbtdev/client/issues/1/events","html_url":"https://github.com/nbtdev/client/issues/1","id":108258088,"number":1,"title":"Login Component","user":{"login":"nbtdev","id":7477888,"avatar_url":"https://avatars.githubusercontent.com/u/7477888?v=3","gravatar_id":"","url":"https://api.github.com/users/nbtdev","html_url":"https://github.com/nbtdev","followers_url":"https://api.github.com/users/nbtdev/followers","following_url":"https://api.github.com/users/nbtdev/following{/other_user}","gists_url":"https://api.github.com/users/nbtdev/gists{/gist_id}","starred_url":"https://api.github.com/users/nbtdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbtdev/subscriptions","organizations_url":"https://api.github.com/users/nbtdev/orgs","repos_url":"https://api.github.com/users/nbtdev/repos","events_url":"https://api.github.com/users/nbtdev/events{/privacy}","received_events_url":"https://api.github.com/users/nbtdev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-25T03:57:18Z","updated_at":"2015-09-25T03:57:18Z","closed_at":null,"body":"Each page of the NBT automation needs to have a <div> on it that serves as both a login form (when a user is not logged in) or a logout form (for when they are logged in). In other words, this form/component has two states: logged in and logged out.\r\n\r\nThe login form needs to have two fields (username and password). It should also have a Login button as well as a Clear or Reset button. In addition, it should have a \"Forgot Password\" link as well as a \"Register\" link. \r\n\r\nThe \"logout\" form should display the logged-in user's callsign, plus a Logout link.\r\n\r\nThis should all be in a <div> or component element (AngularJS) that can be placed anywhere on an HTML page. This component will communicate with an API hosted on the NBT servers, for logging in and logging out a user (API TBD). \r\n\r\nThis component should also be \"theme-enabled\" by using and applying particular externally-definable CSS classes (TBD). "}}