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.

78 lines
2.4 KiB

  1. {% extends "base.html" %}
  2. {% load static %}
  3. {% load render_bundle from webpack_loader %}
  4. {% block header %}
  5. <link rel="stylesheet" href="{% static 'assets/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. <a href="{% url 'users' view.kwargs.project_id %}" class="item">
  58. <span class="icon">
  59. <i class="fas fa-users"></i>
  60. </span>
  61. <span class="name">Users</span>
  62. </a>
  63. </div>
  64. </div>
  65. </aside>
  66. <div class="column is-10 messages hero is-fullheight" id="message-feed">
  67. <div id="mail-app">
  68. {% block content-area %}{% endblock %}
  69. </div>
  70. </div>
  71. </div>
  72. {% endblock %}
  73. {% block footer %}
  74. {% if bundle_name %}
  75. {% render_bundle bundle_name 'js' %}
  76. {% endif %}
  77. {% endblock %}