Skip to content

Commit

Permalink
Merge branch 'dev' into komplexeDatenobjekte
Browse files Browse the repository at this point in the history
  • Loading branch information
svenihde committed Mar 16, 2015
2 parents 5d5cfda + 118d8f1 commit ebad722
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions src/main/webapp/asset/templates/scenarioDetails.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,32 @@ <h2>{{scenarioCtrl.getCurrentScenario()['label']}}</h2>
<th>{{scenarioCtrl.getCurrentScenario()['instanceIds'].length}}</th>
</tr>
</table>
<div class="pull-right">
<input ng-model="searchText" placeholder="SearchTerm">
<a type="button" data-toggle="modal" data-target="#createInstance" class="btn btn-default">
Start Instance
</a>
</div>
</div>
<hr>

<input ng-model="searchText" placeholder="SearchTerm">
<a type="button" data-toggle="modal" data-target="#createInstance" class="btn btn-default">
Start Instance
</a>

<div class="table-responsive">
<table class="table table-striped table-hover">
<caption>Instances of {{instanceCtrl.getScenarioName()}} currently running</caption>

<thead>
<tr>
<th>Instance #</th>
<th>Process name</th>
</tr>
</thead>
<tbody>
<tr style="cursor: pointer" ng-repeat="(key, value) in instanceCtrl.instances track by $index" ng-show="!searchText || value['label'].indexOf(searchText) > -1" ng-click="instanceCtrl.goToDetailsFrom(key);">
<td>{{key}}</td>
<td>{{value['label']}}</td>
</tr>
</a>
</tbody>
</table>
<hr><br>
<div class="row">
<div class="table-responsive" ng-controller="ScenarioInstanceController as instanceCtrl">
<table class="table table-striped table-hover">
<thead>
<tr>
<th>Instance #</th>
<th>Process name</th>
</tr>
</thead>
<tbody>
<tr style="cursor: pointer" ng-repeat="(key, value) in instanceCtrl.instances track by $index" ng-show="!searchText || value['label'].indexOf(searchText) > -1" ng-click="instanceCtrl.goToDetailsFrom(key);" >
<td>{{key}}</td>
<td>{{value['label']}}</td>
</tr>
</a>
</tbody>
</table>
</div>
</div>

<!-- modals -->
Expand Down

0 comments on commit ebad722

Please sign in to comment.