added photo view page and the whole collections section
This commit is contained in:
parent
e9cf025df3
commit
3dbd83b3cb
21 changed files with 1095 additions and 170 deletions
8
upload/styles/cb_2014/layout/blocks/category_list.html
Normal file
8
upload/styles/cb_2014/layout/blocks/category_list.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="category_list marginTop">
|
||||
<h3 class="cat_heading">{lang code='categories'}</h3>
|
||||
<div class="categories">
|
||||
<ul class="catigoriesList">
|
||||
{cbCategories type=$type echo="TRUE" list_style="collapsed" output="a" with_all="TRUE"}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
71
upload/styles/cb_2014/layout/blocks/collection.html
Normal file
71
upload/styles/cb_2014/layout/blocks/collection.html
Normal file
|
@ -0,0 +1,71 @@
|
|||
{if $display_type == "" || $display_type == "normal"}
|
||||
|
||||
<div class="col-md-2 marginTop text-center box" id="collection_{$collection.collection_id}">
|
||||
<div class="vid_thumb">
|
||||
<a class="show" href="{$cbcollection->collection_links($collection,'view')}">
|
||||
<img class="img-thumbnail" style="height: 80px" src="{$cbcollection->get_thumb($collection,'small')}" />
|
||||
</a>
|
||||
<span class="vid_time">{$collection.total_objects|number_format} {$collection.type|capitalize}</span>
|
||||
</div>
|
||||
<div class="vid_info_wrap">
|
||||
<a href="{$cbcollection->collection_links($collection,'view')}">
|
||||
{$collection.collection_name|truncate:10}
|
||||
</a>
|
||||
<small class="show">
|
||||
<span class="show">{$collection.views} {lang code="views"}</span>
|
||||
<a class="show" href="{$userquery->profile_link($collection)}" title="{$collection.username}">
|
||||
{$collection.username|truncate:16}
|
||||
</a>
|
||||
{show_rating class='show' rating=$collection.rating ratings=$collection.rated_by total='10'}
|
||||
</small>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type == "view_collection"}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="collectItemBox">
|
||||
{if $type == "videos"}
|
||||
|
||||
<div class="the_item col-md-2 col-lg-2 col-sm-4 col-xs-6">
|
||||
<div class="onePhotoContainer">
|
||||
<div class="onePhotoTitle">
|
||||
<a href="{$cbphoto->photo_links($object,'view_item')}">{$object.video_title|truncate:15}</a>
|
||||
</div>
|
||||
|
||||
<a href="{$cbphoto->photo_links($object,'view_item')}">
|
||||
<img src="{getThumb vdetails=$object}" alt="{$object.title}" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $type == "photos"}
|
||||
<div class="the_item col-md-2 col-lg-2 col-sm-4 col-xs-6">
|
||||
<div class="onePhotoContainer">
|
||||
<div class="onePhotoTitle">
|
||||
<a href="{$cbphoto->photo_links($object,'view_item')}">{$object.video_title|truncate:15}</a>
|
||||
</div>
|
||||
|
||||
<a href="{$cbphoto->photo_links($object,'view_item')}">
|
||||
{get_photo details=$object size='t' output='html' alt=$object.photo_title}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_type == "user_collections"}
|
||||
<div class="moveL" style="width:47px; height:47px; padding:2px; margin:0 0px 0px 0px;">
|
||||
<a href="{$cbcollection->collection_links($collection,'view')}" style="width:47px; height:47px;" title="{$collection.collection_name}"><img src="{$imageurl}/dot.gif" width="47" height="47" style="background:url({$cbcollection->get_thumb($collection,'small')}) center top no-repeat;" /></a>
|
||||
</div>
|
||||
{/if}
|
|
@ -57,9 +57,43 @@
|
|||
<textarea name="comment" id="comment_text" class="form-control clearfix"></textarea>
|
||||
</div>
|
||||
<div class="form-group clearfix">
|
||||
<button type="submit" class="hidden-xs hidden-sm btn btn-primary pull-right" onclick="add_comment_js('comment_form','{$type}'){ANCHOR place='onClickAddComment'}">{lang('Comment')}</button>
|
||||
<button type="submit" class="hidden-xs hidden-sm btn btn-primary pull-right" id="addCommentButton">{lang('Comment')}</button>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
var ajaxPage = baseurl+'/ajax.php';
|
||||
$('#addCommentButton').on({
|
||||
click: function(e){
|
||||
e.preventDefault();
|
||||
var data = $(this).parents("form").serialize() + "&type={$type}&mode=add_comment";
|
||||
$.ajax({
|
||||
url: ajaxPage,
|
||||
type: "post",
|
||||
data: data,
|
||||
}).success(function(response){
|
||||
var response = $.parseJSON(response);
|
||||
var cid = parseInt(response.cid);
|
||||
if(cid !== NaN && cid !== 0 & cid !== false){
|
||||
$.ajax({
|
||||
url: ajaxPage,
|
||||
type: "post",
|
||||
data: {
|
||||
mode: "get_comment",
|
||||
cid: cid
|
||||
},
|
||||
}).success(function(comment){
|
||||
comments = $("#userCommentsList").html();
|
||||
$("#userCommentsList").html(comment + comments);
|
||||
});
|
||||
}
|
||||
});
|
||||
//add_comment_js('comment_form','{$type}');
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="hidden-lg hidden-md pl15 pr15">
|
||||
<button type="submit" class="btn btn-primary" onclick="add_comment_js('comment_form','{$type}'){ANCHOR place='onClickAddComment'}">{lang('Comment')}</button>
|
||||
</div>
|
||||
|
@ -72,11 +106,3 @@
|
|||
{/if}
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('body').on('submit','#comment_form',function(e){
|
||||
e.preventDefault();
|
||||
add_comment_js('comment_form','{$type}');
|
||||
})
|
||||
})
|
||||
</script>
|
|
@ -5,6 +5,26 @@
|
|||
{assign var='comment_attr' value=''}
|
||||
{assign var='spam_attr' value='style="display:none"'}
|
||||
{/if}
|
||||
<li>
|
||||
<div class="row">
|
||||
<div class="col-md-11">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
{$user_link='#'}
|
||||
{if $comment.username}{$user_link=$userquery->profile_link($comment)}{/if}
|
||||
<a href="{$user_link}">
|
||||
<img class="img-thumbnail" src="http://lorempixel.com/output/people-q-c-40-40-7.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<a class="commentorName" href="{$user_link}">{name($comment)}</a>
|
||||
<p>{$comment.comment|comment}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{*
|
||||
|
||||
<div id="comment_{$comment.comment_id}" class="cb-item-comment" {$comment_attr}>
|
||||
<img src="{$userquery->getuserthumb($comment)}" class="img-circle cb-comment-author-img" />
|
||||
|
@ -64,4 +84,5 @@
|
|||
{if has_access('admin_del_access') || $comment.userid==userid() || $comment.type_owner_id==userid()}
|
||||
| <a href="javascript:void(0)" onclick="delete_comment('{$comment.comment_id}')">{lang code='delete'}</a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
*}
|
|
@ -17,11 +17,11 @@
|
|||
<div class="cb-item-rating-new pull-right">
|
||||
<span class="cb-rating-span pull-left cb-rating-up" {if !$disable} onclick="rate('{$id}','5','{$type}')"{/if} onMouseOver="rating_over('Like this {$type}','{$disable}')" onmouseout="rating_out('{$likes} Likes, {$dislikes} Dislikes','{$disable}')">
|
||||
<i class="glyphicon glyphicon-thumbs-up"></i>
|
||||
<!-- <span class="cb-rating-digit">{$likes|number_format}</span> -->
|
||||
<span class="cb-rating-digit">{$likes|number_format}</span>
|
||||
</span>
|
||||
<span class="cb-rating-span pull-left cb-rating-down" {if !$disable} onclick="rate('{$id}','1','{$type}')"{/if} onMouseOver="rating_over('Dislike this {$type}','{$disable}')" onmouseout="rating_out('{$likes} Likes, {$dislikes} Dislikes','{$disable}')">
|
||||
<!-- <span class="cb-rating-digit">{if $dislikes}-{/if}{$dislikes|number_format}</span> -->
|
||||
<i class="glyphicon glyphicon-thumbs-down"></i>
|
||||
<span class="cb-rating-digit">{if $dislikes}-{/if}{$dislikes|number_format}</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
|
@ -1,9 +1,9 @@
|
|||
<!-- Flag This {$type} -->
|
||||
<div id="flag_item" class="action_box" style="">
|
||||
<div class="form_container" align="center">
|
||||
<div id="flag_item" class="action_box" style="display:none">
|
||||
<div class="form_container">
|
||||
<div class="form_result" id="flag_form_result" style="display:none"></div>
|
||||
|
||||
<form id="flag_form" name="flag_form" method="post" action="" class="">
|
||||
<form id="flag_form" name="flag_form" method="post" action="#">
|
||||
<div class="alert alert-info">
|
||||
{sprintf(lang("Please select the category that most closely reflects your concern about the %s, so that we can review it and determine whether it violates our Community Guidelines or isn't appropriate for all viewers. Abusing this feature is also a violation of the Community Guidelines, so don't do it."),$params.type)}
|
||||
</div>
|
||||
|
|
107
upload/styles/cb_2014/layout/blocks/manage/account_collections.html
Executable file
107
upload/styles/cb_2014/layout/blocks/manage/account_collections.html
Executable file
|
@ -0,0 +1,107 @@
|
|||
{if $mode ==''}{assign var='mode' value='manage'}{/if}
|
||||
{if $display_type == "" || $display_type == "collections"}
|
||||
|
||||
<tr style="font-size: 0.9em">
|
||||
<td width="25">
|
||||
<input type="checkbox" name="check_col[]" id="check_col-{$collection.collection_id}" value="{$collection.collection_id}" />
|
||||
<label for="checkbox"></label>
|
||||
</td>
|
||||
<td>
|
||||
<p>{$collection.collection_name}</p>
|
||||
<div class="btn-group show">
|
||||
<a class="btn btn-primary btn-sm" href="{$cbcollection->collection_links($collection,'view')}">
|
||||
{lang code="view"}
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="?mode=edit_collection&cid={$collection.collection_id}">
|
||||
{lang("edit")}
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="?mode=manage_items&cid={$collection.collection_id}&type={$collection.type}">
|
||||
{lang("manage_items")}
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onmousedown="delete_item('delete_coll','{$collection.collection_id}','{lang code="confirm_collection_delete"}','?mode={$mode}&delete_collection={$collection.collection_id}');" id="delete_coll-{$collection.collection_id}">
|
||||
{lang("delete")}
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
<td width="100">{$collection.date_added|date_format}</td>
|
||||
<td width="100">{$collection.views|number_format}</td>
|
||||
<td width="100">{$collection.total_objects|number_format}</td>
|
||||
<td width="100">{$collection.type}</td>
|
||||
<td width="100" class="last_td">{$collection.active}</td>
|
||||
</tr>
|
||||
|
||||
{/if}
|
||||
|
||||
{if $display_type == "items"}
|
||||
{if $type == "videos"}
|
||||
<div id="collectionItem_{$collection.videoid}" class="account_vid_list" style="background-color:#{$bg}">
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="check_item[]" id="check_item-{$collection.videoid}" value="{$collection.videoid}" />
|
||||
<label for="checkbox"></label></td>
|
||||
<td valign="middle">
|
||||
<div style="padding-left:10px; float:left;width:300px">
|
||||
<label for="check_item-{$collection.videoid}"> <img src="{getThumb vdetails=$collection}" width="40" height="30" border="0" class="acc_usr_video_thumb" /></label>{$collection.title|truncate:100}<br />
|
||||
<span class="video_control"><a href="{$cbcollection->collection_links($collection,'view_item')}">{lang code="view"}</a></span>
|
||||
</div>
|
||||
</td>
|
||||
<td width="100">{$collection.date_added|date_format}</td>
|
||||
<td width="100">{$collection.views|number_format}</td>
|
||||
<td width="100">
|
||||
<a onclick="collection_actions('collectionItem','remove_collection_item','{$collection.videoid}','#removeItemContainer','{$type}','{$c.collection_id}')" id="collectionItem{$collection.videoid}" href="javascript:void(0);"><img src="{$imageurl}/cancel.png" width="16" height="16" /></a>
|
||||
<div id="removeItemContainer_{$collection.videoid}" style="display:none"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $type == "photos"}
|
||||
<div id="collectionItem_{$collection.photo_id}" class="account_vid_list" style="background-color:#{$bg}">
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="check_item[]" id="check_item-{$collection.photo_id}" value="{$collection.photo_id}" />
|
||||
<label for="checkbox"></label></td>
|
||||
<td valign="middle">
|
||||
<div style="padding-left:10px; float:left;">
|
||||
<label for="check_item-{$collection.photo_id}">{get_photo style='padding:1px; border:1px solid #999; float:left;' details=$collection output="html"}</label>
|
||||
{$collection.photo_title|truncate:100}<br />
|
||||
<span class="video_control"><a href="{$cbphoto->photo_links($collection,'view_item')}">{lang code="view"}</a></span>
|
||||
</div>
|
||||
</td>
|
||||
<td width="100">{$collection.date_added|date_format}</td>
|
||||
<td width="100">{$collection.views|number_format}</td>
|
||||
<td width="100">
|
||||
<a onclick="collection_actions('collectionItem','remove_collection_item','{$collection.photo_id}','#removeItemContainer','{$type}','{$c.collection_id}')" id="collectionItem{$collection.photo_id}" href="javascript:void(0);"><img src="{$imageurl}/cancel.png" width="16" height="16" /></a>
|
||||
<div id="removeItemContainer_{$collection.photo_id}" style="display:none"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{if $display_type == "favorite"}
|
||||
|
||||
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="check_col[]" id="check_col-{$collection.collection_id}" value="{$collection.collection_id}" />
|
||||
</td>
|
||||
<td valign="middle">
|
||||
<label for="check_col-{$collection.collection_id}">
|
||||
<img src="{$cbcollection->get_thumb($collection,'small',TRUE)}" border="0" class="acc_usr_video_thumb" />
|
||||
</label>
|
||||
{$collection.collection_name}
|
||||
<div class="btn-group show">
|
||||
<a class="btn btn-primary btn-sm" href="{$cbcollection->collection_links($collection,'view')}">{lang code="view"}</a>
|
||||
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onmousedown="delete_item('delete_coll','{$collection.collection_id}','{lang code="Are you sure you want to remove this collection from favorites?"}','?mode={$mode}&remove_fav_collection={$collection.collection_id}');" id="delete_coll-{$collection.collection_id}">
|
||||
{lang code="remove"}
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
<td width="100">{$collection.date_added|date_format}</td>
|
||||
<td width="100">{$collection.type}</td>
|
||||
<td width="100" class="last_td">{$collection.views|number_format}</td>
|
||||
</tr>
|
||||
|
||||
{/if}
|
38
upload/styles/cb_2014/layout/blocks/manage/account_group.html
Executable file
38
upload/styles/cb_2014/layout/blocks/manage/account_group.html
Executable file
|
@ -0,0 +1,38 @@
|
|||
{if $control =='full'}
|
||||
<div class="account_vid_list" style="background-color:#{$bg}">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="check_gid[]" id="check_gid-{$group.group_id}" value="{$group.group_id}" />
|
||||
<label for="checkbox"></label></td>
|
||||
<td valign="middle">
|
||||
<div style="padding-left:10px; float:left;width:290px">
|
||||
<img src="{$cbgroup->get_group_thumb($group,small)}" width="40" height="30" border="0" class="acc_usr_video_thumb" />{$group.group_name|truncate:100}<br />
|
||||
<span class="video_control"><a href="{group_link details=$group}">{lang code='view'}</a> - <a href="{$baseurl}/edit_group.php?gid={$group.group_id}">{lang code='edit'}</a>- <a href="{$baseurl}/manage_groups.php?mode=manage_members&gid={$group.group_id}">{lang code='manage'}</a> - <a href="javascript:void(0)" onmousedown="delete_item('delete_icon_a','{$group.group_id}','{lang code='are_you_sure_rm_grp'}','?mode=manage&gid_delete={$group.group_id}')" id="delete_icon_a-{$group.group_id}">{lang code='delete'}</a></span>
|
||||
<div class="clearfix"></div></div></td>
|
||||
<td width="100">{$group.date_added|date_format}</td>
|
||||
<td width="100">{$group.total_members|number_format}</td>
|
||||
<td width="100">{$group.total_topics|number_format}</td>
|
||||
<td width="100" class="last_td">{$group.active}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $control =='basic'}
|
||||
<div class="account_vid_list" style="background-color:#{$bg}">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="check_gid[]" id="check_gid-{$group.group_id}" value="{$group.group_id}" />
|
||||
<label for="checkbox"></label></td>
|
||||
<td valign="middle">
|
||||
<div style="padding-left:10px; float:left;width:290px">
|
||||
<img src="{$cbgroup->get_group_thumb($group,small)}" width="40" height="30" border="0" class="acc_usr_video_thumb" />{$group.group_name|truncate:100}<br />
|
||||
<span class="video_control"><a href="{group_link details=$group}">{lang code='view'}</a></span>
|
||||
<div class="clearfix"></div></div></td>
|
||||
<td width="100">{$group.date_added|date_format}</td>
|
||||
<td width="100">{$group.total_members|number_format}</td>
|
||||
<td width="100">{$group.total_topics|number_format}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
27
upload/styles/cb_2014/layout/blocks/manage/account_head.html
Executable file
27
upload/styles/cb_2014/layout/blocks/manage/account_head.html
Executable file
|
@ -0,0 +1,27 @@
|
|||
<div class="alert alert-info">
|
||||
<span class="messages">{lang code='messages'}</span>
|
||||
{$cbpm->get_new_messages()}
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<img src="{$userquery->getUserThumb($user)}" alt="{$user.username}" class="img-thumbnail show">
|
||||
<a href="{$userquery->profile_link($user)}">{lang code='com_view_channel'}</a>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<table class="table table-bordered table-striped" style="font-size:0.9em;">
|
||||
<tr><td>{lang code='username'}</td><td>{$user.username}</td></tr>
|
||||
<tr><td>{lang code='joined'}</td><td>{$user.doj|date_format}</td></tr>
|
||||
<tr><td>{lang code='last_logged_in'}</td><td>{$user.last_logged|nicetime}</td></tr>
|
||||
<tr><td>{lang code='total_logins'}</td><td>{$user.num_visits|number_format}</td></tr>
|
||||
<tr><td>{lang code='profile_views'}</td><td>{$user.profile_hits|number_format}</td></tr>
|
||||
<tr><td>{lang code='total_videos'}</td><td>{$user.total_videos|number_format}</td></tr>
|
||||
<tr><td>{lang code='total_videos_watched'}</td><td>{$user.total_watched|number_format}</td></tr>
|
||||
<tr><td>{lang code='total_collections'}</td><td>{$user.total_collections|number_format}</td></tr>
|
||||
<tr><td>{lang code='total_photos'}</td><td>{$user.total_photos|number_format}</td></tr>
|
||||
<tr><td>{lang code='comments_made'}</td><td>{$user.total_comments|number_format}</td></tr>
|
||||
<tr><td>{lang code='subscribers'}</td><td>{$user.subscribers|number_format}</td></tr>
|
||||
{assign var=category value=$userquery->get_category($user.category)}
|
||||
<tr><td>{lang code='category'}</td><td>{$category.category_name}</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
34
upload/styles/cb_2014/layout/blocks/manage/account_left.html
Executable file
34
upload/styles/cb_2014/layout/blocks/manage/account_left.html
Executable file
|
@ -0,0 +1,34 @@
|
|||
{$topMenuLinks = array_slice($myAccountLinks, 0, 6)}
|
||||
<div class="userAccountMenu navbar navbar-default cb-box">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<div class="userPicContainer">
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src="http://cb.dev/images/avatars/no_avatar.png" alt="">
|
||||
My Account
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav">
|
||||
{foreach $topMenuLinks as $key => $value}
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{$key}<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
{foreach $value as $subKey => $subValue}
|
||||
<li><a href="{$subValue}">{$subKey}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-info" href="{$userquery->profile_link($userquery->udetails)}">{lang code='com_my_channel'}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
23
upload/styles/cb_2014/layout/blocks/manage/account_user.html
Executable file
23
upload/styles/cb_2014/layout/blocks/manage/account_user.html
Executable file
|
@ -0,0 +1,23 @@
|
|||
<div class="manage_contacts_tbl">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="15"><input type="checkbox" name="users[]" id="check_userd-{$user.userid}" value="{$user.userid}" /></td>
|
||||
<td width="50" height="50" align="center" valign="middle"><a href="{$userquery->profile_link($user)}"><img src="{$userquery->getUserThumb($user)}" alt="{$user.username}" width="40" height="40" border="0"></a></td>
|
||||
<td><a href="{$userquery->profile_link($user)}">{$user.username}</a>
|
||||
{assign var=uid value=$user.userid}
|
||||
{if ($makeAdmin=='yes' || $rmAdmins.$uid=='yes') && $makeAdmins.$uid!='yes'}
|
||||
<span class="cb_fb_style_button" style="margin-left:10px"><a href="{$queryString}make_admin={$user.userid}">Make admin</a></span>
|
||||
{/if}
|
||||
{if ($removeAdmin=='yes' || $makeAdmins.$uid=='yes') && $rmAdmins.$uid!='yes'}
|
||||
<span class="cb_fb_style_button" style="margin-left:10px"><a href="{$queryString}remove_admin={$user.userid}">Remove admin</a></span>
|
||||
{/if}
|
||||
</td>
|
||||
<td width="100">{$user.profile_hits|number_format}</td>
|
||||
<td width="100">{$status}
|
||||
</td>
|
||||
<td width="50" align="center" valign="middle">{if $del_link}<a href="{$del_link}"><img src="{$imageurl}/cancel.png" width="16" height="16" border="0" /></a>{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
95
upload/styles/cb_2014/layout/blocks/manage/account_video.html
Executable file
95
upload/styles/cb_2014/layout/blocks/manage/account_video.html
Executable file
|
@ -0,0 +1,95 @@
|
|||
{if $control=='' || $control =='view'}
|
||||
{if $mode ==''}{assign var='mode' value='favorites'}{/if}
|
||||
<div class="account_vid_list" style="background-color:#{$bg}">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="check_vid[]" id="check_vid-{$video.videoid}" value="{$video.videoid}" />
|
||||
<label for="checkbox"></label></td>
|
||||
<td valign="middle">
|
||||
<div style="padding-left:10px; float:left;width:300px">
|
||||
<img src="{getThumb vdetails=$video}" width="40" height="30" border="0" class="acc_usr_video_thumb" />{$video.title|truncate:100}<br />
|
||||
<span class="video_control"><a href="{videoLink vdetails=$video}">{lang code='view'}</a> - <a href="javascript:void(0)" onmousedown="delete_video('delete_icon_a','{$video.videoid}','{lang code="remove_fav_video_confirm"}','?mode={$mode}&vid_delete={$video.videoid}')" id="delete_icon_a-{$video.videoid}">{lang code='delete'}</a></span>
|
||||
<div class="clearfix"></div></div>
|
||||
<a href="javascript:void(0)" onmousedown="delete_video('delete_icon','{$video.videoid}','{lang code="remove_fav_video_confirm"}','?mode={$mode}&vid_delete={$video.videoid}')" id="delete_icon-{$video.videoid}"><img src="{$imageurl}/dot.gif" border="0" class="delete_icon" /></a>
|
||||
</td>
|
||||
<td width="100">{$video.date_added|date_format}</td>
|
||||
<td width="100">{$video.views|number_format}</td>
|
||||
<td width="100" class="last_td">{$video.comments_count|number_format}</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $control =='full'}
|
||||
<div class="account_vid_list" style="background-color:#{$bg}">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="check_vid[]" id="check_vid-{$video.videoid}" value="{$video.videoid}" />
|
||||
<label for="checkbox"></label></td>
|
||||
<td valign="middle">
|
||||
<div style="padding-left:10px; float:left;width:320px">
|
||||
<img src="{getThumb vdetails=$video}" width="40" height="30" border="0" class="acc_usr_video_thumb" /><div>{$video.title|truncate:100}</div>
|
||||
<span class="video_control"><a href="{videoLink vdetails=$video}">view</a> - <a href="{$baseurl}/edit_video.php?vid={$video.videoid}">edit</a> - <a href="javascript:void(0)" onmousedown="delete_video('delete_icon_a','{$video.videoid}','{lang code="confirm_del_video"}','?mode=uploaded&vid_delete={$video.videoid}')" id="delete_icon_a-{$video.videoid}">delete</a> -
|
||||
|
||||
{if !$userquery->isProfileItem($video.videoid,'v')}
|
||||
<a href="{$queryString}makeProfileItem={$video.videoid}&type=v">{lang code='make_profile_item'}</a>
|
||||
{else}
|
||||
<a href="{$queryString}removeProfileItem={$video.videoid}&type=v">{lang code='remove_profile_item'}</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
<div class="clearfix"></div></div>
|
||||
|
||||
</td>
|
||||
<td width="100">{$video.date_added|date_format}</td>
|
||||
<td width="100">{$video.views|number_format}</td>
|
||||
<td width="100">{$video.comments_count}</td>
|
||||
<td width="100" class="last_td">{$video.status|lang}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
{if $control=='playlist'}
|
||||
|
||||
<div class="account_vid_list" style="background-color:#{$bg}">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="check_playlist_items[]" id="check_vid-{$video.playlist_item_id}" value="{$video.playlist_item_id}" />
|
||||
<label for="checkbox"></label></td>
|
||||
<td valign="middle">
|
||||
<div style="padding-left:10px; float:left;width:300px">
|
||||
<img src="{getThumb vdetails=$video}" width="40" height="30" border="0" class="acc_usr_video_thumb" />{$video.title|truncate:100}<br />
|
||||
<span class="video_control"><a href="{videoLink vdetails=$video}">view</a> - <a 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}&delete_item={$video.playlist_item_id}')" id="delete_icon_a-{$video.playlist_item_id}">delete</a></span>
|
||||
<div class="clearfix"></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}&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 width="100">{$video.date_added|date_format}</td>
|
||||
<td width="100">{$video.views|number_format}</td>
|
||||
<td width="100">{$video.comments_count|number_format}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
{if $control=='basic'}
|
||||
|
||||
<div class="account_vid_list" style="background-color:#{$bg}">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="check_vid[]" id="check_vid-{$video.videoid}" value="{$video.videoid}" />
|
||||
<label for="checkbox"></label></td>
|
||||
<td valign="middle">
|
||||
<div style="padding-left:10px; float:left;width:300px">
|
||||
<a href="{videoLink vdetails=$video}"><img src="{getThumb vdetails=$video}" width="40" height="30" border="0" class="acc_usr_video_thumb" />{$video.title|truncate:100}</a><br />
|
||||
<div class="clearfix"></div></div></td>
|
||||
<td width="100">{$video.date_added|date_format}</td>
|
||||
<td width="100">{$video.views|number_format}</td>
|
||||
<td width="100">{$video.comments_count|number_format}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
16
upload/styles/cb_2014/layout/blocks/manage/group_manage_links.html
Executable file
16
upload/styles/cb_2014/layout/blocks/manage/group_manage_links.html
Executable file
|
@ -0,0 +1,16 @@
|
|||
<div class="grp_manage_links">
|
||||
<ul>
|
||||
<li><a href="{$baseurl}/edit_group.php?gid={$group.group_id}">{lang code='grp_edit_grp_title'}</a></li>
|
||||
<li><a href="{group_link details=$group}">{lang code='view_group'}</a></li>
|
||||
<li><a href="{$baseurl}/manage_groups.php?mode=manage_members&gid={$group.group_id}">
|
||||
{lang code='grp_manage_mems'}</a></li>
|
||||
<li><a href="{$baseurl}/manage_groups.php?mode=manage_videos&gid={$group.group_id}">{lang code='com_manage_vids'}</a></li>
|
||||
|
||||
{if $group.userid == userid()}
|
||||
<li><a href="javascript:void(0)" onClick="
|
||||
if (confirm('{lang code='are_you_sure_del_grp'}'))
|
||||
document.location = '{$baseurl}/manage_groups.php??mode=delete&gid={$group.group_id}';">{lang code='grp_del_group_title'}</a></li>
|
||||
{/if}
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
4
upload/styles/cb_2014/layout/blocks/new_pagination.html
Normal file
4
upload/styles/cb_2014/layout/blocks/new_pagination.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
{if $page_no}{assign var=ajaxPage value=$page_no}{else}{assign var=ajaxPage value=2}{/if}
|
||||
<div class="NextPrevButtons clearfix text-right">
|
||||
<button class="btn btn-primary" onClick="pagination(this,'{$cid}','{$type}','{$ajaxPage}');" type="button">Load More</button>
|
||||
</div>
|
|
@ -36,7 +36,6 @@
|
|||
<a href="{$cbphoto->photo_links($photo,'view_item')}">{get_photo details=$photo output='html' width='120' class='photoThumbBox moveL' style='margin-right:5px;'}</a>
|
||||
<div class="photoTitle" style="margin-bottom:5px;"><a href="{$cbphoto->photo_links($photo,'view_item')}" title="{$photo.photo_title}">{$photo.photo_title|truncate:15}</a></div>
|
||||
<span class="photoInfo">{$photo.views|number_format} {lang code="views"} <br/> {$photo.total_comments} {lang code="comments"}</span>
|
||||
<div style="height:5px;"></div>
|
||||
{show_rating rating=$photo.rating total='10' class='rating moveL'}
|
||||
</div>
|
||||
{/if}
|
||||
|
|
54
upload/styles/cb_2014/layout/collections.html
Normal file
54
upload/styles/cb_2014/layout/collections.html
Normal file
|
@ -0,0 +1,54 @@
|
|||
<div class="container">
|
||||
<div class="cb-box">
|
||||
<div class="row">
|
||||
<div class="col-md-2 marginTop">
|
||||
{include file="$style_dir/blocks/category_list.html" type='collections'}
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<div class="row">
|
||||
<h2 class="col-md-9">Collections</h2>
|
||||
<div class="show col-md-3">
|
||||
<a class="btn btn-success paddingTop marginBottom" href="{$baseurl}/manage_collections.php?mode=add_new">
|
||||
{lang code='add_new_collection'}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-primary btn-sm disabled" href="#">{lang code='sort_by'}</a>
|
||||
{assign var=sorting_links value=$cbcollection->sorting_links()}
|
||||
{foreach from=$sorting_links item=name key=sort}
|
||||
<a {if $smarty.get.sort==$sort} class="btn btn-primary btn-sm selected"{else} class="btn btn-primary btn-sm"{/if} href="{link name=sort sort=$sort type='collections'}">{$name}</a>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btn-group show clearfix">
|
||||
{assign var=time_links value=time_links()}
|
||||
{foreach from=$time_links item=name key=sort name=times}
|
||||
<a href="{link name=time sort=$sort type='collections'}" {if $smarty.get.time==$sort} class="btn btn-primary btn-xs selected"{else} class="btn btn-primary btn-xs"{/if}>
|
||||
{$name}
|
||||
</a>
|
||||
{if !$smarty.foreach.times.last}{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
{section name=c_list loop=$collections}
|
||||
{include file="$style_dir/blocks/collection.html" collection=$collections[c_list]}
|
||||
{sectionelse}
|
||||
{lang code='no_results_found'}
|
||||
{/section}
|
||||
</div>
|
||||
</div>
|
||||
<div class="vert_add_box">
|
||||
<div style="width:160px; margin:auto; margin-top:5px">
|
||||
{AD place='ad_160x600'}
|
||||
</div>
|
||||
</div>
|
||||
{include file="$style_dir/blocks/pagination.html"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
182
upload/styles/cb_2014/layout/manage_collections.html
Normal file
182
upload/styles/cb_2014/layout/manage_collections.html
Normal file
|
@ -0,0 +1,182 @@
|
|||
{$myAccountLinks = $userquery->my_account_links()}
|
||||
<div class="container">
|
||||
{include file="$style_dir/blocks/manage/account_left.html"}
|
||||
{$leftMenuLinks = array_slice($myAccountLinks, 7)}
|
||||
<div class="marginBottom">
|
||||
<div class="row">
|
||||
<div class="leftSidebar col-md-3 cb-box">
|
||||
<ul class="">
|
||||
{foreach $leftMenuLinks as $key => $value}
|
||||
<li class="">
|
||||
<a href="#" class="" data-toggle="dropdown">{$key}</a>
|
||||
<ul class="">
|
||||
{foreach $value as $subKey => $subValue}
|
||||
<li><a href="{$subValue}">{$subKey}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="cb-box">
|
||||
{*include file="$style_dir/blocks/manage/account_head.html" user=$user*}
|
||||
<form action="" method="post" class="upload_form" name="form1" enctype="multipart/form-data">
|
||||
{if $mode == "manage" || $mode == ""}
|
||||
<h2>{lang code='manage_collections'}</h2>
|
||||
<div style="">
|
||||
<img src="{$imageurl}/dot.gif" class="arrow_pointing" />
|
||||
<input type="submit" name="delete_selected" id="delete_selected" value="{lang code='delete'}" class="btn btn-danger" />
|
||||
</div>
|
||||
<div class="marginTop">
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/>
|
||||
</td>
|
||||
<td>{lang code='collection_name'}</td>
|
||||
<td width="100">{lang code='date_added'}</td>
|
||||
<td width="100">{lang code='views'}</td>
|
||||
<td width="100">{lang code='total_items'}</td>
|
||||
<td width="100">{lang code='type'}</td>
|
||||
<td width="100" class="last_td">{lang code='active'}</td>
|
||||
</tr>
|
||||
|
||||
{section loop=$usr_collects name=clist}
|
||||
{include file="$style_dir/blocks/manage/account_collections.html" collection=$usr_collects[clist]}
|
||||
{sectionelse}
|
||||
<div>
|
||||
{lang code="no_collection_found"}
|
||||
</div>
|
||||
{/section}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{include file="$style_dir/blocks/manage/user_account_pagination.html"}
|
||||
{/if}
|
||||
|
||||
{if $mode == "edit_collection"}
|
||||
<h2>{lang code='update_collection'}</h2>
|
||||
<input type="hidden" value="{$c.collection_id}" name="collection_id" id="collection_id" />
|
||||
<div class="upload_info">
|
||||
<div class="account_form">
|
||||
{foreach from=$fields item=field}
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{if $field.hint_1}<div class="hint">{$field.hint_1}</div>{/if}
|
||||
{ANCHOR place=$field.anchor_before}
|
||||
{$field.class="form-control"}
|
||||
{$formObj->createField($field)}
|
||||
{if $field.hint_2}
|
||||
<div class="hint">{$field.hint_2}</div>{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
{foreach from=$other_fields item=field}
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}" class="show">{$field.title}</label>
|
||||
{if $field.hint_1}<div class="hint">{$field.hint_1}</div>{/if}
|
||||
{$field.label_class='radio-inline'}
|
||||
{$field.notShowSeprator=true}
|
||||
{$formObj->createField($field)}
|
||||
{if $field.hint_2}
|
||||
<small>{$field.hint_2}</small>{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<input type="submit" name="update_collection" class="btn btn-primary btn-lg" value="{lang code='update_collection'}">
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $mode == "add_new"}
|
||||
<h2>{lang code='add_new_collection'}</h2>
|
||||
<div class="upload_info">
|
||||
<div class="account_form">
|
||||
{foreach from=$fields item=field}
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{if $field.hint_1}<div class="hint">{$field.hint_1}</div>{/if}
|
||||
{ANCHOR place=$field.anchor_before}
|
||||
{$field.class="form-control"}
|
||||
{$formObj->createField($field)}
|
||||
{if $field.hint_2}
|
||||
<div class="hint">{$field.hint_2}</div>{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
{foreach from=$other_fields item=field}
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}" class="show">{$field.title}</label>
|
||||
{if $field.hint_1}<div class="hint">{$field.hint_1}</div>{/if}
|
||||
{$field.label_class='radio-inline'}
|
||||
{$field.notShowSeprator=true}
|
||||
{$formObj->createField($field)}
|
||||
{if $field.hint_2}
|
||||
<small>{$field.hint_2}</small>{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<input type="submit" name="add_collection" class="btn btn-primary btn-lg" value="{lang code='add_new_collection'}">
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $mode == "manage_items" || $mode == "collection_items"}
|
||||
<h2>{lang code='manage_items'} - {$c.collection_name}</h2>
|
||||
<div>
|
||||
<img src="{$imageurl}/dot.gif" class="arrow_pointing" style="margin-right:10px;" />
|
||||
<input type="submit" name="delete_selected" id="delete_selected" value="{lang code='delete'}" class="small_button" />
|
||||
</div>
|
||||
<div>
|
||||
<table class="table table-striped table-bordered">
|
||||
<tr>
|
||||
<td width="25"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/>
|
||||
</td>
|
||||
<td>{lang code='title'}</td>
|
||||
<td width="100" align="center">{lang code='date_added'}</td>
|
||||
<td width="100" align="center">{lang code='views'}</td>
|
||||
<td width="100" class="last_td" align="center">{lang code='remove'}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{section loop=$objs name=olist}
|
||||
{include file="$style_dir/blocks/manage/account_collections.html" display_type="items" collection=$objs[olist]}
|
||||
{sectionelse}
|
||||
<div align="center" style="font:bold 11px Tahoma; margin-top:5px;">{lang code="no_items_found_in_collect"}</div>
|
||||
{/section}
|
||||
{/if}
|
||||
|
||||
{if $mode == "favorite"}
|
||||
<h2>{lang code="manage_favorite_collections"}</h2>
|
||||
<div>
|
||||
<img src="{$imageurl}/dot.gif" class="arrow_pointing" style="margin-right:10px;" />
|
||||
<input type="submit" name="remove_selected_favs" id="remove_selected_favs" value="{lang code='remove'}" class="btn btn-danger" />
|
||||
</div>
|
||||
<div class="marginTop">
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr>
|
||||
<td width="25">
|
||||
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/>
|
||||
</td>
|
||||
<td>{lang code='title'}</td>
|
||||
<td width="100">{lang code='date_added'}</td>
|
||||
<td width="100" class="last_td">{lang code='type'}</td>
|
||||
<td width="100" class="last_td">{lang code='views'}</td>
|
||||
</tr>
|
||||
{section loop=$collections name=list}
|
||||
{include file="$style_dir/blocks/manage/account_collections.html" display_type="favorite" collection=$collections[list]}
|
||||
{sectionelse}
|
||||
<div align="center" style="font:bold 11px Tahoma; margin:5px 0px;">{lang code="you_dont_have_fav_collections"}
|
||||
</div>
|
||||
{/section}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{include file="$style_dir/blocks/manage/user_account_pagination.html"}
|
||||
{/if}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -2,41 +2,9 @@
|
|||
{$topMenuLinks = array_slice($myAccountLinks, 0, 6)}
|
||||
{$leftMenuLinks = array_slice($myAccountLinks, 7)}
|
||||
<div class="container">
|
||||
<div class="userAccountMenu navbar navbar-default cb-box">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<div class="userPicContainer">
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src="http://cb.dev/images/avatars/no_avatar.png" alt="">
|
||||
My Account
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav">
|
||||
{foreach $topMenuLinks as $key => $value}
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{$key}<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
{foreach $value as $subKey => $subValue}
|
||||
<li><a href="{$subValue}">{$subKey}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-info" href="{$userquery->profile_link($userquery->udetails)}">{lang code='com_my_channel'}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{include file="$style_dir/blocks/manage/account_left.html"}
|
||||
<div class="row">
|
||||
<div class="leftSidebar col-md-3 cb-box ">
|
||||
<div class="leftSidebar col-md-3 cb-box">
|
||||
<ul class="">
|
||||
{foreach $leftMenuLinks as $key => $value}
|
||||
<li class="">
|
||||
|
@ -52,33 +20,7 @@
|
|||
</div>
|
||||
<div class="mainContent col-md-9">
|
||||
<div class="cb-box">
|
||||
<div class="alert alert-info">
|
||||
<span class="messages">{lang code='messages'}</span>
|
||||
{$cbpm->get_new_messages()}
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<img src="{$userquery->getUserThumb($user)}" alt="{$user.username}" class="img-thumbnail show">
|
||||
<a href="{$userquery->profile_link($user)}">{lang code='com_view_channel'}</a>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<ul>
|
||||
<li><span>{lang code='username'} : <strong>{$user.username}</strong></span></li>
|
||||
<li><span>{lang code='joined'} : <strong>{$user.doj|date_format}</strong></span></li>
|
||||
<li><span>{lang code='last_logged_in'} : <strong>{$user.last_logged|nicetime}</strong></span></li>
|
||||
<li><span>{lang code='total_logins'} : <strong>{$user.num_visits|number_format}</strong></span></li>
|
||||
<li><span>{lang code='profile_views'} : <strong>{$user.profile_hits|number_format}</strong></span></li>
|
||||
<li><span>{lang code='total_videos'} : <strong>{$user.total_videos|number_format}</strong></span></li>
|
||||
<li><span>{lang code='total_videos_watched'} : <strong>{$user.total_watched|number_format}</strong></span></li>
|
||||
<li><span>{lang code='total_collections'} : <strong>{$user.total_collections|number_format}</strong></span></li>
|
||||
<li><span>{lang code='total_photos'} : <strong>{$user.total_photos|number_format}</strong></span></li>
|
||||
<li><span>{lang code='comments_made'} : <strong>{$user.total_comments|number_format}</strong></span></li>
|
||||
<li><span>{lang code='subscribers'} : <strong>{$user.subscribers|number_format}</strong></span></li>
|
||||
{assign var=category value=$userquery->get_category($user.category)}
|
||||
<li><span>{lang code='category'} : <strong>{$category.category_name}</strong></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{include file="$style_dir/blocks/manage/account_head.html" user=$user}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
223
upload/styles/cb_2014/layout/view_collection.html
Normal file
223
upload/styles/cb_2014/layout/view_collection.html
Normal file
|
@ -0,0 +1,223 @@
|
|||
<div class="container">
|
||||
<div class="cb-box marginBottom">
|
||||
{literal}
|
||||
<script>
|
||||
function become_contributor(cid,uid){
|
||||
|
||||
$.post(page,
|
||||
{
|
||||
mode : 'become_contributor',
|
||||
cid : cid,
|
||||
uid : uid
|
||||
},
|
||||
function(data)
|
||||
{
|
||||
if(!data)
|
||||
alert("No data");
|
||||
else
|
||||
{
|
||||
|
||||
if(data.msg)
|
||||
{
|
||||
|
||||
$('#btn-become-contributor').hide();
|
||||
$('#btn-remove-contributor').show();
|
||||
|
||||
alert(data.msg);
|
||||
|
||||
}
|
||||
if(data.err)
|
||||
alert(data.err);
|
||||
}
|
||||
},'json');
|
||||
}
|
||||
|
||||
|
||||
function remove_contributor(cid,uid){
|
||||
|
||||
$.post(page,
|
||||
{
|
||||
mode : 'remove_contributor',
|
||||
cid : cid,
|
||||
uid : uid
|
||||
},
|
||||
function(data)
|
||||
{
|
||||
if(!data)
|
||||
alert("No data");
|
||||
else
|
||||
{
|
||||
|
||||
if(data.msg)
|
||||
{
|
||||
|
||||
|
||||
$('#btn-become-contributor').show();
|
||||
$('#btn-remove-contributor').hide();
|
||||
|
||||
alert(data.msg);
|
||||
}
|
||||
if(data.err)
|
||||
alert(data.err);
|
||||
}
|
||||
},'json');
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<!-- Defining object type-->
|
||||
{lang code='collection' assign='object_type'}
|
||||
|
||||
<div>
|
||||
{uploadButton details=$c output='link' target="_blank" class='btn btn-primary btn-lg'}
|
||||
<h2 class="video_title">{$c.collection_name} </h2>
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-primary btn-sm disabled" href="#">{lang code="by"|capitalize}</a>
|
||||
<a class="btn btn-primary btn-sm" href="{$userquery->profile_link($c)}">{$c.username|capitalize}</a>
|
||||
<a class="btn btn-primary btn-sm" href="{link name='user_videos'}{$c.username}">
|
||||
{lang code="view"|capitalize} {$c.username|capitalize} {lang code="videos"|capitalize}
|
||||
</a>
|
||||
{if $c.userid == $userquery->userid}
|
||||
<a class="btn btn-primary btn-sm" href="{link name='edit_collection'}{$c.collection_id}">{lang code="edit_collection"}</a>
|
||||
{link name='manage_items' assign='miLink'}
|
||||
<a class="btn btn-primary btn-sm" href="{$miLink|sprintf:$c.collection_id:$c.type}">{lang code="manage_items"}</a>{/if}
|
||||
</div>
|
||||
<h3>{$c.type|capitalize} ({$c.total_objects})</h3>
|
||||
|
||||
<div class="clearfix">
|
||||
<div class="collectionTable">
|
||||
<div id="collectionItemsList" class="clearfix">
|
||||
{section name=list loop=$objects}
|
||||
{include file="$style_dir/blocks/collection.html" object=$objects[list] display_type=view_collection type=$c.type}
|
||||
{sectionelse}
|
||||
<div align="center" style="font:bold 11px Tahoma;">{$c.collection_name} has 0 items.</div>
|
||||
{/section}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="NewPagination" class="moveR">
|
||||
{include file="$style_dir/blocks/new_pagination.html"}
|
||||
</div>
|
||||
|
||||
<!--{include file="$style_dir/blocks/pagination.html"}-->
|
||||
<div class="row marginTop">
|
||||
<div class="col-md-3">
|
||||
{if $c.userid != userid()}
|
||||
{if !$cbcollection->is_contributor($c.collection_id,userid())}
|
||||
<button class="btn btn-primary" id="btn-become-contributor" onclick="become_contributor('{$c.collection_id}','{$userquery->userid}');" type="button">Become Contributor</button>
|
||||
<button class="btn btn-primary" style="display: none" id="btn-remove-contributor" onclick="remove_contributor('{$c.collection_id}','{$userquery->userid}');" type="button">Leave contribution</button>
|
||||
{else}
|
||||
<button class="btn btn-primary" style="display: none" id="btn-become-contributor" onclick="become_contributor('{$c.collection_id}','{$userquery->userid}');" type="button">Become Contributor</button>
|
||||
<button class="btn btn-primary" id="btn-remove-contributor" onclick="remove_contributor('{$c.collection_id}','{$userquery->userid}');" type="button">Leave contribution</button>
|
||||
{/if}
|
||||
{/if}
|
||||
<table class="table table-bordered table-striped" style="font-size:0.9em">
|
||||
<tr>
|
||||
<td>{lang code="date_added"}</td>
|
||||
<td>{$c.date_added|niceTime}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{lang code="views"}</td>
|
||||
<td>{$c.views|number_format}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{lang code="categories"}</td>
|
||||
<td>{$c.category|categories:collections}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{lang code="tags"}</td>
|
||||
<td>{$c.collection_tags|tags:collections}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="col-md-9">
|
||||
<h3>{$c.collection_description|description}</h3>
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<div class="btn-group show photoStats">
|
||||
<a href="javascript:void(0)" id="addToFav" onclick="slide_up_watch_video('#video_action_result_cont');add_to_fav('collection','{$c.collection_id}');">
|
||||
<i class="glyphicon glyphicon-plus"></i>Add to
|
||||
</a>
|
||||
<a href="javascript:void(0)" id="embedCodes" onclick="slide_up_watch_video('#share_form');$('#share_form').slideToggle();">
|
||||
<i class="glyphicon glyphicon-share"></i>Embed
|
||||
</a>
|
||||
<a href="javascript:void(0)" id="flagPhotoButton" onclick="$('#flag_item').toggle();">
|
||||
<i class="glyphicon glyphicon-flag"></i>Report
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 ratingContainer clearfix" id="rating_container">
|
||||
{assign var=rating value=$cbcollection->collection_rating($c.collection_id,'collection')}
|
||||
{if $Cbucket->configs.collection_rating}
|
||||
{show_video_rating rating=$c.rating ratings=$c.rated_by total='10' id=$c.collection_id type=collection}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<div class="">
|
||||
|
||||
</div>
|
||||
<div>{AD place=ad_728x90}</div>
|
||||
<div class="video_action_result_boxes">
|
||||
{*show_share_form id=$c.collection_id type=Collection*}
|
||||
{show_flag_form id=$c.collection_id type=Collection}
|
||||
<div class="action_box" style="display:none" id="video_action_result_cont"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $myquery->is_commentable($c,'collection')}
|
||||
<div class="">
|
||||
<h2 class="commentHead">{lang code="comments"} ({$c.total_comments})</h2>
|
||||
</div>
|
||||
<div class="">
|
||||
|
||||
<div class="collectionComments">
|
||||
{if $myquery->is_commentable($c,'collection')}
|
||||
{include file="$style_dir/blocks/comments/add_comment.html" id=$c.collection_id type='cl'}
|
||||
{/if}
|
||||
<div align="center" style="margin:5px auto">{AD place=ad_300x250}</div>
|
||||
</div>
|
||||
|
||||
<div class="userComments">
|
||||
<ul id="userCommentsList">
|
||||
</ul>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
function getAllComments(type,type_id,last_update,pageNum,total,object_type,admin){
|
||||
$('#userCommentsList').html("<div style='padding:5px 0px;'>"+loading+"</div>");
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: page,
|
||||
data: {
|
||||
mode:'getComments',
|
||||
page:pageNum,type:type,
|
||||
type_id:type_id,
|
||||
object_type : object_type,
|
||||
last_update : last_update,
|
||||
total_comments : total,
|
||||
comments_voting : comments_voting,admin : admin
|
||||
},
|
||||
success: function(comments){
|
||||
$("#userCommentsList").html(comments);
|
||||
},
|
||||
dataType: 'text'
|
||||
});
|
||||
}
|
||||
comments_voting = 'no';
|
||||
getAllComments('cl','{$c.collection_id}','{$c.last_commented}',1,'{$c.total_comments}','{$object_type}');
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
{else}
|
||||
<div align="center" class="moveL no_comments">
|
||||
{lang code='comm_disabled_for_collection'}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -23,7 +23,7 @@
|
|||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 ratingContainer clearfix">
|
||||
<div class="col-md-4 ratingContainer clearfix" id="rating_container">
|
||||
{show_video_rating rating=$photo.rating ratings=$photo.rated_by total='10' id=$photo.photo_id type=photo}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -42,7 +42,7 @@
|
|||
<a href="#" class="shareButton"><i class="glyphicon glyphicon-paperclip"></i></a>
|
||||
</div>
|
||||
<div class="editControlsContainer clearfix">
|
||||
<a href="#" class="shareButton"><i class="glyphicon glyphicon-trash"></i></a>
|
||||
<!-- <a href="#" class="shareButton"><i class="glyphicon glyphicon-trash"></i></a> -->
|
||||
{if $userquery->userid == $photo.userid}
|
||||
<a href="{$baseurl}/edit_photo.php?photo={$photo.photo_id}" class="shareButton"><i class="glyphicon glyphicon-edit"></i></a>
|
||||
{/if}
|
||||
|
@ -51,64 +51,42 @@
|
|||
</div>
|
||||
|
||||
<div class="btn-group show photoStats">
|
||||
<a href="#" onclick="subscriber('{$user.userid}','subscribe_user','video_detail_result_cont')"><i class="glyphicon glyphicon-ok"></i>Follow</a>
|
||||
<a href="#"><i class="glyphicon glyphicon-plus"></i>Add to</a>
|
||||
<a href="#"><i class="glyphicon glyphicon-stats"></i>Stats</a>
|
||||
<a href="#" onclick="slide_up_watch_video('#flagPhoto');$('#flagPhoto').slideToggle();"><i class="glyphicon glyphicon-flag"></i>Report</a>
|
||||
<a href="#" id="subscribeUser"><i class="glyphicon glyphicon-ok"></i>Follow</a>
|
||||
<a href="#" id="addToFav"><i class="glyphicon glyphicon-plus"></i>Add to</a>
|
||||
<a href="#" id="embedCodes"><i class="glyphicon glyphicon-share"></i>Embed</a>
|
||||
<a href="#" id="flagPhotoButton"><i class="glyphicon glyphicon-flag"></i>Report</a>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-info" style="display:none" id="messageFav"></div>
|
||||
|
||||
|
||||
<!-- <div class="btn-group">
|
||||
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onclick="slide_up_watch_video('#video_action_result_cont');add_to_fav('photo','{$photo.photo_id}');">
|
||||
<img src="{$imageurl}/dot.gif" class="add_to_fav" />{lang code='add_to_favs'}
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onclick="slide_up_watch_video('#share_form');$('#share_form').slideToggle();">
|
||||
<img src="{$imageurl}/dot.gif" class="share_this" />
|
||||
{lang code='share_this'}
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onclick="slide_up_watch_video('#embed_codes');$('#embed_codes').slideToggle();">
|
||||
<img src="{$imageurl}/dot.gif" class="photo_embed_code" />
|
||||
{lang code='Embed Codes'}
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onclick="slide_up_watch_video('#flag_item');$('#flag_item').slideToggle();">
|
||||
<img src="{$imageurl}/dot.gif" class="report_this" />
|
||||
{lang code='report_this'}
|
||||
</a>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<div class="hidden" id="flagPhoto">
|
||||
{show_share_form id=$photo.photo_id type=Photo}
|
||||
{show_flag_form id=$photo.photo_id type=Photo}
|
||||
<div class="action_box clearfix" style="display:block" id="embed_codes">
|
||||
<div class="" style="display:none" id="embed_codes">
|
||||
<div class="">
|
||||
Embed Codes — <span class="cancel"><a href="javascript:void(0)" onclick="$('#embed_codes').slideUp();">cancel</a></span>
|
||||
Embed Codes<span style="padding-left:10px" class="cancel"><a class="btn btn-primary btn-xs" href="javascript:void(0)" onclick="$('#embed_codes').slideUp();">cancel</a></span>
|
||||
</div>
|
||||
<div class="">
|
||||
{var_dump($codes)}
|
||||
{embedCodes assign='codes' type='all' with_url=TRUE details=$photo}
|
||||
{foreach from=$codes item=item}
|
||||
<div>
|
||||
<div class="form-group">
|
||||
<label for="{$item.type}">{$item.name}</label>
|
||||
<input onFocus="this.select();" value="{$item.code}" id="{$item.type}" />
|
||||
<input class="form-control" onFocus="this.select();" value="{$item.code}" id="{$item.type}" />
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="flagPhoto">
|
||||
{*show_share_form id=$photo.photo_id type=Photo*}
|
||||
{show_flag_form id=$photo.photo_id type=Photo}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="cb-box marginTop marginBottom">
|
||||
<div class="addComment clearfix">
|
||||
<h3>{lang code='comments'}</h3>
|
||||
<script>
|
||||
$(document).ready(function()
|
||||
{ldelim}
|
||||
comments_voting = 'no';
|
||||
getComments('p','{$photo.photo_id}','{$photo.last_commented}',1,'{$photo.total_comments}','{$object_type}')
|
||||
{rdelim}
|
||||
);
|
||||
</script>
|
||||
{if $myquery->is_commentable($photo,'p')}
|
||||
{include file="$style_dir/blocks/comments/add_comment.html" id=$photo.photo_id type=p}
|
||||
{else}
|
||||
|
@ -116,60 +94,105 @@
|
|||
{/if}
|
||||
</div>
|
||||
<div class="userComments">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="row">
|
||||
<div class="col-md-11">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<a href="#">
|
||||
<img class="img-thumbnail" src="http://lorempixel.com/output/people-q-c-40-40-7.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<a class="commentorName" href="#">Commenter name</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil, ratione, fuga, id nemo perspiciatis voluptatibus accusantium placeat eum eligendi totam excepturi officiis odit perferendis magni dicta et porro. Fuga, eaque!</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="row">
|
||||
<div class="col-md-11">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<a href="#">
|
||||
<img class="img-thumbnail" src="http://lorempixel.com/output/people-q-c-40-40-7.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<a class="commentorName" href="#">Commenter name</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil, ratione, fuga, id nemo perspiciatis voluptatibus accusantium placeat eum eligendi totam excepturi officiis odit perferendis magni dicta et porro. Fuga, eaque!</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="row">
|
||||
<div class="col-md-11">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<a href="#">
|
||||
<img class="img-thumbnail" src="http://lorempixel.com/output/people-q-c-40-40-7.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<a class="commentorName" href="#">Commenter name</a>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil, ratione, fuga, id nemo perspiciatis voluptatibus accusantium placeat eum eligendi totam excepturi officiis odit perferendis magni dicta et porro. Fuga, eaque!</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<ul id="userCommentsList">
|
||||
</ul>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
function getAllComments(type,type_id,last_update,pageNum,total,object_type,admin){
|
||||
$('#userCommentsList').html("<div style='padding:5px 0px;'>"+loading+"</div>");
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: page,
|
||||
data: {
|
||||
mode:'getComments',
|
||||
page:pageNum,type:type,
|
||||
type_id:type_id,
|
||||
object_type : object_type,
|
||||
last_update : last_update,
|
||||
total_comments : total,
|
||||
comments_voting : comments_voting,admin : admin
|
||||
},
|
||||
success: function(comments)
|
||||
{
|
||||
$("#userCommentsList").html(comments);
|
||||
},
|
||||
dataType: 'text'
|
||||
});
|
||||
}
|
||||
|
||||
function addToFav(type,id){
|
||||
$('#messageFav').show();
|
||||
$.post(page, {
|
||||
mode : 'add_to_fav',
|
||||
type : type,
|
||||
id : id
|
||||
},
|
||||
function(data){
|
||||
if(!data){
|
||||
alert("No data");
|
||||
}else{
|
||||
$("#messageFav").html(data);
|
||||
setTimeout(function(){
|
||||
$('#messageFav').hide();
|
||||
}, 5000);
|
||||
}
|
||||
},'text');
|
||||
}
|
||||
|
||||
function subscribeToChannel(user,type,result_cont){
|
||||
$('#messageFav').show();
|
||||
$.post(page, {
|
||||
mode : type,
|
||||
subscribe_to : user
|
||||
},
|
||||
function(data){
|
||||
if(!data){
|
||||
alert("No data");
|
||||
}
|
||||
else{
|
||||
$("#messageFav").html(data);
|
||||
setTimeout(function(){
|
||||
$('#messageFav').hide();
|
||||
}, 5000);
|
||||
}
|
||||
},'text');
|
||||
}
|
||||
|
||||
|
||||
|
||||
comments_voting = 'no';
|
||||
getAllComments('p','{$photo.photo_id}','{$photo.last_commented}',1,'{$photo.total_comments}','{$object_type}');
|
||||
|
||||
$("#addToFav").on({
|
||||
click: function(e){
|
||||
e.preventDefault();
|
||||
addToFav('photo','{$photo.photo_id}');
|
||||
}
|
||||
});
|
||||
|
||||
$("#embedCodes").on({
|
||||
click: function(e){
|
||||
e.preventDefault();
|
||||
$('#embed_codes').toggle();
|
||||
},
|
||||
});
|
||||
|
||||
$("#subscribeUser").on({
|
||||
click: function(e){
|
||||
e.preventDefault();
|
||||
subscribeToChannel('{$user.userid}','subscribe_user','video_detail_result_cont');
|
||||
}
|
||||
});
|
||||
|
||||
$("#flagPhotoButton").on({
|
||||
click: function(e){
|
||||
e.preventDefault();
|
||||
$('#flag_item').toggle();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- <div class="well">
|
||||
<a href="{$userquery->profile_link($user)}">
|
||||
<img src="{avatar details=$user}" />
|
||||
|
|
|
@ -39,10 +39,21 @@ body{
|
|||
img {max-width:100%; }
|
||||
html,body{ height: 100%; }
|
||||
|
||||
.box{
|
||||
border-bottom: solid 1px #ccc;
|
||||
// border-left: solid 1px #ccc;
|
||||
|
||||
padding: 15px 0;
|
||||
}
|
||||
|
||||
.marginTop{
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.paddingTop{
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.marginBottom{
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
@ -390,6 +401,27 @@ html,body{ height: 100%; }
|
|||
}
|
||||
}
|
||||
|
||||
/* categories menu */
|
||||
|
||||
.catigoriesList{
|
||||
list-style: none;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.catigoriesList li{
|
||||
margin: 5px 0 0 0;
|
||||
padding: 0;
|
||||
border: solid 1px #ccc;
|
||||
}
|
||||
.catigoriesList li a{
|
||||
display: block;
|
||||
background-color: #eee;
|
||||
color: #444;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
@import 'essentials.less';
|
||||
|
||||
@import 'elements.less';
|
||||
|
|
Loading…
Add table
Reference in a new issue