-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/536 download api usage - closes #536 #571
Conversation
This PR looks great. It has clean code, meaningful comments, and descriptive commit messages. |
@@ -2,6 +2,7 @@ | |||
<div class="box box-primary" id="filter-box"> | |||
<div class="box-header with-border"> | |||
<h3 class="box-title">{{_ "filterData-Title"}}</h3> | |||
<a class="btn btn-default btn-xs" id="downloadUsageLogs" style="float:right">Export logs in .csv</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move style property to style file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a Bootstrap helper class for this:
<a class="btn btn-default btn-xs pull-right"...></a>
Also, why is the anchor tag used here? It would be more semantic to simply use the <button>
tag here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, please rename the button ID to use hyphenation:
<a ... id="download-usage-logs"></a>
We are using hyphenation for the majority of our class and id declarations, and want to stay consistent.
Feature/536 download api usage - closes #536
@apinf/developers please review. #536 related