[gimp-web/testing: 3/7] Add line calling for tipuesearch styling on every page



commit 410506ee65300136edf65fe04db207a84391360f
Author: Pat David <patdavid gmail com>
Date:   Fri May 27 16:43:13 2016 -0500

    Add line calling for tipuesearch styling on every page
    
    This just includes the tipuesearch.css file on every page
    so we can consistently style the search box.

 themes/newgimp/templates/base.html |   43 ++++++++++--------------------------
 1 files changed, 12 insertions(+), 31 deletions(-)
---
diff --git a/themes/newgimp/templates/base.html b/themes/newgimp/templates/base.html
index 6069da5..20e0832 100644
--- a/themes/newgimp/templates/base.html
+++ b/themes/newgimp/templates/base.html
@@ -17,6 +17,8 @@
         <link rel="stylesheet" type="text/css" href="/theme/css/gimp.css" />
         <link rel="stylesheet" type="text/css" href="/theme/css/font-awesome-4.4.0/css/font-awesome.min.css" 
/>
 
+        {# Testing Tipue Search #}
+        <link href="/theme/css/tipuesearch/tipuesearch.css" rel="stylesheet">
 
         {% if FEED_ALL_ATOM %}
         <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" 
title="{{ SITENAME }} Full Atom Feed" />
@@ -45,25 +47,6 @@
 
         {% endblock head %}
 
-
-        {# Testing Flattr js loader #}
-        <script type="text/javascript">
-        /* <![CDATA[ */
-            (function() {
-                var s = document.createElement('script');
-                var t = document.getElementsByTagName('script')[0];
-
-                s.type = 'text/javascript';
-                s.async = true;
-                s.src = '//api.flattr.com/js/0.6/load.js?'+
-                        'mode=auto&uid=707850';
-
-                t.parentNode.insertBefore(s, t);
-            })();
-        /* ]]> */
-        </script>
-
-
     </head>
 
 <body id="index" class="home">
@@ -114,18 +97,6 @@
                     <a href='/donating/#bitcoin' title='Donate with Bitcoin' class='donate-type'>
                         <i class='fa fa-btc'></i>
                     </a>
-                    {#
-                    <a class="FlattrButton" style=""
-                    title="Click to Flattr GIMP"
-                    data-flattr-uid="schumaml"
-                    data-flattr-button="compact"
-                    data-flattr-popout="1"
-                    data-flattr-description="GNU Image Manipulation Program (GIMP)"
-                    data-flattr-url="https://www.gimp.org/";
-                    href="https://flattr.com/thing/707850";>
-                    <img src='/theme/images/flattr-badge-large.png' alt='Flattr GIMP'/>
-                    </a>
-                    #}
                 </li>
 
             </ul>
@@ -259,11 +230,21 @@
                         &copy; 2001-2015 <a href="/team.html">The GIMP Team</a>
                     </div>
                 </div>
+
+                <div class='row clearfix'>
+                    <div class='column full'>
+                        <form action='/search.html'>
+                            <input type='text' name='q' id='tipue_search_input' autocomplete='off' required>
+                        </form>
+                    </div>
+                </div>
+
             </div>
         </footer><!-- /#contentinfo -->
 
     </div>
 
+    {# We use this for the sliding menu on small responsive screen (phone/tablet) #}
     <script async src="/js/push-menu.js"></script>
 
 </body>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]