diff --git a/doccano/app/server/templates/project_list.html b/doccano/app/server/templates/project_list.html index b18d63e7..1a0da916 100644 --- a/doccano/app/server/templates/project_list.html +++ b/doccano/app/server/templates/project_list.html @@ -1,74 +1,47 @@ -{% extends "base.html" %} -{% load static %} -{% block content %} +{% extends "base.html" %} {% load static %} {% block content %}
-
+
- {% for project in object_list %}
-

{{ project.name }}

+

My Projects

-
-

- -

-
-

{{ project.description|truncatechars:200 }}

-

- @jsmith created at {{ project.created_at|date }}   - Question -

+ + + + + + + + + + + + {% for project in object_list %} + + + + + + + + {% endfor %} + +
IdProject namePriorityProgressAction
{{ forloop.counter }} + {{ project.name }} +

{{ project.description|truncatechars:50 }}

+
High30% + Admin +
-
- - 1 -
- {% empty %} - No projects yet. - {% endfor %}
- - -
- New Project - -
-
{% endblock %} \ No newline at end of file diff --git a/doccano/app/server/urls.py b/doccano/app/server/urls.py index 0e158ced..2b504ae9 100644 --- a/doccano/app/server/urls.py +++ b/doccano/app/server/urls.py @@ -5,7 +5,7 @@ from .views import ProjectListView, ProjectAdminView, RawDataAPI, LabelAPI urlpatterns = [ path('', ProjectListView.as_view(), name='project-list'), - path('/admin', ProjectAdminView.as_view()), + path('/admin', ProjectAdminView.as_view(), name='project-admin'), path('/', AnnotationView.as_view(), name='annotation'), path('/apis/data', AnnotationAPIView.as_view()), path('/apis/raw_data', RawDataAPI.as_view(), name='data_api'),