Created
June 17, 2016 18:13
-
-
Save abhisheksisodia/e04240a062f7386a7648dcf1aadaa212 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Web Final Lab - Portfolio Navigator</title> | |
<!-- javascript libraries from CDN --> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.9/angular.js"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.9/angular-resource.js"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.9/angular-route.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.3.1/angular-ui-router.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.3.3/ui-bootstrap.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.13.1/lodash.js"></script> | |
<!-- local javascript --> | |
<script src="portfolio/portfolio.module.js"></script> | |
<script src="project/project.module.js"></script> | |
<script src="project/apiService.module.js"></script> | |
<script src="project/projectDetails.module.js"></script> | |
<script src="project/projectList.module.js"></script> | |
<script src="project/apiService.controller.js"></script> | |
<script src="project/projectList.controller.js"></script> | |
<!-- Bootstrap from CDN --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" | |
integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> | |
<link rel="stylesheet" href="css/customnav.css" /> | |
<link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'> | |
</head> | |
<body ng-app="projectList" ng-controller="projectListController"> | |
<!-- <div ng-app="portfolioNavigator"> --> | |
<!-- Default Twitter Bootstrap Navbar without toggling or dropdown functionality --> | |
<nav class="navbar navbar-default"> | |
<div class="container-fluid"> | |
<div class="navbar-header"> | |
<a class="navbar-brand" href="#/home" style="font-family: 'Montserrat', sans-serif; font-weight:bold;">Portfolio Navigator</a> | |
</div> | |
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | |
<ul class="nav navbar-nav" style="font-family: 'Montserrat', sans-serif;"> | |
<li class="active"><a href="#">Projects <span class="sr-only">(current)</span></a></li> | |
<li><a href="#">Project Managers Notes</a></li> | |
<li><a href="#">Risks & Issues</a></li> | |
</ul> | |
<form class="navbar-form navbar-right" role="search"> | |
<div class="form-group"> | |
<input type="text" ng-model="searchText.Name" class="form-control" placeholder="Search"> | |
</div> | |
<button type="submit" class="btn btn-default">Submit</button> | |
</form> | |
</div><!-- /.navbar-collapse --> | |
</div><!-- /.container-fluid --> | |
</nav> | |
</div> | |
<div id="ProjectList"> | |
<table class="table table-hover table-bordered"> | |
<thead> | |
<tr style="font-family: 'Montserrat', sans-serif; font-weight:bold;"> | |
<th>Status</th> | |
<th>Project Name</th> | |
<th>AM</th> | |
<th>Baseline Hours</th> | |
<th>Budget</th> | |
<th>Client</th> | |
<th>Currency</th> | |
</tr> | |
</thead> | |
<tbody style="font-family: 'Montserrat', sans-serif;"> | |
<tr ng-repeat="projSum in projectListSummary | filter:searchText"> | |
<td> | |
<div id="rectangle" ng-switch on="projSum.State"> | |
<div ng-switch-when="Red" style="width:20px; height: 20px; background-color:red"></div> | |
<div ng-switch-when="Green" style="width:20px; height: 20px; background-color:green"></div> | |
<div ng-switch-when="Amber" style="width:20px; height: 20px; background-color:yellow"></div> | |
<div ng-switch-when="Unknown" style="width:20px; height: 20px; background-color:black"></div> | |
</div> | |
</td> | |
<td>{{projSum.Name}}</td> | |
<td>{{projSum.AccountingManager}}</td> | |
<td>{{projSum.BaselineHours}}</td> | |
<td>{{projSum.ServicesBudget}}</td> | |
<td>{{projSum.Client}}</td> | |
<td>{{projSum.ServicesBudgetCurrency}}</td> | |
</tr> | |
</tbody> | |
</table> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment