mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-02 04:41:49 -05:00
Latest changes to Inventory help. Re-styled dialogs. Fixed presentation so that Next and Previous are possible. Added close button.
This commit is contained in:
@@ -7,59 +7,59 @@
|
||||
*
|
||||
* @dict
|
||||
*/
|
||||
|
||||
angular.module('InventoryGroupsHelpDefinition', [])
|
||||
.value(
|
||||
'InventoryGroupsHelp', {
|
||||
story: {
|
||||
hdr: 'Building your inventory',
|
||||
steps: {
|
||||
step1: {
|
||||
intro: 'Start by creating a group:',
|
||||
img: { src: 'groups001.png', maxWidth: 338 , maxHeight: 222 },
|
||||
box: "Click <i class=\"fa fa-plus\"></i> on the groups list (the left side of the page) to add a new group.",
|
||||
autoOffNotice: true,
|
||||
height: 500
|
||||
},
|
||||
step2: {
|
||||
intro: ' ',
|
||||
img: { src: 'groups002.png', maxWidth: 443, maxHeight: 251 },
|
||||
box: "Provide a name, description and any variables.",
|
||||
height: 500
|
||||
},
|
||||
step3: {
|
||||
intro: ' ',
|
||||
img: { src: 'groups003.png', maxWidth: 412, maxHeight: 215 },
|
||||
box: "If this is a cloud inventory, choose a Source and provide credentials.",
|
||||
height: 500
|
||||
},
|
||||
step4: {
|
||||
intro: ' ',
|
||||
img: { src: 'groups004.png', maxWidth: 261, maxHeight: 221 },
|
||||
box: "For a cloud inventory, start the sync process by clicking <i class=\"fa fa-exchange\"></i>.",
|
||||
height: 500
|
||||
},
|
||||
step5: {
|
||||
intro: "Groups can have subgroups:",
|
||||
img: { src: 'groups005.png', maxWidth: 430, maxHeight: 206 },
|
||||
box: "<div class=\"text-left\">First, select a group. Then click <i class=\"fa fa-plus\"></i> to create a new group. The new group " +
|
||||
"will be added to the selected group.</div>",
|
||||
height: 500
|
||||
},
|
||||
step6: {
|
||||
intro: 'Copy or move groups:',
|
||||
img: { src: 'groups006.png', maxWidth: 263, maxHeight: 211 },
|
||||
box: "<div class=\"text-left\">Copy or move a group by dragging and dropping its name onto another group name. A dialog will appear asking " +
|
||||
"if the group should be coppied or moved.</div>",
|
||||
height: 500
|
||||
},
|
||||
step7: {
|
||||
intro: 'Next, add hosts:',
|
||||
img: { src: 'groups007.png', maxWidth: 466, maxHeight: 178 },
|
||||
box: "<div class=\"text-left\"><p>First, select a Group. " +
|
||||
"Then click <i class=\"fa fa-plus\"></i> on the hosts list (the right side of the page) to create a host. " +
|
||||
"The new host will be part of the selected group.</p><p>Note hosts cannot be added to the All Hosts group.</p></div>",
|
||||
height: 500
|
||||
}
|
||||
width: 510,
|
||||
height: 560,
|
||||
steps: [
|
||||
{
|
||||
intro: 'Start by creating a group:',
|
||||
img: { src: 'groups001.png', maxWidth: 338 , maxHeight: 222 },
|
||||
box: "Click <i class=\"fa fa-plus\"></i> on the groups list (the left side of the page) to add a new group.",
|
||||
autoOffNotice: true
|
||||
},
|
||||
{
|
||||
intro: 'Enter group properties:',
|
||||
img: { src: 'groups002.png', maxWidth: 443, maxHeight: 251 },
|
||||
box: 'Enter the group name, a description and any inventory variables. Variables can be entered using either JSON or YAML syntax. ' +
|
||||
'For more on inventory variables, see <a href=\"http://docs.ansible.com/intro_inventory.html\" target="_blank"> ' +
|
||||
'docs.ansible.com/intro_inventory.html</a>'
|
||||
},
|
||||
{
|
||||
intro: 'Cloud inventory: select cloud source',
|
||||
img: { src: 'groups003.png', maxWidth: 412, maxHeight: 215 },
|
||||
box: "For a cloud inventory, choose the cloud provider from the list and select your credentials. If you have not already setup " +
|
||||
"credentials for the provider, you will need to do that first on the <a href=\"/#/credentials\" " +
|
||||
"target=\"_blank\">Credentials</a> tab."
|
||||
},
|
||||
{
|
||||
intro: 'Cloud inventory: synchronize Tower with the cloud',
|
||||
img: { src: 'groups004.png', maxWidth: 261, maxHeight: 221 },
|
||||
box: "To pull the cloud inventory into Tower, initiate an inventory sync by clicking <i class=\"fa fa-exchange\"></i>.",
|
||||
},
|
||||
{
|
||||
intro: "Groups can have subgroups:",
|
||||
img: { src: 'groups005.png', maxWidth: 430, maxHeight: 206 },
|
||||
box: "<div class=\"text-left\">First, select a group. Then click <i class=\"fa fa-plus\"></i> to create a new group. The new group " +
|
||||
"will be added to the selected group.</div>"
|
||||
},
|
||||
{
|
||||
intro: 'Copy or move groups:',
|
||||
img: { src: 'groups006.png', maxWidth: 263, maxHeight: 211 },
|
||||
box: "<div class=\"text-left\">Copy or move a group by dragging and dropping its name onto another group name. A dialog will appear " +
|
||||
"asking if the group should be coppied or moved.</div>"
|
||||
},
|
||||
{
|
||||
intro: 'Adding hosts:',
|
||||
img: { src: 'groups007.png', maxWidth: 466, maxHeight: 178 },
|
||||
box: "<div class=\"text-left\"><p>First, select a Group. " +
|
||||
"Then click <i class=\"fa fa-plus\"></i> on the hosts list (the right side of the page) to create a host. " +
|
||||
"The new host will be part of the selected group.</p><p>Note hosts cannot be added to the All Hosts group.</p></div>"
|
||||
}
|
||||
]
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user