Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
placeholder for pinning charts. #329, #259
Browse files Browse the repository at this point in the history
  • Loading branch information
Lennart Koopmann committed Oct 21, 2013
1 parent f846f14 commit 778df85
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/views/search/results.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ <h3>
<li><a href="#" class="hide">Hide</a></li>
</ul>
</div>

<a href="#" class="pin"><i class="icon icon-pushpin" title="Pin"></i></a>
</h3>

<div class='field-graph'>
Expand Down
7 changes: 7 additions & 0 deletions public/javascripts/analyzers.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,4 +544,11 @@ $(document).ready(function() {
alert("Adding charts to dashboards is not implemented yet. (GitHub issue: #327)");
});

$(".field-graph-container .pin").live("click", function(e) {
e.preventDefault();

// TODO
alert("Pinning/persisting charts is not implemented yet. (GitHub issue: #329)");
});

});
4 changes: 2 additions & 2 deletions public/stylesheets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1108,8 +1108,8 @@ form #stream-rules {
font-weight: bold;
}

.field-graph-container .graph-settings {
font-size: 11px;
.field-graph-container .graph-settings, .field-graph-container .pin {
font-size: 12px;
}

.field-graph-container .graph-settings a:hover {
Expand Down

0 comments on commit 778df85

Please # to comment.