Revision 7b389cf5
b/ui/static/ie.css | ||
---|---|---|
19 | 19 |
.firewall .network-progress-indicator img { |
20 | 20 |
left: 253px; |
21 | 21 |
} |
22 |
|
|
23 |
div.confirm_single button { |
|
24 |
padding-bottom: 0px; |
|
25 |
} |
b/ui/static/main.css | ||
---|---|---|
817 | 817 |
height: 78px; |
818 | 818 |
float: left; |
819 | 819 |
} |
820 |
.network .vm-actions { |
|
821 |
width: 185px; |
|
822 |
} |
|
820 | 823 |
|
821 | 824 |
.icon .machine-container:hover .machine-data { |
822 | 825 |
background-color:#A1C8DB !important; |
... | ... | |
1855 | 1858 |
|
1856 | 1859 |
div.confirm_single button { |
1857 | 1860 |
border: none; |
1861 |
font-family: Arial, Helvetica, sans-serif; |
|
1862 |
line-height: 1em; |
|
1863 |
vertical-align: middle; |
|
1864 |
padding: 2px 6px; |
|
1865 |
padding-bottom:4px; |
|
1866 |
height: 15px; |
|
1858 | 1867 |
} |
1859 | 1868 |
|
1860 | 1869 |
div.confirm_single button.yes { |
... | ... | |
2607 | 2616 |
font-size: 75%; |
2608 | 2617 |
position: absolute; |
2609 | 2618 |
right: 10px; |
2610 |
top: 10px;
|
|
2619 |
top: 5px;
|
|
2611 | 2620 |
} |
2612 | 2621 |
|
2613 | 2622 |
div.network div.actions { |
... | ... | |
2624 | 2633 |
div.network div.machine-actions { |
2625 | 2634 |
text-decoration: none; |
2626 | 2635 |
float: right; |
2627 |
margin: -17px -175px 0 0;
|
|
2636 |
margin: -17px -180px 0 0;
|
|
2628 | 2637 |
font-weight: normal; |
2629 | 2638 |
font-size: 75%; |
2630 | 2639 |
} |
... | ... | |
2651 | 2660 |
|
2652 | 2661 |
div.network div.net-actions .confirm_single { |
2653 | 2662 |
position: absolute; |
2654 |
left: 95px;
|
|
2663 |
left: 96px;
|
|
2655 | 2664 |
width: 200px; |
2656 | 2665 |
margin: 0 0px -5px 0; |
2657 | 2666 |
font-size: 100%; |
... | ... | |
2679 | 2688 |
|
2680 | 2689 |
div.network .net-vm-actions .confirm_single { |
2681 | 2690 |
font-size: 100% !important; |
2682 |
margin-right: -25px !important;
|
|
2691 |
margin-right: -20px !important;
|
|
2683 | 2692 |
position: absolute !important; |
2684 | 2693 |
top: 7px; |
2685 | 2694 |
right:0; |
... | ... | |
2921 | 2930 |
} |
2922 | 2931 |
|
2923 | 2932 |
div.network-add-machine { |
2924 |
margin:43px 0 0 -3px;
|
|
2933 |
margin:43px 0 0 0px;
|
|
2925 | 2934 |
} |
2926 | 2935 |
|
2927 | 2936 |
.firewall-on { |
b/ui/static/snf/js/ui/web/ui_networks_view.js | ||
---|---|---|
532 | 532 |
initialize: function(network, view) { |
533 | 533 |
this.parent_view = view; |
534 | 534 |
this.network = network; |
535 |
this.is_public = network.is_public(); |
|
536 |
|
|
535 | 537 |
this.init_vm_handlers(); |
536 | 538 |
|
537 |
this.id = "networks_view_" + network.id; |
|
539 |
this.view_id = "networks_view_" + network.id;
|
|
538 | 540 |
views.NetworkModelView.__super__.initialize.call(this); |
539 | 541 |
|
540 | 542 |
this.vm_views = {}; |
... | ... | |
579 | 581 |
fix_left_border: function() { |
580 | 582 |
if (!this.visible()) { return }; |
581 | 583 |
var imgheight = 2783; |
584 |
if (!this.is_public) { imgheight = 2700 }; |
|
582 | 585 |
var contents = this.$(".network-contents"); |
583 | 586 |
var last_vm = this.$(".network-machine:last") |
584 | 587 |
var bgpos = imgheight - contents.height() + last_vm.height() - 30; |
... | ... | |
690 | 693 |
vm_added_handler: function(action, vm) { |
691 | 694 |
if (!this.network.contains_vm(vm)) { return } |
692 | 695 |
this.add_or_update_vm(vm); |
696 |
this.fix_left_border(); |
|
693 | 697 |
this.update_layout(); |
694 | 698 |
}, |
695 | 699 |
|
Also available in: Unified diff