navbar.html 7.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->
U
Ufuk Celebi 已提交
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
{% capture setup %}{{site.baseurl}}/setup{% endcapture %}
{% capture apis %}{{site.baseurl}}/apis{% endcapture %}
{% capture libs %}{{site.baseurl}}/libs{% endcapture %}
{% capture internals %}{{site.baseurl}}/internals{% endcapture %}
    <!-- Top navbar. -->
    <nav class="navbar navbar-default navbar-fixed-top">
      <div class="container">
        <!-- The logo. -->
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <div class="navbar-logo">
34
            <a href="http://flink.apache.org"><img alt="Apache Flink" src="{{ site.baseurl }}/page/img/navbar-brand-logo.jpg"></a>
U
Ufuk Celebi 已提交
35 36
          </div>
        </div><!-- /.navbar-header -->
37

U
Ufuk Celebi 已提交
38 39 40 41
        <!-- The navigation links. -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
          <ul class="nav navbar-nav">
            <li{% if page.url == '/index.html' %} class="active"{% endif %}><a href="{{ site.baseurl}}/index.html">Overview<span class="hidden-sm hidden-xs"> {{ site.version_short }}</span></a></li>
42

U
Ufuk Celebi 已提交
43 44 45 46
            <!-- Setup -->
            <li class="dropdown{% if page.url contains setup %} active{% endif %}">
              <a href="{{ setup }}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Setup <span class="caret"></span></a>
              <ul class="dropdown-menu" role="menu">
47
                <li><a href="{{ setup }}/building.html">Get Flink {{ site.version }}</a></li>
48

U
Ufuk Celebi 已提交
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
                <li class="divider"></li>
                <li role="presentation" class="dropdown-header"><strong>Deployment</strong></li>
                <li><a href="{{ setup }}/local_setup.html" class="active">Local</a></li>
                <li><a href="{{ setup }}/cluster_setup.html">Cluster (Standalone)</a></li>
                <li><a href="{{ setup }}/yarn_setup.html">YARN</a></li>
                <li><a href="{{ setup }}/gce_setup.html">GCloud</a></li>
                <li><a href="{{ setup }}/flink_on_tez.html">Flink on Tez <span class="badge">Beta</span></a></li>

                <li class="divider"></li>
                <li><a href="{{ setup }}/config.html">Configuration</a></li>
              </ul>
            </li>

            <!-- Programming Guides -->
            <li class="dropdown{% if page.url contains apis %} active{% endif %}">
              <a href="{{ apis }}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Programming Guides <span class="caret"></span></a>
              <ul class="dropdown-menu" role="menu">
                <li><a href="{{ apis }}/programming_guide.html"><strong>Batch: DataSet API</strong></a></li>
                <li><a href="{{ apis }}/streaming_guide.html"><strong>Streaming: DataStream API</strong> <span class="badge">Beta</span></a></li>
                <li><a href="{{ apis }}/python.html">Python API <span class="badge">Beta</span></a></li>
69

U
Ufuk Celebi 已提交
70
                <li class="divider"></li>
71
                <li><a href="scala_shell.html">Interactive Scala Shell</a></li>
U
Ufuk Celebi 已提交
72
                <li><a href="{{ apis }}/dataset_transformations.html">Dataset Transformations</a></li>
73
                <li><a href="{{ apis }}/best_practices.html">Best Practices</a></li>
U
Ufuk Celebi 已提交
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
                <li><a href="{{ apis }}/example_connectors.html">Connectors</a></li>
                <li><a href="{{ apis }}/examples.html">Examples</a></li>
                <li><a href="{{ apis }}/local_execution.html">Local Execution</a></li>
                <li><a href="{{ apis }}/cluster_execution.html">Cluster Execution</a></li>
                <li><a href="{{ apis }}/cli.html">Command Line Interface</a></li>
                <li><a href="{{ apis }}/web_client.html">Web Client</a></li>
                <li><a href="{{ apis }}/iterations.html">Iterations</a></li>
                <li><a href="{{ apis }}/java8.html">Java 8</a></li>
                <li><a href="{{ apis }}/hadoop_compatibility.html">Hadoop Compatability <span class="badge">Beta</span></a></li>
              </ul>
            </li>

            <!-- Libraries -->
            <li class="dropdown{% if page.url contains libs %} active{% endif %}">
              <a href="{{ libs }}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Libraries <span class="caret"></span></a>
                <ul class="dropdown-menu" role="menu">
                  <li><a href="{{ libs }}/spargel_guide.html">Graphs: Spargel</a></li>
                  <li><a href="{{ libs }}/gelly_guide.html">Graphs: Gelly <span class="badge">Beta</span></a></li>
                  <li><a href="{{ libs }}/ml/">Machine Learning <span class="badge">Beta</span></a></li>
                  <li><a href="{{ libs }}/table.html">Relational: Table <span class="badge">Beta</span></a></li>
              </ul>
            </li>

            <!-- Internals -->
            <li class="dropdown{% if page.url contains internals %} active{% endif %}">
              <a href="{{ internals }}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Internals <span class="caret"></span></a>
              <ul class="dropdown-menu" role="menu">
                <li role="presentation" class="dropdown-header"><strong>Contribute</strong></li>
                <li><a href="{{ internals }}/how_to_contribute.html">How to Contribute</a></li>
                <li><a href="{{ internals }}/coding_guidelines.html">Coding Guidelines</a></li>
                <li><a href="{{ internals }}/ide_setup.html">IDE Setup</a></li>
                <li><a href="{{ internals }}/logging.html">Logging</a></li>
                <li class="divider"></li>
                <li role="presentation" class="dropdown-header"><strong>Internals</strong></li>
                <li><a href="{{ internals }}/general_arch.html">Architecture &amp; Process Model</a></li>
                <li><a href="{{ internals }}/types_serialization.html">Type Extraction &amp; Serialization</a></li>
                <li><a href="{{ internals }}/job_scheduling.html">Jobs &amp; Scheduling</a></li>
                <li><a href="{{ internals }}/add_operator.html">How-To: Add an Operator</a></li>
              </ul>
            </li>
          </ul>
115
          <form class="navbar-form navbar-right hidden-sm hidden-md" role="search" action="{{site.baseurl}}/search-results.html">
U
Ufuk Celebi 已提交
116 117 118 119 120 121 122
            <div class="form-group">
              <input type="text" class="form-control" name="q" placeholder="Search all pages">
            </div>
            <button type="submit" class="btn btn-default">Search</button>
          </form>
        </div><!-- /.navbar-collapse -->
      </div><!-- /.container -->
123
    </nav>