2013-02-22 08:53:44 +00:00
{%- block doctype -%}
<!DOCTYPE html>
{%- endblock %}
{%- set reldelim1 = reldelim1 is not defined and ' » ' or reldelim1 %}
{%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
{%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and (sidebars != []) %}
{%- set url_root = pathto('', 1) %}
{# XXX necessary? #}
{%- if url_root == '#' %}{% set url_root = '' %}{% endif %}
{%- if not embedded and docstitle %}
{%- set titlesuffix = " — "|safe + docstitle|e %}
{%- else %}
{%- set titlesuffix = "" %}
{%- endif %}
2013-02-28 01:37:36 +00:00
{# Remove old version of jQuery #}
{% set js_blacklist = [
'_static/jquery.js',
] %}
{# Add to top of the list #}
{% set script_files = [
'_static/js/vendor/jquery-1.9.1.js',
'_static/js/vendor/bootstrap.min.js',
] + script_files %}
2013-02-22 08:53:44 +00:00
{%- macro relbar() %}
< div class = "related" >
2013-02-22 09:59:37 +00:00
{#
< ul class = "nav rel-main" >
2013-02-22 08:53:44 +00:00
{%- block rootrellink %}
2013-02-22 09:59:37 +00:00
< li > < a href = "{{ pathto('index') }}" > Documentation< / a > » < / li >
2013-02-22 08:53:44 +00:00
{%- endblock %}
< / ul >
2013-02-22 09:59:37 +00:00
#}
< ul class = "nav rel-extra" >
2013-02-22 08:53:44 +00:00
{%- for rellink in rellinks|reverse %}
< li >
< a href = "{{ pathto(rellink[0]) }}" title = "{{ rellink[1]|striptags|e }}" > {{ rellink[3] }}< / a >
2013-02-22 09:59:37 +00:00
{#
{%- if not loop.last %}{{ reldelim2 }}{% endif %}
#}
< / li >
2013-02-22 08:53:44 +00:00
{%- endfor %}
{%- block relbaritems %} {% endblock %}
< / ul >
< / div >
{%- endmacro %}
{%- macro sidebar() %}
{%- if render_sidebar %}
2013-02-22 09:59:37 +00:00
< div >
2013-02-22 08:53:44 +00:00
{%- block sidebarlogo %}{%- endblock %}
2013-08-12 19:10:34 +00:00
< p > Current Salt release: < a href = "{{ pathto('topics/releases/{0}'.format(release)) }}" > {{ release }}< / a > < / p >
2013-07-15 21:09:13 +00:00
2013-02-22 08:53:44 +00:00
{%- for sidebartemplate in sidebars|default(html_default_sidebars, true) %}
{%- include sidebartemplate %}
{%- endfor %}
< / div >
{%- endif %}
{%- endmacro %}
{%- macro script() %}
< script >
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '{{ url_root }}',
VERSION: '{{ release|e }}',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}',
HAS_SOURCE: {{ has_source|lower }}
};
< / script >
{%- for scriptfile in script_files %}
2013-02-28 01:37:36 +00:00
{% if scriptfile not in js_blacklist %}
2013-02-22 08:53:44 +00:00
< script src = "{{ pathto(scriptfile, 1) }}" > < / script >
2013-02-28 01:37:36 +00:00
{% endif %}
2013-02-22 08:53:44 +00:00
{%- endfor %}
{%- endmacro %}
{%- macro css() %}
{% if style %}
< link rel = "stylesheet" href = "{{ pathto('_static/' + style, 1) }}" >
{% endif %}
2013-02-22 09:59:37 +00:00
< link rel = "stylesheet" href = "{{ pathto('_static/basic.css', 1) }}" >
2013-02-22 08:53:44 +00:00
< link rel = "stylesheet" href = "{{ pathto('_static/pygments.css', 1) }}" >
2013-02-22 09:59:37 +00:00
< link rel = "stylesheet" href = "{{ pathto('_static/css/bootstrap.css', 1) }}" >
< style >
body { padding-top: 20px; }
< / style >
< link rel = "stylesheet" href = "{{ pathto('_static/css/bootstrap-responsive.css', 1) }}" >
< link rel = "stylesheet" href = "{{ pathto('_static/css/main.css', 1) }}" >
2013-02-22 08:53:44 +00:00
{%- endmacro %}
2013-02-22 09:59:37 +00:00
<!-- [if lt IE 7]> <html class="no - js lt - ie9 lt - ie8 lt - ie7"> <![endif] -->
<!-- [if IE 7]> <html class="no - js lt - ie9 lt - ie8"> <![endif] -->
<!-- [if IE 8]> <html class="no - js lt - ie9"> <![endif] -->
<!-- [if gt IE 8]><! --> < html class = "no-js" > <!-- <![endif] -->
2013-02-22 08:53:44 +00:00
< head >
< meta charset = "{{ encoding }}" >
{{ metatags }}
2013-02-22 09:59:37 +00:00
< meta http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" >
2013-02-22 08:53:44 +00:00
{%- block htmltitle %}
< title > {{ title|striptags|e }}{{ titlesuffix }}< / title >
{%- endblock %}
2013-02-22 09:59:37 +00:00
< meta name = "description" content = "" >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
2013-02-22 08:53:44 +00:00
{{ css() }}
{%- if not embedded %}
{{ script() }}
{%- if use_opensearch %}
< link rel = "search" type = "application/opensearchdescription+xml"
title="{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}"
href="{{ pathto('_static/opensearch.xml', 1) }}">
{%- endif %}
{%- if favicon %}
< link rel = "shortcut icon" href = "{{ pathto('_static/' + favicon, 1) }}" >
{%- endif %}
{%- endif %}
{%- block linktags %}
{%- if hasdoc('about') %}
< link rel = "author" title = "{{ _('About these documents') }}" href = "{{ pathto('about') }}" >
{%- endif %}
{%- if hasdoc('genindex') %}
< link rel = "index" title = "{{ _('Index') }}" href = "{{ pathto('genindex') }}" >
{%- endif %}
{%- if hasdoc('search') %}
< link rel = "search" title = "{{ _('Search') }}" href = "{{ pathto('search') }}" >
{%- endif %}
{%- if hasdoc('copyright') %}
< link rel = "copyright" title = "{{ _('Copyright') }}" href = "{{ pathto('copyright') }}" >
{%- endif %}
< link rel = "top" title = "{{ docstitle|e }}" href = "{{ pathto('index') }}" >
{%- if parents %}
< link rel = "up" title = "{{ parents[-1].title|striptags|e }}" href = "{{ parents[-1].link|e }}" >
{%- endif %}
{%- if next %}
< link rel = "next" title = "{{ next.title|striptags|e }}" href = "{{ next.link|e }}" >
{%- endif %}
{%- if prev %}
< link rel = "prev" title = "{{ prev.title|striptags|e }}" href = "{{ prev.link|e }}" >
{%- endif %}
{%- endblock %}
{%- block extrahead %} {% endblock %}
2013-02-22 09:59:37 +00:00
< script src = "{{ pathto('_static/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js', 1) }}" > < / script >
2013-02-22 08:53:44 +00:00
{%- block analytics %}
{% endblock %}
< / head >
2013-02-22 09:59:37 +00:00
< body class = "index" >
<!-- [if lt IE 7]>
< p class = "chromeframe" > You are using an < strong > outdated< / strong > browser. Please < a href = "http://browsehappy.com/" > upgrade your browser< / a > or < a href = "http://www.google.com/chromeframe/?redirect=true" > activate Google Chrome Frame< / a > to improve your experience.< / p >
<![endif]-->
<!-- This code is taken from http://twitter.github.com/bootstrap/examples/hero.html -->
2013-02-22 08:53:44 +00:00
{% block header %}
2013-02-22 09:59:37 +00:00
< div class = "navbar navbar-inverse navbar-fixed-top" >
< div class = "navbar-inner" >
< div class = "container" >
< a class = "btn btn-navbar" data-toggle = "collapse" data-target = ".nav-collapse" >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< / a >
< a class = "brand" href = "{{ pathto('index') }}" > < img src = "{{ pathto('_static/images/SaltStack-Logo.png', 1) }}" / > < / a >
< div class = "nav-collapse collapse" >
{%- block relbar1 %}{{ relbar() }}{% endblock %}
< / div >
< / div >
< / div >
2013-02-22 08:53:44 +00:00
< / div >
{% endblock %}
{%- block content %}
{%- block sidebar1 %}{% endblock %}
2013-02-22 09:59:37 +00:00
< div class = "content row-fluid" >
< div class = "container" >
< div class = "span12" >
< div class = "span9" >
{%- block document %}
{% block body %} {% endblock %}
{%- endblock %}
< / div >
2013-02-22 08:53:44 +00:00
2013-02-22 09:59:37 +00:00
< div class = "span3" >
{%- block sidebar2 %}{{ sidebar() }}{% endblock %}
< / div >
< / div >
< / div >
2013-02-22 08:53:44 +00:00
< / div >
{%- endblock %}
2013-02-22 09:59:37 +00:00
{%- block relbar2 %}
< div class = "navbar navbar-inverse navbar-fixed-top" >
< div class = "container" > {{ relbar() }}< / div >
< / div >
{% endblock %}
2013-02-22 08:53:44 +00:00
{%- block footer %}
2013-02-22 09:59:37 +00:00
< footer >
2013-03-29 19:06:03 +00:00
< div class = "container" >
< div class = "row-fluid" >
< div class = "footerCol" >
< h4 > About Us< / h4 >
2013-07-18 00:24:24 +00:00
< a href = "http://saltstack.com/about.html" > SaltStack< / a >
2013-03-29 19:06:03 +00:00
< a href = "http://saltstack.com/about.html" > Leadership< / a >
< / div >
< div class = "footerCol" >
< h4 > Products< / h4 >
< a href = "http://saltstack.com/products.html" > Remote Execution< / a >
< a href = "http://saltstack.com/products.html" > Config Management< / a >
< a href = "http://saltstack.com/products.html" > Cloud Management< / a >
2013-07-18 00:24:24 +00:00
< a href = "http://saltstack.com/products.html" > SaltStack Solutions< / a >
2013-03-29 19:06:03 +00:00
< / div >
< div class = "footerCol" >
< h4 > Services< / h4 >
< a href = "http://saltstack.com/services.html" > Onsite Training< / a >
< a href = "http://saltstack.com/services.html" > Regional Training< / a >
< a href = "http://saltstack.com/services.html" > Custom Professional Services< / a >
< a href = "http://saltstack.com/services.html" > Training Dates and Locations< / a >
< / div >
< div class = "footerCol" >
< h4 > Contact Us< / h4 >
< a href = "http://saltstack.com/contact.html" > Support< / a >
< a href = "http://saltstack.com/contact.html" > Contact us< / a >
< / div >
< div class = "footerCol" >
< h4 > Community< / h4 >
< a href = "http://saltstack.org" > saltstack.org< / a >
< a href = "http://docs.saltstack.org/en/latest/" > Documentation< / a >
<!-- <a href="#">Blogs</a> -->
< / div >
< / div >
< div class = "row-fluid social" >
2013-07-18 00:24:24 +00:00
<!-- <a href="http://www.facebook.com/SaltStack"><img src="images/socialFB.png" alt="SaltStack on Facebook" /></a> -->
< a href = "http://twitter.com/SaltStackInc" > < img src = "{{ pathto('_static/images/socialTW.png', 1) }}" alt = "SaltStack on Twitter" / > < / a >
< a href = "http://www.linkedin.com/company/salt-stack-inc" > < img src = "{{ pathto('_static/images/socialLI.png', 1) }}" alt = "SaltStack on LinkedIn" / > < / a >
<!-- <a href="http://plus.google.com/114449193225626631691"><img src="images/socialG+.png" alt="SaltStack on Google+" /></a> -->
< a href = "https://github.com/saltstack" > < img src = "{{ pathto('_static/images/socialGitHub.png', 1) }}" alt = "SaltStack on Github" / >
2013-03-29 19:06:03 +00:00
< / div >
< / div >
2013-02-22 09:59:37 +00:00
< / footer >
2013-02-22 08:53:44 +00:00
{%- endblock %}
2013-02-22 09:59:37 +00:00
< script src = "{{ pathto('_static/js/main.js', 1) }}" > < / script >
< script >
2013-04-09 18:33:55 +00:00
var _gaq=[['_setAccount','UA-26984928-1'],['_trackPageview']];
2013-02-22 09:59:37 +00:00
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
< / script >
2013-04-11 02:46:16 +00:00
< script > llactid = 23943 < / script >
< script src = "http://t4.trackalyzer.com/trackalyze.js" > < / script >
2013-02-22 08:53:44 +00:00
< / body >
< / html >