Revision 631f7329 snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/templates.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/templates.js | ||
---|---|---|
337 | 337 |
|
338 | 338 |
}); |
339 | 339 |
|
340 |
Ember.TEMPLATES["details-tab"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
|
341 |
this.compilerInfo = [4,'>= 1.0.0']; |
|
342 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {}; |
|
343 |
var buffer = '', stack1, escapeExpression=this.escapeExpression, self=this, helperMissing=helpers.helperMissing; |
|
344 |
|
|
345 |
function program1(depth0,data) { |
|
346 |
|
|
347 |
var buffer = '', stack1, helper, options; |
|
348 |
data.buffer.push("\n <li>"); |
|
349 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{ |
|
350 |
'title': ("menu.link") |
|
351 |
},hashTypes:{'title': "ID"},hashContexts:{'title': depth0},inverse:self.noop,fn:self.program(2, program2, data),contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "menu.link", options) : helperMissing.call(depth0, "link-to", "menu.link", options)); |
|
352 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
|
353 |
data.buffer.push("</li>\n "); |
|
354 |
return buffer; |
|
355 |
} |
|
356 |
function program2(depth0,data) { |
|
357 |
|
|
358 |
var buffer = ''; |
|
359 |
data.buffer.push("<span "); |
|
360 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
|
361 |
'class': ("menu.icon") |
|
362 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
|
363 |
data.buffer.push("></span>"); |
|
364 |
return buffer; |
|
365 |
} |
|
366 |
|
|
367 |
data.buffer.push(" <ul>\n "); |
|
368 |
stack1 = helpers.each.call(depth0, "menu", "in", "submenu", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0,depth0,depth0],types:["ID","ID","ID"],data:data}); |
|
369 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
|
370 |
data.buffer.push("\n</ul>"); |
|
371 |
return buffer; |
|
372 |
|
|
373 |
}); |
|
374 |
|
|
340 | 375 |
Ember.TEMPLATES["details"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
341 | 376 |
this.compilerInfo = [4,'>= 1.0.0']; |
342 | 377 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {}; |
... | ... | |
376 | 411 |
stack1 = helpers.each.call(depth0, "item", "in", "actionsMeta", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0,depth0,depth0],types:["ID","ID","ID"],data:data}); |
377 | 412 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
378 | 413 |
data.buffer.push("\n </ul>\n </div>\n\n "); |
379 |
data.buffer.push(escapeExpression((helper = helpers.outlet || (depth0 && depth0.outlet),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "tabs-details", options) : helperMissing.call(depth0, "outlet", "tabs-details", options))));
|
|
380 |
data.buffer.push("\n\n\n </div>\n </section>\n ");
|
|
414 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "App.DetailsTabView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data})));
|
|
415 |
data.buffer.push("\n\n </div>\n </section>\n "); |
|
381 | 416 |
stack1 = helpers._triageMustache.call(depth0, "outlet", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
382 | 417 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
383 | 418 |
data.buffer.push("\n\n <div class=\"placeholder\"></div>\n </div>\n</section>"); |
... | ... | |
620 | 655 |
|
621 | 656 |
}); |
622 | 657 |
|
623 |
Ember.TEMPLATES["tabs-details"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
|
624 |
this.compilerInfo = [4,'>= 1.0.0']; |
|
625 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {}; |
|
626 |
var buffer = '', stack1, helper, options, self=this, helperMissing=helpers.helperMissing; |
|
627 |
|
|
628 |
function program1(depth0,data) { |
|
629 |
|
|
630 |
|
|
631 |
data.buffer.push("<span class=\"snf-info-outline\"></span>"); |
|
632 |
} |
|
633 |
|
|
634 |
function program3(depth0,data) { |
|
635 |
|
|
636 |
|
|
637 |
data.buffer.push("<span class=\"snf-volume-outline\"></span>"); |
|
638 |
} |
|
639 |
|
|
640 |
function program5(depth0,data) { |
|
641 |
|
|
642 |
|
|
643 |
data.buffer.push("<span class=\"snf-network-outline snf-font\"></span>"); |
|
644 |
} |
|
645 |
|
|
646 |
data.buffer.push("<div class=\"tabs\">\n <ul> \n <li>"); |
|
647 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["STRING"],data:data},helper ? helper.call(depth0, "vm.info", options) : helperMissing.call(depth0, "link-to", "vm.info", options)); |
|
648 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
|
649 |
data.buffer.push("</li>\n <li>"); |
|
650 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(3, program3, data),contexts:[depth0],types:["STRING"],data:data},helper ? helper.call(depth0, "vm.disk-connected", options) : helperMissing.call(depth0, "link-to", "vm.disk-connected", options)); |
|
651 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
|
652 |
data.buffer.push("</li>\n <li>"); |
|
653 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(5, program5, data),contexts:[depth0],types:["STRING"],data:data},helper ? helper.call(depth0, "vm.network-connected", options) : helperMissing.call(depth0, "link-to", "vm.network-connected", options)); |
|
654 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
|
655 |
data.buffer.push("</li>\n </ul>\n</div>\n"); |
|
656 |
return buffer; |
|
657 |
|
|
658 |
}); |
|
659 |
|
|
660 | 658 |
Ember.TEMPLATES["tags-list"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
661 | 659 |
this.compilerInfo = [4,'>= 1.0.0']; |
662 | 660 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {}; |
Also available in: Unified diff