mirror of
https://github.com/fleetdm/fleet
synced 2026-05-09 10:11:03 +00:00
Closes: #18047 Changes: - Added three steps to the /start questionnaire - Updated the contact page to prefill information for logged-in users by default - Updated the layout of the f/leetctl-preview page for users navigating to it from the /start page. - Updated the quote for vulnerability management on the /start and /contact pages to have a logo (There will be a separate PR, to add it to testimonials.yml) --------- Co-authored-by: Mike Thomas <[email protected]>
39 lines
623 B
JavaScript
Vendored
39 lines
623 B
JavaScript
Vendored
module.exports = {
|
|
|
|
|
|
friendlyName: 'View fleetctl preview',
|
|
|
|
|
|
description: 'Display "fleetctl preview" page.',
|
|
|
|
inputs: {
|
|
start: {
|
|
type: 'boolean',
|
|
description: 'A boolean flag that will hide the "next steps" buttons on the page if set to true',
|
|
defaultsTo: false,
|
|
}
|
|
},
|
|
|
|
exits: {
|
|
|
|
success: {
|
|
viewTemplatePath: 'pages/fleetctl-preview'
|
|
},
|
|
|
|
redirect: {
|
|
description: 'The requesting user is not logged in.',
|
|
responseType: 'redirect'
|
|
},
|
|
|
|
},
|
|
|
|
|
|
fn: async function ({start}) {
|
|
|
|
// Respond with view.
|
|
return {hideNextStepsButtons: start};
|
|
|
|
}
|
|
|
|
|
|
};
|