added: cover photo to channels page
This commit is contained in:
parent
3252b0ebb7
commit
c700503ea4
3 changed files with 12 additions and 6 deletions
|
@ -113,9 +113,14 @@
|
|||
{include file="$style_dir/blocks/manage/userMenuLeft.html"}
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<img src="{$coverPhoto}" alt="coverPhoto" class="img-thumbnail">
|
||||
<div class="avatar_bg">
|
||||
<form method="post" enctype="multipart/form-data" name="edit_profile">
|
||||
<legend>{lang code='user_user_avatar'}</legend>
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<input type="file" name="coverPhoto">
|
||||
<button class="btn btn-primary">Submit</button>
|
||||
</form>
|
||||
{*
|
||||
<legend>{lang code='user_user_avatar'}</legend>
|
||||
<div>
|
||||
<img src="{$userquery->getUserThumb($user)}" class="img-thumbnail" />
|
||||
</div>
|
||||
|
@ -200,7 +205,8 @@
|
|||
{lang code='update'}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
*}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div id="container" class="container">
|
||||
{include file="$style_dir/blocks/manage/account_menu.html"}
|
||||
<div class="row cb-box">
|
||||
<div class="relative1" style="background: #000000" >
|
||||
<div class="relative1" style="background: url({$coverPhoto}) center #000000" >
|
||||
<div class="row">
|
||||
<div class="col-md-4 pull-right btn-group">
|
||||
<br>
|
||||
|
@ -69,7 +69,7 @@
|
|||
<p class="duration1"><b>({if
|
||||
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if})</b></p>
|
||||
<h5><a href="">{$video.title|truncate:22}</a></h5>
|
||||
<small class="font1 new1"><b>{lang code='views'} :{$video.views|format_number}</b></small>
|
||||
<small class="font1 new1"><b>{lang code='views'} :{$video.views}</b></small>
|
||||
<small class="font2 new1"><b>{$video.date_added|niceTime}</b></small>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -214,7 +214,7 @@
|
|||
</div>
|
||||
<div class="">
|
||||
<a href="#">
|
||||
<img src="http://www.bbddwood.com/wp-content/uploads/2013/06/wood-floor6.jpg" alt="ad">
|
||||
<img src="" alt="ad">
|
||||
</a>
|
||||
</div>
|
||||
<div class="cb-box marginTop">
|
||||
|
|
Loading…
Add table
Reference in a new issue