modules.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. ---
  2. layout: page
  3. title: Modules
  4. permalink: /modules/
  5. ---
  6. <p>
  7. These are the present modules currently available for authoring a
  8. Rule. Press the icon next to a module's name for details about
  9. it. Not all entries are
  10. complete. Please <a href="mailto:medlab@colorado.edu">write to
  11. us</a> with suggestions for additional modules or improvements to
  12. existing ones.
  13. </p>
  14. {% assign modules_array = site.modules | sort: "type" | reverse %}
  15. {% for module in modules_array %}
  16. {% if module.layout == "module" %}
  17. <span class="module" id="module-{{ module.title | slugify }}"
  18. draggable="true" ondragstart="drag(event)">
  19. <span id="module-title" title="{{ module.summary }}">
  20. {{ module.title }}</span>
  21. <a target="_blank" href="{{ module.url }}">
  22. <img title="{{ module.type }} (press for info)" draggable="false" class="module-logo"
  23. {% if module.type == "structure" %}
  24. src="{% link assets/tabler_icons/building.svg %}" {% endif %}
  25. {% if module.type == "process" %}
  26. src="{% link assets/tabler_icons/rotate.svg %}" {% endif %}
  27. {% if module.type == "decision" %}
  28. src="{% link assets/tabler_icons/thumb-up.svg %}" {% endif %}
  29. {% if module.type == "culture" %}
  30. src="{% link assets/tabler_icons/palette.svg %}" {% endif %}
  31. /></a>
  32. <a onclick="this.parentNode.remove()" class="delete-module"
  33. style="display:none">
  34. <img src="{% link assets/tabler_icons/x.svg %}" /></a>
  35. </span>
  36. {% endif %}
  37. {% endfor %}