Add tracker functionality
This commit is contained in:
@@ -55,3 +55,8 @@ html {
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tracker-dropdown {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-top: -2px;
|
||||||
|
}
|
||||||
@@ -27,17 +27,31 @@ block content
|
|||||||
table.highlight
|
table.highlight
|
||||||
thead
|
thead
|
||||||
tr
|
tr
|
||||||
|
th
|
||||||
|
p
|
||||||
|
label
|
||||||
|
input#overview-checkbox(type="checkbox")
|
||||||
|
span
|
||||||
th Title Text
|
th Title Text
|
||||||
th language
|
th
|
||||||
|
a.dropdown-trigger language ▼
|
||||||
th Artifact
|
th Artifact
|
||||||
th Chapter
|
th Chapter
|
||||||
th translator
|
th
|
||||||
th proof reader
|
a.dropdown-trigger translator ▼
|
||||||
th editor
|
th
|
||||||
|
a.dropdown-trigger proof reader ▼
|
||||||
|
th
|
||||||
|
a.dropdown-trigger editor ▼
|
||||||
tbody
|
tbody
|
||||||
each translationChapter in translationChapters.sort((a, b) => a.index - b.index)
|
each translationChapter in translationChapters.sort((a, b) => a.index - b.index)
|
||||||
tr(onclick=`window.location='/projects/${project.id}/tracker/${translationChapter.id}'`)
|
tr(onclick=`window.location='/projects/${project.id}/tracker/${translationChapter.id}'`)
|
||||||
//- TODO: link to the translationChapter...
|
//- TODO: link to the translationChapter...
|
||||||
|
td
|
||||||
|
p
|
||||||
|
label
|
||||||
|
input(type="checkbox")
|
||||||
|
span
|
||||||
td(title=translationChapter.chapter.name)= translationChapter.chapter.name
|
td(title=translationChapter.chapter.name)= translationChapter.chapter.name
|
||||||
td
|
td
|
||||||
a(href=`/projects/${project.id}/tracker?dialectId=${translationChapter.translationArtifactVersion.dialect.id}`)= translationChapter.translationArtifactVersion.dialect.name
|
a(href=`/projects/${project.id}/tracker?dialectId=${translationChapter.translationArtifactVersion.dialect.id}`)= translationChapter.translationArtifactVersion.dialect.name
|
||||||
|
|||||||
Reference in New Issue
Block a user