root / snf-cyclades-app / synnefo / ui / new_ui / ui / javascripts / templates.js @ 0467b6cd
History | View | Annotate | Download (33.9 kB)
1 |
Ember.TEMPLATES["_elementSidebar"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
---|---|
2 |
/**/) {
|
3 |
this.compilerInfo = [4,'>= 1.0.0']; |
4 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
5 |
var buffer = '', stack1, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, self=this; |
6 |
|
7 |
function program1(depth0,data) { |
8 |
|
9 |
var buffer = '', helper, options; |
10 |
data.buffer.push("\n <li>\n ");
|
11 |
data.buffer.push(escapeExpression((helper = helpers['btn-1'] || (depth0 && depth0['btn-1']),options={hash:{ |
12 |
'label': ("description"), |
13 |
'elementID': ("controller.id"), |
14 |
'action': ("description"), |
15 |
'param': ("controller.id") |
16 |
},hashTypes:{'label': "ID",'elementID': "ID",'action': "ID",'param': "ID"},hashContexts:{'label': depth0,'elementID': depth0,'action': depth0,'param': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "btn-1", options)))); |
17 |
data.buffer.push("\n </li>\n ");
|
18 |
return buffer;
|
19 |
} |
20 |
|
21 |
data.buffer.push("<ul class=\"side-actions\">\n <li>\n <a href=\"vm_details.html\" data-tooltip title=\"view details\" class=\"details has-tip\">i</a>\n </li>\n <li>\n <a href=\"#\" title=\"connect to machine\" data-tooltip data-reveal-id=\"vm-connect\" class=\"has-tip\">\n <span class=\"snf-thunder-full\"></span>\n </a>\n </li>\n <li class=\"more-actions\">\n <a href=\"#\" title=\"\">...</a>\n <ul class=\"many\">\n ");
|
22 |
stack1 = helpers.each.call(depth0, "setAvailableActions", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],data:data}); |
23 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
24 |
data.buffer.push("\n </ul>\n </li>\n <li class=\"bottom\">\n <a href=\"\" title=\"\"><span></span></a>\n <ul class=\"options\">\n <li class=\"selected\"><a href=\"\">My awesome project</a></li>\n <li><a href=\"\">Project 1</a></li>\n <li><a href=\"\">Project 2</a></li>\n <li><a href=\"\">Project 3</a></li>\n <li><a href=\"\">Project 4</a></li>\n </ul>\n <ul>\n <li>My awesome project</li>\n <li><a href=\"\" class=\"reassign\">Reassign<span class=\"arrow-right\"></span></a></li>\n </ul>\n </li>\n</ul>");
|
25 |
return buffer;
|
26 |
|
27 |
}); |
28 |
|
29 |
Ember.TEMPLATES["_extraElemInfo"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
30 |
/**/) {
|
31 |
this.compilerInfo = [4,'>= 1.0.0']; |
32 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
33 |
var buffer = '', stack1, self=this, escapeExpression=this.escapeExpression; |
34 |
|
35 |
function program1(depth0,data) { |
36 |
|
37 |
|
38 |
data.buffer.push("\n <div class=\"tags\">tags</div>\n");
|
39 |
} |
40 |
|
41 |
stack1 = helpers['if'].call(depth0, "parentController.hasTags", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],data:data}); |
42 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
43 |
data.buffer.push("\n<div class= \"status\">\n <span class=\"state\">");
|
44 |
stack1 = helpers._triageMustache.call(depth0, "view.status", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
45 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
46 |
data.buffer.push("</span>\n <span class=\"logs\">logs</span>\n</div>\n<div class=\"info\"><a ");
|
47 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
48 |
'href': ("hostname") |
49 |
},hashTypes:{'href': "ID"},hashContexts:{'href': depth0},contexts:[],types:[],data:data}))); |
50 |
data.buffer.push(" title=\"\">");
|
51 |
stack1 = helpers._triageMustache.call(depth0, "hostname", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
52 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
53 |
data.buffer.push("</a></div>");
|
54 |
return buffer;
|
55 |
|
56 |
}); |
57 |
|
58 |
Ember.TEMPLATES["actions"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
59 |
/**/) {
|
60 |
this.compilerInfo = [4,'>= 1.0.0']; |
61 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
62 |
|
63 |
|
64 |
|
65 |
data.buffer.push(" <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=\"has-tip\"> <span class=\"snf-info-outline\"></span></a>");
|
66 |
|
67 |
}); |
68 |
|
69 |
Ember.TEMPLATES["img-wrap"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
70 |
/**/) {
|
71 |
this.compilerInfo = [4,'>= 1.0.0']; |
72 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
73 |
var buffer = '', stack1, escapeExpression=this.escapeExpression, self=this; |
74 |
|
75 |
function program1(depth0,data) { |
76 |
|
77 |
var buffer = ''; |
78 |
data.buffer.push("\n <span ");
|
79 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
80 |
'class': ("os :os") |
81 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
82 |
data.buffer.push("></span>\n");
|
83 |
return buffer;
|
84 |
} |
85 |
|
86 |
data.buffer.push("<span ");
|
87 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
88 |
'class': ("view.icon :snf-font") |
89 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
90 |
data.buffer.push("></span>\n");
|
91 |
stack1 = helpers['if'].call(depth0, "parentController.hasOS", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],data:data}); |
92 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
93 |
data.buffer.push("\n");
|
94 |
return buffer;
|
95 |
|
96 |
}); |
97 |
|
98 |
Ember.TEMPLATES["menuOption"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
99 |
/**/) {
|
100 |
this.compilerInfo = [4,'>= 1.0.0']; |
101 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
102 |
var helper, options, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
103 |
|
104 |
|
105 |
data.buffer.push(escapeExpression((helper = helpers['btn-1'] || (depth0 && depth0['btn-1']),options={hash:{ |
106 |
'label': ("view.content") |
107 |
},hashTypes:{'label': "ID"},hashContexts:{'label': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "btn-1", options)))); |
108 |
|
109 |
}); |
110 |
|
111 |
Ember.TEMPLATES["name"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
112 |
/**/) {
|
113 |
this.compilerInfo = [4,'>= 1.0.0']; |
114 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
115 |
var stack1;
|
116 |
|
117 |
|
118 |
stack1 = helpers._triageMustache.call(depth0, "view.name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
119 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
120 |
else { data.buffer.push(''); } |
121 |
|
122 |
}); |
123 |
|
124 |
Ember.TEMPLATES["navigationItem"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
125 |
/**/) {
|
126 |
this.compilerInfo = [4,'>= 1.0.0']; |
127 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
128 |
var stack1, helper, options, escapeExpression=this.escapeExpression, self=this, helperMissing=helpers.helperMissing; |
129 |
|
130 |
function program1(depth0,data) { |
131 |
|
132 |
var buffer = ''; |
133 |
data.buffer.push(" ");
|
134 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.NavIconView", {hash:{ |
135 |
'class': ("view.content.icon") |
136 |
},hashTypes:{'class': "ID"},hashContexts:{'class': depth0},contexts:[depth0],types:["ID"],data:data}))); |
137 |
data.buffer.push(" ");
|
138 |
return buffer;
|
139 |
} |
140 |
|
141 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{ |
142 |
'activeClass': ("current"), |
143 |
'title': ("view.content.title") |
144 |
},hashTypes:{'activeClass': "STRING",'title': "ID"},hashContexts:{'activeClass': depth0,'title': depth0},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "view.content.destination", options) : helperMissing.call(depth0, "link-to", "view.content.destination", options)); |
145 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
146 |
else { data.buffer.push(''); } |
147 |
|
148 |
}); |
149 |
|
150 |
Ember.TEMPLATES["snfElem"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
151 |
/**/) {
|
152 |
this.compilerInfo = [4,'>= 1.0.0']; |
153 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
154 |
var buffer = '', stack1, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, self=this; |
155 |
|
156 |
function program1(depth0,data) { |
157 |
|
158 |
var buffer = '', helper, options; |
159 |
data.buffer.push("\n ");
|
160 |
data.buffer.push(escapeExpression((helper = helpers.partial || (depth0 && depth0.partial),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data},helper ? helper.call(depth0, "elementSidebar", options) : helperMissing.call(depth0, "partial", "elementSidebar", options)))); |
161 |
data.buffer.push("\n");
|
162 |
return buffer;
|
163 |
} |
164 |
|
165 |
function program3(depth0,data) { |
166 |
|
167 |
var buffer = '', helper, options; |
168 |
data.buffer.push("\n ");
|
169 |
data.buffer.push(escapeExpression((helper = helpers['snf-checkbox'] || (depth0 && depth0['snf-checkbox']),options={hash:{ |
170 |
'initState': ("view.initSelect") |
171 |
},hashTypes:{'initState': "ID"},hashContexts:{'initState': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "snf-checkbox", options)))); |
172 |
data.buffer.push("\n ");
|
173 |
return buffer;
|
174 |
} |
175 |
|
176 |
function program5(depth0,data) { |
177 |
|
178 |
var buffer = '', helper, options; |
179 |
data.buffer.push("\n <!-- actions will be different for every kind of models (vms <> nets <> volumes) -->\n <!-- for now: view (should be a collection of components=btn2: btns with only icon?) -->\n ");
|
180 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.ImmediateActionView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}))); |
181 |
data.buffer.push("\n ");
|
182 |
data.buffer.push(escapeExpression((helper = helpers.partial || (depth0 && depth0.partial),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data},helper ? helper.call(depth0, "extraElemInfo", options) : helperMissing.call(depth0, "partial", "extraElemInfo", options)))); |
183 |
data.buffer.push("\n ");
|
184 |
return buffer;
|
185 |
} |
186 |
|
187 |
data.buffer.push("<!-- the conditionals here define the structure of output and they are not involved with the origin of the displayed data -->\n\n");
|
188 |
stack1 = helpers.unless.call(depth0, "view.addNewBtn", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],data:data}); |
189 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
190 |
data.buffer.push("\n<div class=\"container\">\n ");
|
191 |
stack1 = helpers['if'].call(depth0, "view.selectable", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(3, program3, data),contexts:[depth0],types:["ID"],data:data}); |
192 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
193 |
data.buffer.push("\n ");
|
194 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.ImgWrapView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}))); |
195 |
data.buffer.push("\n ");
|
196 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.LabelNameView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}))); |
197 |
data.buffer.push("\n ");
|
198 |
stack1 = helpers.unless.call(depth0, "view.addNewBtn", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(5, program5, data),contexts:[depth0],types:["ID"],data:data}); |
199 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
200 |
data.buffer.push("\n</div>");
|
201 |
return buffer;
|
202 |
|
203 |
}); |
204 |
|
205 |
Ember.TEMPLATES["snfElems"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
206 |
/**/) {
|
207 |
this.compilerInfo = [4,'>= 1.0.0']; |
208 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
209 |
var buffer = '', stack1, helper, options, escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing, self=this; |
210 |
|
211 |
function program1(depth0,data) { |
212 |
|
213 |
var buffer = ''; |
214 |
data.buffer.push("\n ");
|
215 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.ElemView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}))); |
216 |
data.buffer.push("\n ");
|
217 |
return buffer;
|
218 |
} |
219 |
|
220 |
stack1 = helpers._triageMustache.call(depth0, "outlet", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
221 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
222 |
data.buffer.push("\n<section class=\"main row\">\n <div ");
|
223 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
224 |
'class': (":entities :list-view") |
225 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
226 |
data.buffer.push(">\n <ul class=\"items-list\">\n ");
|
227 |
data.buffer.push(escapeExpression((helper = helpers['add-new'] || (depth0 && depth0['add-new']),options={hash:{ |
228 |
'type': ("controller.type"), |
229 |
'action': ("openWizard") |
230 |
},hashTypes:{'type': "ID",'action': "STRING"},hashContexts:{'type': depth0,'action': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "add-new", options)))); |
231 |
data.buffer.push("\n ");
|
232 |
stack1 = helpers.each.call(depth0, {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[],types:[],data:data}); |
233 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
234 |
data.buffer.push("\n </ul>\n </div>\n</section>");
|
235 |
return buffer;
|
236 |
|
237 |
}); |
238 |
|
239 |
Ember.TEMPLATES["submenu"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
240 |
/**/) {
|
241 |
this.compilerInfo = [4,'>= 1.0.0']; |
242 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
243 |
var buffer = '', helper, options, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
244 |
|
245 |
|
246 |
data.buffer.push(escapeExpression((helper = helpers.collection || (depth0 && depth0.collection),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "Synnefo.WizardSubMenuView", options) : helperMissing.call(depth0, "collection", "Synnefo.WizardSubMenuView", options)))); |
247 |
data.buffer.push("\n");
|
248 |
return buffer;
|
249 |
|
250 |
}); |
251 |
|
252 |
Ember.TEMPLATES["test"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
253 |
/**/) {
|
254 |
this.compilerInfo = [4,'>= 1.0.0']; |
255 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
256 |
var buffer = '', stack1; |
257 |
|
258 |
|
259 |
data.buffer.push("<div>hey you ");
|
260 |
stack1 = helpers._triageMustache.call(depth0, "name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
261 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
262 |
data.buffer.push("</div>");
|
263 |
return buffer;
|
264 |
|
265 |
}); |
266 |
|
267 |
Ember.TEMPLATES["wizard"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
268 |
/**/) {
|
269 |
this.compilerInfo = [4,'>= 1.0.0']; |
270 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
271 |
var buffer = '', helper, options, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
272 |
|
273 |
|
274 |
data.buffer.push("<section class=\"overlay-area-custom\">\n <div id=\"vm-wizard\" class=\"overlay-div wizard\">\n <div class=\"top\">\n <div class=\"numbers row\">\n ");
|
275 |
data.buffer.push(escapeExpression((helper = helpers['close-1'] || (depth0 && depth0['close-1']),options={hash:{ |
276 |
'action': ("resetClose") |
277 |
},hashTypes:{'action': "STRING"},hashContexts:{'action': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "close-1", options)))); |
278 |
data.buffer.push("\n ");
|
279 |
data.buffer.push(escapeExpression((helper = helpers.collection || (depth0 && depth0.collection),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "Synnefo.WizardHeadersView", options) : helperMissing.call(depth0, "collection", "Synnefo.WizardHeadersView", options)))); |
280 |
data.buffer.push("\n </div>\n ");
|
281 |
data.buffer.push(escapeExpression((helper = helpers.collection || (depth0 && depth0.collection),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "Synnefo.WizardSubMenusView", options) : helperMissing.call(depth0, "collection", "Synnefo.WizardSubMenusView", options)))); |
282 |
data.buffer.push("\n \n </div>\n <div class=\"middle\">\n <div class=\"steps\">\n ");
|
283 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.WizardVmStep1View", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}))); |
284 |
data.buffer.push("\n </div>\n </div>\n <div class=\"bottom\">\n <div class=\"row\">\n ");
|
285 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.WizardBtnBackView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}))); |
286 |
data.buffer.push("\n ");
|
287 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.WizardBtnNextView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}))); |
288 |
data.buffer.push("\n </div>\n </div>\n </div>\n</section>\n\n");
|
289 |
return buffer;
|
290 |
|
291 |
}); |
292 |
|
293 |
Ember.TEMPLATES["wizardStepHeader"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
294 |
/**/) {
|
295 |
this.compilerInfo = [4,'>= 1.0.0']; |
296 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
297 |
var buffer = '', stack1; |
298 |
|
299 |
|
300 |
data.buffer.push("<em><span>");
|
301 |
stack1 = helpers._triageMustache.call(depth0, "view.index", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
302 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
303 |
data.buffer.push("</span></em>\n<p><strong>");
|
304 |
stack1 = helpers._triageMustache.call(depth0, "view.content.title", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
305 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
306 |
data.buffer.push("</strong> ");
|
307 |
stack1 = helpers._triageMustache.call(depth0, "view.content.subtitle", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
308 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
309 |
data.buffer.push("</p>");
|
310 |
return buffer;
|
311 |
|
312 |
}); |
313 |
|
314 |
Ember.TEMPLATES["components/btn-1"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
315 |
/**/) {
|
316 |
this.compilerInfo = [4,'>= 1.0.0']; |
317 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
318 |
var buffer = '', stack1; |
319 |
|
320 |
|
321 |
stack1 = helpers._triageMustache.call(depth0, "label", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
322 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
323 |
data.buffer.push(" ");
|
324 |
stack1 = helpers._triageMustache.call(depth0, "elementID", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
325 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
326 |
return buffer;
|
327 |
|
328 |
}); |
329 |
|
330 |
Ember.TEMPLATES["components/btns-span"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
331 |
/**/) {
|
332 |
this.compilerInfo = [4,'>= 1.0.0']; |
333 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
334 |
var buffer = '', stack1, escapeExpression=this.escapeExpression; |
335 |
|
336 |
|
337 |
data.buffer.push("<span ");
|
338 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
339 |
'class': ("view.spanClass") |
340 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
341 |
data.buffer.push(">");
|
342 |
stack1 = helpers._triageMustache.call(depth0, "view.content", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
343 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
344 |
data.buffer.push("</span>");
|
345 |
return buffer;
|
346 |
|
347 |
}); |
348 |
|
349 |
Ember.TEMPLATES["components/login-menu"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
350 |
/**/) {
|
351 |
this.compilerInfo = [4,'>= 1.0.0']; |
352 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
353 |
var buffer = '', stack1; |
354 |
|
355 |
|
356 |
data.buffer.push("<div class=\"wrap\">\n <a href=\"\">");
|
357 |
stack1 = helpers._triageMustache.call(depth0, "email", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
358 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
359 |
data.buffer.push("</a>\n <ul>\n <li><a href=\"\">dashboard</a></li>\n <li><a href=\"\">sign out</a></li>\n </ul>\n</div>");
|
360 |
return buffer;
|
361 |
|
362 |
}); |
363 |
|
364 |
Ember.TEMPLATES["components/select-btn"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
365 |
/**/) {
|
366 |
this.compilerInfo = [4,'>= 1.0.0']; |
367 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
368 |
|
369 |
|
370 |
|
371 |
data.buffer.push("<span></span>");
|
372 |
|
373 |
}); |
374 |
|
375 |
Ember.TEMPLATES["wizardSteps/image-view"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
376 |
/**/) {
|
377 |
this.compilerInfo = [4,'>= 1.0.0']; |
378 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
379 |
var buffer = '', stack1, helper, options, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, self=this; |
380 |
|
381 |
function program1(depth0,data) { |
382 |
|
383 |
var buffer = '', stack1; |
384 |
data.buffer.push("\n <dt>Kernel</dt><dd>");
|
385 |
stack1 = helpers._triageMustache.call(depth0, "kernel", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
386 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
387 |
data.buffer.push("</dd>\n ");
|
388 |
return buffer;
|
389 |
} |
390 |
|
391 |
data.buffer.push("<div class=\"row\">\n <div class=\"img-col\"><img src=\"images/os-kubuntu.png\" alt=\"\"></div>\n <a href=\"\" class=\"name-col\">");
|
392 |
stack1 = helpers._triageMustache.call(depth0, "name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
393 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
394 |
data.buffer.push("</a>\n <div class=\"size-col\">");
|
395 |
data.buffer.push(escapeExpression((helper = helpers.bytesToGbytes || (depth0 && depth0.bytesToGbytes),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "size", options) : helperMissing.call(depth0, "bytesToGbytes", "size", options)))); |
396 |
data.buffer.push("</div>\n <div class=\"btn-col\">");
|
397 |
data.buffer.push(escapeExpression((helper = helpers['btns-span'] || (depth0 && depth0['btns-span']),options={hash:{ |
398 |
'class': ("wrap-a"), |
399 |
'content': ("details") |
400 |
},hashTypes:{'class': "STRING",'content': "STRING"},hashContexts:{'class': depth0,'content': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "btns-span", options)))); |
401 |
data.buffer.push("</div>\n\n</div>\n<div class=\"details\">\n <div class=\"row\">\n <h3>Image metadata</h3>\n <dl>\n <dt>Description [here?]</dt><dd>");
|
402 |
stack1 = helpers._triageMustache.call(depth0, "properties.description", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
403 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
404 |
data.buffer.push("</dd>\n <dt>Owner</dt><dd>");
|
405 |
stack1 = helpers._triageMustache.call(depth0, "view.ownerEmail", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
406 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
407 |
data.buffer.push("</dd>\n <dt>OS</dt><dd>");
|
408 |
stack1 = helpers._triageMustache.call(depth0, "properties.os", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
409 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
410 |
data.buffer.push("</dd>\n <dt>OS Family</dt><dd>");
|
411 |
stack1 = helpers._triageMustache.call(depth0, "properties.osfamily", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
412 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
413 |
data.buffer.push("</dd>\n ");
|
414 |
stack1 = helpers['if'].call(depth0, "kernel", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],data:data}); |
415 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
416 |
data.buffer.push("\n <dt>GUI</dt><dd>");
|
417 |
stack1 = helpers._triageMustache.call(depth0, "properties.gui", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
418 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
419 |
data.buffer.push("</dd>\n <dt>Users</dt><dd>");
|
420 |
stack1 = helpers._triageMustache.call(depth0, "properties.users", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
421 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
422 |
data.buffer.push("</dd>\n <dt>Size</dt><dd>");
|
423 |
data.buffer.push(escapeExpression((helper = helpers.bytesToGbytes || (depth0 && depth0.bytesToGbytes),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "size", options) : helperMissing.call(depth0, "bytesToGbytes", "size", options)))); |
424 |
data.buffer.push("</dd>\n <dt>Status</dt><dd>");
|
425 |
stack1 = helpers._triageMustache.call(depth0, "status", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
426 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
427 |
data.buffer.push("</dd>\n <dt>Created at</dt><dd>");
|
428 |
stack1 = helpers._triageMustache.call(depth0, "created_at", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
429 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
430 |
data.buffer.push("</dd>\n <dt>Updated at</dt><dd>");
|
431 |
stack1 = helpers._triageMustache.call(depth0, "updated_at", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
432 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
433 |
data.buffer.push("</dd>\n <dt>Root partition</dt><dd>");
|
434 |
stack1 = helpers._triageMustache.call(depth0, "properties.root_partition", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
435 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
436 |
data.buffer.push("</dd>\n <dt>Partition table</dt><dd>");
|
437 |
stack1 = helpers._triageMustache.call(depth0, "properties.partition_table", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
438 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
439 |
data.buffer.push("</dd>\n </dl>\n </div>\n</div>");
|
440 |
return buffer;
|
441 |
|
442 |
}); |
443 |
|
444 |
Ember.TEMPLATES["wizardSteps/step-1"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
445 |
/**/) {
|
446 |
this.compilerInfo = [4,'>= 1.0.0']; |
447 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
448 |
var buffer = '', stack1, escapeExpression=this.escapeExpression, self=this; |
449 |
|
450 |
function program1(depth0,data) { |
451 |
|
452 |
var buffer = ''; |
453 |
data.buffer.push("\n ");
|
454 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.WizardImageView", {hash:{ |
455 |
'image': ("") |
456 |
},hashTypes:{'image': "ID"},hashContexts:{'image': depth0},contexts:[depth0],types:["ID"],data:data}))); |
457 |
data.buffer.push("\n ");
|
458 |
return buffer;
|
459 |
} |
460 |
|
461 |
data.buffer.push("<ul class=\"os\">\n ");
|
462 |
stack1 = helpers.each.call(depth0, "image", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],data:data}); |
463 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
464 |
data.buffer.push("\n</ul>");
|
465 |
return buffer;
|
466 |
|
467 |
}); |
468 |
|
469 |
Ember.TEMPLATES["wizardSteps/step-2"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
470 |
/**/) {
|
471 |
this.compilerInfo = [4,'>= 1.0.0']; |
472 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
473 |
var buffer = '', stack1; |
474 |
|
475 |
|
476 |
data.buffer.push("<h3>");
|
477 |
stack1 = helpers._triageMustache.call(depth0, "view.content", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
478 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
479 |
data.buffer.push("</h3>\n<div class=\"row\">\n <form class=\"custom\">\n <select class=\"medium\">\n <option class=\"el5\">Basic Project</option>\n <option>Project 2</option>\n <option>Project 3</option>\n </select>\n </form>\n <ul class=\"flavor\">\n <li>\n <div class=\"title\">\n <span class=\"snf-chip-outline snf-font\"></span>\n <h2>\n CPU<span> (x cores)</span>\n <em>Choose number of CPU cores</em>\n </h2>\n <p>HOVER EXPLANATORY TEXT Volumes residing on our custom storage layer Archipelago, supporting fast VM spawning with cloning. Will also support Volume snapshotting really soon.</p>\n </div>\n <div class=\"options-bar\">\n <div class=\"bar\">\n <div class=\"wrap\">\n <div class=\"container\">\n <!-- width percentages do not correspond to actual mesurements -->\n <div class=\"total\" style=\"width:60%\">\n <div class=\"current\" style=\"width:30%\"></div>\n <span>60%</span>\n </div>\n </div>\n </div>\n </div>\n <ul class=\"options with-flavor\">\n <li><a href=\"\" class=\"small current preselected \" data-help=\"help text for 1\">1</a></li>\n <li><a href=\"\" class=\"medium\" data-help=\"help text for 2\">2</a></li>\n <li><a href=\"\" class=\"large disabled\" data-help=\"help text for 3\">3</a></li>\n <li><a href=\"\" class=\"disabled\" data-help=\"help text for 4\">4</a></li>\n </ul>\n </div>\n </li>\n <li>\n <div class=\"title\">\n <span class=\"snf-ram-outline snf-font\"></span>\n <h2>\n Memory Size \n <span> (MB)</span>\n <em>Choose memory size</em>\n </h2>\n <p>HOVER EXPLANATORY TEXT Volumes residing on our custom storage layer Archipelago, supporting fast VM spawning with cloning. Will also support Volume snapshotting really soon.</p>\n </div>\n <div class=\"options-bar\">\n <div class=\"bar\">\n <div class=\"wrap\">\n <div class=\"container\">\n <!-- width percentages do not correspond to actual mesurements -->\n <div class=\"total\" style=\"width:60%\">\n <div class=\"current\" style=\"width:30%\"></div>\n <span>60%</span>\n </div>\n </div>\n </div>\n </div>\n <ul class=\"options with-flavor\">\n <li><a href=\"\" class=\"small current preselected\">1024</a></li>\n <li><a href=\"\" class=\"medium\">2048</a></li>\n <li><a href=\"\" class=\"large\">4096</a></li>\n </ul>\n </div>\n </li>\n <li>\n <div class=\"title\">\n <span class=\"snf-volume-outline snf-font\"></span>\n <h2>\n Disk Size<span> (GB)</span>\n <em>Choose disk size</em>\n </h2>\n <p>HOVER EXPLANATORY TEXT Volumes residing on our custom storage layer Archipelago, supporting fast VM spawning with cloning. Will also support Volume snapshotting really soon.</p>\n </div>\n <div class=\"options-bar\">\n <div class=\"bar\">\n <div class=\"wrap\">\n <div class=\"container\">\n <!-- width percentages do not correspond to actual mesurements -->\n <div class=\"total low\" style=\"width:40%\">\n <div class=\"current\" style=\"width:80%\"></div>\n <span>40%</span>\n </div>\n </div>\n </div>\n </div>\n <ul class=\"options with-flavor\">\n <li><a href=\"\" class=\"small current preselected\">10</a></li>\n <li><a href=\"\" class=\"medium\">20</a></li>\n <li><a href=\"\" class=\"large\">30</a></li>\n <li><a href=\"\">40</a></li>\n </ul>\n </div>\n </li>\n <li>\n <div class=\"title\">\n <span class=\"snf-volume-outline snf-font\"></span>\n <h2>\n Storage\n <em>Select storage type</em>\n </h2>\n <p>HOVER EXPLANATORY TEXT Volumes residing on our custom storage layer Archipelago, supporting fast VM spawning with cloning. Will also support Volume snapshotting really soon.</p>\n </div>\n <div class=\"options-bar\">\n <div class=\"bar\">\n <div class=\"wrap disabled-progress-bar\">\n <div class=\"container\">\n <!-- width percentages do not correspond to actual mesurements -->\n <div class=\"total\" style=\"width:100%\">\n <div class=\"current\" style=\"width:0%\"></div>\n <span></span>\n </div>\n </div>\n </div>\n </div>\n <ul class=\"options vm-storage-selection\">\n <li><a href=\"\" class=\"current preselected\">DRBD</a></li>\n <li><a href=\"\" data-next=\"el3\">Archipelago</a></li>\n </ul>\n </div>\n </li>\n </ul>\n </div>");
|
480 |
return buffer;
|
481 |
|
482 |
}); |
483 |
|
484 |
Ember.TEMPLATES["wizardSteps/step-3"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
485 |
/**/) {
|
486 |
this.compilerInfo = [4,'>= 1.0.0']; |
487 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
488 |
var stack1;
|
489 |
|
490 |
|
491 |
stack1 = helpers._triageMustache.call(depth0, "view.content", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
492 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
493 |
else { data.buffer.push(''); } |
494 |
|
495 |
}); |
496 |
|
497 |
Ember.TEMPLATES["wizardSteps/step-4"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data |
498 |
/**/) {
|
499 |
this.compilerInfo = [4,'>= 1.0.0']; |
500 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
501 |
var stack1;
|
502 |
|
503 |
|
504 |
stack1 = helpers._triageMustache.call(depth0, "view.content", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
505 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
506 |
else { data.buffer.push(''); } |
507 |
|
508 |
}); |