2014-08-14 13:48:38 +00:00
|
|
|
<script id="categories-template" type="text/x-handlebars-template">
|
|
|
|
{{#each this}}
|
|
|
|
<li id="app-category-{{id}}" data-category-id="{{id}}"><a>{{displayName}}</a></li>
|
|
|
|
{{/each}}
|
2013-01-21 21:18:42 +00:00
|
|
|
|
2014-08-14 13:48:38 +00:00
|
|
|
<?php if(OC_Config::getValue('appstoreenabled', true) === true): ?>
|
|
|
|
<li>
|
2014-12-19 14:53:56 +00:00
|
|
|
<a class="app-external" target="_blank" href="https://apps.owncloud.com/?xsortmode=high"><?php p($l->t('More apps'));?> …</a>
|
2014-08-14 13:48:38 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2014-12-19 14:53:56 +00:00
|
|
|
<a class="app-external" target="_blank" href="https://owncloud.org/dev"><?php p($l->t('Add your app'));?> …</a>
|
2014-08-14 13:48:38 +00:00
|
|
|
</li>
|
|
|
|
<?php endif; ?>
|
|
|
|
</script>
|
2013-06-11 15:24:47 +00:00
|
|
|
|
2014-08-14 13:48:38 +00:00
|
|
|
<script id="app-template" type="text/x-handlebars">
|
|
|
|
<div class="section" id="app-{{id}}">
|
|
|
|
{{#if preview}}
|
|
|
|
<div class="app-image{{#if previewAsIcon}} app-image-icon{{/if}} hidden">
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
<h2 class="app-name"><a href="{{detailpage}}" target="_blank">{{name}}</a></h2>
|
|
|
|
<div class="app-version"> {{version}}</div>
|
|
|
|
<div class="app-author"><?php p($l->t('by')); ?> {{author}}
|
|
|
|
{{#if license}}
|
|
|
|
({{license}}-<?php p($l->t('licensed')); ?>)
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{#if score}}
|
|
|
|
<div class="app-score">{{{score}}}</div>
|
|
|
|
{{/if}}
|
|
|
|
{{#if internalclass}}
|
|
|
|
<div class="{{internalclass}} icon-checkmark">{{internallabel}}</div>
|
|
|
|
{{/if}}
|
|
|
|
<div class="app-detailpage"></div>
|
|
|
|
<div class="app-description"><pre>{{description}}</pre></div>
|
|
|
|
<!--<div class="app-changed">{{changed}}</div>-->
|
|
|
|
{{#if documentation}}
|
|
|
|
<p class="documentation">
|
2014-01-17 13:05:39 +00:00
|
|
|
<?php p($l->t("Documentation:"));?>
|
2014-08-14 13:48:38 +00:00
|
|
|
{{#if documentation.user}}
|
|
|
|
<span class="userDocumentation appslink">
|
|
|
|
<a id='userDocumentation' href='{{documentation.user}}' target="_blank"><?php p($l->t("User Documentation"));?></a>
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if documentation.admin}}
|
|
|
|
<span class="adminDocumentation appslink">
|
|
|
|
<a id='adminDocumentation' href='{{documentation.admin}}' target="_blank"><?php p($l->t("Admin Documentation"));?></a>
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
2014-01-17 13:05:39 +00:00
|
|
|
</p>
|
2014-08-14 13:48:38 +00:00
|
|
|
{{/if}}
|
2014-12-01 22:07:16 +00:00
|
|
|
{{#unless canInstall}}
|
2014-12-11 14:24:36 +00:00
|
|
|
<div class="app-dependencies">
|
|
|
|
<p><?php p($l->t('This app cannot be installed because the following dependencies are not fulfilled:')); ?></p>
|
2014-12-01 22:07:16 +00:00
|
|
|
<ul class="missing-dependencies">
|
|
|
|
{{#each missingDependencies}}
|
|
|
|
<li>{{this}}</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
2014-12-11 14:24:36 +00:00
|
|
|
</div>
|
2014-12-01 22:07:16 +00:00
|
|
|
{{/unless}}
|
|
|
|
|
2014-08-14 13:48:38 +00:00
|
|
|
{{#if update}}
|
|
|
|
<input class="update" type="submit" value="<?php p($l->t('Update to %s', array('{{update}}'))); ?>" data-appid="{{id}}" />
|
|
|
|
{{/if}}
|
|
|
|
{{#if active}}
|
|
|
|
<input class="enable" type="submit" data-appid="{{id}}" data-active="true" value="<?php p($l->t("Disable"));?>"/>
|
|
|
|
<input type="checkbox" class="groups-enable" id="groups_enable-{{id}}"/>
|
|
|
|
<label for="groups_enable-{{id}}"><?php p($l->t('Enable only for specific groups')); ?></label>
|
2014-06-03 10:48:36 +00:00
|
|
|
<br />
|
2014-09-09 16:00:53 +00:00
|
|
|
<input type="hidden" id="group_select" title="<?php p($l->t('All')); ?>" style="width: 200px">
|
2014-08-14 13:48:38 +00:00
|
|
|
{{else}}
|
2014-12-11 14:24:36 +00:00
|
|
|
<input class="enable" type="submit" data-appid="{{id}}" data-active="false" {{#unless canInstall}}disabled="disabled"{{/unless}} value="<?php p($l->t("Enable"));?>"/>
|
2014-12-01 22:07:16 +00:00
|
|
|
{{/if}}
|
2014-08-14 13:48:38 +00:00
|
|
|
{{#if canUnInstall}}
|
|
|
|
<input class="uninstall" type="submit" value="<?php p($l->t('Uninstall App')); ?>" data-appid="{{id}}" />
|
|
|
|
{{/if}}
|
2014-05-08 17:26:20 +00:00
|
|
|
|
2013-08-18 15:37:22 +00:00
|
|
|
<div class="warning hidden"></div>
|
2014-08-14 13:48:38 +00:00
|
|
|
|
2012-08-04 23:41:55 +00:00
|
|
|
</div>
|
2014-08-14 13:48:38 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<div id="app-navigation" class="icon-loading">
|
|
|
|
<ul id="apps-categories">
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div id="app-content">
|
|
|
|
<div id="apps-list" class="icon-loading"></div>
|
2011-08-10 10:20:43 +00:00
|
|
|
</div>
|