]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - templates/base.html
netboot: Allow booting multiple architectures
[people/shoehn/ipfire.org.git] / templates / base.html
index 9d1cf7b93ce34687d3219e46b786cc8af0f803fa..da1a85023e97de18f77f2d8b8207f6dbbe23e9c4 100644 (file)
@@ -15,7 +15,7 @@
                <link rel="stylesheet" type="text/css" href="{{ static_url("css/bootstrap.min.css") }}" />
                <link rel="stylesheet" type="text/css" href="{{ static_url("css/font-awesome.min.css") }}" />
                <link rel="stylesheet" type="text/css" href="{{ static_url("css/style.css") }}" />
-               <link href="http://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet" type="text/css">
+               <link href="//fonts.googleapis.com/css?family=Ubuntu:400,700" rel="stylesheet" type="text/css">
                <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
                {% if rss_url %}
                {% end %}
        </head>
 
-       <body data-spy="scroll" data-target=".sidebar">
-               <div class="navbar navbar-fixed-top navbar-inverse" role="navigation">
-                       <div>
-                               <div class="container">
-                                 <div class="navbar-header">
-                                       <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
-                                         <span class="sr-only">Toggle navigation</span>
-                                         <span class="icon-bar"></span>
-                                         <span class="icon-bar"></span>
-                                         <span class="icon-bar"></span>
+       <body id="page-top" data-spy="scroll" data-target=".navbar-custom">
+               <div class="navbar navbar-custom navbar-fixed-top" role="navigation">
+                       <div class="container">
+                               <div class="navbar-header page-scroll">
+                                       <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
+                                               <span class="fa fa-bars"></span>
                                        </button>
-                                       <a class="navbar-brand" href="/">
-                                               {{ hostname }}
-                                       </a>
-                                 </div>                                        
-                                       <div class="collapse navbar-collapse" id="navbar">
-                                               {% block menu %}
-                                                       {% module Menu() %}
-                                               {% end block %}
-                                       </div>
+                                       <span class="navbar-brand">
+                                               <img class="navbar-brand-logo" src="{{ static_url("images/tux/ipfire_tux_32x32.png") }}" alt="IPFire Logo">
+                                               <a href="/">
+                                                       {% if hostname in ("www.ipfire.org", "dev.ipfire.org") %}
+                                                               {{ _("IPFire") }}
+                                                       {% elif hostname in ("planet.ipfire.org", "planet.dev.ipfire.org") %}
+                                                               {{ _("IPFire Planet") }} &nbsp;
+                                                               <span class="text-muted">{{ _("The Blog of the IPFire Team") }}</span>
+                                                       {% elif hostname in ("wishlist.ipfire.org", "wishlist.dev.ipfire.org") %}
+                                                               {{ _("IPFire Wishlist") }} &nbsp;
+                                                               <span class="text-muted">{{ _("The IPFire Crowd-Funding Platform") }}</span>
+                                                       {% else %}
+                                                               {{ hostname }}
+                                                       {% end %}
+                                               </a>
+                                       </span>
+                               </div>                                  
+                               <div class="collapse navbar-collapse navbar-right navbar-main-collapse" id="navbar">
+                                       {% block menu %}
+                                               {% module Menu() %}
+                                       {% end block %}
                                </div>
                        </div>
                </div>
 
                {% block container %}
-                       {% block header %}{% end block %}
-
-                       <div class="container container-body">
-                               {% block body %}EMPTY BODY{% end block %}
+                       <div class="container">
+                               {% block body %}{% end block %}
                        </div>
                {% end block %}
 
                {% block footer %}
                        <footer class="footer">
                                <div class="container">
-                                       <ul class="list-unstyled list-inline pull-right">
-                                               <a href="http://www.ipfire.org/imprint">{{ _("Imprint") }}</a>
+                                       <div class="row">
+                                               <div class="col-md-2 links">
+                                                       <h5>{{ _("About") }}</h5>
+
+                                                       <ul class="list-unstyled">
+                                                               <li>
+                                                                       <a href="http://www.ipfire.org/about">{{ _("About IPFire") }}</a>
+                                                               </li>
+                                                               <li>
+                                                                       <a href="http://download.ipfire.org">{{ _("Download") }}</a>
+                                                               </li>
+                                                               <li>
+                                                                       <a href="http://planet.ipfire.org">{{ _("Planet") }}</a>
+                                                               </li>
+                                                               <li>
+                                                                       <a href="http://www.ipfire.org/imprint">{{ _("Imprint") }}</a>
+                                                               </li>
+                                                       </ul>
+                                               </div>
+
+                                               <div class="col-md-2 links">
+                                                       <h5>{{ _("Support") }}</h5>
+
+                                                       <ul class="list-unstyled">
+                                                               <li>
+                                                                       <a href="http://www.ipfire.org/get-support#professional">{{ _("Professional Support") }}</a>
+                                                               </li>
+                                                               <li>
+                                                                       <a href="http://wiki.ipfire.org">{{ _("Documentation") }}</a>
+                                                               </li>
+                                                       </ul>
+                                               </div>
+
+                                               <div class="col-md-2 links">
+                                                       <h5>{{ _("Join") }}</h5>
+
+                                                       <ul class="list-unstyled">
+                                                               <li>
+                                                                       <a href="http://forum.ipfire.org">{{ _("Forum") }}</a>
+                                                               </li>
+                                                               <li>
+                                                                       <a href="//www.ipfire.org/chat">{{ _("Chat") }}</a>
+                                                               </li>
+                                                               <li>
+                                                                       <a href="http://lists.ipfire.org">{{ _("Mailing Lists") }}</a>
+                                                               </li>
+                                                               <li>
+                                                                       <a href="http://talk.ipfire.org">{{ _("Talk") }}</a>
+                                                               </li>
+                                                       </ul>
+                                               </div>
+
+                                               <div class="col-md-2 links">
+                                                       <h5>{{ _("Development") }}</h5>
+
+                                                       <ul class="list-unstyled">
+                                                               <li>
+                                                                       <a href="http://wiki.ipfire.org/devel/start">{{ _("Become a developer") }}</a>
+                                                               </li>
+                                                               <li>
+                                                                       <a href="https://pakfire.ipfire.org">{{ _("Pakfire Build Service") }}</a>
+                                                               </li>
+                                                               <li>
+                                                                       <a href="https://bugzilla.ipfire.org">{{ _("Bugtracker") }}</a>
+                                                               </li>
+                                                               <li>
+                                                                       <a href="http://patchwork.ipfire.org">{{ _("Patchwork") }}</a>
+                                                               </li>
+                                                       </ul>
+                                               </div>
+
+                                               <div class="col-md-4 text-center">
+                                                       <a class="btn btn-primary" href="//www.ipfire.org/donate">
+                                                               <span class="fa fa-heart"></span> {{ _("Donate") }}
+                                                       </a>
+
+                                                       <br><br>
+
+                                                       <div class="btn-toolbar links">
+                                                               <a class="btn btn-sm" href="http://www.ipfire.org/news.rss">
+                                                                       <span class="fa fa-2x fa-rss"></span>
+                                                               </a>
+                                                               <a class="btn btn-sm" href="https://twitter.com/ipfire">
+                                                                       <span class="fa fa-2x fa-twitter"></span>
+                                                               </a>
+                                                               <a class="btn btn-sm" href="https://www.facebook.com/IPFire.org">
+                                                                       <span class="fa fa-2x fa-facebook"></span>
+                                                               </a>
+                                                               <a class="btn btn-sm" href="https://youtube.com/user/ipfireproject">
+                                                                       <span class="fa fa-2x fa-youtube"></span>
+                                                               </a>
+                                                               <a class="btn btn-sm" href="https://google.com/+IpfireOrg4Ever">
+                                                                       <span class="fa fa-2x fa-google-plus"></span>
+                                                               </a>
+                                                       </div>
+                                               </div>
+                                       </div>
+
+                                       {% if ssl_protocol %}
+                                               <p class="pull-right">
+                                                       <span class="fa fa-lock"></span> {{ ssl_protocol }}
+                                                       {% if ssl_cipher %}({{ ssl_cipher }}){% end %}
+                                               </p>
+                                       {% end %}
 
-                                               {% if hostname == "wishlist.ipfire.org" %}
-                                                       <li class="text-muted">&middot;</li>
-                                                       <li>
-                                                               <a href="/terms">{{ _("Terms & Conditions") }}</a>
-                                                       </li>
-                                               {% end %}
-                                       </ul>
+                                       {% if hostname == "wishlist.ipfire.org" %}
+                                               <p class="pull-right">
+                                                       <a href="/terms">{{ _("Terms & Conditions") }}</a>
+                                               </p>
+                                       {% end %}
 
                                        <p>
-                                               &copy; {{ year }} - {{ _("IPFire is free software") }}
+                                               &copy; {{ year }} -
+                                               {{ _("IPFire is free software written by the IPFire Project") }}
                                        </p>
                                </div>
                        </footer>
                {% end block %}
 
                <script src="{{ static_url("js/jquery.js") }}"></script>
+               <script src="{{ static_url("js/jquery.easing.js") }}"></script>
                <script src="{{ static_url("js/bootstrap.min.js") }}"></script>
                <script src="{{ static_url("js/site.js") }}"></script>
        </body>