2015-05-12 12:09:45 +01:00
|
|
|
<header class="view-header">
|
|
|
|
<h2 class="view-title">Apps</h2>
|
2014-03-09 23:44:08 -04:00
|
|
|
</header>
|
|
|
|
|
2015-05-12 13:55:24 +01:00
|
|
|
<section class="view-content settings-apps">
|
2014-05-28 08:57:55 +02:00
|
|
|
<table class="js-apps">
|
|
|
|
<thead>
|
|
|
|
<th>App name</th>
|
|
|
|
<th>Status</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2014-12-29 21:11:24 -05:00
|
|
|
{{#each appController in model itemController="settings/app"}}
|
2014-05-28 08:57:55 +02:00
|
|
|
<tr>
|
|
|
|
<td>
|
2014-12-29 21:11:24 -05:00
|
|
|
{{#if appController.model.package}}{{appController.model.package.name}} - {{appController.model.package.version}}{{else}}{{appController.model.name}} - package.json missing :({{/if}}
|
2014-05-28 08:57:55 +02:00
|
|
|
</td>
|
|
|
|
<td>
|
2015-04-01 10:01:38 -06:00
|
|
|
<button type="button" {{action toggleApp appController}} class="btn js-button-active {{if activeClass 'btn-red js-button-deactivate'}} {{if inactiveClass 'btn-green'}}">
|
2014-12-29 21:11:24 -05:00
|
|
|
{{appController.buttonText}}
|
2014-05-28 08:57:55 +02:00
|
|
|
</button>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2014-03-09 23:44:08 -04:00
|
|
|
{{/each}}
|
2014-05-28 08:57:55 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|