Merge lp:~gbancroft-canonical/developer-ubuntu-com/up-to-date-update into lp:developer-ubuntu-com/wordpress
- up-to-date-update
- Merge into trunk
Proposed by
Graham Bancroft
Status: | Merged |
---|---|
Merged at revision: | 66 |
Proposed branch: | lp:~gbancroft-canonical/developer-ubuntu-com/up-to-date-update |
Merge into: | lp:developer-ubuntu-com/wordpress |
Diff against target: |
263 lines (+91/-40) 8 files modified
css/base.css (+44/-0) css/gomobile.css (+10/-3) header.php (+1/-1) part-blog-latest-articles.php (+4/-1) part-blog-latest-events.php (+3/-1) part-social-links.php (+8/-0) template-gomobile.php (+14/-28) template-home.php (+7/-6) |
To merge this branch: | bzr merge lp:~gbancroft-canonical/developer-ubuntu-com/up-to-date-update |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Planella | Pending | ||
Review via email: mp+149277@code.launchpad.net |
Commit message
Description of the change
Keep up-to-date section updates, HTML & CSS
To post a comment you must log in.
- 65. By Graham Bancroft
-
Amend get involved section on go mobile page
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'css/base.css' | |||
2 | --- css/base.css 2012-12-21 09:38:11 +0000 | |||
3 | +++ css/base.css 2013-02-19 14:41:25 +0000 | |||
4 | @@ -647,3 +647,47 @@ | |||
5 | 647 | padding: 2px 4px 0; | 647 | padding: 2px 4px 0; |
6 | 648 | white-space: nowrap; | 648 | white-space: nowrap; |
7 | 649 | } | 649 | } |
8 | 650 | |||
9 | 651 | /* keep up-to-date - latest article lists and social links */ | ||
10 | 652 | #keep-up h3 { | ||
11 | 653 | color: #ADA79F; | ||
12 | 654 | font-size: 16px; | ||
13 | 655 | font-weight: 300; | ||
14 | 656 | } | ||
15 | 657 | |||
16 | 658 | .article h4, .event h4 { | ||
17 | 659 | font-weight: normal; | ||
18 | 660 | } | ||
19 | 661 | |||
20 | 662 | #keep-up .article h4 a { | ||
21 | 663 | font-size: 20px; | ||
22 | 664 | margin-bottom: 10px; | ||
23 | 665 | } | ||
24 | 666 | |||
25 | 667 | #keep-up .article p { | ||
26 | 668 | font-size: 16px; | ||
27 | 669 | margin-bottom: 5px; | ||
28 | 670 | } | ||
29 | 671 | |||
30 | 672 | #keep-up .event h4 a { | ||
31 | 673 | font-size: 16px; | ||
32 | 674 | } | ||
33 | 675 | |||
34 | 676 | #keep-up .box-clear time { | ||
35 | 677 | padding-bottom: 7px; | ||
36 | 678 | } | ||
37 | 679 | |||
38 | 680 | #keep-up .social-links { | ||
39 | 681 | margin-top: 20px; | ||
40 | 682 | } | ||
41 | 683 | |||
42 | 684 | #keep-up .social-links a { | ||
43 | 685 | padding: 4px 0 4px 24px; | ||
44 | 686 | } | ||
45 | 687 | |||
46 | 688 | #keep-up .social-links a.link-twitter { background: url(../img/icon-twitter.png) 0 50% no-repeat; } | ||
47 | 689 | |||
48 | 690 | #keep-up .social-links a.link-facebook { background: url(../img/icon-facebook.png) 0 50% no-repeat; } | ||
49 | 691 | |||
50 | 692 | #keep-up .social-links a.link-google-plus { background: url(../img/icon-google-plus.png) 0 50% no-repeat; } | ||
51 | 693 | |||
52 | 650 | 694 | ||
53 | === modified file 'css/gomobile.css' | |||
54 | --- css/gomobile.css 2012-12-24 14:25:43 +0000 | |||
55 | +++ css/gomobile.css 2013-02-19 14:41:25 +0000 | |||
56 | @@ -315,9 +315,6 @@ | |||
57 | 315 | width: 850px; | 315 | width: 850px; |
58 | 316 | margin: 5px 0px 0px 20px; | 316 | margin: 5px 0px 0px 20px; |
59 | 317 | } | 317 | } |
60 | 318 | #step-get-involved { | ||
61 | 319 | margin-bottom: 20px; | ||
62 | 320 | } | ||
63 | 321 | .step a { | 318 | .step a { |
64 | 322 | margin-top: 20px; | 319 | margin-top: 20px; |
65 | 323 | } | 320 | } |
66 | @@ -325,3 +322,13 @@ | |||
67 | 325 | margin: 30px 0 0 40px; | 322 | margin: 30px 0 0 40px; |
68 | 326 | float: left; | 323 | float: left; |
69 | 327 | } | 324 | } |
70 | 325 | |||
71 | 326 | #get-involved { | ||
72 | 327 | background: url(../img/pictogram-love-heart.jpg) 92% 50% no-repeat; | ||
73 | 328 | margin-bottom: 20px; | ||
74 | 329 | margin-top: 20px; | ||
75 | 330 | } | ||
76 | 331 | |||
77 | 332 | #get-involved p { | ||
78 | 333 | padding-right: 20px; | ||
79 | 334 | } | ||
80 | 328 | 335 | ||
81 | === modified file 'header.php' | |||
82 | --- header.php 2012-06-22 16:51:34 +0000 | |||
83 | +++ header.php 2013-02-19 14:41:25 +0000 | |||
84 | @@ -7,7 +7,7 @@ | |||
85 | 7 | 7 | ||
86 | 8 | <title><?php wp_title('|', true, 'right'); ?><?php bloginfo('name'); ?></title> | 8 | <title><?php wp_title('|', true, 'right'); ?><?php bloginfo('name'); ?></title> |
87 | 9 | 9 | ||
89 | 10 | <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:400,400italic"> | 10 | <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:300,400,400italic"> |
90 | 11 | <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu+Mono:400"> | 11 | <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu+Mono:400"> |
91 | 12 | <link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_template_directory_uri(); ?>/css/reset.css" /> | 12 | <link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_template_directory_uri(); ?>/css/reset.css" /> |
92 | 13 | <link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_template_directory_uri(); ?>/css/960.css" /> | 13 | <link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_template_directory_uri(); ?>/css/960.css" /> |
93 | 14 | 14 | ||
94 | === added file 'img/icon-facebook.png' | |||
95 | 15 | Binary files img/icon-facebook.png 1970-01-01 00:00:00 +0000 and img/icon-facebook.png 2013-02-19 14:41:25 +0000 differ | 15 | Binary files img/icon-facebook.png 1970-01-01 00:00:00 +0000 and img/icon-facebook.png 2013-02-19 14:41:25 +0000 differ |
96 | === added file 'img/icon-google-plus.png' | |||
97 | 16 | Binary files img/icon-google-plus.png 1970-01-01 00:00:00 +0000 and img/icon-google-plus.png 2013-02-19 14:41:25 +0000 differ | 16 | Binary files img/icon-google-plus.png 1970-01-01 00:00:00 +0000 and img/icon-google-plus.png 2013-02-19 14:41:25 +0000 differ |
98 | === added file 'img/pictogram-love-heart.jpg' | |||
99 | 17 | Binary files img/pictogram-love-heart.jpg 1970-01-01 00:00:00 +0000 and img/pictogram-love-heart.jpg 2013-02-19 14:41:25 +0000 differ | 17 | Binary files img/pictogram-love-heart.jpg 1970-01-01 00:00:00 +0000 and img/pictogram-love-heart.jpg 2013-02-19 14:41:25 +0000 differ |
100 | === modified file 'part-blog-latest-articles.php' | |||
101 | --- part-blog-latest-articles.php 2012-12-18 15:15:10 +0000 | |||
102 | +++ part-blog-latest-articles.php 2013-02-19 14:41:25 +0000 | |||
103 | @@ -3,7 +3,10 @@ | |||
104 | 3 | $args = array('numberposts' => 3, 'category' => $category_id); | 3 | $args = array('numberposts' => 3, 'category' => $category_id); |
105 | 4 | $posts = get_posts($args); | 4 | $posts = get_posts($args); |
106 | 5 | foreach ($posts as $post): ?> | 5 | foreach ($posts as $post): ?> |
108 | 6 | <a href="<?php the_permalink(); ?>"><?php the_title(); ?> ›</a> | 6 | <div class="article"> |
109 | 7 | <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?> ›</a></h4> | ||
110 | 8 | <?php if (has_excerpt() ) { the_excerpt(); } ?> | ||
111 | 7 | <time datetime="<?php echo get_the_date('Y-m-d') ?>"><?php echo get_the_date('d F Y'); ?></time> | 9 | <time datetime="<?php echo get_the_date('Y-m-d') ?>"><?php echo get_the_date('d F Y'); ?></time> |
112 | 10 | </div> | ||
113 | 8 | <?php endforeach; ?> | 11 | <?php endforeach; ?> |
114 | 9 | <a href="/?&feed=rss2"><div class="rss">App developer blog ›</div></a> | 12 | <a href="/?&feed=rss2"><div class="rss">App developer blog ›</div></a> |
115 | 10 | 13 | ||
116 | === modified file 'part-blog-latest-events.php' | |||
117 | --- part-blog-latest-events.php 2012-12-18 15:15:10 +0000 | |||
118 | +++ part-blog-latest-events.php 2013-02-19 14:41:25 +0000 | |||
119 | @@ -3,8 +3,10 @@ | |||
120 | 3 | $args = array('numberposts' => 3, 'category' => $category_id); | 3 | $args = array('numberposts' => 3, 'category' => $category_id); |
121 | 4 | $posts = get_posts($args); | 4 | $posts = get_posts($args); |
122 | 5 | foreach ($posts as $post): ?> | 5 | foreach ($posts as $post): ?> |
124 | 6 | <a href="<?php the_permalink(); ?>"><?php the_title(); ?> ›</a> | 6 | <div class="event"> |
125 | 7 | <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?> ›</a></h4> | ||
126 | 7 | <span class="location"><?php echo get_post_meta($post->ID, 'location', true); ?></span> | 8 | <span class="location"><?php echo get_post_meta($post->ID, 'location', true); ?></span> |
127 | 8 | <time datetime="<?php echo date('Y-m-d', strtotime(str_replace(',', '', get_post_meta($post->ID, 'date-start', true)))); ?>"><?php echo get_post_meta($post->ID, 'date-start', true); ?> – <?php echo get_post_meta($post->ID, 'date-end', true); ?></time> | 9 | <time datetime="<?php echo date('Y-m-d', strtotime(str_replace(',', '', get_post_meta($post->ID, 'date-start', true)))); ?>"><?php echo get_post_meta($post->ID, 'date-start', true); ?> – <?php echo get_post_meta($post->ID, 'date-end', true); ?></time> |
128 | 10 | </div> | ||
129 | 9 | <?php endforeach; ?> | 11 | <?php endforeach; ?> |
130 | 10 | <a href="/?cat=<?php echo $category_id; ?>&feed=rss2"><div class="rss">All upcoming events ›</div></a> | 12 | <a href="/?cat=<?php echo $category_id; ?>&feed=rss2"><div class="rss">All upcoming events ›</div></a> |
131 | 11 | 13 | ||
132 | === added file 'part-social-links.php' | |||
133 | --- part-social-links.php 1970-01-01 00:00:00 +0000 | |||
134 | +++ part-social-links.php 2013-02-19 14:41:25 +0000 | |||
135 | @@ -0,0 +1,8 @@ | |||
136 | 1 | <div class="social-links box-clear"> | ||
137 | 2 | <h3>Follow us on:</h3> | ||
138 | 3 | <ul> | ||
139 | 4 | <li><a class="link-twitter" href="http://twitter.com/ubuntuappdev">Twitter ›</a></li> | ||
140 | 5 | <li><a class="link-facebook" href="#">Facebook ›</a></li> | ||
141 | 6 | <li><a class="link-google-plus" href="#">Google+ ›</a></li> | ||
142 | 7 | </ul> | ||
143 | 8 | </div> | ||
144 | 0 | \ No newline at end of file | 9 | \ No newline at end of file |
145 | 1 | 10 | ||
146 | === modified file 'template-gomobile.php' | |||
147 | --- template-gomobile.php 2013-02-13 13:10:48 +0000 | |||
148 | +++ template-gomobile.php 2013-02-19 14:41:25 +0000 | |||
149 | @@ -6,8 +6,6 @@ | |||
150 | 6 | ?> | 6 | ?> |
151 | 7 | 7 | ||
152 | 8 | <?php get_header(); ?> | 8 | <?php get_header(); ?> |
153 | 9 | |||
154 | 10 | |||
155 | 11 | <div class="grid-12"> | 9 | <div class="grid-12"> |
156 | 12 | <div class="box clearfix"> | 10 | <div class="box clearfix"> |
157 | 13 | <h2>The best tools to unlock your creativity</h2> | 11 | <h2>The best tools to unlock your creativity</h2> |
158 | @@ -130,49 +128,37 @@ | |||
159 | 130 | </div> | 128 | </div> |
160 | 131 | </div> | 129 | </div> |
161 | 132 | 130 | ||
165 | 133 | <div id="step-get-involved" class="step clearfix"> | 131 | <div id="get-involved" class="box clearfix"> |
166 | 134 | <span class="number">5</span> | 132 | <div class="grid-8"> |
164 | 135 | <div> | ||
167 | 136 | <h2>Get involved</h2> | 133 | <h2>Get involved</h2> |
184 | 137 | <div class="infobox"> | 134 | <p>The phone and tablet are a huge milestone in the Ubuntu project. One that has generated a huge amount of excitement and received lots of attention. But this is just the beginning.</p> |
185 | 138 | <?php $gomobile_form_shortcode = get_post_meta($post->ID, 'gomobile_form_shortcode', true); | 135 | <p>It’s all about creating the technology of the future for the leading free operating system. The same technology that will power the next million Ubuntu phones and tablets. It’s about being part of the action and providing input, review and working closely with the best experts in the design and development teams for Ubuntu.</p> |
186 | 139 | if (empty($gomobile_form_shortcode)) { | 136 | <p>We hope you think this is exciting and want to join us in this journey. If you want, tell us a bit about yourself and what you are doing and we can use your email to tell you about key moments along the way.</p> |
187 | 140 | $gomobile_form_shortcode = "[contact-form-7 id='3694' title='Skunkworks']"; | 137 | <p><a href="https://forms.canonical.com/capetown-dev/">Tell us what you are working on ›</a></p> |
172 | 141 | } ?> | ||
173 | 142 | <p><?php echo do_shortcode($gomobile_form_shortcode); ?></p> | ||
174 | 143 | </div> | ||
175 | 144 | <p>The phone is a huge milestone in the Ubuntu project. One that will generate a huge amount of excitement and get lots of attention. But this is just the beginning.</p> | ||
176 | 145 | |||
177 | 146 | <p>There are a few projects related to Ubuntu on the phone that are currently in the works, and we’d like to engage with community members that are interested in contributing to those projects before they are unveiled.</p> | ||
178 | 147 | |||
179 | 148 | <p>It’s all about creating the technology of the future for the leading free operating system. The same technology that will power the next million Ubuntu phones. It’s about being part of the action and providing input, review and working closely with the best experts in the design and development teams for Ubuntu.</p> | ||
180 | 149 | |||
181 | 150 | <p>If you think this is exciting and want to join us in this journey, tell us a bit about yourself and your areas of expertise in the form on the side.</p> | ||
182 | 151 | |||
183 | 152 | <p>Do get in touch, we’re looking forward to working together!</p> | ||
188 | 153 | </div> | 138 | </div> |
189 | 154 | </div> | 139 | </div> |
190 | 155 | 140 | ||
191 | 156 | </div> | 141 | </div> |
192 | 157 | 142 | ||
194 | 158 | <div class="grid-12"> | 143 | <div id="keep-up" class="grid-12"> |
195 | 159 | <h2>Keep up-to-date</h2> | 144 | <h2>Keep up-to-date</h2> |
196 | 160 | 145 | ||
199 | 161 | <div class="grid-4 alpha border"> | 146 | <div class="grid-6 alpha border"> |
200 | 162 | <h3>Latest from the blog</h3> | 147 | <h3>Latest from the blog:</h3> |
201 | 163 | <div class="box-clear border"> | 148 | <div class="box-clear border"> |
202 | 164 | <?php get_template_part('part', 'blog-latest-articles'); ?> | 149 | <?php get_template_part('part', 'blog-latest-articles'); ?> |
203 | 165 | </div> | 150 | </div> |
204 | 166 | </div> | 151 | </div> |
205 | 167 | 152 | ||
208 | 168 | <div class="grid-4"> | 153 | <div class="grid-3"> |
209 | 169 | <h3>Latest events</h3> | 154 | <h3>Latest events:</h3> |
210 | 170 | <div class="box-clear"> | 155 | <div class="box-clear"> |
211 | 171 | <?php get_template_part('part', 'blog-latest-events'); ?> | 156 | <?php get_template_part('part', 'blog-latest-events'); ?> |
212 | 157 | <?php get_template_part('part', 'social-links'); ?> | ||
213 | 172 | </div> | 158 | </div> |
214 | 173 | </div> | 159 | </div> |
215 | 174 | 160 | ||
217 | 175 | <div class="grid-4 omega"> | 161 | <div class="grid-3 omega"> |
218 | 176 | <div class="box-clear"> | 162 | <div class="box-clear"> |
219 | 177 | <div class="container-tweet"> | 163 | <div class="container-tweet"> |
220 | 178 | <div class="tweet clearfix"></div> | 164 | <div class="tweet clearfix"></div> |
221 | @@ -182,4 +168,4 @@ | |||
222 | 182 | </div> | 168 | </div> |
223 | 183 | </div> | 169 | </div> |
224 | 184 | 170 | ||
226 | 185 | <?php get_footer(); ?> | 171 | <?php get_footer(); ?> |
227 | 186 | \ No newline at end of file | 172 | \ No newline at end of file |
228 | 187 | 173 | ||
229 | === modified file 'template-home.php' | |||
230 | --- template-home.php 2013-02-13 11:36:32 +0000 | |||
231 | +++ template-home.php 2013-02-19 14:41:25 +0000 | |||
232 | @@ -152,24 +152,25 @@ | |||
233 | 152 | </div> | 152 | </div> |
234 | 153 | </div> | 153 | </div> |
235 | 154 | 154 | ||
237 | 155 | <div class="grid-12"> | 155 | <div id="keep-up" class="grid-12"> |
238 | 156 | <h2>Keep up-to-date</h2> | 156 | <h2>Keep up-to-date</h2> |
239 | 157 | 157 | ||
242 | 158 | <div class="grid-4 alpha border"> | 158 | <div class="grid-6 alpha border"> |
243 | 159 | <h3>Latest from the blog</h3> | 159 | <h3>Latest from the blog:</h3> |
244 | 160 | <div class="box-clear border"> | 160 | <div class="box-clear border"> |
245 | 161 | <?php get_template_part('part', 'blog-latest-articles'); ?> | 161 | <?php get_template_part('part', 'blog-latest-articles'); ?> |
246 | 162 | </div> | 162 | </div> |
247 | 163 | </div> | 163 | </div> |
248 | 164 | 164 | ||
251 | 165 | <div class="grid-4"> | 165 | <div class="grid-3"> |
252 | 166 | <h3>Latest events</h3> | 166 | <h3>Latest events:</h3> |
253 | 167 | <div class="box-clear"> | 167 | <div class="box-clear"> |
254 | 168 | <?php get_template_part('part', 'blog-latest-events'); ?> | 168 | <?php get_template_part('part', 'blog-latest-events'); ?> |
255 | 169 | <?php get_template_part('part', 'social-links'); ?> | ||
256 | 169 | </div> | 170 | </div> |
257 | 170 | </div> | 171 | </div> |
258 | 171 | 172 | ||
260 | 172 | <div class="grid-4 omega"> | 173 | <div class="grid-3 omega"> |
261 | 173 | <div class="box-clear"> | 174 | <div class="box-clear"> |
262 | 174 | <div class="container-tweet"> | 175 | <div class="container-tweet"> |
263 | 175 | <div class="tweet clearfix"></div> | 176 | <div class="tweet clearfix"></div> |