diff --git a/server/views/css/site.css b/server/views/css/site.css index c0103bf..c667a3a 100644 --- a/server/views/css/site.css +++ b/server/views/css/site.css @@ -54,4 +54,9 @@ html { width: 1rem; text-overflow: ellipsis; overflow: hidden; +} + +.tracker-dropdown { + margin-left: 0; + margin-top: -2px; } \ No newline at end of file diff --git a/server/views/project-tracker.pug b/server/views/project-tracker.pug index dcd5199..81e284f 100644 --- a/server/views/project-tracker.pug +++ b/server/views/project-tracker.pug @@ -27,17 +27,31 @@ block content table.highlight thead tr + th + p + label + input#overview-checkbox(type="checkbox") + span th Title Text - th language + th + a.dropdown-trigger language ▼ th Artifact th Chapter - th translator - th proof reader - th editor + th + a.dropdown-trigger translator ▼ + th + a.dropdown-trigger proof reader ▼ + th + a.dropdown-trigger editor ▼ tbody each translationChapter in translationChapters.sort((a, b) => a.index - b.index) tr(onclick=`window.location='/projects/${project.id}/tracker/${translationChapter.id}'`) //- TODO: link to the translationChapter... + td + p + label + input(type="checkbox") + span td(title=translationChapter.chapter.name)= translationChapter.chapter.name td a(href=`/projects/${project.id}/tracker?dialectId=${translationChapter.translationArtifactVersion.dialect.id}`)= translationChapter.translationArtifactVersion.dialect.name