[ckan-changes] commit/ckanext-pdeu: pudo: subscription bar and beta header

Bitbucket commits-noreply at bitbucket.org
Wed Jun 15 22:47:35 UTC 2011


1 new changeset in ckanext-pdeu:

http://bitbucket.org/okfn/ckanext-pdeu/changeset/213d3fe4c36e/
changeset:   213d3fe4c36e
user:        pudo
date:        2011-06-16 00:47:25
summary:     subscription bar and beta header
affected #:  3 files (623 bytes)

--- a/ckanext/pdeu/theme/public/css/style.css	Tue Jun 14 20:50:15 2011 +0200
+++ b/ckanext/pdeu/theme/public/css/style.css	Thu Jun 16 00:47:25 2011 +0200
@@ -322,19 +322,6 @@
     padding-top: 10px;
 }
 
-.register-link a {
-    color: white; 
-    background: #199150;
-    font-weight: bold;
-    padding: 5px;
-    width: 100%;
-    font-size: 1.3em;
-    -moz-border-radius: 2px;
-    -webkit-border-radius: 2px;
-    border-radius: 2px;
-    
-}
-
 .package-search-filters {
     margin-top: 15px;
 }
@@ -647,5 +634,33 @@
 }
 
 
+.signup {
+  color: white; 
+  border-bottom: 0;
+  background-color: #E5ECF9;
+  padding: 15px;
+  padding-top: 10px;
+     -moz-border-radius: 15px; 
+  -webkit-border-radius: 15px; 
+          border-radius: 15px;
+  padding-bottom: 10px;
+}
 
+.signup h2 {
+  margin-top: 0;
+  margin-bottom: 0;
+  font-size: 1.2em;
+}
 
+.subscribe {
+  float: right;
+  margin-top: -6px;
+  margin-bottom: -10px;
+}
+
+.subscribe input[type='text'] {
+  border: 1px solid #ccc;
+  padding: 4px;
+  margin-right: 10px;
+}
+


--- a/ckanext/pdeu/theme/templates/home/index.html	Tue Jun 14 20:50:15 2011 +0200
+++ b/ckanext/pdeu/theme/templates/home/index.html	Thu Jun 16 00:47:25 2011 +0200
@@ -115,6 +115,13 @@
 
     <div id="homepage" class="below container"></div>
+      <div class="container signup">
+        <form action="/subscribe" class="subscribe" method="POST">
+          <input type="text" name="email" placeholder="Your E-Mail Address" />
+          <input type="submit" value="Subscribe" />
+        </form>
+        <h2>Stay up to date with publicdata.eu and European public data</h2>
+    </div></div><xi:include href="layout.html" /></html>


--- a/ckanext/pdeu/theme/templates/layout_base.html	Tue Jun 14 20:50:15 2011 +0200
+++ b/ckanext/pdeu/theme/templates/layout_base.html	Thu Jun 16 00:47:25 2011 +0200
@@ -64,7 +64,7 @@
           <img width="64" height="64" src="${g.site_logo}" alt="${g.site_title} Logo" title="${g.site_title} Logo" id="logo" /></a><div id="site-name">
-          PublicData.eu — Europe's Public Data
+          PublicData.eu <span style="color: red;">beta</span> — Europe's Public Data
         </div><div class="menu"><span id="menusearch">

Repository URL: https://bitbucket.org/okfn/ckanext-pdeu/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list