Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

tool.html 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {% extends 'base.html' %}
  2. {% block content %}
  3. <div class="row">
  4. <div class="col">
  5. <h1 class="text-center">{% block title %} {{ tool['name'] }} {% endblock %}</h1>
  6. </div>
  7. </div>
  8. {% if current_user.is_authenticated %}
  9. <div class="row text-center py-3">
  10. <a href="{{ url_for('tool.edit_tool', tool_id=tool['id']) }}">
  11. <span class="badge bg-warning">Edit</span>
  12. </a>
  13. </div>
  14. {% endif %}
  15. <div class="row">
  16. <div class="col">
  17. <table class="table table-hover">
  18. <tbody>
  19. <tr>
  20. <th>
  21. Created:
  22. </th>
  23. <td>
  24. {{ tool['created'].strftime("%Y-%m-%d %H:%M") }} UTC
  25. </td>
  26. </tr>
  27. <tr>
  28. <th>
  29. Description:
  30. </th>
  31. <td>
  32. {{ tool['description'] }}
  33. </td>
  34. </tr>
  35. <tr>
  36. <th>
  37. Project page:
  38. </th>
  39. <td>
  40. {{ tool['project_url'] }}
  41. </td>
  42. </tr>
  43. <tr>
  44. <th>
  45. Code repository:
  46. </th>
  47. <td>
  48. {{ tool['repository_url'] }}
  49. </td>
  50. </tr>
  51. <tr>
  52. <th>
  53. Stand-alone or platform?:
  54. </th>
  55. <td>
  56. {{ tool['platform_status'] }}
  57. </td>
  58. </tr>
  59. <tr>
  60. <th>
  61. Expertise required:
  62. </th>
  63. <td>
  64. {{ tool['expertise'] }}
  65. </td>
  66. </tr>
  67. <tr>
  68. <th>
  69. Expertise required to self-host:
  70. </th>
  71. <td>
  72. {{ tool['self_host_expertise'] }}
  73. </td>
  74. </tr>
  75. <tr>
  76. <th>
  77. Import / ingest:
  78. </th>
  79. <td>
  80. {{ tool['ingest'] }}
  81. </td>
  82. </tr>
  83. <tr>
  84. <th>
  85. Output formats:
  86. </th>
  87. <td>
  88. {{ tool['output'] }}
  89. </td>
  90. </tr>
  91. <tr>
  92. <th>
  93. SAAS?:
  94. </th>
  95. <td>
  96. {{ tool['saas'] }}
  97. </td>
  98. </tr>
  99. <tr>
  100. <th>
  101. Community-hosted examples:
  102. </th>
  103. <td>
  104. </td>
  105. </tr>
  106. <tr>
  107. <th>
  108. Technical dependencies:
  109. </th>
  110. <td>
  111. {{ tool['dependencies'] }}
  112. </td>
  113. </tr>
  114. </tbody>
  115. </table>
  116. </div>
  117. </div>
  118. {% endblock %}