Igor Zhukov
11 years ago
7 changed files with 283 additions and 95 deletions
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
<a class="img_gif_with_progress_wrap" ng-click="toggle()"> |
||||
|
||||
<div class="img_gif_image_wrap" ng-switch="document.url && isActive"> |
||||
|
||||
<img ng-switch-when="true" class="img_gif_image" ng-src="{{document.url}}" /> |
||||
<img ng-switch-default class="img_gif_thumb" my-load-thumb thumb="document.thumb" /> |
||||
|
||||
</div> |
||||
|
||||
<div ng-show="!isActive" ng-switch="document.progress.enabled"> |
||||
|
||||
<div ng-switch-when="true" class="img_gif_progress_wrap"> |
||||
<div class="img_gif_progress progress tg_progress"> |
||||
<div class="progress-bar progress-bar-success" ng-style="{width: document.progress.percent + '%'}"></div> |
||||
</div> |
||||
</div> |
||||
|
||||
<div ng-switch-default class="img_gif_info_wrap"> |
||||
<div class="img_gif_label pull-left">GIF</div> |
||||
<div ng-if="!document.url" class="img_gif_size pull-right" bo-bind="document.size | formatSize"></div> |
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
</a> |
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
<div class="img_fullsize_with_progress_wrap"> |
||||
<div class="img_fullsize_progress_overlay" ng-show="progress.enabled"> |
||||
<div class="img_fullsize_progress_wrap"> |
||||
<div class="img_fullsize_progress progress tg_progress" ng-show="progress.percent > 0"> |
||||
<div class="progress-bar progress-bar-success" ng-style="{width: progress.percent + '%'}"> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="photo_full_wrap"> |
||||
<a class="photo_modal_image"> |
||||
<img class="photo_modal_image"/> |
||||
</a> |
||||
</div> |
||||
<div class="photo_modal_error_wrap" ng-if="error"> |
||||
<div class="photo_modal_error" ng-if="error.html" ng-bind-html="error.html"></div> |
||||
<div class="photo_modal_error" ng-if="error.text" ng-bind="error.text"></div> |
||||
</div> |
||||
</div> |
@ -0,0 +1,26 @@
@@ -0,0 +1,26 @@
|
||||
<div class="img_fullsize_with_progress_wrap" ng-style="{width: video.full.width + 'px', height: video.full.height + 'px'}"> |
||||
<div class="img_fullsize_progress_overlay" ng-show="progress.enabled"> |
||||
<div class="img_fullsize_progress_wrap" ng-style="{width: video.full.width + 'px', height: video.full.height + 'px'}"> |
||||
<div class="img_fullsize_progress progress tg_progress"> |
||||
<div class="progress-bar progress-bar-success" style="width: {{progress.percent}}%"></div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="img_fullsize_wrap" ng-if="!player.src"> |
||||
<img |
||||
class="img_fullsize" |
||||
my-load-thumb |
||||
thumb="video.fullThumb" |
||||
/> |
||||
</div> |
||||
<div class="video_full_player" ng-if="player.src"> |
||||
<embed ng-src="{{player.src}}" width="{{video.full.width}}" height="{{video.full.height}}" autoplay="true" CONTROLLER="TRUE" SHOWCONTROLS="TRUE" controller="true" loop="false" pluginspace="http://www.apple.com/quicktime/" ng-if="player.quicktime"/> |
||||
<video width="{{video.full.width}}" height="{{video.full.height}}" controls autoplay ng-if="!player.quicktime"> |
||||
<source ng-src="{{player.src}}" type="video/mp4"> |
||||
</video> |
||||
</div> |
||||
<div class="video_full_error_wrap" ng-if="error"> |
||||
<div class="video_full_error" ng-if="error.html" ng-bind-html="error.html"></div> |
||||
<div class="video_full_error" ng-if="error.text" ng-bind="error.text"></div> |
||||
</div> |
||||
</div> |
Loading…
Reference in new issue