mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
* Creates new PackComposerPage at /packs/new * Creates PackForm component * Adds PackForm to PackComposerPage * Creates QueriesListItem * Creates QueriesList * Creates QueriesListWrapper * Get all queries when the Packs Composer Page loads * Form HOC handles updates to formData prop * Creates form to configure scheduled queries * QueriesListWrapper renders ConfigurePackQueryForm * search queries input filters queries list * Empty state text * create pack when user submits the new pack form * Adds Edit pack page to /packs/:pack_id/edit * API client - get scheduled queries for a pack * API client - create scheduled query * Redux config for scheduled queries * Remove scheduled queries from packs * Add labels to pack on create * Add disabled state to the select targets dropdown * Adds edit route and pushes to new route on edit click * Adds cancel button to edit pack form * Adds Checkbox that selects all scheduled queries in table
64 lines
1.1 KiB
SCSS
64 lines
1.1 KiB
SCSS
.configure-pack-query-form {
|
|
.form-field {
|
|
.input-field,
|
|
.dropdown__select {
|
|
width: 175px;
|
|
float: right;
|
|
}
|
|
|
|
@at-root .configure-pack-query-form__form-field--interval {
|
|
.input-field {
|
|
padding-right: 70px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__title {
|
|
font-size: 16px;
|
|
font-weight: $bold;
|
|
letter-spacing: -0.5px;
|
|
color: $text-dark;
|
|
border-bottom: 1px solid #eaeefb;
|
|
padding: 0 0 9px;
|
|
margin: 0 0 9px;
|
|
}
|
|
|
|
&__fields {
|
|
.form-field {
|
|
position: relative;
|
|
|
|
&__label {
|
|
font-size: 16px;
|
|
font-weight: $bold;
|
|
line-height: 40px;
|
|
letter-spacing: -0.5px;
|
|
color: $text-medium;
|
|
display: inline-block;
|
|
width: 70px;
|
|
text-transform: lowercase;
|
|
padding-left: 12px;
|
|
}
|
|
|
|
&__hint {
|
|
position: absolute;
|
|
bottom: 13px;
|
|
right: 10px;
|
|
text-transform: lowercase;
|
|
}
|
|
}
|
|
|
|
.kolidecon {
|
|
margin-right: 6px;
|
|
}
|
|
}
|
|
|
|
&__btn-wrapper {
|
|
padding-top: 20px;
|
|
|
|
.button {
|
|
display: block;
|
|
width: 100%;
|
|
margin-bottom: 20px;
|
|
}
|
|
}
|
|
}
|