Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / javascripts / templates.js @ 13de11ea

History | View | Annotate | Download (11.8 kB)

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

    
7
function program1(depth0,data) {
8
  
9
  var buffer = '';
10
  data.buffer.push(" ");
11
  data.buffer.push(escapeExpression(helpers.view.call(depth0, "Okeanos.NavIconView", {hash:{
12
    'class': ("view.content.icon")
13
  },hashTypes:{'class': "ID"},hashContexts:{'class': depth0},contexts:[depth0],types:["ID"],data:data})));
14
  data.buffer.push(" ");
15
  return buffer;
16
  }
17

    
18
  stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{
19
    'activeClass': ("current"),
20
    'title': ("view.content.title")
21
  },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));
22
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
23
  else { data.buffer.push(''); }
24
  
25
});
26

    
27
Ember.TEMPLATES["snfElem"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data
28
/**/) {
29
this.compilerInfo = [4,'>= 1.0.0'];
30
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
31
  var buffer = '', stack1, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, self=this;
32

    
33
function program1(depth0,data) {
34
  
35
  var buffer = '', stack1;
36
  data.buffer.push("\n<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                                        ");
37
  stack1 = helpers.each.call(depth0, "setAvailableActions", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(2, program2, data),contexts:[depth0],types:["ID"],data:data});
38
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
39
  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>\n                ");
40
  return buffer;
41
  }
42
function program2(depth0,data) {
43
  
44
  var buffer = '', helper, options;
45
  data.buffer.push("\n                                                <li>\n                                                        ");
46
  data.buffer.push(escapeExpression((helper = helpers['btn-1'] || (depth0 && depth0['btn-1']),options={hash:{
47
    'actionLabel': ("description"),
48
    'elementID': ("controller.id"),
49
    'action': ("description"),
50
    'param': ("controller.id")
51
  },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))));
52
  data.buffer.push("\n                                                </li>\n                                        ");
53
  return buffer;
54
  }
55

    
56
function program4(depth0,data) {
57
  
58
  
59
  data.buffer.push("\n                                <span class=\"snf-checkbox-unchecked\"></span>\n                        ");
60
  }
61

    
62
function program6(depth0,data) {
63
  
64
  var buffer = '';
65
  data.buffer.push("\n                                <span ");
66
  data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{
67
    'class': ("view.icon :snf-font")
68
  },hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data})));
69
  data.buffer.push("></span>\n                        \n                        ");
70
  return buffer;
71
  }
72

    
73
function program8(depth0,data) {
74
  
75
  var buffer = '';
76
  data.buffer.push("\n                                        <span ");
77
  data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{
78
    'class': ("os :os")
79
  },hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data})));
80
  data.buffer.push("></span>\n                                ");
81
  return buffer;
82
  }
83

    
84
function program10(depth0,data) {
85
  
86
  var buffer = '', stack1;
87
  data.buffer.push("\n                                <h4>");
88
  stack1 = helpers._triageMustache.call(depth0, "view.name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
89
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
90
  data.buffer.push("</h4>                        \n                        ");
91
  return buffer;
92
  }
93

    
94
function program12(depth0,data) {
95
  
96
  var buffer = '', stack1;
97
  data.buffer.push("\n                                <h4>");
98
  stack1 = helpers._triageMustache.call(depth0, "name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
99
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
100
  data.buffer.push("</h4>\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                                ");
101
  stack1 = helpers['if'].call(depth0, "parentController.hasTags", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(13, program13, data),contexts:[depth0],types:["ID"],data:data});
102
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
103
  data.buffer.push("\n                                <div class= \"status\">\n                                        <span class=\"state\">");
104
  stack1 = helpers._triageMustache.call(depth0, "view.status", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
105
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
106
  data.buffer.push("</span>\n                                        <span class=\"logs\">logs</span>\n                                </div>\n                                <div class=\"info\"><a ");
107
  data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{
108
    'href': ("hostname")
109
  },hashTypes:{'href': "ID"},hashContexts:{'href': depth0},contexts:[],types:[],data:data})));
110
  data.buffer.push(" title=\"\">");
111
  stack1 = helpers._triageMustache.call(depth0, "hostname", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
112
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
113
  data.buffer.push("</a></div>\n                                </div>\n                        ");
114
  return buffer;
115
  }
116
function program13(depth0,data) {
117
  
118
  
119
  data.buffer.push("\n                                        <div class=\"tags\">tags</div>\n                                ");
120
  }
121

    
122
  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});
123
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
124
  data.buffer.push("\n                <div class=\"container\">\n                        <a href=\"\" class=\"check\">\n                        ");
125
  stack1 = helpers.unless.call(depth0, "view.addNewBtn", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(4, program4, data),contexts:[depth0],types:["ID"],data:data});
126
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
127
  data.buffer.push("\n                        </a>\n                        <div class=\"img-wrap\">\n                        ");
128
  stack1 = helpers['if'].call(depth0, "view.addNewBtn", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(6, program6, data),contexts:[depth0],types:["ID"],data:data});
129
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
130
  data.buffer.push("\n                                <span ");
131
  data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{
132
    'class': ("parentController.icon :snf-font")
133
  },hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data})));
134
  data.buffer.push("></span>\n                                ");
135
  stack1 = helpers['if'].call(depth0, "parentController.hasOS", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(8, program8, data),contexts:[depth0],types:["ID"],data:data});
136
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
137
  data.buffer.push("\n                        </div>\n\n                        ");
138
  stack1 = helpers['if'].call(depth0, "view.addNewBtn", {hash:{},hashTypes:{},hashContexts:{},inverse:self.program(12, program12, data),fn:self.program(10, program10, data),contexts:[depth0],types:["ID"],data:data});
139
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
140
  data.buffer.push("\n");
141
  return buffer;
142
  
143
});
144

    
145
Ember.TEMPLATES["snfElems"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data
146
/**/) {
147
this.compilerInfo = [4,'>= 1.0.0'];
148
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
149
  var buffer = '', stack1, helper, options, escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing, self=this;
150

    
151
function program1(depth0,data) {
152
  
153
  var buffer = '';
154
  data.buffer.push("\n                ");
155
  data.buffer.push(escapeExpression(helpers.view.call(depth0, "Okeanos.ElemView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data})));
156
  data.buffer.push("\n        ");
157
  return buffer;
158
  }
159

    
160
  data.buffer.push("<div ");
161
  data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{
162
    'class': (":entities :grid-view")
163
  },hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data})));
164
  data.buffer.push(">\n<ul class=\"items-list\">\n        ");
165
  data.buffer.push(escapeExpression((helper = helpers['add-new'] || (depth0 && depth0['add-new']),options={hash:{
166
    'type': ("controller.type")
167
  },hashTypes:{'type': "ID"},hashContexts:{'type': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "add-new", options))));
168
  data.buffer.push("\n        ");
169
  stack1 = helpers.each.call(depth0, {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[],types:[],data:data});
170
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
171
  data.buffer.push("\n</ul>\n</div>");
172
  return buffer;
173
  
174
});
175

    
176
Ember.TEMPLATES["test"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data
177
/**/) {
178
this.compilerInfo = [4,'>= 1.0.0'];
179
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
180
  
181

    
182

    
183
  data.buffer.push("<div>hey you</div>");
184
  
185
});
186

    
187
Ember.TEMPLATES["components/btn-1"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data
188
/**/) {
189
this.compilerInfo = [4,'>= 1.0.0'];
190
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
191
  var buffer = '', stack1;
192

    
193

    
194
  stack1 = helpers._triageMustache.call(depth0, "actionLabel", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
195
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
196
  data.buffer.push(" - ");
197
  stack1 = helpers._triageMustache.call(depth0, "elementID", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
198
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
199
  return buffer;
200
  
201
});
202

    
203
Ember.TEMPLATES["components/login-menu"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data
204
/**/) {
205
this.compilerInfo = [4,'>= 1.0.0'];
206
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
207
  var buffer = '', stack1;
208

    
209

    
210
  data.buffer.push("        \n                <div class=\"wrap\">\n                        <a href=\"\">");
211
  stack1 = helpers._triageMustache.call(depth0, "email", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
212
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
213
  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>");
214
  return buffer;
215
  
216
});