updated: remove errors and styling

This commit is contained in:
Mohammad Shoaib 2014-09-08 10:27:39 +00:00
parent 7670f9baea
commit 7454cd5427
14 changed files with 74 additions and 36 deletions

View file

@ -5,7 +5,9 @@
<!--<span class="photoname" id="avatar1_file" style="height: 45px; overflow: hidden;" >{$photo.photo_title|truncate:30}</span>--> <!--<span class="photoname" id="avatar1_file" style="height: 45px; overflow: hidden;" >{$photo.photo_title|truncate:30}</span>-->
<a href="{$cbphoto->photo_links($photo,'view_item')}" title="Tolpis barbata (mariluzpicado)"> <a href="{$cbphoto->photo_links($photo,'view_item')}" title="Tolpis barbata (mariluzpicado)">
{get_photo details=$photo size='l' class='photo-land' output='html'} {*get_photo details=$photo size='l' class='photo-land' output='html'*}
<img alt="{$photo.photo_title}" title="{$photo.photo_title}" class="photo-land" id="photo_{$photo.photo_id}" src="{$baseurl}/styles/cbv2.7/timthumb.php?src={get_photo details=$photo size='o'}&h=150&w=150&zc=1">
</a> </a>
</div> </div>

View file

@ -84,14 +84,20 @@
</label> </label>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>{lang code='account_details'}</label> <label for="category">{lang code='account_details'}</label>
{ANCHOR place=$signup_fields.cat.anchor_before} {ANCHOR place=$signup_fields.cat.anchor_before}
{$signup_fields.cat.class='form-control'}
{$formObj->createField($signup_fields.cat)} {$formObj->createField($signup_fields.cat)}
{ANCHOR place=$signup_fields.cat.anchor_after} {ANCHOR place=$signup_fields.cat.anchor_after}
</div>
</div>
<div class="form-group"> <div class="form-group">
<label for="dob">{lang code='user_date_of_birth'}</label> <label for="dob">{lang code='user_date_of_birth'}</label>
{ANCHOR place=$signup_fields.dob.anchor_before}{$formObj->createField($signup_fields.dob)}{ANCHOR place=$signup_fields.dob.anchor_after} {ANCHOR place=$signup_fields.dob.anchor_before}
{$signup_fields.dob.class='form-control'}
{$formObj->createField($signup_fields.dob)}
{ANCHOR place=$signup_fields.dob.anchor_after}
</div> </div>
{if $cust_signup_fields} {if $cust_signup_fields}
{foreach from=$cust_signup_fields item=field} {foreach from=$cust_signup_fields item=field}
@ -107,6 +113,12 @@
</div> </div>
{/foreach} {/foreach}
{/if} {/if}
<div class="form-group">
<button name="update_profile" id="button" value="submit" class="btn btn-primary">
{lang code='update'}
</button>
</div>
</div> </div>
</form> </form>
</div> </div>
@ -160,13 +172,14 @@
<legend>{lang code='user_user_avatar'}</legend> <legend>{lang code='user_user_avatar'}</legend>
<div class="show-image"> <div class="show-image">
<img src="{$userquery->getUserThumb($user)}" class="img-thumbnail" /> <img src="{$userquery->getUserThumb($user)}" class="img-thumbnail" />
<input type="file" name="avatar_file" id="avatar_file" class="the-buttons btn btn-danger pphotogposition" />
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="avatar_file"> <label for="avatar_file">
<h4>{lang code='user_user_avatar'}</h4> <h4>{lang code='user_user_avatar'}</h4>
{lang code='please_select_img_file'} {lang code='please_select_img_file'}
</label> </label>
<input type="file" name="avatar_file" id="avatar_file" class="the-buttons btn" />
</div> </div>
<h3>{lang code='or'}</h3> <h3>{lang code='or'}</h3>
<div class="form-group"> <div class="form-group">
@ -204,16 +217,15 @@
<div class="show-image"> <div class="show-image">
{if $userquery->getUserBg($user)} {if $userquery->getUserBg($user)}
<img src="{$userquery->getUserBg($user)}" class="img-thumbnail"/> <img src="{$userquery->getUserBg($user)}" class="img-thumbnail"/>
<input type="file" name="background_file" id="background_file" value="Change Cover" class="the-buttons btn btn-danger position" /> <input type="file" name="background_file" id="background_file" value="Change Cover" class="the-buttons btn" />
{else} {else}
<em><strong>No Bg</strong></em> <em><strong>No Bg</strong></em>
<input type="file" name="background_file" id="background_file" value="Change Cover" class="the-buttons btn btn-danger position" /> <input type="file" name="background_file" id="background_file" value="Change Cover" class="the-buttons btn" />
{/if} {/if}
</div> </div>
<br><br> <br>
<h3>{lang code='or'}</h3> <h3>{lang code='or'}</h3>
<div class="form-group"> <div class="form-group">

View file

@ -67,8 +67,9 @@
<link rel="stylesheet/less" href="{$theme}/less/main.less?cache={$cache_buster}" /> <link rel="stylesheet/less" href="{$theme}/less/main.less?cache={$cache_buster}" />
<script src="{$js}/less.min.js"></script> <script src="{$js}/less.min.js"></script>
{/if} {/if}
<script type="text/javascript" src="{$theme}/js/functions.js"></script>
<script type="text/javascript" src="{$theme}/js/admin_functions.js"></script> <!--<script type="text/javascript" src="{$theme}/js/functions.js"></script>
<script type="text/javascript" src="{$theme}/js/admin_functions.js"></script>-->
<script src="{$theme}/js/bootstrap.min.js"></script> <script src="{$theme}/js/bootstrap.min.js"></script>
<script src="{$theme}/js/masonary.desandro.min.js"></script> <script src="{$theme}/js/masonary.desandro.min.js"></script>

View file

@ -91,9 +91,13 @@
</div> </div>
</div> </div>
<!-- /Page Heading--> <!-- /Page Heading-->
{if $groups}
{foreach $groups as $key => $group} {foreach $groups as $key => $group}
{include file="$style_dir/blocks/group/group.html"} {include file="$style_dir/blocks/group/group.html"}
{/foreach} {/foreach}
{else}
<div class="col-md-12 nopadding">No Groups</div>
{/if}
<!--Pagination--> <!--Pagination-->
<div class="clearfix"></div> <div class="clearfix"></div>
<div align="center"> <div align="center">

View file

@ -197,11 +197,12 @@
<div class="row nopadding"> <div class="row nopadding">
{if $row.photosSection=='yes'} {if $row.photosSection=='yes' }
<div class="col-md-12 nopadding "> <div class="col-md-12 nopadding ">
<h2 class="myHeading theme_color">{lang code="Featured Photos"}</h2> <h2 class="myHeading theme_color">{lang code="Featured Photos"}</h2>
{if $result_photos1_01}
<!-- *********** FIRST PHOTOS START ************ //--> <!-- *********** FIRST PHOTOS START ************ //-->
<div class="col-md-12 fill-background" style="display:block; height:265px; padding:5px;"> <div class="col-md-12 fill-background" style="display:block; height:265px; padding:5px;">
<div class="col-md-7 big_img"> <div class="col-md-7 big_img">
@ -224,6 +225,9 @@
</div> </div>
</div> </div>
<!-- *********** FIRST PHOTOS END ************ //--> <!-- *********** FIRST PHOTOS END ************ //-->
{/if}
{if $result_photos2_08}
<!-- *********** SECOND PHOTOS START ************ //--> <!-- *********** SECOND PHOTOS START ************ //-->
<div class="col-md-12" style="display:block; height:265px; padding:5px;"> <div class="col-md-12" style="display:block; height:265px; padding:5px;">
@ -247,9 +251,12 @@
</div> </div>
</div> </div>
<!-- *********** SECOND PHOTOS END ************ //--> <!-- *********** SECOND PHOTOS END ************ //-->
{/if}
</div> </div>
{else} {else}
{/if} <div class="col-md-12 nopadding">No featured Photo</div>
{/if}
</div> </div>
@ -275,7 +282,8 @@
<!-- ******************************************* //--> <!-- ******************************************* //-->
<!-- ************* USER BLOCK START ************ //--> <!-- ************* USER BLOCK START ************ //-->
<!-- ******************************************* //--> <!-- ******************************************* //-->
<div class="col-md-4 side_user_home">
<div class="col-md-4 side_user_home">
<h4 class="home-side-heading">{lang code="Featured Users"}</h4> <h4 class="home-side-heading">{lang code="Featured Users"}</h4>
{section name=result_users loop=$result_users} {section name=result_users loop=$result_users}
@ -331,7 +339,7 @@
<div class="col-md-4 comment_home side_user_home" > <div class="col-md-4 comment_home side_user_home" >
<h4 class="home-side-heading">{lang code="Top Collections"}</h4> <h4 class="home-side-heading">{lang code="Top Collections"}</h4>
{if $collections}
{foreach from=$collections item=collection} {foreach from=$collections item=collection}
<div class="collection_home mouse_hover"> <div class="collection_home mouse_hover">
@ -344,6 +352,9 @@
<img class="cb_img_thum" src="{$cbcollection->get_thumb($collection,'',TRUE)}"/> <img class="cb_img_thum" src="{$cbcollection->get_thumb($collection,'',TRUE)}"/>
</div> </div>
{/foreach} {/foreach}
{else}
<div class="col-md-12 nopadding">No Collection</div>
{/if}
</div> </div>
</div> </div>

View file

@ -97,7 +97,7 @@
<!--Sorting By View--> <!--Sorting By View-->
<div class="btn-group"> <div class="btn-group">
{if $smarty.get.sorting} {if $smarty.get.sorting}
{foreach from=$sorting_links item=name key=sort} {foreach from=$sorting_links item=name key=sort}
{if $smarty.get.time==$sort && isset($smarty.get.time)} {if $smarty.get.time==$sort && isset($smarty.get.time)}
<button class="btn btn-default" type="button"> <button class="btn btn-default" type="button">

View file

@ -102,6 +102,7 @@
</div> </div>
{/foreach} {/foreach}
</div> </div>
<div class="clr"></div>
<!--Pagination--> <!--Pagination-->
<div align="center"> <div align="center">
{include file="$style_dir/blocks/pagination.html"} {include file="$style_dir/blocks/pagination.html"}

View file

@ -93,7 +93,7 @@
<div class="row"> <div class="row">
<div class="col-md-7 view_chnl"> <div class="col-md-7 view_chnl">
<div id="cb_player" style="height: 380px; width: 657px" > <div id="cb_player" style="height: 380px; width: 657px" >
{FlashPlayer vdetails=$firstVideo width='100%' height='355px'} {FlashPlayer vdetails=$firstVideo width='100%' height='355'}
</div> </div>
<hr class="hr"> <hr class="hr">
<div class="row"> <div class="row">
@ -172,8 +172,6 @@ $('#cover_info').show();
(function(window){ (function(window){
$(document).ready(function(){ $(document).ready(function(){
var extensions = "{$extensions}"; var extensions = "{$extensions}";

View file

@ -15,21 +15,21 @@
</div> </div>
</div> --> </div> -->
<div> <div>
{if $type !='videos'} <!--{if $type !='videos'}
<div class="NextPrevButtons"> <div class="NextPrevButtons">
{assign var=objctid value=$object.ci_id} {assign var=objctid value=$object.ci_id}
{assign var=collid value=$object.collection_id} {assign var=collid value=$object.collection_id}
<!-- <li class="moveL"> <li class="moveL">
{assign var=preLink value=$cbphoto->collection->get_next_prev_item($objctid,$collid,'prev')} {assign var=preLink value=$cbphoto->collection->get_next_prev_item($objctid,$collid,'prev')}
<a href="{$cbphoto->photo_links($preLink.0,'view_item')}" >Previous</a> <a href="{$cbphoto->photo_links($preLink.0,'view_item')}" >Previous</a>
</li> --> </li> -->
<!-- <li class="moveR"> <!-- <li class="moveR">
{assign var=nextLink value=$cbphoto->collection->get_next_prev_item($objctid,$collid,'next')} {assign var=nextLink value=$cbphoto->collection->get_next_prev_item($objctid,$collid,'next')}
<a href="{$cbphoto->photo_links($nextLink.0,'view_item')}" >Next</a> <a href="{$cbphoto->photo_links($nextLink.0,'view_item')}" >Next</a>
</li> --> </li>
</div> </div>
{/if} {/if}-->
</div> </div>
{if $type == 'photos'} {if $type == 'photos'}
{include file="$style_dir/view_photo.html" photo=$object user=$user} {include file="$style_dir/view_photo.html" photo=$object user=$user}

View file

@ -7,7 +7,7 @@
<div> <div>
<a {if $nextLink} {assign var='nextItem' value=$nextLink} {else} {assign var='nextItem' value=$preLink} {/if} <a {if $nextLink} {assign var='nextItem' value=$nextLink} {else} {assign var='nextItem' value=$preLink} {/if}
href="{$cbphoto->photo_links($nextItem.0,'view_item')}" href="{$cbphoto->photo_links($nextItem.0,'view_item')}"
>{get_photo details=$photo size='l' class='img-responsive center-block' output='html'}</a> >{get_photo details=$photo size='l' class='img-responsive center-block' output='html' height="100"}</a>
{assign var=objctid value=$object.ci_id} {assign var=objctid value=$object.ci_id}
{assign var=collid value=$object.collection_id} {assign var=collid value=$object.collection_id}
{assign var=preLink value=$cbphoto->collection->get_next_prev_item($objctid,$collid,'prev')} {assign var=preLink value=$cbphoto->collection->get_next_prev_item($objctid,$collid,'prev')}

View file

@ -1233,9 +1233,9 @@ background-color: #f8f8f8;
width: 93.1%; width: 93.1%;
} }
.cbHomeVidTitle_slid-title{ .cbHomeVidTitle_slid-title{
font-size: 7px; font-size: 14px; #7px
margin-left: 2px; margin-left: 2px;
margin-top: -16px; margin-top: -25px; #-16px
padding: 2px 5px; padding: 2px 5px;
width: 97.8%; width: 97.8%;
} }
@ -1257,11 +1257,11 @@ background-color: #f8f8f8;
right: 15px; right: 15px;
} }
.cbHomeVidDuration_slide{ .cbHomeVidDuration_slide{
font-size: 7px; font-size: 10px; #7px
height: 18%; height: 23%; #18%
right: 2px; right: 2px;
top: 2px; top: 2px;
width: 15%; width: 25%; #15%
} }
.cbHomeVidDuration_left{ .cbHomeVidDuration_left{
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6); background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);

View file

@ -2575,17 +2575,17 @@ a:hover {
} }
.photos img{ .photos img{
height: 150px; height: 150px;
width: 100%; #width: 100%;
} }
ul#photos li{ ul#photos li{
float: left; float: left;
margin-bottom: 15px; margin-bottom: 15px;
margin-left: 15px; margin-left: 15px;
width: 28%; #width: 28%;
height: 150px; height: 150px;
} }
ul#photos li.photo-land-no{ ul#photos li.photo-land-no{
width: 18.8%; #width: 18.8%;
} }
.like { .like {
padding-left: 156px; padding-left: 156px;
@ -2637,7 +2637,7 @@ width: 18.8%;
padding-left: 30px; padding-left: 30px;
width: 100px; width: 100px;
position: absolute; position: absolute;
top: 25%; top: 5%; #25%
right: 0px; right: 0px;
left: 663px; left: 663px;
} }
@ -2645,7 +2645,7 @@ width: 18.8%;
padding-left: 4px; padding-left: 4px;
width: 100px; width: 100px;
position: absolute; position: absolute;
top: 25%; top: 5%; #25%
right: 0px; right: 0px;
left: 15px; left: 15px;
} }

View file

@ -156,4 +156,12 @@
.paddingTop{ .paddingTop{
padding-top: 10px; padding-top: 10px;
} }
.clr{
clear: both;
}
.h_200{
height: 200px;
}

View file

@ -474,3 +474,4 @@ ul{
@import 'upload.less'; @import 'upload.less';