2021-07-23 23:35:13 +03:00
|
|
|
<!-- Navigation -->
|
2022-04-09 05:14:30 +03:00
|
|
|
<nav class="navbar navbar-inverse navbar-fixed-top">
|
|
|
|
<div class="container-fluid">
|
2021-07-23 23:35:13 +03:00
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
2021-07-24 00:23:14 +03:00
|
|
|
<a class="navbar-brand" href="{{ "/index.html" | relative_url }}"/>
|
2022-04-09 05:14:30 +03:00
|
|
|
<span class="projectTitle"><img style="margin-top: -8px;" class="d-inline-block align-top" src="{{ "/images/azure-sdk-glyph.svg" | relative_url }}" width="35" height="35" alt=""/> {{site.topnav_title}}</span>
|
2021-07-23 23:35:13 +03:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
|
<!-- toggle sidebar button -->
|
|
|
|
<!-- <li><a id="tg-sb-link" href="#"><i id="tg-sb-icon" class="fa fa-toggle-on"></i> Nav</a></li> -->
|
|
|
|
<!-- entries without drop-downs appear here -->
|
|
|
|
|
|
|
|
{% assign topnav = site.data[page.topnav] %}
|
|
|
|
{% assign topnav_dropdowns = site.data[page.topnav].topnav_dropdowns %}
|
|
|
|
{% assign topnav_guidelines = site.data.sidebars.general_sidebar.entries[0] %}
|
|
|
|
|
|
|
|
<!-- entries with drop-downs appear here -->
|
|
|
|
<!-- conditional logic to control which topnav appears for the audience defined in the configuration file.-->
|
|
|
|
{% for entry in topnav_dropdowns %}
|
|
|
|
{% for folder in entry.folders %}
|
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ folder.title }}<b class="caret"></b></a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
{% if folder.guidelines %}
|
|
|
|
{% for folderitem in topnav_guidelines.folders %}
|
|
|
|
<li><a href="{{folderitem.folderitems[0].url | relative_url}}" rel="noopener">{{folderitem.title}}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
{% for folderitem in folder.folderitems %}
|
|
|
|
{% if folderitem.external_url %}
|
|
|
|
<li><a href="{{folderitem.external_url}}" rel="noopener">{{folderitem.title}}</a></li>
|
|
|
|
{% elsif page.url contains folderitem.url %}
|
|
|
|
<li class="dropdownActive"><a href="{{folderitem.url | relative_url }}">{{folderitem.title}}</a></li>
|
|
|
|
{% else %}
|
|
|
|
<li><a href="{{folderitem.url | relative_url }}">{{folderitem.title}}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
2021-07-24 00:23:14 +03:00
|
|
|
{% for entry in topnav.topnav %}
|
|
|
|
{% for item in entry.items %}
|
|
|
|
{% if item.external_url %}
|
|
|
|
<li><a href="{{item.external_url}}" rel="noopener">{{item.title}}</a></li>
|
|
|
|
{% elsif page.url contains item.url %}
|
|
|
|
<li class="active"><a href="{{ item.url | relative_url }}">{{item.title}}</a></li>
|
|
|
|
{% else %}
|
|
|
|
<li><a href="{{item.url | relative_url }}">{{item.title}}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
2021-07-23 23:35:13 +03:00
|
|
|
{% if site.feedback_disable == null or site.feedback_disable == false %}
|
|
|
|
{% include feedback.html %}
|
|
|
|
{% endif %}
|
|
|
|
<li>
|
|
|
|
{% if page.repository %}
|
2022-04-09 05:14:30 +03:00
|
|
|
<a style="font-size: 1.666em !important" class="fa fa-github fa-2x" title="GitHub Link" href="https://github.com/{{ page.repository }}"></a>
|
2021-07-23 23:35:13 +03:00
|
|
|
{% elsif site.repository %}
|
2022-04-09 05:14:30 +03:00
|
|
|
<a style="font-size: 1.666em !important" class="fa fa-github fa-2x" title="GitHub Link" href="https://github.com/{{ site.repository }}"></a>
|
2021-07-23 23:35:13 +03:00
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
<li>
|
2022-04-09 05:14:30 +03:00
|
|
|
<a style="font-size: 1.666em !important" class="fa fa-twitter fa-2x" title="Twitter Link" href="https://twitter.com/AzureSDK"></a>
|
2021-07-23 23:35:13 +03:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- /.container -->
|
|
|
|
</nav>
|