www-commits
[Top][All Lists]
Advanced

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

www/server head-include-2.html body-include-2.html


From: Pavel Kharitonov
Subject: www/server head-include-2.html body-include-2.html
Date: Sat, 06 Dec 2014 06:55:12 +0000

CVSROOT:        /web/www
Module name:    www
Changes by:     Pavel Kharitonov <ineiev>       14/12/06 06:55:12

Modified files:
        server         : head-include-2.html body-include-2.html 

Log message:
        Validation fix; put promo-banner in templates inline.

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/head-include-2.html?cvsroot=www&r1=1.15&r2=1.16
http://web.cvs.savannah.gnu.org/viewcvs/www/server/body-include-2.html?cvsroot=www&r1=1.86&r2=1.87

Patches:
Index: head-include-2.html
===================================================================
RCS file: /web/www/www/server/head-include-2.html,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- head-include-2.html 29 Mar 2014 06:50:51 -0000      1.15
+++ head-include-2.html 6 Dec 2014 06:55:09 -0000       1.16
@@ -5,5 +5,112 @@
 <link rel="stylesheet" href="/layout.css" media="screen" />
 
 <link rel="stylesheet" href="/print.css" media="print" />
+<style type="text/css" media="print,screen">
+  /* TO CHANGE THE PROGRESS BAR TOTAL, edit this div's width to be
+   * the current % raised. Make sure to also change the number raised
+   * so far in the HTML.
+   * hint: look for "UPDATE values here"
+   */
+
+  #fundraiserbanner2014 .manualprogressbar {
+    width: 15%; /* UPDATE values here */
+    height: 30px;
+    background: #FFFFFF;
+    position: absolute;
+    top: 0%;
+    left: 0%;
+  }
+
+  #fundraiserbanner2014 {
+    background-color: #2D882D;
+    width: 100%;
+    height: 125px;
+    display: inline-block;
+  }
+
+  #fundraiserbanner2014 .content {
+    margin: 0 auto;
+    width: 100%;
+    max-width:974px;
+  }
+
+  #fundraiserbanner2014 .text {
+    color:#ffffff;
+    text-align:justify; 
+  }
+
+  #fundraiserbanner2014 .text a {
+    text-decoration: underline;
+    color: inherit;
+  }
+
+  #fundraiserbanner2014 .barandbuttonwrapper {
+    width: 100%;
+    position: relative;
+  }
+
+  #fundraiserbanner2014 .progressbarsleeve {
+    display:inline;
+    position: absolute;
+    left: 0%;
+    width: 75%;
+    max-width: 860px;
+    height: 30px;
+    border: 1px solid black;
+    margin-bottom: 10px;
+  }
+
+  #fundraiserbanner2014 .goal {
+    position: absolute;
+    right: 5px;
+    line-height: 30px;
+    color: white;
+    font-family: inherit;
+  }
+
+  #fundraiserbanner2014 .sofar {
+    position: absolute;
+    right: 3px;
+    line-height: 30px;
+    color: black;
+    font-family: inherit;
+  }
+
+  #fundraiserbanner2014 .captionwrapper {
+    margin-bottom: 10px;
+    margin-top:10px;
+    color: white;
+  }
+
+  #fundraiserbanner2014 .btn {
+    position: absolute;
+    display:inline;
+    left: 75%;
+    right: 0%;
+    background:#FFFFFF;
+    border-top: 1px solid black;
+    border-bottom: 1px solid black;    
+    border-right: 1px solid black;
+    height: 30px;
+    width: 25%;
+    text-align: center;
+    padding-left: 5px;
+    padding-right: 5px;
+    line-height: 30px;
+    text-decoration: none;
+    color: black;
+    font-family: inherit;
+  }
+
+  #fundraiserbanner2014 .btn:hover {
+    background: #e1F1e1;
+    text-decoration: none;
+    box-shadow: none;
+    font-weight: bold;
+  }
+  #fundraiserbanner2014 .btn:hover:after {
+    content: "!";
+  }
+</style>
 
 <!-- end of head-include-2.html -->

Index: body-include-2.html
===================================================================
RCS file: /web/www/www/server/body-include-2.html,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -b -r1.86 -r1.87
--- body-include-2.html 5 Dec 2014 22:39:46 -0000       1.86
+++ body-include-2.html 6 Dec 2014 06:55:10 -0000       1.87
@@ -31,7 +31,29 @@
 </div><!-- /header -->
 
 <!-- Promotional Banner -->
-<!--#include virtual="/server/banners/2014-12-fundraiser.html" -->
+<div class="promo-banner" style="background-color:#2D882D;">
+  <div id="fundraiserbanner2014">
+    <div class="content">
+      <div class="text">
+       <p><strong>Thanks to your support, 2015 marks 30 years of the
+       FSF!</strong> In the next 30 years, we want to do even more to
+       defend computer user rights. To kick off in that direction,
+       we're setting our highest-ever fundraising goal of $525,000 by
+       January 31st. <a href="https://www.fsf.org/appeal/";>Read more</a>.</p>
+      </div>
+      <div class="barandbuttonwrapper">
+       <div class="progressbarsleeve">
+         <span class="goal">$525K</span>
+         <div class="manualprogressbar">
+           <span class="sofar">15% (78K)</span><!-- UPDATE values here -->
+         </div>
+       </div>
+       <a class="btn" href="https://donate.fsf.org";>Count me in</a>
+      </div>
+    </div>
+  </div>
+</div>
+<!-- End of promotional Banner -->
 
 <div id="navigation">
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]