Browse Source

enhancement: add button to jumpy between edit data page and annotation page

pull/34/head
Bramble Xu 6 years ago
parent
commit
d28c5c7518
2 changed files with 14 additions and 0 deletions
  1. 6
      app/server/templates/admin/admin_base.html
  2. 8
      app/server/templates/annotation/annotation_base.html

6
app/server/templates/admin/admin_base.html

@ -4,6 +4,12 @@
<link rel="stylesheet" href="{% static 'css/admin.css' %}">
{% endblock %}
{% block navigation %}
<a class="navbar-item" href="{% url 'annotation' view.kwargs.project_id %}">
<span class="icon">
<i class="fas fa-user-edit"></i>
</span>
<b>Annotate Data</b>
</a>
<a class="navbar-item" href="{% url 'upload' view.kwargs.project_id %}">
<span class="icon">
<i class="fas fa-upload"></i>

8
app/server/templates/annotation/annotation_base.html

@ -5,6 +5,14 @@
<script src="https://unpkg.com/marked@0.3.6"></script>
<script src="https://unpkg.com/lodash@4.16.0"></script>
{% endblock %}
{% block navigation %}
<a class="navbar-item" href="{% url 'dataset' view.kwargs.project_id %}">
<span class="icon">
<i class="fas fa-edit"></i>
</span>
<b>Edit Data</b>
</a>
{% endblock %}
{% block content %}
<div class="columns" id="mail-app" v-cloak>
<aside class="column is-3 aside hero is-fullheight">

Loading…
Cancel
Save