Add tracker functionality

This commit is contained in:
kngako
2022-06-19 22:12:45 +02:00
parent 3abd85e4fa
commit eba4f3b6b1
2 changed files with 23 additions and 4 deletions

View File

@@ -54,4 +54,9 @@ html {
width: 1rem;
text-overflow: ellipsis;
overflow: hidden;
}
.tracker-dropdown {
margin-left: 0;
margin-top: -2px;
}

View File

@@ -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