2014-05-17 00:38:47 +02:00
|
|
|
{{#installed}}
|
2014-07-03 21:57:57 +02:00
|
|
|
<div class="btn-breadcrumb">
|
|
|
|
<a href="#/" ><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
|
|
|
|
<a href="#/apps">{{t 'applications'}}</a>
|
2013-09-24 23:10:41 +02:00
|
|
|
</div>
|
2014-07-03 21:57:57 +02:00
|
|
|
|
|
|
|
<div class="actions-group">
|
2014-05-07 15:23:16 +02:00
|
|
|
<a href="#/apps/install" class="btn btn-success slide">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-plus"></span> {{t 'install'}}
|
2014-05-07 15:23:16 +02:00
|
|
|
</a>
|
2013-09-24 23:10:41 +02:00
|
|
|
</div>
|
2014-05-17 00:38:47 +02:00
|
|
|
{{/installed}}
|
2013-09-24 23:10:41 +02:00
|
|
|
|
2014-05-17 00:38:47 +02:00
|
|
|
{{^installed}}
|
2014-07-03 21:57:57 +02:00
|
|
|
<div class="btn-breadcrumb">
|
|
|
|
<a href="#/" ><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
|
|
|
|
<a href="#/apps">{{t 'applications'}}</a>
|
|
|
|
<a href="#/apps/install">{{t 'install'}}</a>
|
2013-09-24 23:10:41 +02:00
|
|
|
</div>
|
2014-07-03 21:57:57 +02:00
|
|
|
|
|
|
|
<div class="actions-group">
|
2014-05-07 15:23:16 +02:00
|
|
|
<a href="#/apps/refresh" class="btn btn-info">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-refresh"></span> {{t 'refresh_app_list'}}
|
2014-05-07 15:23:16 +02:00
|
|
|
</a>
|
2013-09-24 23:10:41 +02:00
|
|
|
</div>
|
2014-05-17 00:38:47 +02:00
|
|
|
{{/installed}}
|
2013-09-24 23:10:41 +02:00
|
|
|
|
2014-07-03 21:57:57 +02:00
|
|
|
<div class="separator"></div>
|
2013-09-24 23:10:41 +02:00
|
|
|
|
|
|
|
<div class="list-group">
|
2014-05-17 00:38:47 +02:00
|
|
|
{{#apps}}
|
|
|
|
<a href="#/apps/{{^installed}}install/{{/installed}}{{id}}" class="list-group-item slide">
|
2014-05-07 15:23:16 +02:00
|
|
|
<span class="fa-chevron-right pull-right"></span>
|
2014-05-17 00:38:47 +02:00
|
|
|
<h2 class="list-group-item-heading">{{name}} <small>{{id}}</small></h2>
|
2014-11-08 14:36:28 +01:00
|
|
|
<p class="list-group-item-text">{{description}}</p>
|
2013-09-24 23:10:41 +02:00
|
|
|
</a>
|
2014-05-17 00:38:47 +02:00
|
|
|
{{/apps}}
|
2014-01-27 13:48:54 +01:00
|
|
|
|
2014-05-17 00:38:47 +02:00
|
|
|
{{^apps}}
|
2014-01-27 13:48:54 +01:00
|
|
|
<div class="alert alert-warning">
|
2014-05-07 15:23:16 +02:00
|
|
|
<span class="fa-exclamation-triangle"></span>
|
2014-05-13 01:30:22 +02:00
|
|
|
{{t 'no_installed_apps'}}
|
2014-01-27 13:48:54 +01:00
|
|
|
</div>
|
2014-05-17 00:38:47 +02:00
|
|
|
{{/apps}}
|
2014-01-27 13:48:54 +01:00
|
|
|
|
2013-09-24 23:10:41 +02:00
|
|
|
</div>
|
2014-06-04 22:28:02 +02:00
|
|
|
|
|
|
|
{{^installed}}
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h2 class="panel-title"><span class="fa-fw fa-download"></span> {{t 'custom_app_install'}}</h2>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<form action="#/apps/install/custom" method="POST" class="form-horizontal">
|
|
|
|
<div class="form-group has-feedback">
|
|
|
|
<label for="label" class="col-sm-12">{{t 'url'}}</label>
|
|
|
|
<div class="col-sm-12">
|
2014-10-03 10:05:51 +02:00
|
|
|
<input type="url" id="url" name="url" class="form-control" value="" placeholder="https://github.com/USER/REPOSITORY" required pattern="^https://github.com/[a-zA-Z0-9-_]+/[a-zA-Z0-9-_]+[/]?$">
|
2014-06-04 22:28:02 +02:00
|
|
|
<p class="text-warning">
|
|
|
|
<span class="fa-github"></span> {{t 'custom_app_url_only_github'}}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="text-center">
|
2014-10-03 10:28:34 +02:00
|
|
|
<input type="submit" class="btn btn-success slide" value="{{t 'install'}}">
|
2014-06-04 22:28:02 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-07-03 21:57:57 +02:00
|
|
|
{{/installed}}
|