You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
2.3 KiB

  1. {% extends "base.html" %}
  2. {% load static %}
  3. {% load render_bundle from webpack_loader %}
  4. {% block header %}
  5. <link rel="stylesheet" href="{% static 'css/admin.css' %}">
  6. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/vs2015.min.css">
  7. {% endblock %}
  8. {% block navigation %}
  9. <a class="navbar-item" href="{% url 'annotation' view.kwargs.project_id %}">
  10. <span class="icon">
  11. <i class="fas fa-user-edit"></i>
  12. </span>
  13. <b>Annotate Data</b>
  14. </a>
  15. <a class="navbar-item" href="{% url 'upload' view.kwargs.project_id %}">
  16. <span class="icon">
  17. <i class="fas fa-upload"></i>
  18. </span>
  19. <b>Import Data</b>
  20. </a>
  21. <a class="navbar-item" href="{% url 'download' view.kwargs.project_id %}">
  22. <span class="icon">
  23. <i class="fas fa-download"></i>
  24. </span>
  25. <b>Export Data</b>
  26. </a>
  27. {% endblock %}
  28. {% block content %}
  29. <div class="columns mr0">
  30. <aside class="column is-2 aside">
  31. <div>
  32. <div class="main">
  33. <a href="{% url 'dataset' view.kwargs.project_id %}" class="item">
  34. <span class="icon">
  35. <i class="fa fa-inbox"></i>
  36. </span>
  37. <span class="name">Dataset</span>
  38. </a>
  39. <a href="{% url 'label-management' view.kwargs.project_id %}" class="item">
  40. <span class="icon">
  41. <i class="fa fa-star"></i>
  42. </span>
  43. <span class="name">Labels</span>
  44. </a>
  45. <a href="{% url 'stats' view.kwargs.project_id %}" class="item">
  46. <span class="icon">
  47. <i class="fas fa-signal"></i>
  48. </span>
  49. <span class="name">Statistics</span>
  50. </a>
  51. <a href="{% url 'guideline' view.kwargs.project_id %}" class="item">
  52. <span class="icon">
  53. <i class="fas fa-book"></i>
  54. </span>
  55. <span class="name">Guideline</span>
  56. </a>
  57. <!--
  58. <a href="#" class="item">
  59. <span class="icon">
  60. <i class="fas fa-users"></i>
  61. </span>
  62. <span class="name">Users</span>
  63. </a>
  64. -->
  65. </div>
  66. </div>
  67. </aside>
  68. <div class="column is-10 messages hero is-fullheight" id="message-feed">
  69. <div id="mail-app">
  70. {% block content-area %}{% endblock %}
  71. </div>
  72. </div>
  73. </div>
  74. {% endblock %}
  75. {% block footer %}
  76. {% if bundle_name %}
  77. {% render_bundle bundle_name 'js' %}
  78. {% endif %}
  79. {% endblock %}