show paper status

This commit is contained in:
Anton Romanov 2018-11-14 17:04:13 +04:00
parent f587f80eb6
commit 863991953c

View File

@ -12,7 +12,7 @@ function showPapers(papersElement, paperRowClass) {
" <i class='fa fa-file-text-o fa-stack-1x fa-inverse'></i>" + " <i class='fa fa-file-text-o fa-stack-1x fa-inverse'></i>" +
" </span>" + " </span>" +
" <a href='paper?id=" + paper.id + "" + " <a href='paper?id=" + paper.id + "" +
"'><span>" + (index+1) + ". " + paper.title + "</span></a></div>" + "'><span>" + (index + 1) + ". " + paper.title + "</span></a></div>" +
"<div class='col-md-1'>" + "<div class='col-md-1'>" +
"<span class='remove-paper d-none' onclick=\"deletePaper(" + paper.id + ",'" + papersElement + "', '" + paperRowClass + "')\">" + "<span class='remove-paper d-none' onclick=\"deletePaper(" + paper.id + ",'" + papersElement + "', '" + paperRowClass + "')\">" +
"<i class=\"fa fa-trash\" aria-hidden=\"true\"></i></span>" + "<i class=\"fa fa-trash\" aria-hidden=\"true\"></i></span>" +
@ -84,7 +84,7 @@ function showPaperDashboard(dashboardElement) {
"<div class=\"row\">" + "<div class=\"row\">" +
"<div class=\"col-2\">" + "<div class=\"col-2\">" +
"<span class=\"fa-stack fa-1x\">" + "<span class=\"fa-stack fa-1x\">" +
"<i class=\"fa fa-circle fa-stack-2x text-primary\"></i>" + "<i class=\"fa fa-circle fa-stack-2x " + getPaperStatusClass(paper.status) + "\"></i>" +
"<i class=\"fa fa-file-text-o fa-stack-1x fa-inverse\"></i>" + "<i class=\"fa fa-file-text-o fa-stack-1x fa-inverse\"></i>" +
"</span>" + "</span>" +
"</div>" + "</div>" +