Revision de44fc6c
b/ui/static/main.css | ||
---|---|---|
1909 | 1909 |
border-bottom: 5px solid #4085A5; |
1910 | 1910 |
min-height: 150px; |
1911 | 1911 |
top: 50px !important; |
1912 |
position: absolute !important;
|
|
1912 |
position: absolute; |
|
1913 | 1913 |
} |
1914 | 1914 |
|
1915 | 1915 |
#error-success p, .notification-box p { |
b/ui/static/synnefo.js | ||
---|---|---|
1287 | 1287 |
// open msg box |
1288 | 1288 |
msg_box({ |
1289 | 1289 |
title:title, |
1290 |
fixed: true, |
|
1290 | 1291 |
content:'loading...', |
1291 | 1292 |
extra:'', 'ajax':'machines/connect' + params_url, |
1292 | 1293 |
parse_data:function(data){ |
... | ... | |
2282 | 2283 |
sel(".password-container .password").html(config.extra); |
2283 | 2284 |
sel(".password-container").show(); |
2284 | 2285 |
} |
2285 |
|
|
2286 |
var triggers = $("a#msgbox").overlay({
|
|
2286 |
|
|
2287 |
var conf = {
|
|
2287 | 2288 |
// some mask tweaks suitable for modal dialogs |
2288 | 2289 |
mask: '#666', |
2289 | 2290 |
top: '10px', |
2290 | 2291 |
closeOnClick: false, |
2291 | 2292 |
oneInstance: false, |
2292 | 2293 |
load: false, |
2293 |
fixed: false, |
|
2294 |
fixed: config.fixed || false,
|
|
2294 | 2295 |
onClose: function () { |
2295 | 2296 |
// With partial refresh working properly, |
2296 | 2297 |
// it is no longer necessary to refresh the whole page |
2297 | 2298 |
// choose_view(); |
2298 | 2299 |
} |
2299 |
}); |
|
2300 |
} |
|
2301 |
|
|
2302 |
var triggers = $("a#msgbox").overlay(conf); |
|
2303 |
|
|
2304 |
try { |
|
2305 |
conf = $("a#msgbox").data('overlay').getConf(); |
|
2306 |
conf.fixed = config.fixed || false; |
|
2307 |
} catch (err) {} |
|
2300 | 2308 |
$("a#msgbox").data('overlay').load(); |
2301 | 2309 |
|
2302 | 2310 |
var parse_data = config.parse_data || false; |
... | ... | |
2400 | 2408 |
} |
2401 | 2409 |
|
2402 | 2410 |
// first time clicked (show the msg box with /invitations content) |
2403 |
msg_box({title:window.INVITATIONS_TITLE, content:'', ajax:INVITATIONS_URL, html:true, success: function(el){ |
|
2404 |
handle_invitations(el)} |
|
2411 |
msg_box({ |
|
2412 |
title:window.INVITATIONS_TITLE, |
|
2413 |
content:'', |
|
2414 |
fixed: false, |
|
2415 |
ajax:INVITATIONS_URL, |
|
2416 |
html:true, |
|
2417 |
success: function(el){ |
|
2418 |
handle_invitations(el) |
|
2419 |
} |
|
2405 | 2420 |
}); |
2406 | 2421 |
} |
2407 | 2422 |
|
Also available in: Unified diff