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.
106 lines
4.3 KiB
106 lines
4.3 KiB
11 years ago
|
<div class="chat_modal_wrap" my-modal-position>
|
||
11 years ago
|
|
||
11 years ago
|
<a class="modal-close-button" ng-click="$close()"><i></i></a>
|
||
11 years ago
|
|
||
|
<div class="modal-body">
|
||
|
|
||
11 years ago
|
<div class="user_modal_photo_profile_wrap">
|
||
11 years ago
|
|
||
11 years ago
|
<div class="user_modal_image_wrap pull-left">
|
||
11 years ago
|
<img
|
||
|
class="user_modal_image"
|
||
|
my-load-thumb
|
||
10 years ago
|
watch="true"
|
||
11 years ago
|
thumb="chatFull.thumb"
|
||
|
/>
|
||
11 years ago
|
</div>
|
||
|
|
||
|
<div class="chat_modal_info_wrap clearfix">
|
||
|
<h4 class="chat_modal_header" ng-bind-html="chatFull.chat.rTitle"></h4>
|
||
|
<p class="chat_modal_members_count" ng-if="chatFull.chat.participants_count > 0">
|
||
|
<ng-pluralize count="chatFull.chat.participants_count"
|
||
|
when="{'0': 'No members', 'one': '1 member', 'other': '{} members'}">
|
||
|
</ng-pluralize>
|
||
|
</p>
|
||
|
|
||
11 years ago
|
<div class="chat_modal_actions_wrap clearfix">
|
||
|
|
||
|
<button ng-if="!chatFull.chat.left && chatFull.participants.participants.length" class="btn btn-primary chat_modal_invite_btn" ng-click="inviteToGroup()">Add member</button>
|
||
|
<button ng-if="chatFull.chat._ != 'chatForbidden' && chatFull.chat.left" class="btn btn-primary chat_modal_main_btn" ng-click="returnToGroup()">Return to group</button>
|
||
|
<button ng-if="chatFull.chat._ == 'chatForbidden'" class="btn btn-danger chat_modal_delete_btn" ng-click="flushHistory()">Delete chat</button>
|
||
|
|
||
|
<span ng-if="chatFull.chat._ != 'chatForbidden' && !chatFull.chat.left && !photo.updating" class="btn btn-primary chat_modal_main_btn" >
|
||
|
<input my-file-upload type="file" multiple="false" class="im_attach_input" size="120" multiple="false" accept="image/x-png, image/png, image/gif, image/jpeg" />
|
||
|
Update photo
|
||
|
</span>
|
||
|
<span ng-if="photo.updating" class="btn btn-primary chat_modal_main_btn disabled" disabled>
|
||
|
Updating<span my-loading-dots></span>
|
||
|
</span>
|
||
|
|
||
|
|
||
|
<div class="dropdown chat_modal_other_btn" ng-if="chatFull.chat._ != 'chatForbidden' && !chatFull.chat.left">
|
||
|
<button class="btn btn-link dropdown-toggle">More<i class="icon icon-caret"></i></button>
|
||
|
<ul class="dropdown-menu">
|
||
|
<li ng-if="chatFull.thumb.location">
|
||
|
<a ng-click="deletePhoto()">Delete photo</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a ng-click="editTitle()">Edit group</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a ng-click="leaveGroup()">Leave group</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a ng-click="flushHistory()">Delete chat</a>
|
||
|
</li>
|
||
|
</ul>
|
||
11 years ago
|
</div>
|
||
11 years ago
|
|
||
11 years ago
|
</div>
|
||
|
|
||
11 years ago
|
</div>
|
||
11 years ago
|
</div>
|
||
|
|
||
11 years ago
|
<div class="modal_section">
|
||
|
<h3 class="modal_section_header">Settings</h3>
|
||
|
<div class="modal_section_body">
|
||
11 years ago
|
|
||
11 years ago
|
<div class="tg_form_group">
|
||
|
<a class="tg_checkbox" ng-click="settings.notifications = !settings.notifications" ng-class="settings.notifications ? 'tg_checkbox_on' : ''">
|
||
|
<span class="icon icon-checkbox-outer"><i class="icon-checkbox-inner"></i></span>
|
||
|
<span class="tg_checkbox_label">Notifications</span>
|
||
11 years ago
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
11 years ago
|
</div>
|
||
|
|
||
11 years ago
|
<div class="modal_section">
|
||
|
<h3 class="modal_section_header">Members</h3>
|
||
|
<div class="modal_section_body">
|
||
|
|
||
|
<div class="chat_modal_members_list">
|
||
|
|
||
|
<div class="chat_modal_participant_wrap clearfix" ng-repeat="participant in chatFull.participants.participants | orderBy:'-user.sortStatus'">
|
||
|
<a ng-if="participant.canKick" ng-click="kickFromGroup(participant.user_id)" class="chat_modal_participant_kick pull-right">Kick</a>
|
||
10 years ago
|
|
||
|
<a class="chat_modal_participant_photo pull-left" my-user-photolink="participant.user_id" img-class="chat_modal_participant_photo" status="true"></a>
|
||
|
|
||
11 years ago
|
<div class="chat_modal_participant_name">
|
||
10 years ago
|
<a my-user-link="participant.user_id"></a>
|
||
11 years ago
|
</div>
|
||
10 years ago
|
<div class="chat_modal_participant_status" my-user-status="::participant.user_id"></div>
|
||
11 years ago
|
</div>
|
||
|
|
||
11 years ago
|
</div>
|
||
11 years ago
|
|
||
11 years ago
|
<div class="chat_modal_members_forbidden" ng-if="chatFull.chat._ == 'chatForbidden' || chatFull.chat.left">
|
||
|
Group members list is unavailable.
|
||
|
</div>
|
||
11 years ago
|
|
||
11 years ago
|
</div>
|
||
11 years ago
|
</div>
|
||
|
|
||
11 years ago
|
</div>
|
||
|
|
||
10 years ago
|
</div>
|