From 0d3a406dce513d952b3920852fcc9f71add7d3a8 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Fri, 5 Dec 2014 15:35:45 -0500 Subject: [PATCH] Add a link to CQL help --- cycledash/static/css/examine.css | 11 +++++++++++ cycledash/static/img/noun_61692.svg | 9 +++++++++ cycledash/static/js/examine/components/QueryBox.js | 2 ++ 3 files changed, 22 insertions(+) create mode 100644 cycledash/static/img/noun_61692.svg diff --git a/cycledash/static/css/examine.css b/cycledash/static/css/examine.css index c8bd8a9..2dcca07 100644 --- a/cycledash/static/css/examine.css +++ b/cycledash/static/css/examine.css @@ -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; } diff --git a/cycledash/static/img/noun_61692.svg b/cycledash/static/img/noun_61692.svg new file mode 100644 index 0000000..36ee5ac --- /dev/null +++ b/cycledash/static/img/noun_61692.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/cycledash/static/js/examine/components/QueryBox.js b/cycledash/static/js/examine/components/QueryBox.js index d5792c8..7b7eda7 100644 --- a/cycledash/static/js/examine/components/QueryBox.js +++ b/cycledash/static/js/examine/components/QueryBox.js @@ -145,6 +145,8 @@ var QueryBox = React.createClass({
+ +
{errorMessage}