Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / javascripts / templates.js @ 1933ffd6

History | View | Annotate | Download (18.3 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
    'actionLabel': ("description"),
13
    'elementID': ("controller.id"),
14
    'action': ("description"),
15
    'param': ("controller.id")
16
  },hashTypes:{'actionLabel': "ID",'elementID': "ID",'action': "ID",'param': "ID"},hashContexts:{'actionLabel': 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["name"] = 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 stack1;
103

    
104

    
105
  stack1 = helpers._triageMustache.call(depth0, "view.name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
106
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
107
  else { data.buffer.push(''); }
108
  
109
});
110

    
111
Ember.TEMPLATES["navigationItem"] = 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, helper, options, escapeExpression=this.escapeExpression, self=this, helperMissing=helpers.helperMissing;
116

    
117
function program1(depth0,data) {
118
  
119
  var buffer = '';
120
  data.buffer.push(" ");
121
  data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.NavIconView", {hash:{
122
    'class': ("view.content.icon")
123
  },hashTypes:{'class': "ID"},hashContexts:{'class': depth0},contexts:[depth0],types:["ID"],data:data})));
124
  data.buffer.push(" ");
125
  return buffer;
126
  }
127

    
128
  stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{
129
    'activeClass': ("current"),
130
    'title': ("view.content.title")
131
  },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));
132
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
133
  else { data.buffer.push(''); }
134
  
135
});
136

    
137
Ember.TEMPLATES["snfElem"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data
138
/**/) {
139
this.compilerInfo = [4,'>= 1.0.0'];
140
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
141
  var buffer = '', stack1, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, self=this;
142

    
143
function program1(depth0,data) {
144
  
145
  var buffer = '', helper, options;
146
  data.buffer.push("\n        ");
147
  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))));
148
  data.buffer.push("\n");
149
  return buffer;
150
  }
151

    
152
function program3(depth0,data) {
153
  
154
  var buffer = '', helper, options;
155
  data.buffer.push("\n                ");
156
  data.buffer.push(escapeExpression((helper = helpers['snf-checkbox'] || (depth0 && depth0['snf-checkbox']),options={hash:{
157
    'initState': ("view.initSelect")
158
  },hashTypes:{'initState': "ID"},hashContexts:{'initState': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "snf-checkbox", options))));
159
  data.buffer.push("\n        ");
160
  return buffer;
161
  }
162

    
163
function program5(depth0,data) {
164
  
165
  var buffer = '', helper, options;
166
  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                ");
167
  data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.ImmediateActionView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data})));
168
  data.buffer.push("\n                ");
169
  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))));
170
  data.buffer.push("\n        ");
171
  return buffer;
172
  }
173

    
174
  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");
175
  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});
176
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
177
  data.buffer.push("\n<div class=\"container\">\n        ");
178
  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});
179
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
180
  data.buffer.push("\n        ");
181
  data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.ImgWrapView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data})));
182
  data.buffer.push("\n        ");
183
  data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.NameView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data})));
184
  data.buffer.push("\n        ");
185
  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});
186
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
187
  data.buffer.push("\n</div>");
188
  return buffer;
189
  
190
});
191

    
192
Ember.TEMPLATES["snfElems"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data
193
/**/) {
194
this.compilerInfo = [4,'>= 1.0.0'];
195
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
196
  var buffer = '', stack1, helper, options, escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing, self=this;
197

    
198
function program1(depth0,data) {
199
  
200
  var buffer = '';
201
  data.buffer.push("\n                        ");
202
  data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.ElemView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data})));
203
  data.buffer.push("\n                ");
204
  return buffer;
205
  }
206

    
207
  stack1 = helpers._triageMustache.call(depth0, "outlet", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
208
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
209
  data.buffer.push("\n<section class=\"main row\">\n        <div ");
210
  data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{
211
    'class': (":entities :list-view")
212
  },hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data})));
213
  data.buffer.push(">\n        <ul class=\"items-list\">\n                ");
214
  data.buffer.push(escapeExpression((helper = helpers['add-new'] || (depth0 && depth0['add-new']),options={hash:{
215
    'type': ("controller.type"),
216
    'action': ("openWizard")
217
  },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))));
218
  data.buffer.push("\n                ");
219
  stack1 = helpers.each.call(depth0, {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[],types:[],data:data});
220
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
221
  data.buffer.push("\n        </ul>\n        </div>\n</section>");
222
  return buffer;
223
  
224
});
225

    
226
Ember.TEMPLATES["test"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data
227
/**/) {
228
this.compilerInfo = [4,'>= 1.0.0'];
229
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
230
  
231

    
232

    
233
  data.buffer.push("<div>hey you</div>");
234
  
235
});
236

    
237
Ember.TEMPLATES["wizard"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data
238
/**/) {
239
this.compilerInfo = [4,'>= 1.0.0'];
240
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
241
  var buffer = '', helper, options, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
242

    
243

    
244
  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\">\n                                <div class=\"row\">\n                                        ");
245
  data.buffer.push(escapeExpression((helper = helpers['close-1'] || (depth0 && depth0['close-1']),options={hash:{
246
    'action': ("closeWizard")
247
  },hashTypes:{'action': "STRING"},hashContexts:{'action': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "close-1", options))));
248
  data.buffer.push("\n                                        ");
249
  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))));
250
  data.buffer.push("\n                                </div>\n                        </div>\n                </div>\n                <div class=\"middle\"></div>\n                <div class=\"bottom\">\n                        <div class=\"row\">\n                                ");
251
  data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.WizardBtnBackView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data})));
252
  data.buffer.push("\n                                ");
253
  data.buffer.push(escapeExpression(helpers.view.call(depth0, "Synnefo.WizardBtnNextView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data})));
254
  data.buffer.push("\n                                \n                                </div>\n                </div>\n        </div>\n</section>");
255
  return buffer;
256
  
257
});
258

    
259
Ember.TEMPLATES["wizardStepHeader"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data
260
/**/) {
261
this.compilerInfo = [4,'>= 1.0.0'];
262
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
263
  var buffer = '', stack1;
264

    
265

    
266
  data.buffer.push("<em><span>");
267
  stack1 = helpers._triageMustache.call(depth0, "view.index", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
268
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
269
  data.buffer.push("</span></em>\n<p><strong>");
270
  stack1 = helpers._triageMustache.call(depth0, "view.content.title", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
271
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
272
  data.buffer.push("</strong> ");
273
  stack1 = helpers._triageMustache.call(depth0, "view.content.subtitle", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
274
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
275
  data.buffer.push("</p>");
276
  return buffer;
277
  
278
});
279

    
280
Ember.TEMPLATES["components/btn-1"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data
281
/**/) {
282
this.compilerInfo = [4,'>= 1.0.0'];
283
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
284
  var buffer = '', stack1;
285

    
286

    
287
  stack1 = helpers._triageMustache.call(depth0, "actionLabel", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
288
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
289
  data.buffer.push(" - ");
290
  stack1 = helpers._triageMustache.call(depth0, "elementID", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
291
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
292
  return buffer;
293
  
294
});
295

    
296
Ember.TEMPLATES["components/btns-span"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data
297
/**/) {
298
this.compilerInfo = [4,'>= 1.0.0'];
299
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
300
  var buffer = '', stack1, escapeExpression=this.escapeExpression;
301

    
302

    
303
  data.buffer.push("<span ");
304
  data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{
305
    'class': ("view.spanClass")
306
  },hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data})));
307
  data.buffer.push(">");
308
  stack1 = helpers._triageMustache.call(depth0, "view.content", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
309
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
310
  data.buffer.push("</span>");
311
  return buffer;
312
  
313
});
314

    
315
Ember.TEMPLATES["components/login-menu"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data
316
/**/) {
317
this.compilerInfo = [4,'>= 1.0.0'];
318
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
319
  var buffer = '', stack1;
320

    
321

    
322
  data.buffer.push("<div class=\"wrap\">\n        <a href=\"\">");
323
  stack1 = helpers._triageMustache.call(depth0, "email", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
324
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
325
  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>");
326
  return buffer;
327
  
328
});
329

    
330
Ember.TEMPLATES["components/select-btn"] = 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
  
335

    
336

    
337
  data.buffer.push("<span></span>");
338
  
339
});