2016-05-06 11:29:22 -07:00
|
|
|
@(user: String, isInternal:Boolean)
|
|
|
|
|
@main(user, "", isInternal) {
|
|
|
|
|
<link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/scriptFinder.css")">
|
|
|
|
|
<div id="content">
|
|
|
|
|
<script type="text/x-handlebars" id="scripts">
|
|
|
|
|
<div id="scriptView" class="container-fluid">
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span9">
|
|
|
|
|
<div class="search-pagination">
|
|
|
|
|
<ul class="pager">
|
|
|
|
|
{{#unless first}}
|
|
|
|
|
<li class="previous">
|
|
|
|
|
{{#link-to 'page' previousPage}}
|
|
|
|
|
← Prev
|
|
|
|
|
{{/link-to}}
|
|
|
|
|
</li>
|
|
|
|
|
{{/unless}}
|
|
|
|
|
<li>
|
|
|
|
|
{{ model.data.count }} scripts - page {{ model.data.page }} of {{ model.data.totalPages }}
|
|
|
|
|
</li>
|
|
|
|
|
{{#unless last}}
|
|
|
|
|
<li class="next">
|
|
|
|
|
{{#link-to 'page' nextPage}}
|
|
|
|
|
Next →
|
|
|
|
|
{{/link-to}}
|
|
|
|
|
</li>
|
|
|
|
|
{{/unless}}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<table id="scriptstable" class="table table-bordered table-hover search-results">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr class="results-header">
|
|
|
|
|
<th class="span2">Script Name</th>
|
|
|
|
|
<th class="span2">Script Path</th>
|
|
|
|
|
<th class="span1">Type</th>
|
|
|
|
|
<th class="span2">Chain Name</th>
|
|
|
|
|
<th class="span2">Job Name</th>
|
|
|
|
|
<th class="span1">Committer Name</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr {{action 'onSelect' script this}} class="script-row">
|
|
|
|
|
<td>
|
|
|
|
|
<input id="scriptName" type="text" class="script-filter form-control" placeholder="Filter by Script Name"/>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="scriptPath" type="text" class="script-filter form-control" placeholder="Filter by Script Path"/>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="scriptType" type="text" class="script-filter form-control" placeholder="Filter by Script Type"/>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="chainName" type="text" class="script-filter form-control" placeholder="Filter by Chain Name"/>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="jobName" type="text" class="script-filter form-control" placeholder="Filter by Job Name"/>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="committerName" type="text" class="script-filter form-control" placeholder="Filter by Committer Name"/>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2016-08-05 11:53:39 -07:00
|
|
|
{{#each model.data.scripts as |script|}}
|
2016-05-06 11:29:22 -07:00
|
|
|
<tr {{action 'onSelect' script this}} class="script-row">
|
|
|
|
|
<td class="dataset-info">
|
2016-08-05 11:53:39 -07:00
|
|
|
<a href={{script.scriptUrl}}>
|
2016-05-06 11:29:22 -07:00
|
|
|
{{{script.scriptName}}}
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td>{{ script.scriptPath }}</td>
|
|
|
|
|
<td>{{ script.scriptType }}</td>
|
|
|
|
|
<td>{{ script.chainName }}</td>
|
|
|
|
|
<td>{{ script.jobName }}</td>
|
|
|
|
|
<td>{{ script.committerName }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-xs-12">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-xs-12 col-sm-12 col-md-6">
|
|
|
|
|
<div id="runtime" config="runtime"></div>
|
|
|
|
|
</div>
|
2016-05-12 15:11:52 -07:00
|
|
|
<div class="col-xs-12 col-sm-12 col-md-6">
|
2016-05-06 11:29:22 -07:00
|
|
|
<h4>Lineage</h4>
|
|
|
|
|
<table class="table table-bordered search-results">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Object Name</th>
|
2016-05-12 15:11:52 -07:00
|
|
|
<th>Source/Target</th>
|
2016-05-06 11:29:22 -07:00
|
|
|
<th>Storage Type</th>
|
|
|
|
|
<th>Operation</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
2016-08-05 11:53:39 -07:00
|
|
|
{{#each lineages as |lineage|}}
|
2016-05-06 11:29:22 -07:00
|
|
|
<tr ng-repeat="row in lineages">
|
|
|
|
|
<td>{{ lineage.abstractedObjectName }}</td>
|
|
|
|
|
<td>{{ lineage.sourceTargetType }}</td>
|
|
|
|
|
<td>{{ lineage.storageType }}</td>
|
|
|
|
|
<td>{{ lineage.operation }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="span9">
|
|
|
|
|
{{outlet}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2016-08-05 11:53:39 -07:00
|
|
|
<script src="@routes.Assets.at("vendors/ember-2.6.2/ember-template-compiler.js")" type="text/javascript"></script>
|
|
|
|
|
<script src="@routes.Assets.at("vendors/ember-2.6.2/ember.js")" type="text/javascript"></script>
|
2016-05-06 11:29:22 -07:00
|
|
|
<script src="@routes.Assets.at("vendors/highcharts/highcharts.js")" type="text/javascript"></script>
|
|
|
|
|
<script src="@routes.Assets.at("javascripts/search.js")" type="text/javascript"></script>
|
|
|
|
|
<script src="@routes.Assets.at("javascripts/scriptFinder.js")" type="text/javascript"></script>
|
|
|
|
|
}
|