Igor Zhukov
10 years ago
9 changed files with 247 additions and 51 deletions
@ -0,0 +1 @@ |
|||||||
|
../desktop/media_modal_layout.html |
@ -1,22 +1,62 @@ |
|||||||
<div my-modal-width="{{photo.full.modalWidth}}" class="media_modal_wrap photo_modal_wrap" my-modal-position animation="no" my-modal-nav next="nav.next()" prev="nav.prev()"> |
<div class="media_modal_bottom_panel_wrap" ng-show="!hideToolbars"> |
||||||
|
<div class="media_modal_bottom_panel"> |
||||||
|
<div class="media_modal_bottom_actions pull-right"> |
||||||
|
<a class="media_modal_action_btn" ng-if="canDelete" ng-click="delete()" title="{{'media_modal_delete' | i18n}}"> |
||||||
|
<i class="media_modal_action_btn_delete"></i> |
||||||
|
</a> |
||||||
|
</div> |
||||||
|
|
||||||
<div class="modal-body"> |
<div class="media_modal_bottom_actions pull-left"> |
||||||
|
<a class="media_modal_action_btn" ng-if="canForward" ng-click="forward()" title="{{'media_modal_forward' | i18n}}"> |
||||||
|
<i class="media_modal_action_btn_forward"></i> |
||||||
|
</a> |
||||||
|
</div> |
||||||
|
|
||||||
<div class="photo_modal_image_wrap" my-load-full-photo full-photo="photo.full" thumb-location="photo.thumb.location" ng-click="nav.next()"> </div> |
<div class="media_modal_info_wrap"> |
||||||
|
<a class="media_modal_author" my-user-link="photo.user_id" user-watch="true"></a> |
||||||
|
<br/> |
||||||
|
<span class="media_modal_date" ng-bind="photo.date | dateOrTime :true"></span> |
||||||
|
</div> |
||||||
|
|
||||||
<div class="media_meta_wrap clearfix"> |
</div> |
||||||
<div class="media_modal_actions pull-right"> |
</div> |
||||||
<a href="" class="media_modal_action_link" ng-click="download()" my-i18n="media_modal_download"></a> |
|
||||||
<a href="" class="media_modal_action_link" ng-if="canForward" ng-click="forward()" my-i18n="media_modal_forward"></a> |
|
||||||
<a href="" class="media_modal_action_link" ng-if="canDelete" ng-click="delete()" my-i18n="media_modal_delete"></a> |
|
||||||
</div> |
|
||||||
|
|
||||||
<p class="media_modal_info"> |
<div class="media_modal_top_panel_wrap" ng-show="!hideToolbars"> |
||||||
<a class="media_modal_author" my-user-link="photo.user_id"></a>, <span ng-bind="photo.date | dateOrTime"></span> |
<div class="media_modal_top_panel"> |
||||||
</p> |
<div class="media_modal_top_actions pull-right"> |
||||||
|
<a class="media_modal_action_btn" ng-click="download()" title="{{'media_modal_download' | i18n}}"> |
||||||
|
<i class="media_modal_action_btn_download"></i> |
||||||
|
</a> |
||||||
</div> |
</div> |
||||||
|
<div class="media_modal_top_actions pull-left"> |
||||||
|
<a ng-click="$close()" class="navbar-quick-media-back"> |
||||||
|
<i class="icon icon-back"></i> |
||||||
|
|
||||||
|
<div class="navbar-quick-back-title"> |
||||||
|
<h4 class="media_modal_title_wrap" ng-switch="count > 1 && pos > 0"> |
||||||
|
<my-i18n ng-switch-when="true" msgid="media_modal_photo_index"> |
||||||
|
<my-i18n-param name="pos" ng-bind="pos"></my-i18n-param> |
||||||
|
<my-i18n-param name="count" ng-bind="count"></my-i18n-param> |
||||||
|
</my-i18n> |
||||||
|
<my-i18n ng-switch-default msgid="media_modal_photo"> |
||||||
|
</h4> |
||||||
|
</div> |
||||||
|
</a> |
||||||
|
</div> |
||||||
</div> |
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="modal-dialog" ng-swipe-right="nav.prev()" ng-swipe-left="nav.next()" ng-click="hideToolbars = !hideToolbars"> |
||||||
|
<div class="modal-content"> |
||||||
|
<div my-modal-width="{{photo.full.modalWidth}}" class="media_modal_wrap photo_modal_wrap" my-vertical-position="0.5"> |
||||||
|
|
||||||
|
<div class="modal-body"> |
||||||
|
|
||||||
|
<div class="photo_modal_image_wrap" my-load-full-photo full-photo="photo.full" thumb-location="photo.thumb.location"></div> |
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
</div> |
||||||
</div> |
</div> |
||||||
|
|
||||||
|
@ -1,21 +1,55 @@ |
|||||||
<div class="media_modal_wrap video_modal_wrap" my-modal-position> |
<div class="media_modal_bottom_panel_wrap"> |
||||||
|
<div class="media_modal_bottom_panel"> |
||||||
|
<div class="media_modal_bottom_actions pull-right"> |
||||||
|
<a class="media_modal_action_btn" ng-if="messageID" ng-click="delete()" title="{{'media_modal_delete' | i18n}}"> |
||||||
|
<i class="media_modal_action_btn_delete"></i> |
||||||
|
</a> |
||||||
|
</div> |
||||||
|
|
||||||
<div class="modal-body"> |
<div class="media_modal_bottom_actions pull-left"> |
||||||
|
<a class="media_modal_action_btn" ng-if="messageID" ng-click="forward()" title="{{'media_modal_forward' | i18n}}"> |
||||||
|
<i class="media_modal_action_btn_forward"></i> |
||||||
|
</a> |
||||||
|
</div> |
||||||
|
|
||||||
<div class="video_modal_image_wrap" my-load-video video="video"></div> |
<div class="media_modal_info_wrap"> |
||||||
|
<a class="media_modal_author" my-user-link="video.user_id" user-watch="true"></a> |
||||||
|
<br/> |
||||||
|
<span class="media_modal_date" ng-bind="video.date | dateOrTime :true"></span> |
||||||
|
</div> |
||||||
|
|
||||||
<div class="media_meta_wrap clearfix"> |
</div> |
||||||
<div class="media_modal_actions pull-right"> |
</div> |
||||||
<a href="" class="media_modal_action_link" ng-click="download()" my-i18n="media_modal_download"></a> |
|
||||||
<a ng-if="messageID" href="" class="media_modal_action_link" ng-click="forward()" my-i18n="media_modal_forward"></a> |
|
||||||
<a ng-if="messageID" href="" class="media_modal_action_link" ng-click="delete()" my-i18n="media_modal_delete"></a> |
|
||||||
</div> |
|
||||||
|
|
||||||
<p class="media_modal_info"> |
<div class="media_modal_top_panel_wrap"> |
||||||
<a class="media_modal_author" my-user-link="video.user_id"></a>, <span ng-bind="video.date | dateOrTime"></span> |
<div class="media_modal_top_panel"> |
||||||
</p> |
<div class="media_modal_top_actions pull-right"> |
||||||
|
<a class="media_modal_action_btn" ng-click="download()" title="{{'media_modal_download' | i18n}}"> |
||||||
|
<i class="media_modal_action_btn_download"></i> |
||||||
|
</a> |
||||||
|
</div> |
||||||
|
<div class="media_modal_top_actions pull-left"> |
||||||
|
<a ng-click="$close()" class="navbar-quick-media-back"> |
||||||
|
<i class="icon icon-back"></i> |
||||||
|
<div class="navbar-quick-back-title"> |
||||||
|
<h4 class="media_modal_title_wrap" my-i18n="media_modal_video"></h4> |
||||||
|
</div> |
||||||
|
</a> |
||||||
</div> |
</div> |
||||||
|
|
||||||
</div> |
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="modal-dialog"> |
||||||
|
<div class="modal-content"> |
||||||
|
<div my-modal-width="{{video.full.width}}" class="media_modal_wrap video_modal_wrap" my-vertical-position="0.5"> |
||||||
|
|
||||||
|
<div class="modal-body"> |
||||||
|
|
||||||
|
<div class="video_modal_image_wrap" my-load-video video="video"></div> |
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
</div> |
||||||
</div> |
</div> |
||||||
|
|
||||||
|
Loading…
Reference in new issue