root / snf-cyclades-app / synnefo / ui / new_ui / ui / javascripts / templates.js @ e4a6c3b8
History | View | Annotate | Download (42.9 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 |
data.buffer.push("<header class=\"header\">\n <nav>\n <ul class=\"icons-nav\">\n <li>");
|
77 |
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)); |
78 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
79 |
data.buffer.push("</li>\n <li>");
|
80 |
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)); |
81 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
82 |
data.buffer.push("</li>\n <li><a href=\"volumes_list.html\" data-tooltip class=\"has-tip\" title=\"Disks\"><span class=\"snf-volume-outline\"></span></a></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");
|
83 |
return buffer;
|
84 |
|
85 |
}); |
86 |
|
87 |
Ember.TEMPLATES["_img-wrap"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
88 |
this.compilerInfo = [4,'>= 1.0.0']; |
89 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
90 |
var buffer = '', stack1, escapeExpression=this.escapeExpression, self=this; |
91 |
|
92 |
function program1(depth0,data) { |
93 |
|
94 |
var buffer = '', stack1; |
95 |
data.buffer.push("<span ");
|
96 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
97 |
'class': (":os this.os") |
98 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
99 |
data.buffer.push(">");
|
100 |
stack1 = helpers._triageMustache.call(depth0, "os", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
101 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
102 |
data.buffer.push("</span>");
|
103 |
return buffer;
|
104 |
} |
105 |
|
106 |
data.buffer.push("<div class=\"img-wrap\">\n <span ");
|
107 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
108 |
'class': (":snf-font icon") |
109 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
110 |
data.buffer.push("></span>\n ");
|
111 |
stack1 = helpers['if'].call(depth0, "os", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],data:data}); |
112 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
113 |
data.buffer.push("\n</div>");
|
114 |
return buffer;
|
115 |
|
116 |
}); |
117 |
|
118 |
Ember.TEMPLATES["_modals"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
119 |
this.compilerInfo = [4,'>= 1.0.0']; |
120 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
121 |
var buffer = '', helper, options, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
122 |
|
123 |
|
124 |
data.buffer.push("<section class=\"overlay-area-reveal\">\n ");
|
125 |
data.buffer.push(escapeExpression((helper = helpers['reveal-modal'] || (depth0 && depth0['reveal-modal']),options={hash:{ |
126 |
'id': ("modal-connect") |
127 |
},hashTypes:{'id': "STRING"},hashContexts:{'id': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "reveal-modal", options)))); |
128 |
data.buffer.push("\n ");
|
129 |
data.buffer.push(escapeExpression((helper = helpers['reveal-modal'] || (depth0 && depth0['reveal-modal']),options={hash:{ |
130 |
'id': ("modal-start"), |
131 |
'hasButtons': ("true") |
132 |
},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)))); |
133 |
data.buffer.push("\n ");
|
134 |
data.buffer.push(escapeExpression((helper = helpers['reveal-modal'] || (depth0 && depth0['reveal-modal']),options={hash:{ |
135 |
'id': ("modal-reboot"), |
136 |
'hasButtons': ("true") |
137 |
},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)))); |
138 |
data.buffer.push("\n ");
|
139 |
data.buffer.push(escapeExpression((helper = helpers['reveal-modal'] || (depth0 && depth0['reveal-modal']),options={hash:{ |
140 |
'id': ("modal-shutdown"), |
141 |
'hasButtons': ("true") |
142 |
},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)))); |
143 |
data.buffer.push("\n ");
|
144 |
data.buffer.push(escapeExpression((helper = helpers['reveal-modal'] || (depth0 && depth0['reveal-modal']),options={hash:{ |
145 |
'id': ("modal-destroy"), |
146 |
'hasButtons': ("true") |
147 |
},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)))); |
148 |
data.buffer.push("\n</section>");
|
149 |
return buffer;
|
150 |
|
151 |
}); |
152 |
|
153 |
Ember.TEMPLATES["application"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
154 |
this.compilerInfo = [4,'>= 1.0.0']; |
155 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
156 |
var buffer = '', stack1, helper, options, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
157 |
|
158 |
|
159 |
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)))); |
160 |
data.buffer.push("\n");
|
161 |
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)))); |
162 |
data.buffer.push("\n\n<div class=\"body-wrapper\">\n ");
|
163 |
stack1 = helpers._triageMustache.call(depth0, "outlet", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
164 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
165 |
data.buffer.push("\n</div>");
|
166 |
return buffer;
|
167 |
|
168 |
}); |
169 |
|
170 |
Ember.TEMPLATES["components/details-content"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
171 |
this.compilerInfo = [4,'>= 1.0.0']; |
172 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
173 |
var stack1;
|
174 |
|
175 |
|
176 |
stack1 = helpers._triageMustache.call(depth0, "yield", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
177 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
178 |
else { data.buffer.push(''); } |
179 |
|
180 |
}); |
181 |
|
182 |
Ember.TEMPLATES["components/reveal-modal"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
183 |
this.compilerInfo = [4,'>= 1.0.0']; |
184 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
185 |
var buffer = '', stack1, escapeExpression=this.escapeExpression, self=this; |
186 |
|
187 |
function program1(depth0,data) { |
188 |
|
189 |
var buffer = ''; |
190 |
data.buffer.push("\n <p class=\"buttons\">\n <a href=\"\" ");
|
191 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "ok", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data}))); |
192 |
data.buffer.push(" class=\"btn4\"><span>Yes</span></a>\n <a href=\"\" ");
|
193 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "close", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data}))); |
194 |
data.buffer.push(" class=\"btn4\"><span>No</span></a>\n </p>\n");
|
195 |
return buffer;
|
196 |
} |
197 |
|
198 |
stack1 = helpers._triageMustache.call(depth0, "yield", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
199 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
200 |
data.buffer.push("\n");
|
201 |
data.buffer.push(escapeExpression(helpers._triageMustache.call(depth0, "message", {hash:{ |
202 |
'unescaped': ("true") |
203 |
},hashTypes:{'unescaped': "STRING"},hashContexts:{'unescaped': depth0},contexts:[depth0],types:["ID"],data:data}))); |
204 |
data.buffer.push("\n\n");
|
205 |
stack1 = helpers['if'].call(depth0, "hasButtons", {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[depth0],types:["ID"],data:data}); |
206 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
207 |
data.buffer.push("\n\n<a class=\"close-reveal-modal has-tip\" data-tooltip title=\"close window\">x</a>\n");
|
208 |
return buffer;
|
209 |
|
210 |
}); |
211 |
|
212 |
Ember.TEMPLATES["details/disk-connected"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
213 |
this.compilerInfo = [4,'>= 1.0.0']; |
214 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
215 |
var stack1, helper, options, self=this, helperMissing=helpers.helperMissing; |
216 |
|
217 |
function program1(depth0,data) { |
218 |
|
219 |
|
220 |
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");
|
221 |
} |
222 |
|
223 |
stack1 = (helper = helpers['details-content'] || (depth0 && depth0['details-content']),options={hash:{ |
224 |
'id': ("disk-connected"), |
225 |
'class': ("connected disk") |
226 |
},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)); |
227 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
228 |
else { data.buffer.push(''); } |
229 |
|
230 |
}); |
231 |
|
232 |
Ember.TEMPLATES["details/info"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
233 |
this.compilerInfo = [4,'>= 1.0.0']; |
234 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
235 |
var stack1, helper, options, self=this, helperMissing=helpers.helperMissing; |
236 |
|
237 |
function program1(depth0,data) { |
238 |
|
239 |
|
240 |
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");
|
241 |
} |
242 |
|
243 |
stack1 = (helper = helpers['details-content'] || (depth0 && depth0['details-content']),options={hash:{ |
244 |
'id': ("info"), |
245 |
'class': ("info-simple") |
246 |
},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)); |
247 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
248 |
else { data.buffer.push(''); } |
249 |
|
250 |
}); |
251 |
|
252 |
Ember.TEMPLATES["details/network-connected"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
253 |
this.compilerInfo = [4,'>= 1.0.0']; |
254 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
255 |
var stack1, helper, options, self=this, helperMissing=helpers.helperMissing; |
256 |
|
257 |
function program1(depth0,data) { |
258 |
|
259 |
|
260 |
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");
|
261 |
} |
262 |
|
263 |
stack1 = (helper = helpers['details-content'] || (depth0 && depth0['details-content']),options={hash:{ |
264 |
'id': ("network-connected"), |
265 |
'class': ("connected network") |
266 |
},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)); |
267 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
268 |
else { data.buffer.push(''); } |
269 |
|
270 |
}); |
271 |
|
272 |
Ember.TEMPLATES["item"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
273 |
this.compilerInfo = [4,'>= 1.0.0']; |
274 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
275 |
var buffer = '', stack1, helper, options, escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing; |
276 |
|
277 |
|
278 |
data.buffer.push("<li ");
|
279 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
280 |
'data-status': ("state"), |
281 |
'class': ("state") |
282 |
},hashTypes:{'data-status': "ID",'class': "ID"},hashContexts:{'data-status': depth0,'class': depth0},contexts:[],types:[],data:data}))); |
283 |
data.buffer.push(">\n\n ");
|
284 |
data.buffer.push(escapeExpression(helpers.view.call(depth0, "App.sideActionsView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}))); |
285 |
data.buffer.push("\n\n <div class=\"container\">\n <a href=\"\" class=\"check\">\n <span class=\"snf-checkbox-unchecked\"></span>\n </a>\n \n ");
|
286 |
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)))); |
287 |
data.buffer.push("\n\n <h4>");
|
288 |
stack1 = helpers._triageMustache.call(depth0, "name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
289 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
290 |
data.buffer.push("</h4>\n <div class= \"status\">\n <span class=\"state\">");
|
291 |
data.buffer.push(escapeExpression((helper = helpers['state-to-text'] || (depth0 && depth0['state-to-text']),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "state", options) : helperMissing.call(depth0, "state-to-text", "state", options)))); |
292 |
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 ");
|
293 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
294 |
'href': ("link"), |
295 |
'title': ("title") |
296 |
},hashTypes:{'href': "ID",'title': "ID"},hashContexts:{'href': depth0,'title': depth0},contexts:[],types:[],data:data}))); |
297 |
data.buffer.push(">");
|
298 |
stack1 = helpers._triageMustache.call(depth0, "link", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
299 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
300 |
data.buffer.push("</a></div>\n </div>\n</li>\n ");
|
301 |
return buffer;
|
302 |
|
303 |
}); |
304 |
|
305 |
Ember.TEMPLATES["items"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
306 |
this.compilerInfo = [4,'>= 1.0.0']; |
307 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
308 |
var buffer = '', stack1, helper, options, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, self=this; |
309 |
|
310 |
function program1(depth0,data) { |
311 |
|
312 |
var buffer = '', helper, options; |
313 |
data.buffer.push("\n ");
|
314 |
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)))); |
315 |
data.buffer.push("\n ");
|
316 |
return buffer;
|
317 |
} |
318 |
|
319 |
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)))); |
320 |
data.buffer.push("\n<section class=\"main row\">\n <div ");
|
321 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
322 |
'class': (":entities viewCls") |
323 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
324 |
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 ");
|
325 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
326 |
'class': (":snf-font newIcon") |
327 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
328 |
data.buffer.push("></span>\n </div>\n <h4>");
|
329 |
stack1 = helpers._triageMustache.call(depth0, "newTxt", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
330 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
331 |
data.buffer.push("</h4>\n </div>\n </li>\n\n ");
|
332 |
stack1 = helpers.each.call(depth0, {hash:{},hashTypes:{},hashContexts:{},inverse:self.noop,fn:self.program(1, program1, data),contexts:[],types:[],data:data}); |
333 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
334 |
data.buffer.push("\n\n\n </ul>\n </div>\n</section>");
|
335 |
return buffer;
|
336 |
|
337 |
}); |
338 |
|
339 |
Ember.TEMPLATES["network"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
340 |
this.compilerInfo = [4,'>= 1.0.0']; |
341 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
342 |
var buffer = '', stack1, helper, options, escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing, self=this; |
343 |
|
344 |
function program1(depth0,data) { |
345 |
|
346 |
var buffer = '', stack1; |
347 |
data.buffer.push("\n <li>\n <a href=\"#\" ");
|
348 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "item.act", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data}))); |
349 |
data.buffer.push(" ");
|
350 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
351 |
'title': ("item.title") |
352 |
},hashTypes:{'title': "STRING"},hashContexts:{'title': depth0},contexts:[],types:[],data:data}))); |
353 |
data.buffer.push(">");
|
354 |
stack1 = helpers._triageMustache.call(depth0, "item.title", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
355 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
356 |
data.buffer.push("</span></a>\n </li>\n ");
|
357 |
return buffer;
|
358 |
} |
359 |
|
360 |
function program3(depth0,data) { |
361 |
|
362 |
|
363 |
data.buffer.push("<span class=\"snf-info-outline\"></span>");
|
364 |
} |
365 |
|
366 |
function program5(depth0,data) { |
367 |
|
368 |
|
369 |
data.buffer.push("<span class=\"snf-pc-outline\"></span>");
|
370 |
} |
371 |
|
372 |
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)))); |
373 |
data.buffer.push("\n<section class=\"main row\">\n\n <div ");
|
374 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
375 |
'class': (":details state") |
376 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
377 |
data.buffer.push(">\n <section class=\"top\">\n <div class=\"lt\">\n ");
|
378 |
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)))); |
379 |
data.buffer.push("\n </div>\n\n <div class=\"rt\">\n <div class=\"title\">\n <h1>");
|
380 |
stack1 = helpers._triageMustache.call(depth0, "name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
381 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
382 |
data.buffer.push("<span class=\"status\">");
|
383 |
data.buffer.push(escapeExpression((helper = helpers['state-to-text'] || (depth0 && depth0['state-to-text']),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "state", options) : helperMissing.call(depth0, "state-to-text", "state", options)))); |
384 |
data.buffer.push("</span></h1>\n </div>\n <div class=\"actions\">\n <ul>\n ");
|
385 |
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}); |
386 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
387 |
data.buffer.push("\n </ul>\n </div>\n <div class=\"tabs\">\n <ul>\n <li>");
|
388 |
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)); |
389 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
390 |
data.buffer.push("</li>\n <li>");
|
391 |
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)); |
392 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
393 |
data.buffer.push("</li>\n </ul>\n </div>\n </div>\n </section>\n \n ");
|
394 |
stack1 = helpers._triageMustache.call(depth0, "outlet", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
395 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
396 |
data.buffer.push("\n\n <div class=\"placeholder\"></div>\n </div>\n</section>");
|
397 |
return buffer;
|
398 |
|
399 |
}); |
400 |
|
401 |
Ember.TEMPLATES["side-actions"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
402 |
this.compilerInfo = [4,'>= 1.0.0']; |
403 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
404 |
var buffer = '', stack1, helper, options, escapeExpression=this.escapeExpression, self=this, helperMissing=helpers.helperMissing; |
405 |
|
406 |
function program1(depth0,data) { |
407 |
|
408 |
|
409 |
data.buffer.push("i");
|
410 |
} |
411 |
|
412 |
function program3(depth0,data) { |
413 |
|
414 |
var buffer = ''; |
415 |
data.buffer.push("\n<li>\n <a href=\"#\" ");
|
416 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "item.act", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data}))); |
417 |
data.buffer.push(" ");
|
418 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
419 |
'title': ("item.title") |
420 |
},hashTypes:{'title': "STRING"},hashContexts:{'title': depth0},contexts:[],types:[],data:data}))); |
421 |
data.buffer.push("><span ");
|
422 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
423 |
'class': ("item.spanCls") |
424 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
425 |
data.buffer.push("></span></a>\n</li>\n");
|
426 |
return buffer;
|
427 |
} |
428 |
|
429 |
data.buffer.push("<li>\n ");
|
430 |
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)); |
431 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
432 |
data.buffer.push("\n</li>\n<li>\n <a href=\"#\" ");
|
433 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "modalConnect", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data}))); |
434 |
data.buffer.push(" title=\"connect\"><span class=\"snf-thunder-full\"></span></a>\n</li>\n\n");
|
435 |
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}); |
436 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
437 |
data.buffer.push("\n");
|
438 |
return buffer;
|
439 |
|
440 |
}); |
441 |
|
442 |
Ember.TEMPLATES["vm"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { |
443 |
this.compilerInfo = [4,'>= 1.0.0']; |
444 |
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
|
445 |
var buffer = '', stack1, helper, options, escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing, self=this; |
446 |
|
447 |
function program1(depth0,data) { |
448 |
|
449 |
var buffer = '', stack1; |
450 |
data.buffer.push("\n <li>\n <a href=\"#\" ");
|
451 |
data.buffer.push(escapeExpression(helpers.action.call(depth0, "item.act", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data}))); |
452 |
data.buffer.push(" ");
|
453 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
454 |
'title': ("item.title") |
455 |
},hashTypes:{'title': "STRING"},hashContexts:{'title': depth0},contexts:[],types:[],data:data}))); |
456 |
data.buffer.push(">");
|
457 |
stack1 = helpers._triageMustache.call(depth0, "item.title", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
458 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
459 |
data.buffer.push("</span></a>\n </li>\n ");
|
460 |
return buffer;
|
461 |
} |
462 |
|
463 |
function program3(depth0,data) { |
464 |
|
465 |
|
466 |
data.buffer.push("<span class=\"snf-info-outline\"></span>");
|
467 |
} |
468 |
|
469 |
function program5(depth0,data) { |
470 |
|
471 |
|
472 |
data.buffer.push("<span class=\"snf-volume-outline\"></span>");
|
473 |
} |
474 |
|
475 |
function program7(depth0,data) { |
476 |
|
477 |
|
478 |
data.buffer.push("<span class=\"snf-network-outline snf-font\"></span>");
|
479 |
} |
480 |
|
481 |
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)))); |
482 |
data.buffer.push("\n<section class=\"main row\">\n\n <div ");
|
483 |
data.buffer.push(escapeExpression(helpers['bind-attr'].call(depth0, {hash:{ |
484 |
'class': (":details state") |
485 |
},hashTypes:{'class': "STRING"},hashContexts:{'class': depth0},contexts:[],types:[],data:data}))); |
486 |
data.buffer.push(">\n <section class=\"top\">\n <div class=\"lt\">\n ");
|
487 |
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)))); |
488 |
data.buffer.push("\n </div>\n\n <div class=\"rt\">\n <div class=\"title\">\n <h1>");
|
489 |
stack1 = helpers._triageMustache.call(depth0, "name", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
490 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
491 |
data.buffer.push("<span class=\"status\">");
|
492 |
data.buffer.push(escapeExpression((helper = helpers['state-to-text'] || (depth0 && depth0['state-to-text']),options={hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data},helper ? helper.call(depth0, "state", options) : helperMissing.call(depth0, "state-to-text", "state", options)))); |
493 |
data.buffer.push("</span></h1>\n </div>\n <div class=\"actions\">\n <ul>\n ");
|
494 |
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}); |
495 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
496 |
data.buffer.push("\n </ul>\n </div>\n <div class=\"tabs\">\n <ul>\n <li>");
|
497 |
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)); |
498 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
499 |
data.buffer.push("</li>\n <li>");
|
500 |
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)); |
501 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
502 |
data.buffer.push("</li>\n <li>");
|
503 |
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)); |
504 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
505 |
data.buffer.push("</li>\n </ul>\n </div>\n </div>\n </section>\n ");
|
506 |
stack1 = helpers._triageMustache.call(depth0, "outlet", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data}); |
507 |
if(stack1 || stack1 === 0) { data.buffer.push(stack1); } |
508 |
data.buffer.push("\n\n <div class=\"placeholder\"></div>\n </div>\n</section>");
|
509 |
return buffer;
|
510 |
|
511 |
}); |