re-ordered file item in list
This commit is contained in:
parent
324eda540b
commit
eb71e1ac7a
|
@ -92,9 +92,9 @@ function getItemForm(f) {
|
|||
function getListElement(f) {
|
||||
// console.log(f);
|
||||
var $item = $('<div />').addClass("fileItem").data("data", f);
|
||||
var $icon = $('<img />').addClass("fileIcon").attr("src", "/static/images/icons2/" + f.type.toLowerCase() + ".jpg").appendTo($item);
|
||||
var $title = $('<span />').addClass("fileTitle").text(f.title).appendTo($item);
|
||||
var $study = $('<span />').addClass("fileStudy").text(" " + f.studies[0].name).appendTo($item);
|
||||
var $checkbox = $('<input />').attr("type", "checkbox").addClass("fileCheckbox").appendTo($item);
|
||||
var $icon = $('<img />').addClass("fileIcon").attr("src", "/static/images/icons2/" + f.type.toLowerCase() + ".jpg").appendTo($item);
|
||||
var $study = $('<span />').addClass("fileStudy").text(f.studies[0].name + ": ").appendTo($item);
|
||||
var $title = $('<span />').addClass("fileTitle").text(f.title).appendTo($item);
|
||||
return $item;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user