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/app/ui-admin/client/users/adminUsers.html

102 lines
3.1 KiB

<template name="adminUsers">
<div class="main-content-flex">
<section class="page-container page-list flex-tab-main-content">
[NEW] Header Redesign (#7750) * Rc main content header work in progress * header redesign work in progress * Clean up some css and fix burger * Fix reviews * Apply the new header to some admin pages * Start using typography on fonts * add the new header to more pages * add more new headers * Fix admin buttons * add the new header to the account screens and fix some flexs * fix profile header and use new burger * Add favorite star fill * allign preferences contents to center * Put description under the title * fix overflow on channel topic and title * start making the header a component * move channel header template to the new one and fix burger menu * Make the header a modular component * fix some buttons on integrations * add channel icons and fix star fill * fix line height and css lint * add livechat icon * fix part of the tests * fix tests * add a max-width to header * hide room image on channels * Fix reviews and some issues with firefox also remove a console.log() * fix mobile max width * Fix Reviews reduce some elements and try to improve the naming of elements * Fix realNames on Header * [FIX] After deleting the room, cache is not synchronizing * Put delete action on another popover group * check if user can delete * [FIX] Email Subjects not being sent * fix on android * fix for ios * Tab Bar Icons moved to header * remove sidebar header on admin embedded version * fix lint issue * remove console.log * contextual bar header * remove last activity * Update meteor to 1.5.2.2-rc.0 * Fix missing i18n translations * fix header on administration * migration 101 * fix admin view header * remove accountBox from admin menu * add sidebar flex title and icons * smaller accountBox * Fix some tests and skip others skipping due some features that need fixing * Update sidebarItem.html * unify unread and mentions badge * make sidebar item width 100% * fixed tests * LingoHub Update :rocket: Manual push by LingoHub User: Gabriel Engel. Project: Rocket.Chat Made with :heart: by https://lingohub.com * meteor update --all-packages * LingoHub Update :rocket: Manual push by LingoHub User: Gabriel Engel. Project: Rocket.Chat Made with :heart: by https://lingohub.com * meteor update --release 1.5.2.2 * [FIX] Vairous LDAP issues & add pagination * LingoHub Update :rocket: Manual push by LingoHub User: Rodrigo Nascimento. Project: Rocket.Chat Made with :heart: by https://lingohub.com * LingoHub Update :rocket: Manual push by LingoHub User: Rodrigo Nascimento. Project: Rocket.Chat Made with :heart: by https://lingohub.com * contextual-bar template * fix stylelinty * fix icons
8 years ago
{{> header sectionName="Users"}}
<div class="content">
{{#unless hasPermission 'view-user-administration'}}
<p>{{_ "You_are_not_authorized_to_view_this_page"}}</p>
{{else}}
<form class="search-form" role="form">
<div class="rc-input__wrapper">
<div class="rc-input__icon">
{{#if isReady}}
{{> icon block="rc-input__icon-svg" icon="magnifier" }}
{{else}}
{{> loading }}
{{/if}}
</div>
<input id="users-filter" type="text" class="rc-input__element"
placeholder="{{_ "Search"}}" autofocus dir="auto">
</div>
</form>
<div class="results">
{{{_ "Showing_results" users.length}}}
</div>
{{#table fixed='true' onItemClick=onTableItemClick onScroll=onTableScroll onResize=onTableResize}}
<thead>
<tr>
<th width="34%">
<div class="table-fake-th">{{_ "Name"}}</div>
</th>
<th width="33%">
<div class="table-fake-th">{{_ "Username"}}</div>
</th>
<th width="33%">
<div class="table-fake-th">{{_ "Email"}}</div>
</th>
<th width="33%">
<div class="table-fake-th">{{_ "Roles"}}</div>
</th>
<th width="33%">
<div class="table-fake-th">{{_ "Status"}}</div>
</th>
</tr>
</thead>
<tbody>
{{#each users}}
<tr class='user-info'>
<td width="30%">
<div class="rc-table-wrapper">
<div class="rc-table-avatar">
{{> avatar username=username}}
</div>
<div class="rc-table-info">
<span class="rc-table-title">{{name}}</span>
</div>
</div>
</td>
<td width="20%">
<div class="rc-table-wrapper">
<div class="rc-table-info">
<span class="rc-table-title">{{username}}</span>
</div>
</div>
</td>
<td width="20%">
<div class="rc-table-wrapper">
<div class="rc-table-info">
<span class="rc-table-title">{{emailAddress}}</span>
</div>
</div>
</td>
<td width="10%">
<div class="rc-table-wrapper">
<div class="rc-table-info">
<span class="rc-table-title">{{roles}}</span>
</div>
</div>
</td>
<td width="20%">
<div class="rc-table-wrapper">{{#if $not active}}{{_"deactivated"}}{{else}}{{status}}{{/if}}</div>
</td>
</tr>
{{else}} {{# with searchText}}
<tr class="table-no-click">
<td>{{_ "No_results_found_for"}} {{.}}</td>
</tr>
{{/with}} {{/each}} {{#unless isReady}}
<tr class="table-no-click">
<td class="table-loading-td" colspan="{{#if showLastMessage}}5{{else}}4{{/if}}">{{> loading}}</td>
</tr>
{{/unless}}
</tbody>
{{/table}}
{{/unless}}
</div>
</section>
{{#with flexData}}
{{> flexTabBar}}
{{/with}}
</div>
</template>