2014-09-15 13:35:15 +04:00
|
|
|
<header class="settings-view-header">
|
2014-08-06 15:34:08 +04:00
|
|
|
{{#link-to 'settings' class='btn btn-default'}}Back{{/link-to}}
|
2014-03-10 07:44:08 +04:00
|
|
|
<h2 class="title">Apps</h2>
|
|
|
|
</header>
|
|
|
|
|
2014-07-13 21:03:48 +04:00
|
|
|
<section class="content settings-apps">
|
2014-05-28 10:57:55 +04:00
|
|
|
<table class="js-apps">
|
|
|
|
<thead>
|
|
|
|
<th>App name</th>
|
|
|
|
<th>Status</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2014-12-06 00:54:42 +03:00
|
|
|
{{#each app in model itemController="settings/app"}}
|
2014-05-28 10:57:55 +04:00
|
|
|
<tr>
|
|
|
|
<td>
|
2014-12-06 00:54:42 +03:00
|
|
|
{{#if app.package}}{{app.package.name}} - {{app.package.version}}{{else}}{{app.name}} - package.json missing :({{/if}}
|
2014-05-28 10:57:55 +04:00
|
|
|
</td>
|
|
|
|
<td>
|
2014-12-06 00:54:42 +03:00
|
|
|
<button type="button" {{action toggleApp app}} {{bind-attr class=":btn :js-button-active activeClass:btn-red inactiveClass:btn-green activeClass:js-button-deactivate"}}>
|
|
|
|
{{app.buttonText}}
|
2014-05-28 10:57:55 +04:00
|
|
|
</button>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2014-03-10 07:44:08 +04:00
|
|
|
{{/each}}
|
2014-05-28 10:57:55 +04:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|