tab back updates
Change-Id: Iabbc6cd3d34aa875dbe1b762ebe8ea535c7e906c
This commit is contained in:
parent
18b40a0613
commit
1f56f3d4c0
|
@ -2,7 +2,7 @@ var _conv_host = (("https:" == document.location.protocol) ? "https://d9jmv9u00p
|
||||||
document.write(unescape("%3Cscript src='" + _conv_host + "/js/10012224-10012014.js' type='text/javascript'%3E%3C/script%3E"));
|
document.write(unescape("%3Cscript src='" + _conv_host + "/js/10012224-10012014.js' type='text/javascript'%3E%3C/script%3E"));
|
||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
window.addEventListener("popstate", function (e) {
|
$(window).on("popstate", function (e) {
|
||||||
var activeTab = location.hash ? $('[href=' + location.hash + ']') : $('[href=#home]');
|
var activeTab = location.hash ? $('[href=' + location.hash + ']') : $('[href=#home]');
|
||||||
if (activeTab.length) {
|
if (activeTab.length) {
|
||||||
activeTab.tab('show');
|
activeTab.tab('show');
|
||||||
|
@ -12,6 +12,15 @@ document.write(unescape("%3Cscript src='" + _conv_host + "/js/10012224-10012014.
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
function showHashTab(){
|
||||||
|
if(location.hash){
|
||||||
|
var activeTab = $('[href=' + location.hash + ']');
|
||||||
|
if (activeTab.length) {
|
||||||
|
activeTab.tab('show');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function generateLinks(url, title) {
|
function generateLinks(url, title) {
|
||||||
var currentLocation = window.location;
|
var currentLocation = window.location;
|
||||||
var linkUrl = currentLocation.protocol + '//' + currentLocation.host + currentLocation.pathname + url;
|
var linkUrl = currentLocation.protocol + '//' + currentLocation.host + currentLocation.pathname + url;
|
||||||
|
@ -92,6 +101,39 @@ function populateDownload(download) {
|
||||||
$('#download_content').append('<a href="' + href + '" class="btn btn-danger btn-lg btn-block" id="download_openstack">' + link + '</a>' + content);
|
$('#download_content').append('<a href="' + href + '" class="btn btn-danger btn-lg btn-block" id="download_openstack">' + link + '</a>' + content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function populateContent(callback){
|
||||||
|
$.get("index_content.html", function (data) {
|
||||||
|
var homeTitle = $(data).find('.home-title').html();
|
||||||
|
var home = $(data).find('.what-is-mirantis-openstack').html();
|
||||||
|
var guides = $(data).find('#guides');
|
||||||
|
populateGuides(guides);
|
||||||
|
var pdfs = $(data).find('#pdf .reference');
|
||||||
|
populatePdfs(pdfs);
|
||||||
|
var download = $(data).find('#download-now');
|
||||||
|
populateDownload(download);
|
||||||
|
|
||||||
|
$('#home').html(home);
|
||||||
|
$('#main').html(homeTitle);
|
||||||
|
});
|
||||||
|
|
||||||
|
$.get("eula.html", function (data) {
|
||||||
|
var fuel_license = $(data).find('#fuel-license').html();
|
||||||
|
$('#fuel-license').html($(fuel_license).find('pre'));
|
||||||
|
});
|
||||||
|
|
||||||
|
$.get("third-party-licenses.html", function (data) {
|
||||||
|
var third_party = $(data).find(".section > .section");
|
||||||
|
$(third_party).each(function (i, v) {
|
||||||
|
var el = $(v).find('.reference');
|
||||||
|
var href = $(el).attr('href');
|
||||||
|
var heading = $(el).text();
|
||||||
|
$('#third-party-licenses').append('<a class="btn btn-default red btn-block" href="' + href + '"><i class="fa fa-file-pdf-o"></i> ' + heading + '</a>');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
callback();
|
||||||
|
}
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var url = window.location.pathname;
|
var url = window.location.pathname;
|
||||||
var filename = url.substring(url.lastIndexOf('/') + 1);
|
var filename = url.substring(url.lastIndexOf('/') + 1);
|
||||||
|
@ -99,35 +141,7 @@ $(document).ready(function () {
|
||||||
if (filename == 'index.html' || filename == '') {
|
if (filename == 'index.html' || filename == '') {
|
||||||
$('ul.nav.navbar-nav li.dropdown').not('.globaltoc-container').hide();
|
$('ul.nav.navbar-nav li.dropdown').not('.globaltoc-container').hide();
|
||||||
|
|
||||||
|
populateContent(showHashTab);
|
||||||
$.get("index_content.html", function (data) {
|
|
||||||
var homeTitle = $(data).find('.home-title').html();
|
|
||||||
var home = $(data).find('.what-is-mirantis-openstack').html();
|
|
||||||
var guides = $(data).find('#guides');
|
|
||||||
populateGuides(guides);
|
|
||||||
var pdfs = $(data).find('#pdf .reference');
|
|
||||||
populatePdfs(pdfs);
|
|
||||||
var download = $(data).find('#download-mirantis-openstack');
|
|
||||||
populateDownload(download);
|
|
||||||
|
|
||||||
$('#home').html(home);
|
|
||||||
$('#main').html(homeTitle);
|
|
||||||
});
|
|
||||||
|
|
||||||
$.get("eula.html", function (data) {
|
|
||||||
var fuel_license = $(data).find('#fuel-license').html();
|
|
||||||
$('#fuel-license').html($(fuel_license).find('pre'));
|
|
||||||
});
|
|
||||||
|
|
||||||
$.get("third-party-licenses.html", function (data) {
|
|
||||||
var third_party = $(data).find(".section > .section");
|
|
||||||
$(third_party).each(function (i, v) {
|
|
||||||
var el = $(v).find('.reference');
|
|
||||||
var href = $(el).attr('href');
|
|
||||||
var heading = $(el).text();
|
|
||||||
$('#third-party-licenses').append('<a class="btn btn-default red btn-block" href="' + href + '"><i class="fa fa-file-pdf-o"></i> ' + heading + '</a>');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -186,7 +200,7 @@ $(document).ready(function () {
|
||||||
);
|
);
|
||||||
|
|
||||||
$('a[data-toggle="tab"]').on('click', function (e) {
|
$('a[data-toggle="tab"]').on('click', function (e) {
|
||||||
history.pushState(null, null, $(this).attr('href'));
|
history.pushState({}, '', $(this).attr('href'));
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
|
@ -88,8 +88,8 @@
|
||||||
data-toggle="tab">What is Mirantis OpenStack</a></li>
|
data-toggle="tab">What is Mirantis OpenStack</a></li>
|
||||||
<li role="presentation"><a href="#guides" aria-controls="guides" role="tab" data-toggle="tab">Guides</a>
|
<li role="presentation"><a href="#guides" aria-controls="guides" role="tab" data-toggle="tab">Guides</a>
|
||||||
</li>
|
</li>
|
||||||
<li role="presentation"><a href="#license" aria-controls="license" role="tab"
|
<li role="presentation"><a href="#licenses" aria-controls="license" role="tab"
|
||||||
data-toggle="tab">License</a></li>
|
data-toggle="tab">Licenses</a></li>
|
||||||
<li role="presentation"><a href="#demos-and-tutorials" aria-controls="demos-and-tutorials"
|
<li role="presentation"><a href="#demos-and-tutorials" aria-controls="demos-and-tutorials"
|
||||||
role="tab" data-toggle="tab">Demos & Tutorials</a></li>
|
role="tab" data-toggle="tab">Demos & Tutorials</a></li>
|
||||||
<li role="presentation"><a href="#downloads" aria-controls="downloads" role="tab"
|
<li role="presentation"><a href="#downloads" aria-controls="downloads" role="tab"
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
<div role="tabpanel" class="tab-pane fade" id="guides">
|
<div role="tabpanel" class="tab-pane fade" id="guides">
|
||||||
<!-- placeholder for guides -->
|
<!-- placeholder for guides -->
|
||||||
</div>
|
</div>
|
||||||
<div role="tabpanel" class="tab-pane fade" id="license">
|
<div role="tabpanel" class="tab-pane fade" id="licenses">
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<h3 class="no-margin">Fuel License</h3>
|
<h3 class="no-margin">Fuel License</h3>
|
||||||
|
|
||||||
|
@ -158,7 +158,7 @@
|
||||||
<div role="tabpanel" class="tab-pane fade" id="downloads">
|
<div role="tabpanel" class="tab-pane fade" id="downloads">
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<div id="download_content">
|
<div id="download_content">
|
||||||
|
<h3>Download Mirantis OpenStack</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
|
|
|
@ -482,8 +482,15 @@ i.fa-file-pdf-o {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pdfs h3 {
|
#downloads h3 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
font-size: 21px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#download_content .note, #download_content p:first-of-type {
|
||||||
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.spinner {
|
.spinner {
|
||||||
|
@ -495,6 +502,11 @@ i.fa-file-pdf-o {
|
||||||
animation: rotateplane 1.2s infinite ease-in-out;
|
animation: rotateplane 1.2s infinite ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pdfs {
|
||||||
|
border-left: 1px solid #DDD;
|
||||||
|
padding-left: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
@-webkit-keyframes rotateplane {
|
@-webkit-keyframes rotateplane {
|
||||||
0% {
|
0% {
|
||||||
-webkit-transform: perspective(120px)
|
-webkit-transform: perspective(120px)
|
||||||
|
@ -547,6 +559,12 @@ i.fa-file-pdf-o {
|
||||||
.navbar {
|
.navbar {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pdfs {
|
||||||
|
border-left: none;
|
||||||
|
padding-left: 0;
|
||||||
|
margin-top: 25px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 991px) and (min-width: 768px) {
|
@media (max-width: 991px) and (min-width: 768px) {
|
||||||
|
|
|
@ -37,82 +37,6 @@
|
||||||
to get a PDF file of that document.
|
to get a PDF file of that document.
|
||||||
|
|
||||||
|
|
||||||
.. container:: planning-guide
|
|
||||||
|
|
||||||
Planning Guide
|
|
||||||
|
|
||||||
Explains how to plan Mirantis OpenStack deployment before installing
|
|
||||||
Fuel.
|
|
||||||
|
|
||||||
|
|
||||||
.. container:: user-guide
|
|
||||||
|
|
||||||
User Guide
|
|
||||||
|
|
||||||
Describes how to deploy and use Mirantis OpenStack environments
|
|
||||||
with Fuel.
|
|
||||||
|
|
||||||
.. container:: operations-guide
|
|
||||||
|
|
||||||
Operations Guide
|
|
||||||
|
|
||||||
Contains instructions on how to use and manage
|
|
||||||
your Mirantis OpenStack environment.
|
|
||||||
|
|
||||||
.. container:: monitoring-guide
|
|
||||||
|
|
||||||
Monitoring Guide
|
|
||||||
|
|
||||||
Provides general concept on how to monitor OpenStack.
|
|
||||||
|
|
||||||
.. container:: virtualbox
|
|
||||||
|
|
||||||
Running Mirantis OpenStack on VirtualBox
|
|
||||||
|
|
||||||
Explains how to run Mirantis OpenStack on VirtualBox
|
|
||||||
for demonstration and evaluation purposes.
|
|
||||||
|
|
||||||
.. container:: ref-arch
|
|
||||||
|
|
||||||
Reference Architecture
|
|
||||||
|
|
||||||
Provides the deep dive into the structure of the Mirantis OpenStack environment,
|
|
||||||
network considerations, deployment options and architectures.
|
|
||||||
|
|
||||||
.. container:: plugin-dev
|
|
||||||
|
|
||||||
Fuel Plugin Guide
|
|
||||||
|
|
||||||
Explains how to develop and certify your own plugin for Fuel.
|
|
||||||
|
|
||||||
.. container:: terminology-ref
|
|
||||||
|
|
||||||
Terminology Reference
|
|
||||||
|
|
||||||
Explains OpenStack terminology and technology
|
|
||||||
with references to other documentation and other useful information.
|
|
||||||
|
|
||||||
.. container:: file-ref
|
|
||||||
|
|
||||||
File Format Reference
|
|
||||||
|
|
||||||
Provides information on how to use Fuel configuration files.
|
|
||||||
|
|
||||||
.. container:: style-guide
|
|
||||||
|
|
||||||
Style Guide
|
|
||||||
|
|
||||||
Contains style guidelines and instructions on
|
|
||||||
how to write documentation for Mirantis OpenStack.
|
|
||||||
|
|
||||||
.. container:: release-notes
|
|
||||||
|
|
||||||
Release Notes
|
|
||||||
|
|
||||||
Provide general information about new features,
|
|
||||||
fixed issues, and known limitations in Mirantis OpenStack |version|.
|
|
||||||
|
|
||||||
|
|
||||||
PDF
|
PDF
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
@ -184,7 +108,7 @@ fixed issues, and known limitations in Mirantis OpenStack |version|.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
`Download Mirantis OpenStack <http://software.mirantis.com>`__
|
`Download Now <http://software.mirantis.com>`__
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
You can download the Mirantis OpenStack ISO, IMG, and VirtualBox scripts
|
You can download the Mirantis OpenStack ISO, IMG, and VirtualBox scripts
|
||||||
|
|
Loading…
Reference in New Issue