mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Empty query message (#989)
* Add link to standard query library * Style and external link icon
This commit is contained in:
parent
83acd4911a
commit
225500ad28
2 changed files with 24 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ import classnames from "classnames";
|
|||
import { includes, sortBy, size } from "lodash";
|
||||
|
||||
import queryInterface from "interfaces/query";
|
||||
import FleetIcon from "components/icons/FleetIcon";
|
||||
import Checkbox from "components/forms/fields/Checkbox";
|
||||
import QueriesListRow from "components/queries/QueriesList/QueriesListRow";
|
||||
|
||||
|
|
@ -83,7 +84,16 @@ class QueriesList extends Component {
|
|||
return (
|
||||
<tr>
|
||||
<td colSpan={6}>
|
||||
<p>No queries available. Try creating one.</p>
|
||||
<p>
|
||||
No queries available. Try creating one or get started by
|
||||
<a
|
||||
href="https://fleetdm.com/queries"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
importing standard queries <FleetIcon name="external-link" />
|
||||
</a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -6,6 +6,19 @@
|
|||
margin-top: $pad-medium;
|
||||
overflow: scroll;
|
||||
|
||||
a {
|
||||
font-size: $x-small;
|
||||
color: $core-vibrant-blue;
|
||||
font-weight: $bold;
|
||||
text-decoration: none;
|
||||
|
||||
img {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
margin-left: 7px;
|
||||
}
|
||||
}
|
||||
|
||||
&__table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
|
|
|
|||
Loading…
Reference in a new issue