mirror of https://github.com/docker/docs.git
Remove 'In the UI' et al, and Google Surveys (#531)
This commit is contained in:
parent
3cff508287
commit
eb7ce953d6
|
@ -58,7 +58,6 @@
|
|||
display: block;
|
||||
}
|
||||
</style>
|
||||
{% if page.url contains "datacenter" %}<script async="" defer="" src="//survey.g.doubleclick.net/async_survey?site=k6svi4faiclrdpi5eax4n23dzy"></script>{% endif %}
|
||||
<script type="text/javascript">
|
||||
!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t){var e=document.createElement("script");e.type="text/javascript";e.async=!0;e.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};analytics.SNIPPET_VERSION="4.0.0";
|
||||
analytics.load("IWj9D0UpZHZdZUZX9jl98PcpBFWBnBMy");
|
||||
|
@ -134,20 +133,11 @@
|
|||
<blockquote>{{ site.data.advisories.texts[page.advisory] | markdownify }}</blockquote>{% endif %}{% endif %} {% unless page.tree == false %}{% include read_time.html %}{% endunless %}
|
||||
{% if page.enterprise %}{% include ee_dropdown.html %}{% endif %}
|
||||
{% if page.ui_tabs or page.cli_tabs or page.api_tabs %}{% capture content %}
|
||||
{% capture enterprise_advisory %}<blockquote>
|
||||
<p>These instructions require Docker Enterprise</p>
|
||||
<p>The UI instructions shown here are for the dashboard provided with
|
||||
<a href="/ee/">Docker Enterprise Standard</a>
|
||||
or higher.</p></blockquote>
|
||||
{% if page.whole_page_ee %}{{ enterprise_advisory }}{% endif %}{% endcapture %}
|
||||
|
||||
{% if page.intro %}{{ page.intro | markdownify }}{% else %}{{ page.description | markdownify }}{% endif %}
|
||||
|
||||
{% if page.ui_tabs %}
|
||||
|
||||
<h2>In the UI</h2>
|
||||
|
||||
{% unless page.whole_page_ee %}{{ enterprise_advisory }}{% endunless %}
|
||||
|
||||
<ul class="nav nav-tabs">{% for tab in page.ui_tabs %}
|
||||
<li{% if forloop.first %} class="active"{% endif %}><a data-toggle="tab" data-target="#ui-{{ tab.version | slugify }}" id="ui-tabheader-{{ tab.version | slugify }}">{{ site.tablabels[tab.version] }}{% if tab.orhigher %} (or higher){% endif %}{% if tab.orlower %} (or lower){% endif %}</a></li>{% endfor %}
|
||||
</ul>
|
||||
|
@ -158,8 +148,6 @@
|
|||
{% endif %}
|
||||
{% if page.cli_tabs %}
|
||||
|
||||
<h2>In the CLI</h2>
|
||||
|
||||
<ul class="nav nav-tabs">{% for tab in page.cli_tabs %}
|
||||
<li{% if forloop.first %} class="active"{% endif %}><a data-toggle="tab" data-target="#cli-{{ tab.version | slugify }}" id="cli-tabheader-{{ tab.version | slugify }}">{{ site.tablabels[tab.version] }}</a></li>{% endfor %}
|
||||
</ul>
|
||||
|
@ -170,8 +158,6 @@
|
|||
{% endif %}
|
||||
{% if page.api_tabs %}
|
||||
|
||||
<h2>In the API</h2>
|
||||
|
||||
<ul class="nav nav-tabs">{% for tab in page.api_tabs %}
|
||||
<li{% if forloop.first %} class="active"{% endif %}><a data-toggle="tab" data-target="#api-{{ tab.version | slugify }}" id="api-tabheader-{{ tab.version | slugify }}">{{ site.tablabels[tab.version] }}</a></li>{% endfor %}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue