profile cover on every account page

main
psychobunny 9 years ago
parent 9a26cc6c36
commit fa5a3d1b68

@ -1,7 +1,6 @@
<!-- IMPORT partials/account_menu.tpl -->
<div class="account">
<!-- IMPORT partials/account_menu.tpl -->
<div class="row">
<div class="col-md-2 col-sm-4">
<div class="account-picture-block text-center">

@ -1,18 +1,20 @@
<!-- IMPORT partials/account_menu.tpl -->
<div class="account">
<!-- IMPORT partials/account_menu.tpl -->
<div class="favourites">
<div class="favourites">
<!-- IF !posts.length -->
<div class="alert alert-warning">[[topic:favourites.has_no_favourites]]</div>
<!-- ENDIF !posts.length -->
<!-- IF !posts.length -->
<div class="alert alert-warning">[[topic:favourites.has_no_favourites]]</div>
<!-- ENDIF !posts.length -->
<div class="row">
<div class="col-xs-12">
<!-- IMPORT partials/posts_list.tpl -->
<div class="row">
<div class="col-xs-12">
<!-- IMPORT partials/posts_list.tpl -->
<!-- IF config.usePagination -->
<!-- IMPORT partials/paginator.tpl -->
<!-- ENDIF config.usePagination -->
<!-- IF config.usePagination -->
<!-- IMPORT partials/paginator.tpl -->
<!-- ENDIF config.usePagination -->
</div>
</div>
</div>
</div>
</div>

@ -1,14 +1,15 @@
<div class="account">
<!-- IMPORT partials/account_menu.tpl -->
<!-- IMPORT partials/account_menu.tpl -->
<div class="users">
<div class="users account">
<ul id="users-container" class="users-container" data-nextstart="{nextStart}">
<!-- IMPORT partials/users_list.tpl -->
</ul>
<ul id="users-container" class="users-container" data-nextstart="{nextStart}">
<!-- IMPORT partials/users_list.tpl -->
</ul>
<!-- IF !users.length -->
<div class="alert alert-warning">[[user:has_no_follower]]</div>
<!-- ENDIF !users.length -->
</div>
<!-- IF !users.length -->
<div class="alert alert-warning">[[user:has_no_follower]]</div>
<!-- ENDIF !users.length -->
</div>
</div>

@ -1,13 +1,13 @@
<!-- IMPORT partials/account_menu.tpl -->
<div class="users account">
<ul id="users-container" class="users-container" data-nextstart="{nextStart}">
<!-- IMPORT partials/users_list.tpl -->
</ul>
<!-- IF !users.length -->
<div class="alert alert-warning">[[user:follows_no_one]]</div>
<!-- ENDIF !users.length -->
</div>
<div class="account">
<!-- IMPORT partials/account_menu.tpl -->
<div class="users">
<ul id="users-container" class="users-container" data-nextstart="{nextStart}">
<!-- IMPORT partials/users_list.tpl -->
</ul>
<!-- IF !users.length -->
<div class="alert alert-warning">[[user:follows_no_one]]</div>
<!-- ENDIF !users.length -->
</div>
</div>

@ -1,19 +1,20 @@
<div class="account">
<!-- IMPORT partials/account_menu.tpl -->
<!-- IMPORT partials/account_menu.tpl -->
<div class="favourites">
<div class="favourites">
<!-- IF !posts.length -->
<div class="alert alert-warning">[[user:has_no_posts]]</div>
<!-- ENDIF !posts.length -->
<!-- IF !posts.length -->
<div class="alert alert-warning">[[user:has_no_posts]]</div>
<!-- ENDIF !posts.length -->
<div class="row">
<div class="col-xs-12">
<!-- IMPORT partials/posts_list.tpl -->
<div class="row">
<div class="col-xs-12">
<!-- IMPORT partials/posts_list.tpl -->
<!-- IF config.usePagination -->
<!-- IMPORT partials/paginator.tpl -->
<!-- ENDIF config.usePagination -->
<!-- IF config.usePagination -->
<!-- IMPORT partials/paginator.tpl -->
<!-- ENDIF config.usePagination -->
</div>
</div>
</div>
</div>
</div>

@ -1,15 +1,6 @@
<div class="account">
<!-- IMPORT partials/account_menu.tpl -->
<div class="cover" component="account/cover" style="background-image: url({cover:url}); background-position: {cover:position};">
<div class="controls">
<span class="upload"><i class="fa fa-fw fa-4x fa-upload"></i></span>
<span class="resize"><i class="fa fa-fw fa-4x fa-arrows-alt"></i></span>
</div>
<div class="save">[[groups:cover-save]] <i class="fa fa-fw fa-floppy-o"></i></div>
<div class="indicator">[[groups:cover-saving]] <i class="fa fa-fw fa-refresh fa-spin"></i></div>
</div>
<div class="row">
<div class="col-md-5 account-block">

@ -1,6 +1,6 @@
<!-- IMPORT partials/account_menu.tpl -->
<div class="account">
<!-- IMPORT partials/account_menu.tpl -->
<div class="row">
<div class="col-xs-12">
<!-- IF !disableCustomUserSkins -->

@ -1,6 +1,6 @@
<!-- IMPORT partials/account_menu.tpl -->
<div class="account">
<!-- IMPORT partials/account_menu.tpl -->
<div>
<!-- IF !topics.length -->
<div class="alert alert-warning">[[user:has_no_topics]]</div>
<!-- ENDIF !topics.length -->

@ -1,6 +1,6 @@
<!-- IMPORT partials/account_menu.tpl -->
<div class="account">
<!-- IMPORT partials/account_menu.tpl -->
<div>
<!-- IF !topics.length -->
<div class="alert alert-warning">[[user:has_no_watched_topics]]</div>
<!-- ENDIF !topics.length -->
@ -11,4 +11,4 @@
<!-- IMPORT partials/paginator.tpl -->
<!-- ENDIF config.usePagination -->
</div>
</div>
</div>

@ -33,4 +33,13 @@
<li><a href="{config.relative_path}/user/{userslug}/edit"><i class="fa fa-pencil-square-o"></i> [[user:edit]]</a></li>
<!-- ENDIF showHidden -->
</ul>
</div>
<div class="cover" component="account/cover" style="background-image: url({cover:url}); background-position: {cover:position};">
<div class="controls">
<span class="upload"><i class="fa fa-fw fa-4x fa-upload"></i></span>
<span class="resize"><i class="fa fa-fw fa-4x fa-arrows-alt"></i></span>
</div>
<div class="save">[[groups:cover-save]] <i class="fa fa-fw fa-floppy-o"></i></div>
<div class="indicator">[[groups:cover-saving]] <i class="fa fa-fw fa-refresh fa-spin"></i></div>
</div>
Loading…
Cancel
Save