Skip to content

Commit

Permalink
minor style things
Browse files Browse the repository at this point in the history
  • Loading branch information
kkatzen committed Apr 30, 2015
1 parent e5dfa07 commit c27040a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
6 changes: 3 additions & 3 deletions assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,11 @@ window.onload = function () {
});

$('#accShow').on('click', function() {
if($(this).text() == 'Hide All') {
$(this).text('Expand Sections');
if($(this).text() == 'Close Folders') {
$(this).text('Expand Folders');
$('.folderCollapse').collapse('hide');
} else {
$(this).text('Hide All');
$(this).text('Close Folders');
$('.folderCollapse').collapse('show');
}
return false;
Expand Down
12 changes: 10 additions & 2 deletions views/home/admin.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ ul {
height:10px;
float:left;
}
#refreshData {
float: right;
margin-top: -6px;
}
</style>
<script src="lib/codemirror.js"></script>
Expand Down Expand Up @@ -301,8 +305,12 @@ ul {
<!-- STUDENT PROGRESS SECTION -->
<div class="panel panel-default">
<div class="panel-heading">
Student Attempts <!-- <span id="function" class="label label-info" data-toggle="tooltip" data-placement="top" title="Students with full correct points">0%</span><span id="style" class="label label-success" data-toggle="tooltip" data-placement="top" title="Students with full style points">0%</span> -->
<button class="btn btn-primary btn-sm pull-right" id="refreshData" data-toggle="tooltip" data-placement="top" title="Progress Bar updates in realtime. Use refresh to update table below.">Refresh</button>
<h4 class="panel-title">
Student Attempts
<span id="function" class="label label-info" data-toggle="tooltip" data-placement="top" title="Students with full correct points">0%</span><span id="style" class="label label-success" data-toggle="tooltip" data-placement="top" title="Students with full style points">0%</span>
<button class="btn btn-primary btn-sm" id="refreshData" data-toggle="tooltip" data-placement="top" title="Progress Bar updates in realtime. Use refresh to update table below.">Refresh</button>
</h4>
</div>
<div id="allStudents1ProblemTable">
<div class="panel-body">
Expand Down
2 changes: 1 addition & 1 deletion views/home/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ User.find({admin: true}).exec(function(err, users) {
<div class="row">
<div>
<button type="button" id="accShow" class="btn btn-default" aria-label="Left Align" >
Expand sections</button>
Expand Folders</button>
<div class="panel-group scrollableAccordian" id="folderAccordion" >
</div>
Expand Down

0 comments on commit c27040a

Please sign in to comment.