Telegram Web, preconfigured for usage in I2P.
http://web.telegram.i2p/
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.
78 lines
3.8 KiB
78 lines
3.8 KiB
11 years ago
|
<div class="contacts_modal_wrap" my-modal-position>
|
||
11 years ago
|
|
||
11 years ago
|
<a class="modal-close-button" ng-click="$dismiss()"><i></i></a>
|
||
11 years ago
|
|
||
11 years ago
|
<div class="modal-body">
|
||
|
|
||
11 years ago
|
<div class="contacts_modal_header">
|
||
11 years ago
|
<div class="contacts_modal_edit_wrap" ng-if="!action || action == 'edit'" ng-switch="action">
|
||
10 years ago
|
<a ng-switch-when="edit" class="contacts_modal_edit_link" ng-click="toggleEdit(false)" my-i18n="contacts_modal_edit_cancel"></a>
|
||
|
<a ng-switch-default class="contacts_modal_edit_link" ng-click="toggleEdit(true)" my-i18n="contacts_modal_edit_list"></a>
|
||
11 years ago
|
</div>
|
||
11 years ago
|
<h4 class="contacts_modal_title" ng-switch="action">
|
||
|
<div ng-switch-when="new_group" ng-switch="selectedCount > 0">
|
||
|
<span ng-switch-when="true">
|
||
10 years ago
|
<ng-pluralize count="selectedCount" when="contacts_modal_pluralize_new_group_members">
|
||
11 years ago
|
</ng-pluralize>
|
||
|
</span>
|
||
10 years ago
|
<span ng-switch-default my-i18n="group_create_contacts_modal_title"></span>
|
||
11 years ago
|
</div>
|
||
10 years ago
|
<span ng-switch-default my-i18n="contacts_modal_title"></span>
|
||
11 years ago
|
</h4>
|
||
11 years ago
|
</div>
|
||
|
|
||
11 years ago
|
|
||
11 years ago
|
<div class="contacts_modal_search">
|
||
10 years ago
|
<input class="form-control contacts_modal_search_field no_outline" my-focused type="search" placeholder="{{'modal_search' | i18n}}" ng-model="search.query"/>
|
||
11 years ago
|
<a class="contacts_modal_search_clear" ng-click="search.query = ''" ng-show="search.query.length"></a>
|
||
|
</div>
|
||
|
|
||
11 years ago
|
|
||
|
<div my-contacts-list class="contacts_modal_col">
|
||
|
|
||
11 years ago
|
<div class="contacts_wrap nano" my-infinite-scroller>
|
||
10 years ago
|
<div class="contacts_scrollable_wrap nano-content" ng-switch="contactsEmpty">
|
||
11 years ago
|
|
||
10 years ago
|
<div ng-switch-when="true" class="contacts_modal_contacts_empty" my-vertical-position="0.2" padding="true" my-i18n="contacts_modal_empty_list">
|
||
|
<my-i18n-param name="import-link"><a href="" ng-click="importContact()">{0}</a></my-i18n-param>
|
||
10 years ago
|
</div>
|
||
|
|
||
|
<ul ng-switch-default class="contacts_modal_members_list nav nav-pills nav-stacked">
|
||
11 years ago
|
|
||
11 years ago
|
<li class="contacts_modal_contact_wrap clearfix" ng-repeat="contact in contacts | orderBy:'user.sortName' | limitTo: slice.limit track by contact.userID" ng-class="{active: selectedContacts[contact.userID], disabled: disabledContacts[contact.userID]}">
|
||
11 years ago
|
<a class="contacts_modal_contact" ng-click="contactSelect(contact.userID)">
|
||
|
|
||
|
<i ng-if="multiSelect" class="icon icon-contact-tick"></i>
|
||
|
|
||
10 years ago
|
<div class="contacts_modal_contact_photo pull-left" my-user-photolink="contact.userID" status="true" img-class="contacts_modal_contact_photo"></div>
|
||
11 years ago
|
<div class="contacts_modal_contact_name" ng-bind-html="contact.user.rFullName"></div>
|
||
10 years ago
|
<div class="contacts_modal_contact_status" my-user-status="::contact.userID"></div>
|
||
11 years ago
|
|
||
|
</a>
|
||
|
</li>
|
||
|
|
||
|
</ul>
|
||
|
|
||
11 years ago
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
11 years ago
|
</div>
|
||
11 years ago
|
|
||
11 years ago
|
<div class="modal-footer contacts_modal_panel" ng-switch="action">
|
||
11 years ago
|
<div ng-switch-when="new_group" class="pull-right">
|
||
10 years ago
|
<button class="btn btn-link" ng-click="$dismiss()" my-i18n="modal_cancel"></button>
|
||
|
<button class="btn btn-primary" ng-class="{disabled: !selectedCount}" ng-disabled="!selectedCount" ng-click="submitSelected()" type="submit" my-i18n="modal_next"></button>
|
||
11 years ago
|
</div>
|
||
|
|
||
10 years ago
|
<button ng-switch-when="select" class="btn btn-primary" ng-class="{disabled: !selectedCount}" ng-disabled="!selectedCount" ng-click="submitSelected()" type="submit" my-i18n="modal_next"></button>
|
||
11 years ago
|
<button ng-switch-when="edit" class="btn btn-danger" ng-class="{disabled: !selectedCount}" ng-disabled="!selectedCount" ng-click="deleteSelected()">
|
||
10 years ago
|
<my-i18n msgid="contacts_modal_edit_delete"></my-i18n>
|
||
|
<strong ng-bind="selectedCount"></strong>
|
||
11 years ago
|
</button>
|
||
10 years ago
|
<button ng-switch-default class="btn btn-link" ng-click="importContact()" my-i18n="contacts_modal_new_contact"></button>
|
||
11 years ago
|
</div>
|
||
|
|
||
10 years ago
|
</div>
|