The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/packages/rocketchat-apps/client/admin/apps.html

79 lines
2.7 KiB

<template name="apps">
<section class="rc-directory rc-apps-marketplace">
{{#header sectionName="Apps" hideHelp=true fixedHeight=true fullpage=true}}
<button class="rc-button rc-button--small rc-button--primary rc-directory-plus" data-button="install">{{> icon icon="plus"}}</button>
{{/header}}
<div class="rc-table-content">
<!-- {{>tabs tabs=tabsData}} -->
<div class="rc-input rc-input--small rc-directory-search">
<label class="rc-input__label">
<div class="rc-input__wrapper">
{{> icon icon="magnifier" block="rc-input__icon" }}
<input type="text" class="rc-input__element rc-input__element--small js-search" name="message-search" id="message-search" placeholder={{#if $eq searchType 'channels'}}{{_ "Search_Channels"}}{{/if}}{{#if $eq searchType 'users'}}{{_ "Search_Users"}}{{/if}} autocomplete="off">
</div>
</label>
</div>
{{#requiresPermission 'manage-apps'}}
{{#table fixed='true' onScroll=onTableScroll onResize=onTableResize onSort=onTableSort}}
<thead>
<tr>
<th class="js-sort rc-table-td--medium {{#if searchSortBy 'name'}}is-sorting{{/if}}" data-sort="name">
<div class="table-fake-th">{{_ "Name"}} {{> icon icon=(sortIcon 'name')}}</div>
</th>
<th class="js-sort rc-table-td--medium {{#if searchSortBy 'category'}}is-sorting{{/if}}" data-sort="category">>
<div class="table-fake-th">{{_ "Category"}} {{> icon icon=(sortIcon 'category') }}</div>
</th>
<th class="rc-table-td">
<div class="table-fake-th">{{_ "Details"}} </div>
</th>
<th class="rc-table-td--small">
</th>
</tr>
</thead>
<tbody>
{{#each apps}}
<tr class="rc-table-tr manage" data-name="{{name}}">
<td>
<div class="rc-table-wrapper">
<div class="rc-table-avatar" style="background-image:url({{iconFileContent}})"></div>
<div class="rc-table-info">
<span class="rc-table-title">
{{name}}
</span>
{{#if author.name}}
<span class="rc-table-subtitle">by {{author.name}}</span>
{{/if}}
</div>
</div>
</td>
<td>{{category}}</td>
<td>
<p class="rc-table-title">
{{#if summary}}
{{summary}}
{{else}}
{{description}}
{{/if}}
</p>
{{#if summary}}
<p>
{{description}}
</p>
{{/if}}
</td>
<td>
</td>
</tr>
{{/each}}
{{#if isLoading}}
<tr>
<td colspan="3" style="position: relative;">{{> loading}}</td>
</tr>
{{/if}}
</tbody>
{{/table}}
{{/requiresPermission}}
</div>
</section>
</template>