Skip to content

Commit

Permalink
feat(citizenScience): styling of next sample button
Browse files Browse the repository at this point in the history
  • Loading branch information
peichins committed Aug 13, 2018
1 parent fa3135b commit bf7a755
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/app/citizenScience/datasetProgress/_progress.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

.citSci-next {

margin-left: 30px;

a, button {

width: 220px;

}

}

Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ csSamples.factory("CsSamples", [
self.requestPageOfItems(true);
}

// note: indexes are 0-indexed, paging is 1-indexed
var debug_message = {currentIndex: self.currentIndex, currentPageMeta: self.pages[self.pages.length - 1].meta.paging};
console.log("moved to next page: ", debug_message);


},

nextItemAvailable : function () {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<div class="btn-group">
<div class="btn-group citSci-next">
<button ng-if="nextItem"
class="btn btn-default"
ng-disabled="nextDisabled()"
Expand Down

0 comments on commit bf7a755

Please sign in to comment.