Revision cb6d8025 snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/templates.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/templates.js | ||
---|---|---|
9 | 9 |
data.buffer.push("\n <div class=\"rt-actions\">\n "); |
10 | 10 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{ |
11 | 11 |
'class': ("single") |
12 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},inverse:self.noop,fn:self.program(2, program2, data),contexts:[depth0,depth0],types:["ID","STRING"],data:data},helper ? helper.call(depth0, "codeName", "first", options) : helperMissing.call(depth0, "link-to", "codeName", "first", options));
|
|
12 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},inverse:self.noop,fn:self.program(2, program2, data),contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "codeNameChildInit", options) : helperMissing.call(depth0, "link-to", "codeNameChildInit", options));
|
|
13 | 13 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
14 | 14 |
data.buffer.push("\n "); |
15 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(4, program4, data),contexts:[depth0,depth0],types:["ID","STRING"],data:data},helper ? helper.call(depth0, "codeName", "grid-view", options) : helperMissing.call(depth0, "link-to", "codeName", "grid-view", options));
|
|
15 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(4, program4, data),contexts:[depth0,depth0],types:["ID","STRING"],data:data},helper ? helper.call(depth0, "codeNameParent", "grid-view", options) : helperMissing.call(depth0, "link-to", "codeNameParent", "grid-view", options));
|
|
16 | 16 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
17 | 17 |
data.buffer.push("\n "); |
18 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(6, program6, data),contexts:[depth0,depth0],types:["ID","STRING"],data:data},helper ? helper.call(depth0, "codeName", "list-view", options) : helperMissing.call(depth0, "link-to", "codeName", "list-view", options));
|
|
18 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(6, program6, data),contexts:[depth0,depth0],types:["ID","STRING"],data:data},helper ? helper.call(depth0, "codeNameParent", "list-view", options) : helperMissing.call(depth0, "link-to", "codeNameParent", "list-view", options));
|
|
19 | 19 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
20 | 20 |
data.buffer.push("\n </div>\n "); |
21 | 21 |
return buffer; |
... | ... | |
309 | 309 |
'data-status': ("status"), |
310 | 310 |
'class': ("status") |
311 | 311 |
},hashTypes:{'data-status': "ID",'class': "ID"},hashContexts:{'data-status': depth0,'class': depth0},contexts:[],types:[],data:data}))); |
312 |
data.buffer.push(">\n\n ");
|
|
312 |
data.buffer.push(">\n "); |
|
313 | 313 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "App.sideActionsView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}))); |
314 |
data.buffer.push("\n\n <div class=\"container\">\n <a href=\"\" class=\"check\">\n <span class=\"snf-checkbox-unchecked\"></span>\n </a>\n \n "); |
|
314 |
data.buffer.push("\n\n <div class=\"container\">\n\n <a href=\"\" class=\"check\">\n <span class=\"snf-checkbox-unchecked\"></span>\n </a>\n \n ");
|
|
315 | 315 |
data.buffer.push(escapeExpression((helper = helpers.partial || (depth0 && depth0.partial),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data},helper ? helper.call(depth0, "img-wrap", options) : helperMissing.call(depth0, "partial", "img-wrap", options)))); |
316 | 316 |
data.buffer.push("\n\n <h4>"); |
317 | 317 |
stack1 = helpers._triageMustache.call(depth0, "name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
318 | 318 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
319 | 319 |
data.buffer.push("</h4>\n <div class= \"status\">\n <span class=\"state\">"); |
320 | 320 |
data.buffer.push(escapeExpression((helper = helpers['status-to-text'] || (depth0 && depth0['status-to-text']),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "status", options) : helperMissing.call(depth0, "status-to-text", "status", options)))); |
321 |
data.buffer.push("</span>\n </div>\n <div class=\"actions\">\n <a href=\"\" data-reveal-id=\"vm-connect\" data-tooltip title=\"connect\" class=\"connect has-tip\"><span class=\"snf-thunder-full\"></span></a>\n <a href=\"vm_details.html\" data-tooltip title=\"view vm details\" class=\"snf-info-outline has-tip\">i</a>\n </div>\n <div class=\"info\"><a "); |
|
322 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
|
323 |
'href': ("link"), |
|
324 |
'title': ("title") |
|
325 |
},hashTypes:{'href': "ID",'title': "ID"},hashContexts:{'href': depth0,'title': depth0},contexts:[],types:[],data:data}))); |
|
326 |
data.buffer.push(">"); |
|
327 |
stack1 = helpers._triageMustache.call(depth0, "link", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
|
328 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
|
329 |
data.buffer.push("</a></div>\n </div>\n</li>\n "); |
|
321 |
data.buffer.push("</span>\n </div>\n </div>\n</li>\n "); |
|
330 | 322 |
return buffer; |
331 | 323 |
|
332 | 324 |
}); |
Also available in: Unified diff