navbar.tmpl 3.17 KB
Newer Older
ale's avatar
ale committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{{define "navbar"}}

      <div class="navbar navbar-ai" role="navigation">
        <div class="container-fluid">

          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed"
		    aria-expanded="false" data-toggle="collapse" data-target=".navbar-collapse">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand text-hide" href="/">
              autistici.org
            </a>
          </div>

          <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav visible-lg-block">
21
              <li><a href="/services">Services</a></li>
22
              <li><a href="/get_help">Help</a></li>
agata's avatar
agata committed
23 24 25
              <li><a href="/who/policy">Policy</a></li>
              <li><a href="/about">About</a></li>
              <li><a href="https://git.autistici.org/public">Dev</a></li>
sub's avatar
sub committed
26
              <li><a href="https://cavallette.noblogs.org">Blog</a></li>
agata's avatar
agata committed
27
              <!-- li><a href="/archive">Archive</a></li-->
28
              <li><a href="/donate">Donate</a></li>
ale's avatar
ale committed
29
            </ul>
agata's avatar
agata committed
30
          </div><!--/.nav-collapse -->
agata's avatar
agata committed
31
          
ale's avatar
ale committed
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
            <ul class="nav navbar-nav navbar-right">
	      <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <span class="glyphicon glyphicon-search"></span>
		  <b class="caret"></b></a>
            <form id="searchForm" class="dropdown-menu form-inline" action="/search" role="search">
              <div class="input-group">
                <input name="q" type="text" class="form-control typeahead ai-search-box" placeholder="Search">
		<span class="input-group-btn">
                  <button id="searchBtn" type="submit" class="btn btn-default ai-search-button">
		    <span class="glyphicon glyphicon-search"></span>
                  </button>
		</span>
              </div>
            </form>
	      </li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <span class="glyphicon glyphicon-globe"></span>
		  <b class="caret"></b></a>
                <ul class="dropdown-menu">
                  <li><a href="#" class="set-lang" data-language="it">Italiano</a></li>
                  <li><a href="#" class="set-lang" data-language="en">English</a></li>
                  <li><a href="#" class="set-lang" data-language="de">Deutsch</a></li>
                  <li><a href="#" class="set-lang" data-language="fr">Français</a></li>
                  <li><a href="#" class="set-lang" data-language="es">Español</a></li>
                  <li><a href="#" class="set-lang" data-language="ca">Català</a></li>
putro's avatar
putro committed
59
                  <li><a href="#" class="set-lang" data-language="pt">Português</a></li>
putro's avatar
putro committed
60
                  <li><a href="#" class="set-lang" data-language="el">ελληνικά</a></li>
ale's avatar
ale committed
61 62 63
                </ul>
              </li>

agata's avatar
agata committed
64
              <li><a class="login" href="https://accounts.autistici.org"><strong>Login</strong></a></li>
agata's avatar
agata committed
65
</ul>
ale's avatar
ale committed
66 67 68 69 70
        </div><!--/.container-fluid -->
      </div>


{{end}}