Move navigation to content-left

This commit is contained in:
Ludovic Stephan 2017-04-07 12:17:36 -03:00
parent e26668e5eb
commit 052e7b2b6e
3 changed files with 14 additions and 4 deletions

View file

@ -86,6 +86,14 @@ textarea {
color:#FFF; color:#FFF;
} }
.buttons .nav-pills > li > a {
border-radius:0;
}
.buttons .nav-pills > li.active > a {
background-color:rgba(200,16,46,0.9);
}
.row-page-header { .row-page-header {
background-color:rgba(200,16,46,1); background-color:rgba(200,16,46,1);
color:#FFF; color:#FFF;

View file

@ -59,10 +59,6 @@ $(document).ready(function() {
<div class="content-right-block"> <div class="content-right-block">
<div class="col-sm-12 nopadding"> <div class="col-sm-12 nopadding">
{% if account.user == request.user %} {% if account.user == request.user %}
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#tab_stats">Statistiques</a></li>
<li><a data-toggle="tab" href="#tab_history">Historique</a></li>
</ul>
<div class='tab-content'> <div class='tab-content'>
<div class="tab-pane fade in active" id="tab_stats"> <div class="tab-pane fade in active" id="tab_stats">
<h2>Statistiques</h2> <h2>Statistiques</h2>

View file

@ -40,4 +40,10 @@
Modifier Modifier
</a> </a>
<a class="btn btn-primary btn-lg" disabled>Recharger par CB</a> <a class="btn btn-primary btn-lg" disabled>Recharger par CB</a>
{% if account.user == request.user %}
<ul class='nav nav-pills nav-justified'>
<li class="active"><a data-toggle="pill" href="#tab_stats">Statistiques</a></li>
<li><a data-toggle="pill" href="#tab_history">Historique</a></li>
</ul>
{% endif %}
</div> </div>