]> git.ipfire.org Git - ipfire.org.git/blobdiff - templates/index.html
Arrow at the bottom to scroll down now white on hover.
[ipfire.org.git] / templates / index.html
index 6fc89de147187149c5abbc1117ee5f08e4ad5282..4a917d40f05e8badb2922b5391e26896cd123acf 100644 (file)
@@ -12,7 +12,7 @@
                                
                        <div class="row justify-content-center">
                                <a class="btn btn-outline-primary btn-lg" href="/download">{{ _("Download") }}</a>
-                               <a class="btn btn-outline-secondary btn-lg" href="/featues">{{ _("Features") }}</a>
+                               <a class="btn btn-outline-secondary btn-lg" href="/features">{{ _("Features") }}</a>
                        </div>
                </div>
                
                        <h2 class="display-2 text-center text-white">IP<strong>Fire</strong>&rsquo;s Wishlist</h2>
                        
                                {% if hottest_wish %}
-       
-                                       {% if hottest_wish.is_new() %}
-                                               <span class="label label-success pull-right">{{ _("NEW") }}</span>
-                                       {% elif hottest_wish.remaining_days and hottest_wish.remaining_days <= 10 %}
-                                               <span class="pull-right">
-                                                       {{ _("one day left", "%(num)s days left", hottest_wish.remaining_days) % { "num" : hottest_wish.remaining_days } }}
-                                               </span>
-                                       {% else %}
-                                               <span class="pull-right">
-                                                       {{ _("%d%% funded") % hottest_wish.percentage }}
-                                               </span>
-                                       {% end %}
-                                       
-                                       <h3 class="text-white pb-5">{{ hottest_wish.title }}</h3>
+                                       <div class="d-flex flex-row justify-content-between align-items-baseline">
+                                               <h3 class="text-white">{{ hottest_wish.title }}</h3>
+               
+                                               {% if hottest_wish.is_new() %}
+                                                       <span class="label label-success pull-right">{{ _("NEW") }}</span>
+                                               {% elif hottest_wish.remaining_days and hottest_wish.remaining_days <= 10 %}
+                                                       <span>
+                                                               {{ _("one day left", "%(num)s days left", hottest_wish.remaining_days) % { "num" : hottest_wish.remaining_days } }}
+                                                       </span>
+                                               {% else %}
+                                                       <span class="amber-800 hidden-xs-down">
+                                                               {{ _("%d%% funded") % hottest_wish.percentage }}
+                                                       </span>
+                                               {% end %}
+                                       </div>
        
                                        <div class="progress progress-small mb-5">
                                                <div class="progress-bar bg-progress" role="progressbar" aria-valuenow="{{ hottest_wish.percentage_bar }}" aria-valuemin="0" aria-valuemax="100" style="width: {{ hottest_wish.percentage_bar }}%; height: .5rem;">