Added alplora and datacenter beta program
This commit is contained in:
parent
8e5834b2dd
commit
ea2f6444db
152 changed files with 20967 additions and 160 deletions
18
alplora/static/alplora/js/virtual_machine_detail.js
Executable file
18
alplora/static/alplora/js/virtual_machine_detail.js
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
$( document ).ready(function() {
|
||||
|
||||
$('#confirm-cancel').on('click', '.btn-ok', function(e) {
|
||||
$('#virtual_machine_cancel_form').trigger('submit');
|
||||
});
|
||||
|
||||
var hash = window.location.hash;
|
||||
hash && $('ul.nav a[href="' + hash + '"]').tab('show');
|
||||
|
||||
$('.nav-tabs a').click(function (e) {
|
||||
$(this).tab('show');
|
||||
var scrollmem = $('body').scrollTop() || $('html').scrollTop();
|
||||
window.location.hash = this.hash;
|
||||
$('html,body').scrollTop(scrollmem);
|
||||
});
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue