Edit online

Tasks

Tasks provide step-by-step instructions that enable a user to perform an operation.

Edit online

How to Add Requirements Labels

It is possible to add tasks headings by setting the args.gen.task.lbl parameter in the transformation. However, Machinery Tasks have some extra required elements. It is possible to add labels for these requirements by adding the following rules to your customization CSS:

*[class ~= "taskreq-d/reqconds"]:before,
*[class ~= "taskreq-d/reqpers"]:before,
*[class ~= "taskreq-d/supequip"]:before,
*[class ~= "taskreq-d/supplies"]:before,
*[class ~= "taskreq-d/spares"]:before,
*[class ~= "taskreq-d/safety"]:before {
  font-weight: bold;
  padding-left: 20px;
}

*[class ~= "taskreq-d/reqconds"]:before {
  content: "Conditions: ";
}
*[class ~= "taskreq-d/reqpers"]:before {
  content: "Personnel: ";
}
*[class ~= "taskreq-d/personnel"]:before {
  content: "Number of workers: " !important;
}
*[class ~= "taskreq-d/perscat"]:before {
  content: "Category: " !important;
}
*[class ~= "taskreq-d/perskill"]:before {
  content: "Skill level: " !important;
}
*[class ~= "taskreq-d/esttime"]:before {
  content: "Time estimate: " !important;
}
*[class ~= "taskreq-d/supequip"]:before {
  content: "Equipment: " !important;
}
*[class ~= "taskreq-d/supplies"]:before {
  content: "Supplies: " !important;
}
*[class ~= "taskreq-d/spares"]:before {
  content: "Spares:";
}
*[class ~= "taskreq-d/safety"]:before {
  content: " Safety:";
}