Merge lp:~daimoneze/osdf/wp-theme into lp:osdf/wp

Proposed by Toast McFarland
Status: Merged
Merged at revision: 13
Proposed branch: lp:~daimoneze/osdf/wp-theme
Merge into: lp:osdf/wp
Diff against target: 333 lines (+106/-53)
5 files modified
footer.php (+2/-2)
front-page.php.bak (+64/-0)
header.php (+5/-4)
style.css (+28/-25)
val_style.css (+7/-22)
To merge this branch: bzr merge lp:~daimoneze/osdf/wp-theme
Reviewer Review Type Date Requested Status
Andrew Ettinger Approve
Review via email: mp+47395@code.launchpad.net

Description of the change

Final draft of the Valentines theme.

To post a comment you must log in.
Revision history for this message
Andrew Ettinger (sillydeveloper) :
review: Approve
Revision history for this message
Toast McFarland (daimoneze) wrote :

Alright, she's live.

Andrew, there were some conflicts with bzr that I was not able to
resolve. To get the site to display properly and not have to take it
down, I simply resolved the problems manually (it had some issue with
header.php). Get with me when you have some time so we can talk more
about bzr and how to get around these problems.

On 1/25/2011 1:03 PM, <email address hidden> wrote:
> The proposal to merge lp:~daimoneze/osdf/wp-theme into lp:osdf/wp has been updated.
>
> Status: Needs review => Merged
>
> For more details, see:
> https://code.launchpad.net/~daimoneze/osdf/wp-theme/+merge/47395

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'footer.php'
2--- footer.php 2010-12-12 16:16:34 +0000
3+++ footer.php 2011-01-25 14:01:58 +0000
4@@ -1,8 +1,8 @@
5 </div>
6 <div id="footer">
7- <img src="<?php bloginfo('template_directory'); ?>/images/footer_logo.gif" alt="" title="" width="61" height="61" class="left" />
8+ <img src="<?php bloginfo('template_directory'); ?>/images/OSDFLogo_footer.png" alt="" title="" width="61" class="left" id="logo_footer" />
9 <div class="left_footer">
10- Open Source Democracy Foundation &copy; 2010
11+ &lt;&#47; The Open Source Democracy Foundation &gt; &copy; 2010
12 </div>
13 <!-- div class="right_footer">
14 <a href="/index.php">Home</a> |
15
16=== added file 'front-page.php.bak'
17--- front-page.php.bak 1970-01-01 00:00:00 +0000
18+++ front-page.php.bak 2011-01-25 14:01:58 +0000
19@@ -0,0 +1,64 @@
20+<?php get_header(); ?>
21+<div class="boxes_tab">
22+ <div class="box">
23+ <div class="full_box_text">
24+ <h2><a href="about">About Us</a></h2>
25+ <p class="full_box_text">
26+ The Open Source Democracy Foundation is committed to improving our government by harnessing the Internet as a tool for education and advocacy.
27+ </p>
28+ </div>
29+ </div>
30+
31+ <div class="box">
32+ <img title="" alt="" class="left_img" src="<?php bloginfo('template_directory'); ?>/images/calendar_icon.gif"/>
33+ <div class="box_text">
34+ <h2><a href="http://www.r-pac.org/blog" target="new">Speak Up</a></h2>
35+ <p class="box_text">
36+ Join the discussion on <a href="http://reddit.com/r/rpac">Reddit</a>!
37+ </p>
38+ </div>
39+ </div>
40+ <div class="box">
41+ <img width="96" height="99" title="" alt="" class="left_img" src="<?php bloginfo('template_directory'); ?>/images/icon3.png"/>
42+ <div class="box_text">
43+ <h2><a href="/policy">Net Neutrality</a></h2>
44+ <p class="box_text">
45+ The OSDF is<br/>currently<br/>advocating<br/>Net Neutrality.
46+ </p>
47+ </div>
48+ </div>
49+ </div>
50+
51+<div class="home" id="center_big_box">
52+ <?php query_posts('showposts=1'); ?>
53+ <?php /* Ze Loop */ ?>
54+ <?php while (have_posts()) : the_post(); ?>
55+ <div id="excerpt_wrap">
56+ <?php the_title('<h3>','</h3>'); ?>
57+ <?php global $more; $more = 0; the_content('<br/>Read more...'); ?>
58+ </div>
59+ <?php endwhile;?>
60+</div>
61+
62+<div class="bottom_content">
63+ <div class="left_signup_box">
64+ <div class="left_form_content">
65+ <iframe width="220" height="250" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" src="https://spreadsheets.google.com/embeddedform?formkey=dDZZMVpPNlR5dC1RYXZJOWVBRUctMmc6MQ">Loading...</iframe>
66+ </div>
67+ </div>
68+ <div class="left_box">
69+ <h3>Help OSDF</h3>
70+ <div class="left_text_content">
71+ <p>
72+ The OSDF relies on the help of the public to make an impact, so if you enjoy working with others for a good cause, please visit our <a href="/volunteer">volunteer</a> page!<br/><br/>
73+
74+ If you are unable to volunteer your time, please consider showing your support by signing up on the left or by visiting our full <a href="signup">Sign Up</a> page.
75+ </p>
76+ <p style="text-align: center;">
77+ <a href="donate"><img alt="Donate" border="0" src="<?php bloginfo('template_directory'); ?>/images/donate.jpg"/></a>
78+ </p>
79+ </div>
80+ </div>
81+</div> <!-- big block -->
82+<?php get_sidebar(); ?>
83+<?php get_footer(); ?>
84\ No newline at end of file
85
86=== modified file 'header.php'
87--- header.php 2011-01-19 23:34:20 +0000
88+++ header.php 2011-01-25 14:01:58 +0000
89@@ -49,13 +49,14 @@
90 <div id="main_container">
91 <div id="header">
92 <div id="logo">
93- <a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/logo2.png" alt="" title="" border="0" width="289" height="100" /></a>
94+ <a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/OSDFLogo_header.png" alt="" title="" border="0" height="100%" /></a>
95 </div>
96 <div class="top_phone">
97- <img src="<?php bloginfo('template_directory'); ?>/images/phone_arrows.png" alt="" title="" class="left" width="49" height="32" />
98- <div class="phone_text">
99+ &lt;/ The Open Source Democracy Foundation &gt;
100+ <!-- Don't forget to get rid of my css first :)
101+ div class="phone_text">
102 The Open Source<br/>Democracy Foundation
103- </div>
104+ </div -->
105 </div>
106
107 <?php wp_nav_menu( array( 'menu' => 'header' ) ); ?><div class="clear"></div>
108
109=== added file 'images/OSDFLogo1.png'
110Binary files images/OSDFLogo1.png 1970-01-01 00:00:00 +0000 and images/OSDFLogo1.png 2011-01-25 14:01:58 +0000 differ
111=== added file 'images/OSDFLogo2.png'
112Binary files images/OSDFLogo2.png 1970-01-01 00:00:00 +0000 and images/OSDFLogo2.png 2011-01-25 14:01:58 +0000 differ
113=== added file 'images/OSDFLogo_1.png'
114Binary files images/OSDFLogo_1.png 1970-01-01 00:00:00 +0000 and images/OSDFLogo_1.png 2011-01-25 14:01:58 +0000 differ
115=== added file 'images/OSDFLogo_footer.png'
116Binary files images/OSDFLogo_footer.png 1970-01-01 00:00:00 +0000 and images/OSDFLogo_footer.png 2011-01-25 14:01:58 +0000 differ
117=== added file 'images/OSDFLogo_header.png'
118Binary files images/OSDFLogo_header.png 1970-01-01 00:00:00 +0000 and images/OSDFLogo_header.png 2011-01-25 14:01:58 +0000 differ
119=== added file 'images/osdfheaderchunk.png'
120Binary files images/osdfheaderchunk.png 1970-01-01 00:00:00 +0000 and images/osdfheaderchunk.png 2011-01-25 14:01:58 +0000 differ
121=== modified file 'images/the_love_birds.jpg'
122Binary files images/the_love_birds.jpg 2011-01-17 16:48:48 +0000 and images/the_love_birds.jpg 2011-01-25 14:01:58 +0000 differ
123=== modified file 'style.css'
124--- style.css 2011-01-08 15:45:31 +0000
125+++ style.css 2011-01-25 14:01:58 +0000
126@@ -36,7 +36,7 @@
127 }
128
129 h2 {
130- color: #25AAE1;
131+ color: #000;
132 font-size: 14px;
133 font-weight: normal;
134 margin: 0;
135@@ -44,7 +44,7 @@
136 }
137
138 h2 a {
139- color: #25AAE1;
140+ color: #000;
141 font-size: 14px;
142 font-weight: normal;
143 margin: 0;
144@@ -53,7 +53,7 @@
145 }
146
147 h3 {
148- color: #25AAE1;
149+ color: #000;
150 font-size: 15px;
151 font-weight: normal;
152 margin: 0;
153@@ -68,23 +68,24 @@
154 }
155
156 #header {
157- background: url("images/header_bg.jpg") repeat-x scroll 0 0 transparent;
158+ background: url(images/bg.png) repeat-x #2f2f2f;
159 height: 138px;
160 margin: auto;
161 width: 880px;
162 }
163
164 #logo {
165+ height:93%;
166 float: left;
167- padding: 38px 0 0 30px;
168+ padding: 5px 0 0 65px;
169 }
170
171 .top_phone {
172 color: #FFFFFF;
173 float: right;
174- height: 89px;
175- padding: 10px 0 0;
176- width: 280px;
177+ padding: 44px 59px 19px;
178+ width: 60%;
179+ font:normal 28px "Times New Roman",times,serif;
180 }
181
182 .phone_text {
183@@ -156,17 +157,16 @@
184 }
185
186 .menu-header-container a:hover {
187- background: url("images/bt_bg.gif") center center transparent;
188- color: #d34124;
189+ background: url("images/osdfheaderchunk.png") center center transparent;
190+ color: #fff;
191 }
192
193 #menu-header li.current-menu-item {
194- background: url("images/bt_bg.gif") center center transparent;
195- color: #d34124;
196+ color: red;
197 }
198
199 #menu-header li.current-menu-item a {
200- color: #d34124;
201+ color: red;
202 }
203
204 #menu-header li {
205@@ -194,7 +194,7 @@
206 }
207
208 ul#menu-footer li a {
209- color: #50A6C7;
210+ color: #000;
211 padding: 0;
212 text-decoration: none;
213 font-size: 10px;
214@@ -460,16 +460,21 @@
215
216 #footer {
217 background-color: #E7E6E1;
218- color: #D94923;
219+ color: #000;
220 height: 70px;
221 width: 880px;
222 margin: 0 auto;
223 }
224
225+#logo_footer{
226+ height:62px;
227+ padding:5px 15px 0 18px;
228+}
229+
230 .left_footer {
231 float: left;
232- padding: 25px 0 0 10px;
233- width: 250px;
234+ padding: 31px 0 0 10px;
235+ width: 301px;
236 }
237
238 .right_footer {
239@@ -479,7 +484,7 @@
240 }
241
242 .right_footer a {
243- color: #50A6C7;
244+ color: #000;
245 padding: 0;
246 text-decoration: none;
247 }
248@@ -487,20 +492,18 @@
249 .right_footer a:hover {
250 text-decoration: underline;
251 }
252-
253 h1.entry-title {
254- color: #25AAE1;
255+ color: #000;
256 display: block;
257 width: 100%;
258- font-size: 22px;
259+ font:bold 22px "Courier New",monospace;
260 }
261 h2.entry-title a{
262- color: #25aae1;
263+ color: #000;
264 display: block;
265 width: 100%;
266- font-size: 22px;
267- font-weight: bold;
268 padding: 0;
269+ font:bold 22px "Courier New",monospace;
270 }
271 h2.entry-title {padding: 0;}
272
273@@ -568,7 +571,7 @@
274 display: none;
275 }
276 #form-allowed-tags {
277- color: #D94923;
278+ color: #000;
279 }
280 .edit-link{
281 margin: 10px 0 0;
282
283=== modified file 'val_style.css'
284--- val_style.css 2011-01-19 23:03:15 +0000
285+++ val_style.css 2011-01-25 14:01:58 +0000
286@@ -34,39 +34,24 @@
287 background:url(images/the_love_birds.jpg) no-repeat 0 0;
288 height:336px;
289 width:550px;
290+ clear:both;
291+ padding-bottom:15px;
292 }
293 img#love_birds{
294 width:550px;
295 }
296 #content_left{
297- float: left;
298- width:43%;
299- padding-left:47px;
300 }
301 #content_right{
302 float: right;
303 width:42%;
304- padding-top: 20px;
305+ padding: 10px 0 0 30px;
306 }
307 div#content_left h3{
308 color:red;
309 }
310-#footer{
311- margin:0 auto;
312-}
313-ul.footer{
314- list-style-type:none;
315- text-align:center;
316-}
317-li.footer{
318- display:inline;
319- width:auto;
320- border-right:solid 1px;
321- padding:0 10px;
322-}
323-li.footer_last{
324- border:none;
325- padding:0 10px;
326- display:inline;
327- width:auto;
328+#val_about{
329+ background: #CFCFCF;
330+ margin-top: 25px;
331+ padding: 15px;
332 }
333\ No newline at end of file

Subscribers

People subscribed via source and target branches