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

Commit

Permalink
Added placeholder to input, other fixes netdata#240
Browse files Browse the repository at this point in the history
  • Loading branch information
George Moschovitis committed Jan 11, 2019
1 parent 16a970c commit 6156946
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions web/gui/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,10 @@ body.modal-open {

/* -------------------------------------------------------------------------- */

#my-netdata-dropdown-content {
width: 500px;
}

#my-netdata-dropdown-content a:hover {
color: #fff;
}
Expand Down
3 changes: 2 additions & 1 deletion web/gui/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ function errorMyNetdataMenu() {
function restrictMyNetdataMenu() {
setMyNetdataMenu(`<div class="agent-item" style="white-space: nowrap">
<i class="fas fa-exclamation-triangle" style="color: red"></i>
<span>Please <a href="#" onclick="signInDidClick()">sign in</a> to view your netdata agents!</span>
<span>Please <a href="#" onclick="signInDidClick()">sign in</a> to <strong>netdata.cloud</strong> to view your netdata agents!</span>
<div></div>
</div>`);
}
Expand All @@ -709,6 +709,7 @@ function renderMyNetdataMenu(machinesArray) {
`<input
id="my-netdata-menu-filter-input"
type="text"
placeholder="filter agents..."
value="${myNetdataMenuFilterValue}"
onkeydown="myNetdataFilterDidChange()"
/><i class="fas fa-filter"></i>
Expand Down

0 comments on commit 6156946

Please sign in to comment.