Revision 20f0c4ae snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/templates.js

b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/templates.js
179 179
  
180 180
});
181 181

  
182
Ember.TEMPLATES["add-tag"] = 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 = '', escapeExpression=this.escapeExpression;
186

  
187

  
188
  data.buffer.push("<div class=\"buttons\">\n    <a href=\"\" class=\"btn1 show-add-tag wrap-a\" id=\"show-add-tag\"><span>add new tag</span></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        \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=\"\" ");
189
  data.buffer.push(escapeExpression(helpers.action.call(depth0, "createTag", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data})));
190
  data.buffer.push("><span>OK</span></a>\n        <a class=\"btn1 hide-add-tag wrap-a\" href=\"\"><span>CANCEL</span></a>\n    </div>\n</div>\n");
191
  return buffer;
192
  
193
});
194

  
182 195
Ember.TEMPLATES["application"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {
183 196
this.compilerInfo = [4,'>= 1.0.0'];
184 197
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
......
196 209
  
197 210
});
198 211

  
199
Ember.TEMPLATES["components/add-tag"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {
200
this.compilerInfo = [4,'>= 1.0.0'];
201
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
202
  
203

  
204

  
205
  data.buffer.push("<div class=\"buttons\">\n    <a href=\"\" class=\"btn1 show-add-tag wrap-a\" id=\"show-add-tag\"><span>add new tag</span></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=\"\"><span>OK</span></a>\n        <a class=\"btn1 hide-add-tag wrap-a\" href=\"\"><span>CANCEL</span></a>\n    </div>\n</div>\n");
206
  
207
});
208

  
209 212
Ember.TEMPLATES["components/details-content"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {
210 213
this.compilerInfo = [4,'>= 1.0.0'];
211 214
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
......
264 267
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
265 268
  data.buffer.push("</span>\n<a class=\"delete\" ");
266 269
  data.buffer.push(escapeExpression(helpers.action.call(depth0, "deleteTag", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["STRING"],data:data})));
267
  data.buffer.push("><span class=\"snf-trash-outline\"></span></a>");
270
  data.buffer.push(" title=\"remove this tag from this vm\"><span class=\"snf-trash-outline\"></span></a>");
268 271
  return buffer;
269 272
  
270 273
});
......
292 295
Ember.TEMPLATES["details/info"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {
293 296
this.compilerInfo = [4,'>= 1.0.0'];
294 297
helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {};
295
  var stack1, helper, options, escapeExpression=this.escapeExpression, self=this, helperMissing=helpers.helperMissing;
298
  var stack1, helper, options, escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing, self=this;
296 299

  
297 300
function program1(depth0,data) {
298 301
  
299
  var buffer = '', stack1;
302
  var buffer = '', helper, options;
300 303
  data.buffer.push("\n\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\n	<section class=\"info-block\">\n		<h2>tags</h2>\n		");
301 304
  data.buffer.push(escapeExpression(helpers.view.call(depth0, "App.tagsListView", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data})));
302 305
  data.buffer.push("\n		");
303
  stack1 = helpers._triageMustache.call(depth0, "add-tag", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
304
  if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
306
  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, "add-tag", "tag", options) : helperMissing.call(depth0, "render", "add-tag", "tag", options))));
305 307
  data.buffer.push("\n	</section>\n\n\n\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");
306 308
  return buffer;
307 309
  }

Also available in: Unified diff