Holiday changes ;)
This commit is contained in:
@@ -18,46 +18,46 @@
|
||||
</div>
|
||||
<div class="col-xs-9 col-sm-10 col-md-8 col-lg-8">
|
||||
<div class="row">
|
||||
<div class="profile-stats">
|
||||
<div class="item <?= isset($active) && $active == 'profile' ? 'active' : '' ?>">
|
||||
<div class="profile-stats border-custom">
|
||||
<div class="item border-custom <?= isset($active) && $active == 'profile' ? 'active' : '' ?>">
|
||||
<a href="<?= base_url('user/' . $data['username']) ?>">
|
||||
<span class="label"><?= lang('profile_contributions') ?></span>
|
||||
<span class="count"
|
||||
<span class="count <?= isset($active) && $active == 'profile' ? 'text-custom' : '' ?>"
|
||||
data-count="<?= $stats['postCount'] + $stats['blogCount'] + $stats['commentCount'] ?>"><?= $stats['postCount'] + $stats['blogCount'] + $stats['commentCount'] ?></span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="item <?= isset($active) && $active == 'posts' ? 'active' : '' ?>">
|
||||
<div class="item border-custom <?= isset($active) && $active == 'posts' ? 'active' : '' ?>">
|
||||
<a href="<?= base_url('user/' . $data['username'] . '/posts') ?>">
|
||||
<span class="label"><?= lang('profile_posts') ?></span>
|
||||
<span class="count"
|
||||
<span class="count <?= isset($active) && $active == 'posts' ? 'text-custom' : '' ?>"
|
||||
data-count="<?= $stats['postCount'] ?>"><?= $stats['postCount'] ?></span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="item <?= isset($active) && $active == 'blog-posts' ? 'active' : '' ?>">
|
||||
<div class="item border-custom <?= isset($active) && $active == 'blog-posts' ? 'active' : '' ?>">
|
||||
<a href="<?= base_url('user/' . $data['username'] . '/blogposts') ?>">
|
||||
<span class="label"><?= lang('profile_blog_posts') ?></span>
|
||||
<span class="count"
|
||||
<span class="count <?= isset($active) && $active == 'blog-posts' ? 'text-custom' : '' ?>"
|
||||
data-count="<?= $stats['blogCount'] ?>"><?= $stats['blogCount'] ?></span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="item <?= isset($active) && $active == 'blog-comments' ? 'active' : '' ?>">
|
||||
<div class="item border-custom <?= isset($active) && $active == 'blog-comments' ? 'active' : '' ?>">
|
||||
<a href="<?= base_url('user/' . $data['username'] . '/comments') ?>">
|
||||
<span class="label"><?= lang('profile_blog_comments') ?></span>
|
||||
<span class="count"
|
||||
<span class="count <?= isset($active) && $active == 'blog-comments' ? 'text-custom' : '' ?>"
|
||||
data-count="<?= $stats['commentCount'] ?>"><?= $stats['commentCount'] ?></span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="item <?= isset($active) && $active == 'followers' ? 'active' : '' ?>">
|
||||
<div class="item border-custom <?= isset($active) && $active == 'followers' ? 'active' : '' ?>">
|
||||
<a href="<?= base_url('user/' . $data['username'] . '/followers') ?>">
|
||||
<span class="label"><?= lang('profile_followers') ?></span>
|
||||
<span class="count"
|
||||
<span class="count <?= isset($active) && $active == 'followers' ? 'text-custom' : '' ?>"
|
||||
data-count="<?= $stats['followerCount'] ?>"><?= $stats['followerCount'] ?></span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="item <?= isset($active) && $active == 'following' ? 'active' : '' ?>">
|
||||
<div class="item border-custom <?= isset($active) && $active == 'following' ? 'active' : '' ?>">
|
||||
<a href="<?= base_url('user/' . $data['username'] . '/following') ?>">
|
||||
<span class="label"><?= lang('profile_followed_users') ?></span>
|
||||
<span class="count"
|
||||
<span class="count <?= isset($active) && $active == 'followers' ? 'text-custom' : '' ?>"
|
||||
data-count="<?= $stats['followedCount'] ?>"><?= $stats['followedCount'] ?></span>
|
||||
</a>
|
||||
</div>
|
||||
@@ -118,3 +118,17 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style id="customColor">
|
||||
.text-custom {
|
||||
color: #2272ff;
|
||||
}
|
||||
|
||||
.bg-custom {
|
||||
background-color: #2272ff;
|
||||
}
|
||||
|
||||
.border-custom {
|
||||
border-color: #2272ff;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user