Skip to content

Commit

Permalink
Add a link to CQL help
Browse files Browse the repository at this point in the history
  • Loading branch information
danvk committed Dec 5, 2014
1 parent e4440ba commit 0d3a406
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cycledash/static/css/examine.css
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,17 @@ dt {
.query-status.loading:before {
content: "";
}
.cql-help {
position: absolute;
top: 50%;
margin-top: -10px;
right: 375px; /* width of Stats Table + 25px */
width: 20px;
height: 20px;
background: url(/static/img/noun_61692.svg);
background-size: 20px 20px;
opacity: 0.55;
}
.server-error {
color: red;
}
Expand Down
9 changes: 9 additions & 0 deletions cycledash/static/img/noun_61692.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions cycledash/static/js/examine/components/QueryBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ var QueryBox = React.createClass({
<div className='typeahead-input'>
<span ref='status' className={statusClasses}></span>
<input ref='input' className='query-input' type='text' />
<a className='cql-help' title='CQL Help' href='https://github.com/hammerlab/cycledash/wiki/CQL-(CycleDash-Query-Language)'>
</a>
</div>
{errorMessage}
</div>
Expand Down

0 comments on commit 0d3a406

Please sign in to comment.