Revision 82189820 snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/templates.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/templates.js | ||
---|---|---|
174 | 174 |
'id': ("modal-destroy"), |
175 | 175 |
'hasButtons': ("true") |
176 | 176 |
},hashTypes:{'id': "STRING",'hasButtons': "STRING"},hashContexts:{'id': depth0,'hasButtons': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "reveal-modal", options)))); |
177 |
data.buffer.push("\n\n "); |
|
178 |
data.buffer.push(escapeExpression((helper = helpers['reveal-modal'] || (depth0 && depth0['reveal-modal']),options={hash:{ |
|
179 |
'id': ("generic"), |
|
180 |
'hasButtons': ("true") |
|
181 |
},hashTypes:{'id': "STRING",'hasButtons': "STRING"},hashContexts:{'id': depth0,'hasButtons': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "reveal-modal", options)))); |
|
177 | 182 |
data.buffer.push("\n</section>"); |
178 | 183 |
return buffer; |
179 | 184 |
|
... | ... | |
254 | 259 |
|
255 | 260 |
}); |
256 | 261 |
|
262 |
Ember.TEMPLATES["components/open-reveal"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
|
263 |
this.compilerInfo = [4,'>= 1.0.0']; |
|
264 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {}; |
|
265 |
var buffer = '', escapeExpression=this.escapeExpression; |
|
266 |
|
|
267 |
|
|
268 |
data.buffer.push("<a "); |
|
269 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "deleteTag", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data}))); |
|
270 |
data.buffer.push(" class=\"act\" data-reveal-id=\"detach-volume\"> </a>"); |
|
271 |
return buffer; |
|
272 |
|
|
273 |
}); |
|
274 |
|
|
257 | 275 |
Ember.TEMPLATES["components/resource-tags"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
258 | 276 |
this.compilerInfo = [4,'>= 1.0.0']; |
259 | 277 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {}; |
... | ... | |
327 | 345 |
data.buffer.push(">\n <div class=\"what\">\n <div class=\"img-wrap\">\n <span class=\"snf-volume-full snf-font\"></span>\n </div>\n <h4>"); |
328 | 346 |
stack1 = helpers._triageMustache.call(depth0, "item.name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
329 | 347 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
330 |
data.buffer.push("</h4>\n </div>\n <div class=\"clearfix\">\n <ul class=\"connections\">\n <li>\n <a href=\"#\" class=\"act\" data-reveal-id=\"detach-volume\"> </a>\n <div class=\"icon\"></div>\n <div class=\"data\">\n <ul>\n <li>\n <h5 class=\"volume-data\">Size</h5>\n <p>"); |
|
348 |
data.buffer.push("</h4>\n </div>\n <div class=\"clearfix\">\n <ul class=\"connections\">\n <li>\n\n <a href=\"#\" "); |
|
349 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "revealModal", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data}))); |
|
350 |
data.buffer.push(" class=\"act\" > </a>\n <div class=\"icon\"></div>\n <div class=\"data\">\n <ul>\n <li>\n <h5 class=\"volume-data\">Size</h5>\n <p>"); |
|
331 | 351 |
data.buffer.push(escapeExpression((helper = helpers['bytes-to-human'] || (depth0 && depth0['bytes-to-human']),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "item.size", options) : helperMissing.call(depth0, "bytes-to-human", "item.size", options)))); |
332 | 352 |
data.buffer.push("</p>\n </li>\n <li>\n <h5 class=\"volume-data\">Storage Type</h5>\n <p>"); |
333 | 353 |
stack1 = helpers._triageMustache.call(depth0, "item.storageType", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
... | ... | |
429 | 449 |
|
430 | 450 |
var buffer = ''; |
431 | 451 |
data.buffer.push("\n"); |
432 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "App.volumesListView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data})));
|
|
452 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "App.VolumesListView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data})));
|
|
433 | 453 |
data.buffer.push("\n <section class=\"connect-new disk\">\n <div class=\"img-wrap\">\n <a href=\"\" data-reveal-id=\"attach-volume\">\n <span class=\"snf-volume-full snf-font\"></span>\n </a>\n </div>\n <p><a href=\"\" data-reveal-id=\"attach-volume\">Attach Volume</a></p>\n </section>\n"); |
434 | 454 |
return buffer; |
435 | 455 |
} |
... | ... | |
501 | 521 |
data.buffer.push("<li "); |
502 | 522 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
503 | 523 |
'data-status': ("status"), |
504 |
'class': ("status") |
|
505 |
},hashTypes:{'data-status': "ID",'class': "ID"},hashContexts:{'data-status': depth0,'class': depth0},contexts:[],types:[],data:data})));
|
|
506 |
data.buffer.push(">\n "); |
|
524 |
'class': ("this.status")
|
|
525 |
},hashTypes:{'data-status': "ID",'class': "STRING"},hashContexts:{'data-status': depth0,'class': depth0},contexts:[],types:[],data:data})));
|
|
526 |
data.buffer.push(">\n\n ");
|
|
507 | 527 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "App.sideActionsView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}))); |
508 | 528 |
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 "); |
509 | 529 |
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)))); |
... | ... | |
766 | 786 |
var buffer = '', helper, options; |
767 | 787 |
data.buffer.push("\n "); |
768 | 788 |
data.buffer.push(escapeExpression((helper = helpers['volume-el'] || (depth0 && depth0['volume-el']),options={hash:{ |
769 |
'item': ("volume") |
|
770 |
},hashTypes:{'item': "ID"},hashContexts:{'item': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "volume-el", options)))); |
|
789 |
'item': ("volume"), |
|
790 |
'ok': ("dettachVolume"), |
|
791 |
'param': ("volume") |
|
792 |
},hashTypes:{'item': "ID",'ok': "STRING",'param': "ID"},hashContexts:{'item': depth0,'ok': depth0,'param': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "volume-el", options)))); |
|
771 | 793 |
data.buffer.push("\n"); |
772 | 794 |
return buffer; |
773 | 795 |
} |
Also available in: Unified diff