Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Added alpha labelling on landing page and navbar #34

Merged
merged 1 commit into from
Aug 5, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion static/js/app/partials/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#/dashboard" ng-click="clearDashboard()">CF-Deck</a>
<a class="navbar-brand" href="#/dashboard" ng-click="clearDashboard()">CF-Deck <span class="label label-info">Alpha</span></a>
</div>
<!-- Navbar links -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
Expand All @@ -25,6 +25,8 @@
</li>
</ul>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/v2/profile">User Profile</a>
</li>
Expand Down
7 changes: 6 additions & 1 deletion static/js/app/partials/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<div class="container">
<div class="text-center">
<div class="jumbotron text-center">
<h1>Welcome to Cf-Deck</h1>
<div ng-switch="backendStatus">
<a href="/#/dashboard" class="btn btn-success btn-md" ng-switch-when="authorized">Welcome</a>
<a href="/handshake" class="btn btn-primary btn-md" ng-switch-when="unauthorized" id="login-btn">Login</a>
</div>
<br />
<div class="text-right">
<h3>Version: <span class="label label-info">Alpha</span></h3>
<a href="https://github.com/18F/cf-deck"><span class="glyphicon glyphicon-link" aria-hidden="true">Contribute</span></a>
</div>
</div>
</div>