Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<!DOCTYPE html>
<html lang="en">
<head>
<title>Red Giant Flags</title>
<script src="/js/papaparse.min.js"></script>
<script src="https://code.jquery.com/jquery-2.2.3.min.js"
integrity="sha256-a23g1Nt4dtEYOj7bR+vTu7+T8VP13humZFBJNIYoEJo="
crossorigin="anonymous"></script>
<script src="/js/jquery.tabletojson.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"></script>
<!-- Bootstrap -->
<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="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css"
integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<!-- Mathjax -->
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/javascript">
MathJax.Hub.Config({
"tex2jax": { inlineMath: [ [ '$', '$' ] ], processEscapes: true },
TeX: {equationNumbers: {autoNumber: "AMS"} }
});
</script>
</head>
<body>
<div id="wrap">
<!-- NAVBAR -->
<nav class="navbar navbar-inverse navbar-static-top" role="navigation" id="navbar">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/" aria-label="Return to the root page">Red Giant Flags</a>
</div>
<!-- <div class="collapse navbar-collapse navbar-ex1-collapse"> -->
<!-- <ul class="nav navbar-nav navbar-right"> -->
<!-- <li id="signin-navbar"><a href="/login">Sign in</a></li> -->
<!-- <li id="signup-navbar"><a href="/signup">Sign up</a></li> -->
<!-- </ul> -->
<!-- </div> -->
</div>
</nav>
<div class="container"
ng-app="starsApp" ng-controller="mainController">
<form class="form-horizontal">
<div class="form-group">
<!-- Filter by KIC -->
<div class="row">
<label for="KICBox" class="col-sm-2 control-label">KIC number</label>
<div class="col-sm-10 input-group">
<span class="input-group-addon"><i class="fa fa-search"></i></span>
<input type="text" class="form-control" id="KICBox"
placeholder="Filter by KIC" ng-model="searchKIC">
</div>
</div>
<!-- Filter by Evolutionary state -->
<div class="row">
<label for="evolBox" class="col-sm-2 control-label">Evolutionary state</label>
<div class="col-sm-10 input-group">
<span class="input-group-addon"><i class="fa fa-search"></i></span>
<select class="form-control" ng-model="searchEvol" id="evolBox">
<option value="">All</option>
<option value="NA">Undetermined</option>
<option value="2CL">2CL</option>
<option value="2CL/U">2CL/U</option>
<option value="AGB/U">AGB/U</option>
<option value="RC">RC</option>
<option value="RC/2CL">RC/2CL</option>
<option value="RC/U">RC/U</option>
<option value="RGB">RGB</option>
<option value="RGB/AGB">RGB/AGB</option>
<option value="RGB/U">RGB/U</option>
</select>
</div>
</div>
<!-- Filter by Evolutionary state agreeement -->
<div class="row">
<label for="evolAgreedBox" class="col-sm-2 control-label">Evol. state consistency</label>
<div class="col-sm-10 input-group">
<span class="input-group-addon"><i class="fa fa-search"></i></span>
<select class="form-control" ng-model="searchEvolAgreed" id="evolAgreedBox">
<option value="">All</option>
<option value="TRUE">Consistent results</option>
<option value="FALSE">Scattered results</option>
</select>
</div>
</div>
<!-- Filter by supressed dipole modes -->
<div class="row">
<label for="depressedDipBox" class="col-sm-2 control-label">Supressed dipole modes</label>
<div class="col-sm-10 input-group">
<span class="input-group-addon"><i class="fa fa-search"></i></span>
<select class="form-control" ng-model="searchDepressedDip" id="depressedDipBox">
<option value="">All</option>
<option value="NA">Unknown</option>
<option value="TRUE">Supresssed dipole modes</option>
<option value="FALSE">Not supresssed dipole modes</option>
</select>
</div>
</div>
</div> <!-- /form-group -->
</form>
<button class="btn btn-default pull-right" id="downloadBtn">Download as CSV</button>
<table class="table table-hover" id="resultsTable">
<thead>
<tr>
<th>KIC</th>
<th>Evolutionary state</th>
<th>Evol. state consistent</th>
<th>Supressed dipole modes</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="star in db | filter:{ KIC:searchKIC, evol: searchEvol, evol_agreed: searchEvolAgreed, depressed_l1: searchDepressedDip }">
<td>{{ star.KIC }}</td>
<td>{{ star.evol }}</td>
<td>{{ star.evol_agreed }}</td>
<td>{{ star.depressed_l1 }}</td>
</tr>
</tbody>
</table>
<script src="/js/app.js"></script>
</div>
</div>
</body>
</html>