Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions users/static/users/center_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@ span {
display: none;
}

#content > nav > .btn {
background-color: #f2f2f2;
font-size: 150%;
color: #2c77bc;
}

/*Active*/
.active span {
color: white;
Expand Down
4 changes: 4 additions & 0 deletions users/static/users/scripts/float_menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ $(document).ready(function () {
$('#sidebar').toggleClass('active');
});
});

$('.btn').on("click", function () {
$('.glyphicon').toggleClass('glyphicon-chevron-left glyphicon-chevron-right');
});
4 changes: 1 addition & 3 deletions users/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@
</nav>
<div id="content">
<nav style="text-align: left">
<button type="button" id="sidebarCollapse" class="btn btn-info navbar-btn">
<span>Toggle Sidebar</span>
</button>
<button class="btn" id="sidebarCollapse"><i class="glyphicon glyphicon-chevron-left"></i></button>
</nav>
{% endif %}
<!-- Page Content Holder -->
Expand Down