Skip to content
Snippets Groups Projects
Commit 9c76edac authored by juanf's avatar juanf
Browse files

SSDM-1071 : PAPER - Empty Trashcan

SVN: 32840
parent 603d5ccd
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ function TrashManagerController(mainController) {
var _this = this;
mainController.serverFacade.listDeletions(function(data) {
if(data.result && data.result.length > 0) {
//Fill Model
_this._trashManagerModel.deletions = data.result;
}
_this._trashManagerView.repaint($container);
});
......
......@@ -15,5 +15,5 @@
*/
function TrashManagerModel() {
this.deletions = null;
}
\ No newline at end of file
......@@ -20,6 +20,17 @@ function TrashManagerView(trashManagerController, trashManagerModel) {
this.repaint = function($container) {
$container.empty();
$container.append("Hello Trashcan!");
var $containerColumn = $("<form>", {
"class" : FormUtil.formColumClass + " form-horizontal",
'role' : "form",
"action" : "javascript:void(0);",
"onsubmit" : ""
});
var $trashIcon = $("<span>", { 'class' : 'glyphicon glyphicon-trash'});
$containerColumn.append($("<h2>").append($trashIcon).append(" Trashcan"));
$container.append($containerColumn);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment