Revision ce4f9227 ui/templates/standard.html
b/ui/templates/standard.html | ||
---|---|---|
190 | 190 |
/* |
191 | 191 |
Go through the servers in the input data. Update existing entries, add |
192 | 192 |
new ones to the list |
193 |
*/ |
|
193 |
*/ |
|
194 |
|
|
194 | 195 |
$.each(data.servers.values, function(i,server){ |
195 | 196 |
existing = $('#' + server.id); |
196 | 197 |
|
... | ... | |
295 | 296 |
$("#mini.separator").fadeIn("slow"); |
296 | 297 |
} else { |
297 | 298 |
$("#mini.separator").fadeOut("slow"); |
298 |
} |
|
299 |
}
|
|
299 | 300 |
|
300 | 301 |
// show message in case user has no servers! |
301 | 302 |
if (servers.length == 0) { |
302 | 303 |
showWelcome() |
303 | 304 |
} else { |
304 | 305 |
hideWelcome() |
305 |
}
|
|
306 |
} |
|
306 | 307 |
|
307 | 308 |
// set confirm box position |
308 | 309 |
if (window.innerHeight - 220 < $('#machinesview').height()) |
Also available in: Unified diff