<div id="wrapper">
	<div id="sidebar-wrapper">
		<ul class="sidebar-nav">
			<li class="sidebar-brand">
				<a class="header-back" ui-sref="home.org({owner: owner})"><span class="octicon octicon-chevron-left"></span></a> <a href="https://git-aws.internal.justin.tv/{{owner}}/{{repo}}"><span class="octicon octicon-repo"></span></a> {{owner}}/{{repo}}
			</li>
			<li>
				<a ui-sref-active="active" ui-sref=".candidates({owner: owner, repo: repo})">Candidates</a>
			</li>
			<li>
				<a ui-sref-active="active" ui-sref=".history({owner: owner, repo: repo})">History</a>
			</li>
			<li>
				<a ui-sref-active="active" ui-sref=".environments({owner: owner, repo: repo})">Environments</a>
			</li>
		</ul>
	</div>

	<div id="page-content-wrapper">
		<div class="alert alert-warning" ng-show="api_failed()">Oops! Something went wrong: An api request failed. UI may be in a strange state, and/or actions may not have completed. You may want to <a href="javascript:location.reload();">reload</a> this page.</div>
		<div ui-view></div>
	</div>
</div>

<script>
$("#menu-toggle").click(function(e) {
    e.preventDefault();
    $("#wrapper").toggleClass("toggled");
});
</script>
