root / snf-cyclades-app / synnefo / ui / new_ui / ui / javascripts / templates.js @ 7b3c3bd6
History | View | Annotate | Download (43.4 kB)
1 |
Ember.TEMPLATES["_actions-bar"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
---|---|
2 |
this.compilerInfo = [4,'>= 1.0.0']; |
3 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
4 |
var buffer = '', stack1, self=this, helperMissing=helpers.helperMissing; |
5 |
|
6 |
function program1(depth0,data) { |
7 |
|
8 |
var buffer = '', stack1, helper, options; |
9 |
data.buffer.push("\n <div class=\"rt-actions\">\n <a href=\"vm_details.html\" class=\"single\"></a>\n ");
|
10 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(2, program2, data),contexts:[depth0,depth0],types:["ID","STRING"],data:data},helper ? helper.call(depth0, "codeName", "grid-view", options) : helperMissing.call(depth0, "link-to", "codeName", "grid-view", options)); |
11 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
12 |
data.buffer.push("\n ");
|
13 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(4, program4, data),contexts:[depth0,depth0],types:["ID","STRING"],data:data},helper ? helper.call(depth0, "codeName", "list-view", options) : helperMissing.call(depth0, "link-to", "codeName", "list-view", options)); |
14 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
15 |
data.buffer.push("\n </div>\n ");
|
16 |
return buffer;
|
17 |
} |
18 |
function program2(depth0,data) { |
19 |
|
20 |
|
21 |
data.buffer.push("<span class=\"snf-gridview current\">");
|
22 |
} |
23 |
|
24 |
function program4(depth0,data) { |
25 |
|
26 |
|
27 |
data.buffer.push("<span class=\"snf-listview \"></span>");
|
28 |
} |
29 |
|
30 |
function program6(depth0,data) { |
31 |
|
32 |
|
33 |
data.buffer.push("\n <div class=\"filter-menu\">\n <div><a class=\"filter\" href=\"\">Filter</a></div>\n <ul class=\"options\">\n <li><a href=\"\">option 1</a></li>\n <li><a href=\"\">option 2</a></li>\n <li><a href=\"\">option 3</a></li>\n <li><a href=\"\">option 4</a></li>\n </ul>\n </div>\n ");
|
34 |
} |
35 |
|
36 |
function program8(depth0,data) { |
37 |
|
38 |
|
39 |
data.buffer.push("\n <div id=\"hd-search\" class=\"hd-search\">\n <form>\n <span class=\"hd-icon-search snf-search\"></span>\n <input class=\"hd-search-input\" placeholder=\"Enter your search term...\" type=\"search\" value=\"\" name=\"search\" id=\"search\">\n </form>\n </div>\n ");
|
40 |
} |
41 |
|
42 |
data.buffer.push("<section class=\"actions-bar clearfix\">\n\n <h2>");
|
43 |
stack1 = helpers._triageMustache.call(depth0, "title", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
44 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
45 |
data.buffer.push("</h2>\n\n ");
|
46 |
stack1 = helpers['if'].call(depth0, "hasViewCls", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],data:data}); |
47 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
48 |
data.buffer.push("\n \n ");
|
49 |
stack1 = helpers['if'].call(depth0, "hasFilter", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(6, program6, data),contexts:[depth0],types:["ID"],data:data}); |
50 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
51 |
data.buffer.push("\n \n ");
|
52 |
stack1 = helpers['if'].call(depth0, "hasSearch", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(8, program8, data),contexts:[depth0],types:["ID"],data:data}); |
53 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
54 |
data.buffer.push("\n\n</section>");
|
55 |
return buffer;
|
56 |
|
57 |
}); |
58 |
|
59 |
Ember.TEMPLATES["_header"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
60 |
this.compilerInfo = [4,'>= 1.0.0']; |
61 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
62 |
var buffer = '', stack1, helper, options, self=this, helperMissing=helpers.helperMissing; |
63 |
|
64 |
function program1(depth0,data) { |
65 |
|
66 |
|
67 |
data.buffer.push("<span class=\"snf-pc-outline\"></span>");
|
68 |
} |
69 |
|
70 |
function program3(depth0,data) { |
71 |
|
72 |
|
73 |
data.buffer.push("<span class=\"snf-network-outline\"></span>");
|
74 |
} |
75 |
|
76 |
function program5(depth0,data) { |
77 |
|
78 |
|
79 |
data.buffer.push("<span class=\"snf-volume-outline\"></span>");
|
80 |
} |
81 |
|
82 |
data.buffer.push("<header class=\"header\">\n <nav>\n <ul class=\"icons-nav\">\n <li>");
|
83 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0,depth0],types:["STRING","STRING"],data:data},helper ? helper.call(depth0, "vms", "grid-view", options) : helperMissing.call(depth0, "link-to", "vms", "grid-view", options)); |
84 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
85 |
data.buffer.push("</li>\n <li>");
|
86 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(3, program3, data),contexts:[depth0,depth0],types:["STRING","STRING"],data:data},helper ? helper.call(depth0, "networks", "grid-view", options) : helperMissing.call(depth0, "link-to", "networks", "grid-view", options)); |
87 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
88 |
data.buffer.push("</li>\n <li>");
|
89 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(5, program5, data),contexts:[depth0,depth0],types:["STRING","STRING"],data:data},helper ? helper.call(depth0, "volumes", "grid-view", options) : helperMissing.call(depth0, "link-to", "volumes", "grid-view", options)); |
90 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
91 |
data.buffer.push("</li>\n <li><a href=\"pithos.html\" data-tooltip class=\"has-tip\" title=\"Storage\"><span class=\"snf-pithos-outline\"></span></a></li>\n <li><a href=\"images_list.html\" data-tooltip class=\"has-tip\" title=\"Images\"><span class=\"snf-image-outline\"></span></a></li>\n <li><a href=\"snapshots_list.html\" data-tooltip class=\"has-tip\" title=\"Snapshots\"><span class=\"snf-snapshot-outline\"></span></a></li>\n <li><a href=\"\" data-tooltip class=\"has-tip\" title=\"IPs\"><span class=\"snf-nic-outline\"></span></a></li>\n <li><a href=\"\" data-tooltip class=\"has-tip\" title=\"SSH keys\"><span class=\"snf-key-outline\"></span></a></li>\n </ul>\n </nav>\n <div class=\"login\">\n <div class=\"wrap\">\n <a href=\"\">user1@synnefo.org</a>\n <ul>\n <li><a href=\"\">dashboard</a></li>\n <li><a href=\"\">sign out</a></li>\n </ul>\n </div>\n </div>\n <div class=\"logo\">\n <a href=\"index.html\"><img src=\"images/synnefo-logo.png\" alt=\"software logo\"></a>\n </div>\n</header>\n");
|
92 |
return buffer;
|
93 |
|
94 |
}); |
95 |
|
96 |
Ember.TEMPLATES["_img-wrap"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
97 |
this.compilerInfo = [4,'>= 1.0.0']; |
98 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
99 |
var buffer = '', stack1, escapeExpression=this.escapeExpression, self=this; |
100 |
|
101 |
function program1(depth0,data) { |
102 |
|
103 |
var buffer = '', stack1; |
104 |
data.buffer.push("<span ");
|
105 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
106 |
'class': (":os this.os") |
107 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
108 |
data.buffer.push(">");
|
109 |
stack1 = helpers._triageMustache.call(depth0, "os", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
110 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
111 |
data.buffer.push("</span>");
|
112 |
return buffer;
|
113 |
} |
114 |
|
115 |
data.buffer.push("<div class=\"img-wrap\">\n <span ");
|
116 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
117 |
'class': (":snf-font icon") |
118 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
119 |
data.buffer.push("></span>\n ");
|
120 |
stack1 = helpers['if'].call(depth0, "os", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],data:data}); |
121 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
122 |
data.buffer.push("\n</div>");
|
123 |
return buffer;
|
124 |
|
125 |
}); |
126 |
|
127 |
Ember.TEMPLATES["_modals"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
128 |
this.compilerInfo = [4,'>= 1.0.0']; |
129 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
130 |
var buffer = '', helper, options, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
131 |
|
132 |
|
133 |
data.buffer.push("<section class=\"overlay-area-reveal\">\n ");
|
134 |
data.buffer.push(escapeExpression((helper = helpers['reveal-modal'] || (depth0 && depth0['reveal-modal']),options={hash:{ |
135 |
'id': ("modal-connect") |
136 |
},hashTypes:{'id': "STRING"},hashContexts:{'id': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "reveal-modal", options)))); |
137 |
data.buffer.push("\n ");
|
138 |
data.buffer.push(escapeExpression((helper = helpers['reveal-modal'] || (depth0 && depth0['reveal-modal']),options={hash:{ |
139 |
'id': ("modal-start"), |
140 |
'hasButtons': ("true") |
141 |
},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)))); |
142 |
data.buffer.push("\n ");
|
143 |
data.buffer.push(escapeExpression((helper = helpers['reveal-modal'] || (depth0 && depth0['reveal-modal']),options={hash:{ |
144 |
'id': ("modal-reboot"), |
145 |
'hasButtons': ("true") |
146 |
},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)))); |
147 |
data.buffer.push("\n ");
|
148 |
data.buffer.push(escapeExpression((helper = helpers['reveal-modal'] || (depth0 && depth0['reveal-modal']),options={hash:{ |
149 |
'id': ("modal-shutdown"), |
150 |
'hasButtons': ("true") |
151 |
},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)))); |
152 |
data.buffer.push("\n ");
|
153 |
data.buffer.push(escapeExpression((helper = helpers['reveal-modal'] || (depth0 && depth0['reveal-modal']),options={hash:{ |
154 |
'id': ("modal-destroy"), |
155 |
'hasButtons': ("true") |
156 |
},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)))); |
157 |
data.buffer.push("\n</section>");
|
158 |
return buffer;
|
159 |
|
160 |
}); |
161 |
|
162 |
Ember.TEMPLATES["application"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
163 |
this.compilerInfo = [4,'>= 1.0.0']; |
164 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
165 |
var buffer = '', stack1, helper, options, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
166 |
|
167 |
|
168 |
data.buffer.push(escapeExpression((helper = helpers.partial || (depth0 && depth0.partial),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data},helper ? helper.call(depth0, "header", options) : helperMissing.call(depth0, "partial", "header", options)))); |
169 |
data.buffer.push("\n");
|
170 |
data.buffer.push(escapeExpression((helper = helpers.partial || (depth0 && depth0.partial),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data},helper ? helper.call(depth0, "modals", options) : helperMissing.call(depth0, "partial", "modals", options)))); |
171 |
data.buffer.push("\n\n<div class=\"body-wrapper\">\n ");
|
172 |
stack1 = helpers._triageMustache.call(depth0, "outlet", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
173 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
174 |
data.buffer.push("\n</div>");
|
175 |
return buffer;
|
176 |
|
177 |
}); |
178 |
|
179 |
Ember.TEMPLATES["components/details-content"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
180 |
this.compilerInfo = [4,'>= 1.0.0']; |
181 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
182 |
var stack1;
|
183 |
|
184 |
|
185 |
stack1 = helpers._triageMustache.call(depth0, "yield", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
186 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
187 |
else { data.buffer.push(''); } |
188 |
|
189 |
}); |
190 |
|
191 |
Ember.TEMPLATES["components/reveal-modal"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
192 |
this.compilerInfo = [4,'>= 1.0.0']; |
193 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
194 |
var buffer = '', stack1, escapeExpression=this.escapeExpression, self=this; |
195 |
|
196 |
function program1(depth0,data) { |
197 |
|
198 |
var buffer = ''; |
199 |
data.buffer.push("\n <p class=\"buttons\">\n <a href=\"\" ");
|
200 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "ok", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data}))); |
201 |
data.buffer.push(" class=\"btn4\"><span>Yes</span></a>\n <a href=\"\" ");
|
202 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "close", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data}))); |
203 |
data.buffer.push(" class=\"btn4\"><span>No</span></a>\n </p>\n");
|
204 |
return buffer;
|
205 |
} |
206 |
|
207 |
stack1 = helpers._triageMustache.call(depth0, "yield", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
208 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
209 |
data.buffer.push("\n");
|
210 |
data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, "message", {hash:{ |
211 |
'unescaped': ("true") |
212 |
},hashTypes:{'unescaped': "STRING"},hashContexts:{'unescaped': depth0},contexts:[depth0],types:["ID"],data:data}))); |
213 |
data.buffer.push("\n\n");
|
214 |
stack1 = helpers['if'].call(depth0, "hasButtons", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],data:data}); |
215 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
216 |
data.buffer.push("\n\n<a class=\"close-reveal-modal has-tip\" data-tooltip title=\"close window\">x</a>\n");
|
217 |
return buffer;
|
218 |
|
219 |
}); |
220 |
|
221 |
Ember.TEMPLATES["details/disk-connected"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
222 |
this.compilerInfo = [4,'>= 1.0.0']; |
223 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
224 |
var stack1, helper, options, self=this, helperMissing=helpers.helperMissing; |
225 |
|
226 |
function program1(depth0,data) { |
227 |
|
228 |
|
229 |
data.buffer.push("\n <section class=\"item running\">\n <div class=\"what\">\n <div class=\"img-wrap\">\n <span class=\"snf-volume-full snf-font\"></span>\n </div>\n <h4>Volume Name</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>10 GB</p>\n </li>\n <li>\n <h5 class=\"volume-data\">Storage Type</h5>\n <p>Archipelago</p>\n </li>\n </ul>\n </div>\n </li>\n </ul>\n </div>\n </section>\n <section class=\"item error\">\n <div class=\"what\">\n <div class=\"img-wrap\">\n <span class=\"snf-volume-full snf-font\"></span>\n </div>\n <h4>Another Volume<span class=\"status\">Error</span></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>20 GB</p>\n </li>\n <li>\n <h5 class=\"volume-data\">Storage Type</h5>\n <p>Archipelago</p>\n </li>\n </ul>\n </div>\n </li>\n </ul>\n\n </div>\n </section>\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");
|
230 |
} |
231 |
|
232 |
stack1 = (helper = helpers['details-content'] || (depth0 && depth0['details-content']),options={hash:{ |
233 |
'id': ("disk-connected"), |
234 |
'class': ("connected disk") |
235 |
},hashTypes:{'id': "STRING",'class': "STRING"},hashContexts:{'id': depth0,'class': depth0},inverse:self.noop,fn:self.program(1, program1, data),contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "details-content", options)); |
236 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
237 |
else { data.buffer.push(''); } |
238 |
|
239 |
}); |
240 |
|
241 |
Ember.TEMPLATES["details/info"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
242 |
this.compilerInfo = [4,'>= 1.0.0']; |
243 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
244 |
var stack1, helper, options, self=this, helperMissing=helpers.helperMissing; |
245 |
|
246 |
function program1(depth0,data) { |
247 |
|
248 |
|
249 |
data.buffer.push("\n <section class=\"info-block\">\n <h2>info</h2>\n <dl>\n <dt><span class=\"snf-font snf-pc-full\"></span>Name</dt>\n <dd>\n <div class=\"editable\">\n <span class=\"input-txt\">My Opensuse Desktop Server 1</span>\n <input type=\"text\">\n <span class=\"editbuttons\">\n <a href=\"#\" class=\"edit\"><span class=\"snf-edit\"></span></a>\n <a href=\"#\" class=\"save\"><span class=\"snf-ok-sign\"></span></a>\n <a href=\"#\" class=\"cancel\"><span class=\"snf-cancel-circled\"></span></a>\n </span>\n </div>\n </dd>\n <dt><span class=\"snf-font snf-dashboard-outline\"></span>Assigned Project</dt>\n <dd>Basic Project</dd>\n <dt><span class=\"snf-chip-outline snf-font\"></span>CPUs</dt>\n <dd>4</dd>\n <dt><span class=\"snf-ram-full snf-font\"></span>RAM</dt>\n <dd>512 MB</dd>\n <dt><span class=\"snf-volume-full snf-font\"></span>System Disk Size</dt>\n <dd>4GB</dd>\n <dt><span class=\"snf-volume-full snf-font\"></span>Storage Type</dt>\n <dd>Archipelago</dd>\n <dt><span class=\"snf-image-full snf-font\"></span>Image Name</dt>\n <dd>Fedora</dd>\n <dt><span class=\"snf-image-full snf-font\"></span>Image Size</dt>\n <dd>3.68 GB</dd>\n <dt><span class=\"snf-nic-full snf-font\"></span>IPv4</dt>\n <dd>83.212.96.152</dd>\n <dt><span class=\"snf-nic-full snf-font\"></span>IPv4</dt>\n <dd>83.212.96.153</dd>\n <dt><span class=\"snf-nic-full snf-font\"></span>IPv6</dt>\n <dd>2001:648:2ffc:1112:a80c:eaff:fec2:8cd9</dd>\n </dl>\n </section>\n <section class=\"info-block tags\">\n <h2>tags</h2>\n <div class=\"tag-data\">\n <a href=\"\" class=\"tag tag1 has-tip\" data-tooltip=\"\" title=\"Tooltip1\"> </a>\n <span>Tag Name</span>\n <a class=\"delete\"><span class=\"snf-trash-outline\"></span></a>\n </div>\n <div class=\"tag-data\">\n <a href=\"\" class=\"tag tag2 has-tip\" data-tooltip=\"\" title=\"Tooltip1\"> </a>\n <span>Tag Name</span>\n <a class=\"delete\"><span class=\"snf-trash-outline\"></span></a>\n </div>\n <div class=\"tag-data\">\n <a href=\"\" class=\"tag tag3 has-tip\" data-tooltip=\"\" title=\"Tooltip1\"> </a>\n <span>Tag Name</span>\n <a class=\"delete\"><span class=\"snf-trash-outline\"></span></a>\n </div>\n <div class=\"buttons\">\n <a href=\"\" class=\"btn1 show-add-tag wrap-a\" id=\"show-add-tag\">add new tag</a>\n </div>\n <div class=\"snf-color-picker\">\n <h3>Select color:</h3>\n <form action=\"#\" method=\"post\">\n <div id=\"picker-2\">\n <div class=\"farbtastic\">\n <div class=\"color\" style=\"background-color: rgb(255, 0, 21);\"></div>\n <div class=\"wheel\"></div>\n <div class=\"overlay\"></div>\n <div class=\"h-marker marker\" style=\"left: 90px; top: 13px;\"></div>\n <div class=\"sl-marker marker\" style=\"left: 87px; top: 114px;\"></div>\n </div>\n </div>\n <div class=\"form-item\">\n <input type=\"text\" id=\"color-2\" class=\"color-preview \"name=\"color\" value=\"#16C1E9\" disabled>\n <span class=\"input\"><input class=\"tag_name\" type=\"text\" placeholder=\"My Tag\"></span>\n </div>\n </form>\n <div class=\"btns\">\n <a class=\"btn1 wrap-a\" href=\"\">OK</a>\n <a class=\"btn1 hide-add-tag wrap-a\" href=\"\">CANCEL</a>\n </div>\n </div>\n </section>\n <section class=\"info-block charts\">\n <div>\n <h2>CPU utilization</h2>\n <div class=\"graph_container\">\n <img src=\"images/cpu-ts.png\" alt=\"CPU utilization graph\">\n </div>\n </div>\n <div>\n <h2>Network utilization</h2>\n <div class=\"graph_container\">\n <img src=\"images/net-ts.png\" alt=\"network utilization graph\">\n </div>\n </div>\n </section>\n");
|
250 |
} |
251 |
|
252 |
stack1 = (helper = helpers['details-content'] || (depth0 && depth0['details-content']),options={hash:{ |
253 |
'id': ("info"), |
254 |
'class': ("info-simple") |
255 |
},hashTypes:{'id': "STRING",'class': "STRING"},hashContexts:{'id': depth0,'class': depth0},inverse:self.noop,fn:self.program(1, program1, data),contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "details-content", options)); |
256 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
257 |
else { data.buffer.push(''); } |
258 |
|
259 |
}); |
260 |
|
261 |
Ember.TEMPLATES["details/network-connected"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
262 |
this.compilerInfo = [4,'>= 1.0.0']; |
263 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
264 |
var stack1, helper, options, self=this, helperMissing=helpers.helperMissing; |
265 |
|
266 |
function program1(depth0,data) { |
267 |
|
268 |
|
269 |
data.buffer.push("\n <section class=\"item running\">\n <div class=\"what\">\n <div class=\"img-wrap\">\n <span class=\"snf-network-full snf-font\"></span>\n </div>\n <h4>Public Network</h4>\n </div>\n <div class=\"clearfix\">\n <ul class=\"connections\">\n <li>\n <a href=\"#\" class=\"act\" data-reveal-id=\"disconnect-from-network\"> </a>\n <div class=\"icon\"><span class=\"snf-nic-full\"></span></div>\n <div class=\"data\">\n <ul>\n <li>\n <h5 class=\"ip-data\">IPv4</h5>\n <p>83.212.96.12</p>\n </li>\n </ul>\n </div>\n </li>\n <li>\n <a href=\"#\" class=\"act\" data-reveal-id=\"disconnect-from-network\"> </a>\n <div class=\"icon\"><span class=\"snf-nic-full\"></span></div>\n <div class=\"data\">\n <ul>\n <li>\n <h5 class=\"ip-data\">IPv4</h5>\n <p>83.212.96.12</p>\n </li>\n </ul>\n </div>\n </li>\n <li>\n <div class=\"icon\"><span class=\"snf-nic-full\"></span></div>\n <div class=\"data\">\n <ul>\n <li>\n <h5 class=\"ip-data\">IPv6</h5>\n <p>2001:648:2ffc:1112:a80c:eaff:fe34:1234</p>\n </li>\n </ul>\n </div>\n </li>\n <div class=\"firewall\" data-firewall=\"fully\">\n <p>Firewall <em>on</em></p>\n <ul class=\"more\">\n <li class=\"fully selected\">\n <a href=\"\" class=\"radiobtn\">Fully protected mode<span class=\"snf-radio-checked\"></span></a>\n </li>\n <li class=\"basic\">\n <a href=\"\" class=\"radiobtn\">Basically protected mode<span class=\"snf-radio-unchecked\"></span></a>\n </li>\n <li class=\"unprotected\">\n <a href=\"\" class=\"radiobtn\">Unprotected mode<span class=\"snf-radio-unchecked\"></span></a>\n </li>\n </ul>\n </div>\n </ul>\n </div>\n </section>\n <section class=\"item error\">\n <div class=\"what\">\n <div class=\"img-wrap\">\n <span class=\"snf-network-full snf-font\"></span>\n </div>\n <h4>My Awesome Network<span class=\"status\">Error</span></h4>\n </div>\n <div class=\"clearfix\">\n <ul class=\"connections\">\n <li>\n <a href=\"#\" class=\"act\" data-reveal-id=\"disconnect-from-network\"> </a>\n <div class=\"icon\"><span class=\"snf-nic-full\"></span></div>\n <div class=\"data\">\n <ul>\n <li>\n <h5 class=\"ip-data\">ipv6</h5>\n <p>001:648:2ffc:1112:a80c:eaff:fe15:baee </p>\n </li>\n </ul>\n </div>\n </li>\n <li>\n <a href=\"#\" class=\"act\" data-reveal-id=\"disconnect-from-network\"> </a>\n <div class=\"icon\"><span class=\"snf-nic-full\"></span></div>\n <div class=\"data\">\n <ul>\n <li>\n <h5 class=\"ip-data\">ipv6</h5>\n <p>001:648:2ffc:1112:a80c:eaff:fe15:baee </p>\n </li>\n </ul>\n </div>\n </li>\n <li>\n <a href=\"#\" class=\"act\" data-reveal-id=\"disconnect-from-network\"> </a>\n <div class=\"icon\"><span class=\"snf-nic-full\"></span></div>\n <div class=\"data\">\n <ul>\n <li>\n <h5 class=\"ip-data\">ipv6</h5>\n <p>001:648:2ffc:1112:a80c:eaff:fe15:baee </p>\n </li>\n </ul>\n </div>\n </li>\n </ul>\n\n </div>\n </section>\n <section class=\"item running\">\n <div class=\"what\">\n <div class=\"img-wrap\">\n <span class=\"snf-network-full snf-font\"></span>\n </div>\n <h4>My Private Network</h4>\n </div>\n <div class=\"clearfix\">\n <ul class=\"connections\">\n <li>\n <a href=\"#\" class=\"act\" data-reveal-id=\"disconnect-from-network\"> </a>\n <div class=\"icon\"><span class=\"snf-nic-full\"></span></div>\n <div class=\"data\">\n <ul>\n <li>\n <h5 class=\"ip-data\">ipv6</h5>\n <p>001:648:2ffc:1112:a80c:eaff:fe15:baee </p>\n </li>\n </ul>\n </div>\n </li>\n </ul>\n\n </div>\n </section>\n <section class=\"connect-new network\">\n <div class=\"img-wrap\">\n <a href=\"\" data-reveal-id=\"connect-to-network\">\n <span class=\"snf-network-full snf-font\"></span>\n </a>\n </div>\n <p><a href=\"\" data-reveal-id=\"connect-to-network\">Connect to Network</a></p>\n </section>\n");
|
270 |
} |
271 |
|
272 |
stack1 = (helper = helpers['details-content'] || (depth0 && depth0['details-content']),options={hash:{ |
273 |
'id': ("network-connected"), |
274 |
'class': ("connected network") |
275 |
},hashTypes:{'id': "STRING",'class': "STRING"},hashContexts:{'id': depth0,'class': depth0},inverse:self.noop,fn:self.program(1, program1, data),contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "details-content", options)); |
276 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
277 |
else { data.buffer.push(''); } |
278 |
|
279 |
}); |
280 |
|
281 |
Ember.TEMPLATES["item"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
282 |
this.compilerInfo = [4,'>= 1.0.0']; |
283 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
284 |
var buffer = '', stack1, helper, options, escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing; |
285 |
|
286 |
|
287 |
data.buffer.push("<li ");
|
288 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
289 |
'data-status': ("status"), |
290 |
'class': ("status") |
291 |
},hashTypes:{'data-status': "ID",'class': "ID"},hashContexts:{'data-status': depth0,'class': depth0},contexts:[],types:[],data:data}))); |
292 |
data.buffer.push(">\n\n ");
|
293 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "App.sideActionsView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}))); |
294 |
data.buffer.push("\n\n <div class=\"container\">\n <a href=\"\" class=\"check\">\n <span class=\"snf-checkbox-unchecked\"></span>\n </a>\n \n ");
|
295 |
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)))); |
296 |
data.buffer.push("\n\n <h4>");
|
297 |
stack1 = helpers._triageMustache.call(depth0, "name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
298 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
299 |
data.buffer.push("</h4>\n <div class= \"status\">\n <span class=\"state\">");
|
300 |
data.buffer.push(escapeExpression((helper = helpers['status-to-text'] || (depth0 && depth0['status-to-text']),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "status", options) : helperMissing.call(depth0, "status-to-text", "status", options)))); |
301 |
data.buffer.push("</span>\n </div>\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 <div class=\"info\"><a ");
|
302 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
303 |
'href': ("link"), |
304 |
'title': ("title") |
305 |
},hashTypes:{'href': "ID",'title': "ID"},hashContexts:{'href': depth0,'title': depth0},contexts:[],types:[],data:data}))); |
306 |
data.buffer.push(">");
|
307 |
stack1 = helpers._triageMustache.call(depth0, "link", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
308 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
309 |
data.buffer.push("</a></div>\n </div>\n</li>\n ");
|
310 |
return buffer;
|
311 |
|
312 |
}); |
313 |
|
314 |
Ember.TEMPLATES["items"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
315 |
this.compilerInfo = [4,'>= 1.0.0']; |
316 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
317 |
var buffer = '', stack1, helper, options, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, self=this; |
318 |
|
319 |
function program1(depth0,data) { |
320 |
|
321 |
var buffer = '', helper, options; |
322 |
data.buffer.push("\n ");
|
323 |
data.buffer.push(escapeExpression((helper = helpers.render || (depth0 && depth0.render),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0,depth0],types:["STRING","ID"],data:data},helper ? helper.call(depth0, "item", "", options) : helperMissing.call(depth0, "render", "item", "", options)))); |
324 |
data.buffer.push("\n ");
|
325 |
return buffer;
|
326 |
} |
327 |
|
328 |
data.buffer.push(escapeExpression((helper = helpers.partial || (depth0 && depth0.partial),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data},helper ? helper.call(depth0, "actions-bar", options) : helperMissing.call(depth0, "partial", "actions-bar", options)))); |
329 |
data.buffer.push("\n<section class=\"main row\">\n <div ");
|
330 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
331 |
'class': (":entities viewCls") |
332 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
333 |
data.buffer.push(">\n <ul class=\"items-list\">\n <li data-status=\"add-new\" class=\"add-new not-selectable\">\n <div class=\"container\">\n <div class=\"check\"></div>\n <div class=\"img-wrap\">\n <span ");
|
334 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
335 |
'class': (":snf-font newIcon") |
336 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
337 |
data.buffer.push("></span>\n </div>\n <h4>");
|
338 |
stack1 = helpers._triageMustache.call(depth0, "newTxt", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
339 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
340 |
data.buffer.push("</h4>\n </div>\n </li>\n\n ");
|
341 |
stack1 = helpers.each.call(depth0, {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[],types:[],data:data}); |
342 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
343 |
data.buffer.push("\n\n\n </ul>\n </div>\n</section>");
|
344 |
return buffer;
|
345 |
|
346 |
}); |
347 |
|
348 |
Ember.TEMPLATES["network"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
349 |
this.compilerInfo = [4,'>= 1.0.0']; |
350 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
351 |
var buffer = '', stack1, helper, options, escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing, self=this; |
352 |
|
353 |
function program1(depth0,data) { |
354 |
|
355 |
var buffer = '', stack1; |
356 |
data.buffer.push("\n <li>\n <a href=\"#\" ");
|
357 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "item.act", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data}))); |
358 |
data.buffer.push(" ");
|
359 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
360 |
'title': ("item.title") |
361 |
},hashTypes:{'title': "STRING"},hashContexts:{'title': depth0},contexts:[],types:[],data:data}))); |
362 |
data.buffer.push(">");
|
363 |
stack1 = helpers._triageMustache.call(depth0, "item.title", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
364 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
365 |
data.buffer.push("</span></a>\n </li>\n ");
|
366 |
return buffer;
|
367 |
} |
368 |
|
369 |
function program3(depth0,data) { |
370 |
|
371 |
|
372 |
data.buffer.push("<span class=\"snf-info-outline\"></span>");
|
373 |
} |
374 |
|
375 |
function program5(depth0,data) { |
376 |
|
377 |
|
378 |
data.buffer.push("<span class=\"snf-pc-outline\"></span>");
|
379 |
} |
380 |
|
381 |
data.buffer.push(escapeExpression((helper = helpers.partial || (depth0 && depth0.partial),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data},helper ? helper.call(depth0, "actions-bar", options) : helperMissing.call(depth0, "partial", "actions-bar", options)))); |
382 |
data.buffer.push("\n<section class=\"main row\">\n\n <div ");
|
383 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
384 |
'class': (":details status") |
385 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
386 |
data.buffer.push(">\n <section class=\"top\">\n <div class=\"lt\">\n ");
|
387 |
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)))); |
388 |
data.buffer.push("\n </div>\n\n <div class=\"rt\">\n <div class=\"title\">\n <h1>");
|
389 |
stack1 = helpers._triageMustache.call(depth0, "name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
390 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
391 |
data.buffer.push("<span class=\"status\">");
|
392 |
data.buffer.push(escapeExpression((helper = helpers['status-to-text'] || (depth0 && depth0['status-to-text']),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "status", options) : helperMissing.call(depth0, "status-to-text", "status", options)))); |
393 |
data.buffer.push("</span></h1>\n </div>\n <div class=\"actions\">\n <ul>\n ");
|
394 |
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}); |
395 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
396 |
data.buffer.push("\n </ul>\n </div>\n <div class=\"tabs\">\n <ul>\n <li>");
|
397 |
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, "network.info", options) : helperMissing.call(depth0, "link-to", "network.info", options)); |
398 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
399 |
data.buffer.push("</li>\n <li>");
|
400 |
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, "network.vm-connected", options) : helperMissing.call(depth0, "link-to", "network.vm-connected", options)); |
401 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
402 |
data.buffer.push("</li>\n </ul>\n </div>\n </div>\n </section>\n \n ");
|
403 |
stack1 = helpers._triageMustache.call(depth0, "outlet", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
404 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
405 |
data.buffer.push("\n\n <div class=\"placeholder\"></div>\n </div>\n</section>");
|
406 |
return buffer;
|
407 |
|
408 |
}); |
409 |
|
410 |
Ember.TEMPLATES["side-actions"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
411 |
this.compilerInfo = [4,'>= 1.0.0']; |
412 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
413 |
var buffer = '', stack1, helper, options, escapeExpression=this.escapeExpression, self=this, helperMissing=helpers.helperMissing; |
414 |
|
415 |
function program1(depth0,data) { |
416 |
|
417 |
|
418 |
data.buffer.push("i");
|
419 |
} |
420 |
|
421 |
function program3(depth0,data) { |
422 |
|
423 |
var buffer = ''; |
424 |
data.buffer.push("\n<li>\n <a href=\"#\" ");
|
425 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "item.act", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}))); |
426 |
data.buffer.push(" ");
|
427 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
428 |
'title': ("item.title") |
429 |
},hashTypes:{'title': "STRING"},hashContexts:{'title': depth0},contexts:[],types:[],data:data}))); |
430 |
data.buffer.push("><span ");
|
431 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
432 |
'class': ("item.spanCls") |
433 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
434 |
data.buffer.push("></span></a>\n</li>\n");
|
435 |
return buffer;
|
436 |
} |
437 |
|
438 |
data.buffer.push("<li>\n ");
|
439 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0,depth0],types:["ID","ID"],data:data},helper ? helper.call(depth0, "codeName", "", options) : helperMissing.call(depth0, "link-to", "codeName", "", options)); |
440 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
441 |
data.buffer.push("\n</li>\n<li>\n <a href=\"#\" ");
|
442 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "modalConnect", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data}))); |
443 |
data.buffer.push(" title=\"connect\"><span class=\"snf-thunder-full\"></span></a>\n</li>\n<!--https://github.com/emberjs/ember.js/pull/3936-->\n");
|
444 |
stack1 = helpers.each.call(depth0, "item", "in", "actionsMeta", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(3, program3, data),contexts:[depth0,depth0,depth0],types:["ID","ID","ID"],data:data}); |
445 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
446 |
data.buffer.push("\n");
|
447 |
return buffer;
|
448 |
|
449 |
}); |
450 |
|
451 |
Ember.TEMPLATES["vm"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
452 |
this.compilerInfo = [4,'>= 1.0.0']; |
453 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
454 |
var buffer = '', stack1, helper, options, escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing, self=this; |
455 |
|
456 |
function program1(depth0,data) { |
457 |
|
458 |
var buffer = '', stack1; |
459 |
data.buffer.push("\n <li>\n <a href=\"#\" ");
|
460 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "item.act", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data}))); |
461 |
data.buffer.push(" ");
|
462 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
463 |
'title': ("item.title") |
464 |
},hashTypes:{'title': "STRING"},hashContexts:{'title': depth0},contexts:[],types:[],data:data}))); |
465 |
data.buffer.push(">");
|
466 |
stack1 = helpers._triageMustache.call(depth0, "item.title", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
467 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
468 |
data.buffer.push("</span></a>\n </li>\n ");
|
469 |
return buffer;
|
470 |
} |
471 |
|
472 |
function program3(depth0,data) { |
473 |
|
474 |
|
475 |
data.buffer.push("<span class=\"snf-info-outline\"></span>");
|
476 |
} |
477 |
|
478 |
function program5(depth0,data) { |
479 |
|
480 |
|
481 |
data.buffer.push("<span class=\"snf-volume-outline\"></span>");
|
482 |
} |
483 |
|
484 |
function program7(depth0,data) { |
485 |
|
486 |
|
487 |
data.buffer.push("<span class=\"snf-network-outline snf-font\"></span>");
|
488 |
} |
489 |
|
490 |
data.buffer.push(escapeExpression((helper = helpers.partial || (depth0 && depth0.partial),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data},helper ? helper.call(depth0, "actions-bar", options) : helperMissing.call(depth0, "partial", "actions-bar", options)))); |
491 |
data.buffer.push("\n<section class=\"main row\">\n <div ");
|
492 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
493 |
'class': (":details status") |
494 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
495 |
data.buffer.push(">\n <section class=\"top\">\n <div class=\"lt\">\n ");
|
496 |
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)))); |
497 |
data.buffer.push("\n </div>\n <div class=\"rt\">\n <div class=\"title\">\n <h1>");
|
498 |
stack1 = helpers._triageMustache.call(depth0, "name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
499 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
500 |
data.buffer.push("<span class=\"status\">");
|
501 |
data.buffer.push(escapeExpression((helper = helpers['status-to-text'] || (depth0 && depth0['status-to-text']),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "status", options) : helperMissing.call(depth0, "status-to-text", "status", options)))); |
502 |
data.buffer.push("</span></h1>\n </div>\n <div class=\"actions\">\n <ul>\n ");
|
503 |
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}); |
504 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
505 |
data.buffer.push("\n </ul>\n </div>\n <div class=\"tabs\">\n <ul>\n <li>");
|
506 |
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.info", options) : helperMissing.call(depth0, "link-to", "vm.info", options)); |
507 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
508 |
data.buffer.push("</li>\n <li>");
|
509 |
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.disk-connected", options) : helperMissing.call(depth0, "link-to", "vm.disk-connected", options)); |
510 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
511 |
data.buffer.push("</li>\n <li>");
|
512 |
stack1 = (helper = helpers['link-to'] || (depth0 && depth0['link-to']),options={hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(7, program7, data),contexts:[depth0],types:["STRING"],data:data},helper ? helper.call(depth0, "vm.network-connected", options) : helperMissing.call(depth0, "link-to", "vm.network-connected", options)); |
513 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
514 |
data.buffer.push("</li>\n </ul>\n </div>\n </div>\n </section>\n ");
|
515 |
stack1 = helpers._triageMustache.call(depth0, "outlet", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
516 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
517 |
data.buffer.push("\n\n <div class=\"placeholder\"></div>\n </div>\n</section>");
|
518 |
return buffer;
|
519 |
|
520 |
}); |