Skip to content

Commit

Permalink
Merge pull request #57 from mwielgoszewski/recent-activity-vertical-tabs
Browse files Browse the repository at this point in the history
Display tabs vertically instead of horizontally
  • Loading branch information
mwielgoszewski committed Jun 6, 2016
2 parents 7423d85 + db07d9d commit 755fd4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"jQuery": "~2.1.3",
"font-awesome": "~4.5.0",
"bootstrap-tagsinput": "~0.8.0",
"bootstrap-vertical-tabs": "~1.2.1",
"jQuery-QueryBuilder": "^2.3.3"
}
}
1 change: 1 addition & 0 deletions doorman/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
filters='less',
),
'libs/bootstrap-tagsinput/dist/bootstrap-tagsinput.css',
'libs/bootstrap-vertical-tabs/bootstrap.vertical-tabs.css',
'libs/jQuery-QueryBuilder/dist/css/query-builder.default.css',
'css/style.css',
filters='cssmin',
Expand Down
6 changes: 5 additions & 1 deletion doorman/templates/manage/_activity.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

<ul class="nav nav-tabs" role="tablist">
<div class="col-md-3">
<ul class="nav nav-tabs tabs-left" role="tablist">
{% if queries.count() %}
<li class="active">
<a href="#distributed_queries" aria-controls="distributed_queries" role="tab" data-toggle="tab">distributed queries
Expand All @@ -16,7 +17,9 @@
</li>
{% endfor %}
</ul>
</div>

<div class="col-md-9">
<div class="tab-content">

{% if queries.count() %}
Expand Down Expand Up @@ -60,3 +63,4 @@
{% endfor %}

</div><!-- ./tab-content -->
</div>

0 comments on commit 755fd4f

Please sign in to comment.