Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

63 wiersze
2.7 KiB

  1. {% extends 'base.html.twig' %}
  2. {% block title %}MPP-Tool{% endblock %}
  3. {% block body %}
  4. <h1>MPP-Tool</h1>
  5. <p id="instruction">Bitte füllen sie alle Felder aus, um eine Risikoanalyse zu erstellen.</p>
  6. <form method="post" class="form form--catalogue">
  7. <label for="asset">Bitte wählen sie eine Anlage.</label>
  8. <select name="asset" id="asset">
  9. {% for asset in dinAssets %}
  10. <option value="{{ asset.id }}">{{ asset.dinNumber }} - {{ asset.name }}</option>
  11. {% endfor %}
  12. </select>
  13. <h2>Risikoanalyse</h2>
  14. <label for="failure">Wie hoch ist die Ausfallwahrscheinlichkeit?:</label>
  15. <select name="failure" id="failure">
  16. {% for key, failure in riskFailure %}
  17. <option value="{{ key }}">{{ failure[0] }}</option>
  18. {% endfor %}
  19. </select>
  20. <label for="costs">Wie hoch ist der Schaden bei Ausfall?</label>
  21. <select name="costs" id="costs">
  22. {% for key, costs in riskCosts %}
  23. <option value="{{ key }}">{{ costs[0] }}</option>
  24. {% endfor %}
  25. </select>
  26. <h2>Optimierungsckeck</h2>
  27. <label for="maintenance">Wird durch die Wartung der Abnutzungsvorrat positiv beeinflusst?</label>
  28. <select name="maintenance" id="maintenance">
  29. <option value="-">-</option>
  30. <option value="0">Nein</option>
  31. <option value="1">Ja</option>
  32. </select>
  33. <label for="inspection">Kann durch eine Inspektion der Zustand der Anlage erkannt werden?</label>
  34. <select name="inspection" id="inspection">
  35. <option value="-">-</option>
  36. <option value="0">Nein</option>
  37. <option value="1">Ja</option>
  38. </select>
  39. <label for="check">Genügt eine einfache Sichtkontrolle im Rahmen des regelmäßigen Rundgangs?</label>
  40. <select name="check" id="check">
  41. <option value="-">-</option>
  42. <option value="0">Nein</option>
  43. <option value="1">Ja</option>
  44. </select>
  45. <label for="cycle">Aktueller Zyklus (in Monaten)</label>
  46. {% if initialDinAsset is not null %}
  47. <input name="cycle" type="number" id="cycle" value="{{ initialDinAsset.cycleMonthsRecommended }}" min="{{ initialDinAsset.cycleMonthsMin }}" max ="{{ initialDinAsset.cycleMonthsMax }}">
  48. {% else %}
  49. <input name="cycle" type="number" id="cycle" disabled>
  50. {% endif %}
  51. <label for="bandwidth">Bandbreite Anlage</label>
  52. <select name="bandwidth" id="bandwidth">
  53. {% for key, benchmarkValue in benchmarkValues %}
  54. <option value="{{ key }}">{{ benchmarkValue }}</option>
  55. {% endfor %}
  56. </select>
  57. </form>
  58. {% endblock %}