Commit aab1814e1d5251c3ab2c51ddd2c100bc74e571cc

  • avatar
  • Esa-Matti Suuronen <esa-matti @suur…en.org> (Committer)
  • Sun Apr 03 02:35:33 EEST 2011
  • avatar
  • Esa-Matti Suuronen <esa-matti @suur…en.org> (Author)
  • Sun Apr 03 02:35:33 EEST 2011
fix search
  • Diff rendering mode:
  • inline
  • side by side

instanssi_theme/static/css/lfc.css

620620
621/* Search */621/* Search */
622.search-form {622.search-form {
623 margin: 2em;
624 top:135px;623 top:135px;
625 margin-left: 50%;
626 padding-left: 250px;
624 margin-left: 1em;
625 margin-top: 1em;
626 margin-bottom: 1em;
627 z-index: 10;627 z-index: 10;
628 position: absolute;
629628
630}629}
631.search-form input{630.search-form input{

instanssi_theme/templates/lfc/base.html

28 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}lfc/yui/reset-fonts.css">28 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}lfc/yui/reset-fonts.css">
29 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}lfc/blueprint/src/grid.css">29 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}lfc/blueprint/src/grid.css">
30 <!--<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}lfc_theme/css/lfc.css">-->30 <!--<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}lfc_theme/css/lfc.css">-->
31 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}instanssi_theme/css/lfc.css?v=1">
31 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}instanssi_theme/css/lfc.css?v=2">
32 {% block css %}{% endblock %}32 {% block css %}{% endblock %}
3333
34 <link rel="image_src" href="{{ MEDIA_URL }}instanssi_theme/img/instanssi-logo-150px.png">34 <link rel="image_src" href="{{ MEDIA_URL }}instanssi_theme/img/instanssi-logo-150px.png">
99 {% endif %}99 {% endif %}
100100
101 <div id="header">101 <div id="header">
102 <div class="span-4 last search-form">
103 {% if IS_DEFAULT_LANGUAGE %}
104 <form action='{% url lfc_search %}'>
105 <input type="text"
106 class="search"
107 name="q" />
108
109 <input type="submit"
110 value="{% trans 'Search' %}" />
111
112 </form>
113 {% else %}
114 <form action='{% url lfc_search language=LANGUAGE_CODE %}'>
115 <input type="text"
116 class="search"
117 name="q" />
118
119 <input type="submit"
120 value="{% trans 'Search' %}" />
121 </form>
122 {% endif %}
123 </div>
124 {% if LFC_MULTILANGUAGE %}102 {% if LFC_MULTILANGUAGE %}
125 <div class="container logo">103 <div class="container logo">
126 <div id="header_box" class="span-22">104 <div id="header_box" class="span-22">
190 {% if SlotRight %}190 {% if SlotRight %}
191 <div class="span-4 last">191 <div class="span-4 last">
192 <div class="rights-slot">192 <div class="rights-slot">
193 <div class="span-4 last search-form">
194 {% if IS_DEFAULT_LANGUAGE %}
195 <form action='{% url lfc_search %}'>
196 <input type="text"
197 class="search"
198 name="q" />
199
200 <input type="submit"
201 value="{% trans 'Search' %}" />
202
203 </form>
204 {% else %}
205 <form action='{% url lfc_search language=LANGUAGE_CODE %}'>
206 <input type="text"
207 class="search"
208 name="q" />
209
210 <input type="submit"
211 value="{% trans 'Search' %}" />
212 </form>
213 {% endif %}
214 </div>
193 {% block right-slot %}215 {% block right-slot %}
194 {% portlet_slot 'Right' lfc_context %}216 {% portlet_slot 'Right' lfc_context %}
195 {% endblock %}217 {% endblock %}
261261
262262
263 <script type="text/javascript" src="{{ MEDIA_URL }}instanssi_theme/js/twitterlib.js"></script>263 <script type="text/javascript" src="{{ MEDIA_URL }}instanssi_theme/js/twitterlib.js"></script>
264 <script type="text/javascript" src="{{ MEDIA_URL }}instanssi_theme/js/instanssi.twitter.js"></script>
265 </body>
266 </html>
264 <script type="text/javascript" src="{{ MEDIA_URL }}instanssi_theme/js/instanssi.twitter.js?v=1"></script>