campaign: add a language chooser
[gnupg-doc.git] / web / donate / index.de.org
index 55202ef..7f8a6af 100644 (file)
@@ -20,6 +20,7 @@
     <script defer src="/share/3rdparty/bs-autohidingnavbar.js"></script>
     <script defer src="/share/3rdparty/bcswipe.js"></script>
     <script defer src="/share/campaign/campaign.js"></script>
+    <noscript><style>.lang-chooser .caret { display: none; }</style></noscript>
 
   </head>
   <body lang="en">
             <span class="icon-bar"></span>
           </button>
           <a class="navbar-brand" href="/" title="Home"><img class="navbar-brand" alt="GnuPG" src="/share/gnupg-lock-white-250x250.png"></a>
+         <ul class="nav navbar-header pull-right visible-xs-inline-block lang-chooser lang-chooser-xs">
+           <li class="dropdown">
+             <a href="/donate/index.fr.html" <!-- noscript: Link to the next language.  -->
+                class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
+               <span class="flag-icon flag-icon-de"></span> <span class="caret"></span></a>
+             <ul class="dropdown-menu" role="menu">
+               <li><a href="/donate/index.html">
+                   <span class="flag-icon flag-icon-usuk"></span> English</a></li>
+               <li><a href="/donate/index.de.html">
+                   <span class="flag-icon flag-icon-de  "></span> German</a></li>
+               <li><a href="/donate/index.fr.html">
+                   <span class="flag-icon flag-icon-fr  "></span> French</a></li>
+               <li><a href="/donate/index.jp.html">
+                   <span class="flag-icon flag-icon-jp  "></span> Japanese</a></li>
+             </ul>
+           </li>
+         </ul>
          <a class="navbar-right visible-xs-inline pull-right btn btn-default btn-sm navbar-btn"
              style="margin-right: 10px"
               href="/donate/donate.de.html"
             <li><a href="#testimonials">Referenzen</a></li>
             <li><a href="#team">Team</a></li>
           </ul>
+         <ul class="nav navbar-nav navbar-right hidden-xs lang-chooser">
+           <li class="dropdown">
+             <a href="/donate/index.fr.html" <!-- noscript: Link to the next language.  -->
+                class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
+               <span class="flag-icon flag-icon-de"></span> <span class="caret"></span></a>
+             <ul class="dropdown-menu" role="menu">
+               <li><a href="/donate/index.html">
+                   <span class="flag-icon flag-icon-usuk"></span> English</a></li>
+               <li><a href="/donate/index.de.html">
+                   <span class="flag-icon flag-icon-de  "></span> German</a></li>
+               <li><a href="/donate/index.fr.html">
+                   <span class="flag-icon flag-icon-fr  "></span> French</a></li>
+               <li><a href="/donate/index.jp.html">
+                   <span class="flag-icon flag-icon-jp  "></span> Japanese</a></li>
+             </ul>
+           </li>
+         </ul>
           <a class="navbar-right hidden-xs btn btn-default btn-sm navbar-btn" href="/donate/donate.html" role="button">♥ GnuPG unterstützen</a>
         </div><!--/.nav-collapse -->
       </div>