Igor Zhukov
10 years ago
17 changed files with 835 additions and 563 deletions
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 5.9 KiB |
@ -1,28 +1,101 @@ |
|||||||
<div class="tg_page_head"> |
<div class="tg_page_head tg_head_wrap noselect"> |
||||||
<div class="navbar navbar-static-top navbar-inverse" role="navigation" ng-class="{navbar_peer_not_selected: !curDialog.peer, navbar_offline: offline, navbar_history_select: historyState.selectActions}"> |
<div class="tg_head_split clearfix"> |
||||||
<div class="container"> |
|
||||||
|
|
||||||
<div class="navbar-header"> |
<div class="tg_head_logo_wrap"> |
||||||
<a class="navbar-brand" href="{{isLoggedIn ? '#/im' : '#/'}}"><span class="tg_head_logo"></span></a> |
<div class="tg_head_logo_dropdown dropdown" dropdown> |
||||||
|
<a class="tg_head_btn dropdown-toggle" dropdown-toggle> |
||||||
|
<div class="icon-hamburger-wrap"> |
||||||
|
<span class="icon-bar"></span> |
||||||
|
<span class="icon-bar"></span> |
||||||
|
<span class="icon-bar"></span> |
||||||
|
</div><span class="tg_head_logo_text" my-i18n="head_telegram"></span> |
||||||
|
</a> |
||||||
|
|
||||||
|
<ul class="dropdown-menu" ng-switch="isLoggedIn"> |
||||||
|
<li ng-switch-when="true"><a ng-click="openGroup()"> |
||||||
|
<i class="icon icon-new-group"></i><span my-i18n="im_new_group"></span> |
||||||
|
</a></li> |
||||||
|
<li ng-switch-when="true" ng-if="!isEmpty.contacts"><a ng-click="openContacts()"> |
||||||
|
<i class="icon icon-contacts"></i><span my-i18n="im_contacts"></span> |
||||||
|
</a></li> |
||||||
|
<li ng-switch-when="true"><a ng-click="openSettings()"> |
||||||
|
<i class="icon icon-settings"></i><span my-i18n="im_settings"></span> |
||||||
|
</a></li> |
||||||
|
<li><a href="https://telegram.org/faq" target="_blank"> |
||||||
|
<i class="icon icon-faq"></i><span my-i18n="head_telegram_faq"></span> |
||||||
|
</a></li> |
||||||
|
<li><a href="" ng-click="openChangelog()"> |
||||||
|
<i class="icon icon-about"></i><span my-i18n="head_about"></span> |
||||||
|
</a></li> |
||||||
|
</ul> |
||||||
</div> |
</div> |
||||||
|
</div> |
||||||
|
|
||||||
<div class="navbar-menu" ng-switch="offline"> |
<div class="tg_head_main_wrap" ng-switch="offline"> |
||||||
|
<div ng-switch-when="true" class="tg_head_connecting_wrap" ng-switch="offlineConnecting"> |
||||||
|
<span ng-switch-default class="tg_head_connecting_text"><my-i18n msgid="head_waiting_for_network"></my-i18n><span my-loading-dots></span></span> |
||||||
|
<a ng-switch-default class="tg_head_btn" ng-click="retryOnline()" my-i18n="head_retry"></a> |
||||||
|
<span ng-switch-when="true" class="tg_head_connecting_text"><my-i18n msgid="head_connecting"></my-i18n><span my-loading-dots></span></span> |
||||||
|
</div> |
||||||
|
|
||||||
<ul ng-switch-when="true" class="nav navbar-nav navbar-offline"> |
<div ng-switch-default class="tg_head_main_peer_wrap"> |
||||||
<li ng-show="!offlineConnecting"><span class="navbar-offline-text"><my-i18n msgid="head_waiting_for_network"></my-i18n><span my-loading-dots></span></span></li> |
|
||||||
<li ng-show="!offlineConnecting"><a href="" ng-click="retryOnline()" my-i18n="head_retry"></a></li> |
|
||||||
<li ng-show="offlineConnecting"><span class="navbar-offline-text"><my-i18n msgid="head_connecting"></my-i18n><span my-loading-dots></span></span></li> |
|
||||||
</ul> |
|
||||||
|
|
||||||
<ul ng-switch-default class="nav navbar-nav navbar-right"> |
<div class="tg_head_peer_dropdown tg_head_peer_more_dropdown dropdown" dropdown> |
||||||
<li ng-if="isLoggedIn && !isEmpty.contacts"><a href="" ng-click="openContacts()" my-i18n="head_contacts"></a></li> |
<a class="tg_head_btn dropdown-toggle" dropdown-toggle my-i18n="head_peer_more"></a> |
||||||
<li ng-if="isLoggedIn"><a href="" ng-click="openSettings()" my-i18n="head_settings"></a></li> |
<ul class="dropdown-menu"> |
||||||
<li ng-if="isLoggedIn"><a href="" ng-click="logOut()" my-i18n="head_log_out"></a></li> |
<li><a ng-click="toggleEdit()" my-i18n="head_edit_messages"></a></li> |
||||||
<li ng-if="!isLoggedIn"><a href="https://github.com/zhukov/webogram" target="_blank" my-i18n="head_about"></a></li> |
<li><a ng-click="selectedFlush()" my-i18n="head_clear_all"></a></li> |
||||||
</ul> |
</ul> |
||||||
|
</div> |
||||||
|
|
||||||
</div> |
<div class="tg_head_peer_dropdown tg_head_peer_media_dropdown dropdown" dropdown> |
||||||
|
<a class="tg_head_btn dropdown-toggle" dropdown-toggle my-i18n="im_media"></a> |
||||||
|
<ul class="dropdown-menu"> |
||||||
|
<li><a ng-click="toggleMedia('photos')" my-i18n="head_media_photos"></a></li> |
||||||
|
<li><a ng-click="toggleMedia('video')" my-i18n="head_media_video"></a></li> |
||||||
|
<li><a ng-click="toggleMedia('documents')" my-i18n="head_media_documents"></a></li> |
||||||
|
<li><a ng-click="toggleMedia('audio')" my-i18n="head_media_audio"></a></li> |
||||||
|
</ul> |
||||||
|
</div> |
||||||
|
|
||||||
|
<a class="tg_head_btn tg_head_peer_return_btn" ng-show="historyFilter.mediaType.length || skippedHistory" ng-click="returnToRecent()" ng-switch="skippedHistory"> |
||||||
|
<span ng-switch-when="true" my-i18n="im_show_recent_messages"></span> |
||||||
|
<span ng-switch-default my-i18n="im_show_all_messages"></span> |
||||||
|
<strong class="tg_head_peer_return_count" ng-show="historyState.missedCount > 0" ng-bind="'+' + historyState.missedCount"></strong> |
||||||
|
</a> |
||||||
|
|
||||||
|
<div class="tg_head_peer_title_wrap" ng-switch="historyFilter.mediaType"> |
||||||
|
<div class="tg_head_peer_media" ng-switch-when="photos"> |
||||||
|
<i class="icon icon-filter-photos"></i><span my-i18n="im_media_photos"></span> |
||||||
|
</div> |
||||||
|
<div class="tg_head_peer_media" ng-switch-when="video"> |
||||||
|
<i class="icon icon-filter-video"></i><span my-i18n="im_media_video"></span> |
||||||
|
</div> |
||||||
|
<div class="tg_head_peer_media" ng-switch-when="documents"> |
||||||
|
<i class="icon icon-filter-documents"></i><span my-i18n="im_media_documents"></span> |
||||||
|
</div> |
||||||
|
<div class="tg_head_peer_media" ng-switch-when="audio"> |
||||||
|
<i class="icon icon-filter-audio"></i><span my-i18n="im_media_audio"></span> |
||||||
|
</div> |
||||||
|
|
||||||
|
<a class="tg_head_btn" ng-switch-default ng-switch="historyPeer.id > 0" ng-click="showPeerInfo()"> |
||||||
|
<div class="tg_head_peer_info" ng-switch-when="true"> |
||||||
|
<span class="tg_head_peer_title" ng-bind-html="historyPeer.data.rFullName"></span> |
||||||
|
<span class="tg_head_peer_status" my-user-status="historyPeer.id"></span> |
||||||
|
</div> |
||||||
|
<div class="tg_head_peer_info" ng-switch-default> |
||||||
|
<span class="tg_head_peer_title" ng-bind-html="historyPeer.data.rTitle"></span> |
||||||
|
<span class="tg_head_peer_status"> |
||||||
|
<ng-pluralize count="historyPeer.data.participants_count" |
||||||
|
when="im_pluralize_participants"> |
||||||
|
</ng-pluralize> |
||||||
|
</span> |
||||||
|
</div> |
||||||
|
</a> |
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
@ -1,6 +1,6 @@ |
|||||||
CACHE MANIFEST |
CACHE MANIFEST |
||||||
|
|
||||||
# 43 |
# 44 |
||||||
|
|
||||||
NETWORK: |
NETWORK: |
||||||
* |
* |
||||||
|
Loading…
Reference in new issue