clipbucket/upload/styles/cb_27/layout/blocks/manage/account_video.html

126 lines
5.3 KiB
HTML
Raw Normal View History

{if $control=='' || $control =='view'}
{if $mode ==''}{assign var='mode' value='favorites'}{/if}
{/if}
{if $control =='full'}
<tr>
2014-03-31 13:59:44 +00:00
<td>
<div class="row">
<div class="col-md-10">
<div class="row">
<div class="col-md-3">
2014-09-23 12:12:39 +00:00
<a href="edit_video.php?video={$video.videoid}">
2014-03-31 13:59:44 +00:00
<img src="{getThumb vdetails=$video}" width="130" height="80" id="thumbs_{$video.videoid}" class="vthumb" title=""/>
2014-09-23 12:12:39 +00:00
<span class="duration">({if
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if})</span>
</a>
2014-03-31 13:59:44 +00:00
</div>
<div class="col-md-9">
<a href="edit_video.php?video={$video.videoid}">
{$video.title|truncate:80} </a><br>
<span class="maccountlabels"> <strong>{$video.date_added|niceTime}</strong>
{lang code='views'} : <strong>{$video.views|number_format}</strong></span>
<div class="labels">
{if $video.featured=='yes'}<span class="label label-primary">Featured{else}{/if}</span>
<span class="label {if $video.active=='yes'}label-success{else}label-warning{/if} mlabel">
{if $video.active=='yes'}Active{else}InActive{/if}</span>
<span class="label {if $video.status=='Successful'}label-success{else}label-warning{/if}">
{if $video.status=='Successful'}Successful{else}Processing{/if}</span>
<span class="label label-info">
Viewed {$video.last_viewed|niceTime}</span>
</div>
</div>
</div>
</div>
<div class="col-md-2">
<div class="row">
{if $video.broadcast=='public'}
<div class="col-md-1"><i class="icon-globe"></i></div>
{elseif $video.broadcast!='public'}
<div class="col-md-1"><i class="icon-lock"></i></div>
{/if}
</div>
<a href="view_user.php?uid={$video.userid}">{$video.username}</a>
</div>
</div>
</td>
<td>
<div class="dropdown">
<button id="dropdownMenu1" class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown">
Actions <i class="caret"></i></button>
2014-09-19 09:58:54 +00:00
<ul class="dropdown-menu pull-right" aria-labelledby="dropdownMenu1" role="menu">
2015-04-17 13:22:49 +00:00
<li><a role="menuitem"
2015-02-26 13:57:05 +00:00
href="{$baseurl}/edit_video.php?vid={$video.videoid}" class="">Edit</a></li>
2015-04-17 13:22:49 +00:00
<li><a role="menuitem"
2014-03-31 13:59:44 +00:00
href="{$baseurl}/watch_video.php?v={$video.videokey}"target="_blank">Watch</a>
2015-04-17 13:22:49 +00:00
2014-03-31 13:59:44 +00:00
<li class="divider"></li>
2015-04-17 13:22:49 +00:00
<li><a role="menuitem" href="?vid_delete={$video.videoid}">Delete</a>
2014-03-31 13:59:44 +00:00
</li>
{foreach from=$cbvid->video_manager_links item=links}
{$cbvid->video_manager_link($links,$video)}
{/foreach}
</ul>
</div>
</td>
</tr>
2014-03-31 13:59:44 +00:00
{/if}
{if $control=='playlist'}
<tr>
<td>
<input type="checkbox" name="check_playlist_items[]" id="check_vid-{$video.playlist_item_id}" value="{$video.playlist_item_id}" />
</td>
<td valign="middle">
<div>
<img class="img-thumbnail" src="{getThumb vdetails=$video}" />
<p class="marginTop">{$video.title|truncate:100}</p>
<div class="btn-group show">
<a class="btn btn-primary btn-sm" href="{videoLink vdetails=$video}">view</a>
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onmousedown="delete_video('delete_icon_a','{$video.playlist_item_id}','{lang code="remove_playlist_item_confirm"}','?mode=edit_playlist&pid={$pid}&amp;delete_item={$video.playlist_item_id}')" id="delete_icon_a-{$video.playlist_item_id}">
delete
</a>
</div>
</div>
<a href="javascript:void(0)" onmousedown="delete_video('delete_icon','{$video.playlist_item_id}','{lang code="remove_playlist_item_confirm"}','?mode=edit_playlist&pid={$pid}&amp;delete_item={$video.playlist_item_id}')" id="delete_icon-{$video.playlist_item_id}"><img src="{$imageurl}/dot.gif" border="0" class="delete_icon" /></a>
</td>
<td>{$video.date_added|date_format}</td>
<td>{$video.views|number_format}</td>
<td>{$video.comments_count|number_format}</td>
</tr>
{/if}
{if $control=='basic'}
<tr>
<td>
<input type="checkbox" name="check_vid[]" id="check_vid-{$video.videoid}" value="{$video.videoid}" />
</td>
<td valign="middle">
<div>
<a href="{videoLink vdetails=$video}">
2014-09-25 07:57:59 +00:00
<img src="{getThumb vdetails=$video}" width="130" height="80" id="thumbs_{$video.videoid}" class="vthumb" />
<p class="marginTop">{$video.title|truncate:100}</p>
</a>
</div>
</td>
<td>{$video.date_added|date_format}</td>
<td>{$video.views|number_format}</td>
<td>{$video.comments_count|number_format}</td>
</tr>
{/if}