style(exam-correct): exam-correct table as scrolltable

This commit is contained in:
Sarah Vaupel 2020-02-01 17:00:30 +01:00 committed by Gregor Kleen
parent 63405093c4
commit 7bf1216764

View File

@ -1,11 +1,11 @@
$newline never $newline never
<section> <section>
<div uw-hide-columns="exam-correct"> <div uw-hide-columns="exam-correct" .scrolltable .scrolltable--bordered>
<table .table .table--striped table--hover uw-exam-correct=#{toPathPiece examCorrectIdent} uw-sort-table=exam-correct-#{toPathPiece examCorrectIdent}> <table .table .table--striped table--hover uw-exam-correct=#{toPathPiece examCorrectIdent} uw-sort-table=exam-correct-#{toPathPiece examCorrectIdent}>
<thead> <thead>
<tr .table__row .table__row--head> <tr .table__row .table__row--head>
<th .table__th .sortable .sorted-desc uw-exam-correct-header="date" uw-hide-column-header="date"> <th .table__th .sortable .sorted-desc .uw-exam-correct--date-cell uw-exam-correct-header="date" uw-hide-column-header="date">
_{MsgExamCorrectHeadDate} _{MsgExamCorrectHeadDate}
<th .table__th .sortable .uw-exam-correct--user-cell uw-exam-correct-header="user" uw-hide-column-header="user"> <th .table__th .sortable .uw-exam-correct--user-cell uw-exam-correct-header="user" uw-hide-column-header="user">
_{MsgExamCorrectHeadParticipant} _{MsgExamCorrectHeadParticipant}
@ -24,7 +24,7 @@ $newline never
_{MsgExamCorrectHeadStatus} _{MsgExamCorrectHeadStatus}
<tbody> <tbody>
<tr .table__row #exam-correct__new> <tr .table__row #exam-correct__new>
<td .table__td> <td .table__td .uw-exam-correct--date-cell>
<td .table__td .exam-correct--input-status> <td .table__td .exam-correct--input-status>
<input #exam-correct__user .uw-exam-correct--user-cell type="text" autofocus minLength=1> <input #exam-correct__user .uw-exam-correct--user-cell type="text" autofocus minLength=1>
<i #exam-correct__user-status .fas .fa-fw> <i #exam-correct__user-status .fas .fa-fw>