Merge lp:~mac9416/www-ubuntu-us-tn/trunk into lp:www-ubuntu-us-tn
- trunk
- Merge into trunk
Status: | Merged |
---|---|
Merge reported by: | Christopher Lunsford |
Merged at revision: | not available |
Proposed branch: | lp:~mac9416/www-ubuntu-us-tn/trunk |
Merge into: | lp:www-ubuntu-us-tn |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~mac9416/www-ubuntu-us-tn/trunk |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christopher Lunsford (community) | Approve | ||
Review via email: mp+11523@code.launchpad.net |
Commit message
Description of the change
mac9416 (mac9416) wrote : | # |
Christopher Lunsford (binarymutant) wrote : | # |
is there a reason why I can't change wordpress/ to news/ on the server? It looks like it dropped the theme when I do. Anyways, check to see if this is right http://
mac9416 (mac9416) wrote : | # |
I think it takes a little work to move WP because of the DB. Ask in
#wordpress, they'll know how it's done I'm sure.
Also, the link looks good. One question: why not do the entire site
with WP, not just the blog? I have made WP sites that don't even have
a blog, it's that much easier than hand-coding. It's a little bit of a
learning curve, but it makes it much easier to post quick updates,
add/edit pages in a hurry, etc. Of course, whatever the team says, I'm
cool with. I'm just thinking Wordpress would be the better way to go,
from what I know.
On Thu, Sep 10, 2009 at 1:37 PM, Christopher Lunsford
<email address hidden> wrote:
> Review: Approve
> is there a reason why I can't change wordpress/ to news/ on the server? It looks like it dropped the theme when I do. Anyways, check to see if this is right http://
> --
> https:/
> You are the owner of lp:~mac9416/www-ubuntu-us-tn/trunk.
>
Christopher Lunsford (binarymutant) wrote : | # |
Personally, I think hand coding gives it more of a team project
feeling. I'm sure other people prefer a finished project over a
never-ending one though, so I was kind of waiting for someone to bring
this up (Glad you did). I'd rather this be on the website thread
though to get other opinions as well. Or the mailing list, whichever
you prefer for discussions.
So, my stance is to have the team code on the root of the website, and
have a link that goes to WP, since it would be easier to see "the
fruit of everyone's labor". It would encourage more activity within
the team to have a never-ending project is what I'm thinking. But I
can also see both sides to this coin and can completely understand the
want for a finished software project.
So this is just another one of those things where I'm waiting for a
team decision.
On Thu, Sep 10, 2009 at 6:51 PM, mac9416 <email address hidden> wrote:
> I think it takes a little work to move WP because of the DB. Ask in
> #wordpress, they'll know how it's done I'm sure.
> Also, the link looks good. One question: why not do the entire site
> with WP, not just the blog? I have made WP sites that don't even have
> a blog, it's that much easier than hand-coding. It's a little bit of a
> learning curve, but it makes it much easier to post quick updates,
> add/edit pages in a hurry, etc. Of course, whatever the team says, I'm
> cool with. I'm just thinking Wordpress would be the better way to go,
> from what I know.
>
> On Thu, Sep 10, 2009 at 1:37 PM, Christopher Lunsford
> <email address hidden> wrote:
>> Review: Approve
>> is there a reason why I can't change wordpress/ to news/ on the server? It looks like it dropped the theme when I do. Anyways, check to see if this is right http://
>> --
>> https:/
>> You are the owner of lp:~mac9416/www-ubuntu-us-tn/trunk.
>>
> --
> https:/
> You are reviewing the proposed merge of lp:~mac9416/www-ubuntu-us-tn/trunk into lp:www-ubuntu-us-tn.
>
mac9416 (mac9416) wrote : | # |
Well, it's not really a matter of having a finished product to me -
I'd really like to see the website be a constantly evolving project
that just keeps getting better, just like you. And I really think you
can have that with Wordpress. It's the speed at which you can
improve/evolve a website with Wordpress that appeals to me.
But I can also see what you're saying, that hand-coding allows
everyone to collaborate, not just those familiar with Wordpress. So
there are advantages and disadvantages to both. I'm obviously quite
biased because I've become accustomed to Wordpress and really like it
a lot.
But, as you say, the forums is the best place to talk about it. I'll
probably post something tomorrow as it's getting late today.
Thanks
On Thu, Sep 10, 2009 at 8:00 PM, Christopher Lunsford
<email address hidden> wrote:
> Personally, I think hand coding gives it more of a team project
> feeling. I'm sure other people prefer a finished project over a
> never-ending one though, so I was kind of waiting for someone to bring
> this up (Glad you did). I'd rather this be on the website thread
> though to get other opinions as well. Or the mailing list, whichever
> you prefer for discussions.
>
> So, my stance is to have the team code on the root of the website, and
> have a link that goes to WP, since it would be easier to see "the
> fruit of everyone's labor". It would encourage more activity within
> the team to have a never-ending project is what I'm thinking. But I
> can also see both sides to this coin and can completely understand the
> want for a finished software project.
> So this is just another one of those things where I'm waiting for a
> team decision.
>
> On Thu, Sep 10, 2009 at 6:51 PM, mac9416 <email address hidden> wrote:
>> I think it takes a little work to move WP because of the DB. Ask in
>> #wordpress, they'll know how it's done I'm sure.
>> Also, the link looks good. One question: why not do the entire site
>> with WP, not just the blog? I have made WP sites that don't even have
>> a blog, it's that much easier than hand-coding. It's a little bit of a
>> learning curve, but it makes it much easier to post quick updates,
>> add/edit pages in a hurry, etc. Of course, whatever the team says, I'm
>> cool with. I'm just thinking Wordpress would be the better way to go,
>> from what I know.
>>
>> On Thu, Sep 10, 2009 at 1:37 PM, Christopher Lunsford
>> <email address hidden> wrote:
>>> Review: Approve
>>> is there a reason why I can't change wordpress/ to news/ on the server? It looks like it dropped the theme when I do. Anyways, check to see if this is right http://
>>> --
>>> https:/
>>> You are the owner of lp:~mac9416/www-ubuntu-us-tn/trunk.
>>>
>> --
>> https:/
>> You are reviewing the proposed merge of lp:~mac9416/www-ubuntu-us-tn/trunk into lp:www-ubuntu-us-tn.
>>
> --
> https:/
> You are the owner of lp:~mac9416/www-ubuntu-us-tn/trunk.
>
Christopher Lunsford (binarymutant) wrote : | # |
feel free to copy paste this conversation if you want, might be quicker :D
Also, I've moved wordpress on the actual site to news/ now and am
looking at applying the plugin "Register Plus" on my branch to it. It
can do openid w/ launchpad
On Thu, Sep 10, 2009 at 10:48 PM, mac9416 <email address hidden> wrote:
> Well, it's not really a matter of having a finished product to me -
> I'd really like to see the website be a constantly evolving project
> that just keeps getting better, just like you. And I really think you
> can have that with Wordpress. It's the speed at which you can
> improve/evolve a website with Wordpress that appeals to me.
> But I can also see what you're saying, that hand-coding allows
> everyone to collaborate, not just those familiar with Wordpress. So
> there are advantages and disadvantages to both. I'm obviously quite
> biased because I've become accustomed to Wordpress and really like it
> a lot.
>
> But, as you say, the forums is the best place to talk about it. I'll
> probably post something tomorrow as it's getting late today.
>
> Thanks
>
> On Thu, Sep 10, 2009 at 8:00 PM, Christopher Lunsford
> <email address hidden> wrote:
>> Personally, I think hand coding gives it more of a team project
>> feeling. I'm sure other people prefer a finished project over a
>> never-ending one though, so I was kind of waiting for someone to bring
>> this up (Glad you did). I'd rather this be on the website thread
>> though to get other opinions as well. Or the mailing list, whichever
>> you prefer for discussions.
>>
>> So, my stance is to have the team code on the root of the website, and
>> have a link that goes to WP, since it would be easier to see "the
>> fruit of everyone's labor". It would encourage more activity within
>> the team to have a never-ending project is what I'm thinking. But I
>> can also see both sides to this coin and can completely understand the
>> want for a finished software project.
>> So this is just another one of those things where I'm waiting for a
>> team decision.
>>
>> On Thu, Sep 10, 2009 at 6:51 PM, mac9416 <email address hidden> wrote:
>>> I think it takes a little work to move WP because of the DB. Ask in
>>> #wordpress, they'll know how it's done I'm sure.
>>> Also, the link looks good. One question: why not do the entire site
>>> with WP, not just the blog? I have made WP sites that don't even have
>>> a blog, it's that much easier than hand-coding. It's a little bit of a
>>> learning curve, but it makes it much easier to post quick updates,
>>> add/edit pages in a hurry, etc. Of course, whatever the team says, I'm
>>> cool with. I'm just thinking Wordpress would be the better way to go,
>>> from what I know.
>>>
>>> On Thu, Sep 10, 2009 at 1:37 PM, Christopher Lunsford
>>> <email address hidden> wrote:
>>>> Review: Approve
>>>> is there a reason why I can't change wordpress/ to news/ on the server? It looks like it dropped the theme when I do. Anyways, check to see if this is right http://
>>>> --
>>>> https:/
>>>> You are the owner of lp:~mac9416/www-ubuntu-us-tn/trunk.
>>>>
>>> --
>>> ht...
Preview Diff
1 | === modified file 'news/wp-content/themes/ubuntu-us-tn/footer.php' |
2 | --- news/wp-content/themes/ubuntu-us-tn/footer.php 2009-09-09 20:30:13 +0000 |
3 | +++ news/wp-content/themes/ubuntu-us-tn/footer.php 2009-09-10 13:27:35 +0000 |
4 | @@ -1,22 +1,16 @@ |
5 | +<?php |
6 | +global $options; |
7 | +foreach ($options as $value) { |
8 | + if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } |
9 | +} |
10 | +?> |
11 | <div class="clear"></div> |
12 | </div> |
13 | |
14 | <div id="footer"> |
15 | -<div id="footer"> <small>Copyright 2009; ubuntu-us-tn.info is owned by Don Harper and maintained by the Ubuntu Tennessee Team. All code is licensed under the GPLv3. All Ubuntu logos are trademarked by Canonical. Hosting provided by <a href="http://www.000webhost.com/" target="_blank">000webhost.com</a></small> |
16 | - </div> |
17 | +<div id="footer"><?php print($ubuntu_us_tn_footer_phrase); ?></div> |
18 | </div> |
19 | |
20 | </div> |
21 | - |
22 | -<script type="text/javascript"> |
23 | -var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); |
24 | -document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); |
25 | -</script> |
26 | -<script type="text/javascript"> |
27 | -try { |
28 | -var pageTracker = _gat._getTracker("UA-10529254-1"); |
29 | -pageTracker._trackPageview(); |
30 | -} catch(err) {}</script> |
31 | - |
32 | </body> |
33 | -</html> |
34 | \ No newline at end of file |
35 | +</html> |
36 | |
37 | === modified file 'news/wp-content/themes/ubuntu-us-tn/functions.php' |
38 | --- news/wp-content/themes/ubuntu-us-tn/functions.php 2009-09-09 20:30:13 +0000 |
39 | +++ news/wp-content/themes/ubuntu-us-tn/functions.php 2009-09-10 13:27:35 +0000 |
40 | @@ -2,12 +2,188 @@ |
41 | if ( function_exists('register_sidebar') ) |
42 | register_sidebar(array('name'=>'Sidebar')); |
43 | |
44 | -add_action("edit_post","insert_theme_link"); |
45 | -function insert_theme_link() { |
46 | - global $wpdb; |
47 | - if($wpdb->get_var("SELECT COUNT(link_id) FROM $wpdb->links WHERE link_url='http://www.amazingwordpressthemes.com/'")==0) |
48 | - wp_insert_link(array("link_name" => "Wordpress Themes", "link_url" => "http://www.amazingwordpressthemes.com/" )); |
49 | -} |
50 | - |
51 | if ( !is_admin() ) wp_deregister_script('jquery'); |
52 | -?> |
53 | \ No newline at end of file |
54 | +?> |
55 | +<?php |
56 | +/* Function used to list pings separated from the comments */ |
57 | +function list_pings($comment, $args, $depth) { |
58 | + $GLOBALS['comment'] = $comment; |
59 | +?> |
60 | + <li id="comment-<?php comment_ID(); ?>" class="ping"><?php comment_author_link(); ?> |
61 | +<?php } ?> |
62 | +<?php |
63 | +$themename = "Ubuntu-US-TN"; |
64 | +$shortname = "ubuntu_us_tn"; |
65 | +$options = array ( |
66 | +array( "name" => "Theme Options", |
67 | + "type" => "title"), |
68 | + |
69 | +array( "type" => "open"), |
70 | + |
71 | +array( "name" => "Announcement Text", |
72 | + "desc" => "Choose some the text that will appear at the top of the page. Leave empty for noe.", |
73 | + "id" => $shortname."_announcement_text", |
74 | + "type" => "text", |
75 | + "std" => "Announcement here!"), |
76 | + |
77 | +array( "name" => "Footer Phrase", |
78 | + "desc" => "Choose the phrase that will appear at the bottom of the page. Use the <tt>br</tt> tag to force the line break.", |
79 | + "id" => $shortname."_footer_phrase", |
80 | + "type" => "text", |
81 | + "std" => "Powered by Wordpress"), |
82 | + |
83 | +array( "type" => "close") |
84 | + |
85 | +); |
86 | + |
87 | + |
88 | +function mytheme_add_admin() { |
89 | + |
90 | + global $themename, $shortname, $options; |
91 | + |
92 | + if ( $_GET['page'] == basename(__FILE__) ) { |
93 | + |
94 | + if ( 'save' == $_REQUEST['action'] ) { |
95 | + |
96 | + foreach ($options as $value) { |
97 | + update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } |
98 | + |
99 | + foreach ($options as $value) { |
100 | + if( isset( $_REQUEST[ $value['id'] ] ) ) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } else { delete_option( $value['id'] ); } } |
101 | + |
102 | + header("Location: themes.php?page=functions.php&saved=true"); |
103 | + die; |
104 | + |
105 | + } else if( 'reset' == $_REQUEST['action'] ) { |
106 | + |
107 | + foreach ($options as $value) { |
108 | + delete_option( $value['id'] ); } |
109 | + |
110 | + header("Location: themes.php?page=functions.php&reset=true"); |
111 | + die; |
112 | + |
113 | + } |
114 | + } |
115 | + |
116 | + add_theme_page($themename." Options", "".$themename." Options", 'edit_themes', basename(__FILE__), 'mytheme_admin'); |
117 | + |
118 | +} |
119 | + |
120 | +function mytheme_admin() { |
121 | + |
122 | + global $themename, $shortname, $options; |
123 | + |
124 | + if ( $_REQUEST['saved'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' settings saved.</strong></p></div>'; |
125 | + if ( $_REQUEST['reset'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' settings reset.</strong></p></div>'; |
126 | + |
127 | +?> |
128 | +<div class="wrap"> |
129 | +<h2><?php echo $themename; ?> settings</h2> |
130 | + |
131 | +<form method="post"> |
132 | + |
133 | +<?php foreach ($options as $value) { |
134 | +switch ( $value['type'] ) { |
135 | + |
136 | +case "open": |
137 | +?> |
138 | +<table width="100%" border="0" style="background-color:#eef5fb; padding:10px;"> |
139 | + |
140 | +<?php break; |
141 | + |
142 | +case "close": |
143 | +?> |
144 | + |
145 | +</table><br /> |
146 | + |
147 | +<?php break; |
148 | + |
149 | +case "title": |
150 | +?> |
151 | +<table width="100%" border="0" style="background-color:#dceefc; padding:5px 10px;"><tr> |
152 | + <td colspan="2"><h3 style="font-family:Georgia,'Times New Roman',Times,serif;"><?php echo $value['name']; ?></h3></td> |
153 | +</tr> |
154 | + |
155 | +<?php break; |
156 | + |
157 | +case 'text': |
158 | +?> |
159 | + |
160 | +<tr> |
161 | + <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> |
162 | + <td width="80%"><input style="width:400px;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" type="<?php echo $value['type']; ?>" value="<?php if ( get_settings( $value['id'] ) != "") { echo get_settings( $value['id'] ); } else { echo $value['std']; } ?>" /></td> |
163 | +</tr> |
164 | + |
165 | +<tr> |
166 | + <td><small><?php echo $value['desc']; ?></small></td> |
167 | +</tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;"> </td></tr><tr><td colspan="2"> </td></tr> |
168 | + |
169 | +<?php |
170 | +break; |
171 | + |
172 | +case 'textarea': |
173 | +?> |
174 | + |
175 | +<tr> |
176 | + <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> |
177 | + <td width="80%"><textarea name="<?php echo $value['id']; ?>" style="width:400px; height:200px;" type="<?php echo $value['type']; ?>" cols="" rows=""><?php if ( get_settings( $value['id'] ) != "") { echo get_settings( $value['id'] ); } else { echo $value['std']; } ?></textarea></td> |
178 | + |
179 | +</tr> |
180 | + |
181 | +<tr> |
182 | + <td><small><?php echo $value['desc']; ?></small></td> |
183 | +</tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;"> </td></tr><tr><td colspan="2"> </td></tr> |
184 | + |
185 | +<?php |
186 | +break; |
187 | + |
188 | +case 'select': |
189 | +?> |
190 | +<tr> |
191 | + <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> |
192 | + <?php $isOptionSelected = false; ?> |
193 | + <td width="80%"><select style="width:240px;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>"><?php foreach ($value['options'] as $option) { ?><option<?php if ( get_settings( $value['id'] ) == $option) { echo ' selected="selected"'; $isOptionSelected = true; } elseif ($option == $value['std'] && !$isOptionSelected ) { echo ' selected="selected"'; } ?>><?php echo $option; ?></option><?php } ?></select></td> |
194 | +</tr> |
195 | + |
196 | +<tr> |
197 | + <td><small><?php echo $value['desc']; ?></small></td> |
198 | +</tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;"> </td></tr><tr><td colspan="2"> </td></tr> |
199 | + |
200 | +<?php |
201 | +break; |
202 | + |
203 | +case "checkbox": |
204 | +?> |
205 | + <tr> |
206 | + <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> |
207 | + <td width="80%"><? if(get_settings($value['id'])){ $checked = "checked=\"checked\""; }else{ $checked = ""; } ?> |
208 | + <input type="checkbox" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="true" <?php echo $checked; ?> /> |
209 | + </td> |
210 | + </tr> |
211 | + |
212 | + <tr> |
213 | + <td><small><?php echo $value['desc']; ?></small></td> |
214 | + </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;"> </td></tr><tr><td colspan="2"> </td></tr> |
215 | + |
216 | +<?php break; |
217 | + |
218 | +} |
219 | +} |
220 | +?> |
221 | + |
222 | +<p class="submit"> |
223 | +<input name="save" type="submit" value="Save changes" /> |
224 | +<input type="hidden" name="action" value="save" /> |
225 | +</p> |
226 | +</form> |
227 | +<form method="post"> |
228 | +<p class="submit"> |
229 | +<input name="reset" type="submit" value="Reset" /> |
230 | +<input type="hidden" name="action" value="reset" /> |
231 | +</p> |
232 | +</form> |
233 | + |
234 | +<?php |
235 | +} |
236 | + |
237 | +add_action('admin_menu', 'mytheme_add_admin'); ?> |
238 | |
239 | === modified file 'news/wp-content/themes/ubuntu-us-tn/header.php' |
240 | --- news/wp-content/themes/ubuntu-us-tn/header.php 2009-09-09 20:30:13 +0000 |
241 | +++ news/wp-content/themes/ubuntu-us-tn/header.php 2009-09-10 13:27:35 +0000 |
242 | @@ -1,13 +1,16 @@ |
243 | +<?php |
244 | +global $options; |
245 | +foreach ($options as $value) { |
246 | + if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } |
247 | +} |
248 | +?> |
249 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
250 | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
251 | <head profile="http://gmpg.org/xfn/11"> |
252 | <link rel="icon" href="favicon.ico" type="image/x-icon"> |
253 | -<meta name="verify-v1" content="c2F4BIhbzzY3xg1R58p8rOuYxaF4K7xr3qcQMH8v3PA=" /> |
254 | -<meta name="msvalidate.01" content="0D691860E18010B8D23550E0E9C190CD" /> |
255 | <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> |
256 | <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> |
257 | <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> |
258 | -<meta name="verify-v1" content="n63oSkyWHnaocf2whEYQzxOXIECYXsU9Zk1vK/iSfx4=" /> |
259 | <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" /> |
260 | <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> |
261 | <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> |
262 | @@ -28,4 +31,4 @@ |
263 | </ul> |
264 | </div> |
265 | <div class="content"> |
266 | -<div id="announcement"><h3>NEXT TEAM MEETING: October 7th 8PM EST 7PM CST </h3></div> |
267 | \ No newline at end of file |
268 | +<div id="announcement"><h3><?php print($ubuntu_us_tn_announcement_text); ?></h3></div> |
269 | |
270 | === added file 'news/wp-content/themes/ubuntu-us-tn/screenshot.gif' |
271 | Binary files news/wp-content/themes/ubuntu-us-tn/screenshot.gif 1970-01-01 00:00:00 +0000 and news/wp-content/themes/ubuntu-us-tn/screenshot.gif 2009-09-10 13:27:35 +0000 differ |
272 | === modified file 'news/wp-content/themes/ubuntu-us-tn/sidebar.php' |
273 | --- news/wp-content/themes/ubuntu-us-tn/sidebar.php 2009-09-09 20:30:13 +0000 |
274 | +++ news/wp-content/themes/ubuntu-us-tn/sidebar.php 2009-09-10 13:27:35 +0000 |
275 | @@ -1,10 +1,16 @@ |
276 | <?php if ( is_dynamic_sidebar() ) : ?> |
277 | +<div class="boxes"> |
278 | <div class="lbox"> |
279 | - <h3>Lbox</h3> |
280 | - <p>Do something with me!</p> |
281 | + <h3>Quick Links</h3> |
282 | + <ul> |
283 | + <li>Launchpad</li> |
284 | + <li>etc.</li> |
285 | + <li>etc.</li> |
286 | + </ul> |
287 | </div> |
288 | <div class="rbox"> |
289 | <h3>Rbox</h3> |
290 | <p>Do something with me!</p> |
291 | </div> |
292 | +</div> |
293 | <?php endif; ?> |
294 | \ No newline at end of file |
295 | |
296 | === modified file 'news/wp-content/themes/ubuntu-us-tn/style.css' |
297 | --- news/wp-content/themes/ubuntu-us-tn/style.css 2009-09-09 20:30:13 +0000 |
298 | +++ news/wp-content/themes/ubuntu-us-tn/style.css 2009-09-10 13:27:35 +0000 |
299 | @@ -7,10 +7,11 @@ |
300 | body { |
301 | margin: 0; |
302 | padding-top: 10px; |
303 | - padding-left: 10px; |
304 | - padding-right: 10px; |
305 | + padding-bottom: 10px; |
306 | + padding-left: 15px; |
307 | + padding-right: 15px; |
308 | + background-color: #DCD4B0; |
309 | font-family: serif; |
310 | - background-color: #DCD4B0; |
311 | font-size: 13px; |
312 | } |
313 | img { |
314 | @@ -21,9 +22,6 @@ |
315 | color: #555; |
316 | font-style: normal; |
317 | } |
318 | -.clear { |
319 | - clear: both; |
320 | - } |
321 | |
322 | /* The Wrapper */ |
323 | |
324 | @@ -37,8 +35,8 @@ |
325 | |
326 | #top { |
327 | height: 210px; |
328 | - margin: auto; |
329 | - background-color: white; |
330 | + margin: auto; |
331 | + background-color: #F1F1DD; |
332 | border-radius-topleft: 15px; |
333 | border-radius-topright: 15px; |
334 | -webkit-border-top-right-radius: 15px; |
335 | @@ -65,10 +63,10 @@ |
336 | } |
337 | |
338 | .content { |
339 | - padding-top: 30px; |
340 | + background-color: #F1F1DD; |
341 | + padding-top: 25px; |
342 | padding-left: 20px; |
343 | padding-right: 20px; |
344 | - background: white; |
345 | min-height: 350px; |
346 | } |
347 | |
348 | @@ -77,7 +75,6 @@ |
349 | #menu { |
350 | display: block; |
351 | width: 100%; |
352 | - background-color: white; |
353 | margin: 0px; |
354 | } |
355 | #menu ul { |
356 | @@ -98,48 +95,37 @@ |
357 | color: #D3000E; |
358 | text-align: center; |
359 | text-decoration: none; |
360 | - padding: 7px 10px 0 10px; |
361 | + padding: 5px 10px 0 10px; |
362 | width: auto; |
363 | - height: 20px; |
364 | font-family: sans-serif; |
365 | - font-size: 16pt; |
366 | + font-size: 14pt; |
367 | font-weight: bold; |
368 | } |
369 | #menu ul li a:hover,#menu ul li.current_page_item a { |
370 | color: #FF6209; |
371 | - background-color: white; |
372 | text-align: center; |
373 | } |
374 | -#menu ul li .current_page_item a,#menu ul li .current_page_item a:hover{ |
375 | - color: white; |
376 | - } |
377 | |
378 | #content { |
379 | margin: auto; |
380 | - width: 70%; |
381 | + width: 60%; |
382 | } |
383 | |
384 | -.sub { |
385 | - float: left; |
386 | - width: auto; |
387 | - height: 14px; |
388 | - font-size: 14px; |
389 | - font-family: sans-serif; |
390 | - padding-left: 0px; |
391 | - padding-top: 0px; |
392 | - font-weight: normal; |
393 | - color: #83730a; |
394 | - } |
395 | - |
396 | /* The Sidebar */ |
397 | +.boxes h1, .boxes h2, .boxes h3{ |
398 | + margin: 0; |
399 | + background-color: #808080; |
400 | + -moz-border-radius: 5px; |
401 | + padding: 3px; |
402 | + } |
403 | .lbox { |
404 | float: left; |
405 | - width: 15%; |
406 | + width: 16%; |
407 | font-family: sans-serif; |
408 | } |
409 | .rbox { |
410 | float: right; |
411 | - width: 15%; |
412 | + width: 16%; |
413 | font-family: sans-serif; |
414 | } |
415 | /* --- FOOTER --- */ |
416 | @@ -158,22 +144,6 @@ |
417 | -moz-border-radius-bottomright: 15px; |
418 | } |
419 | |
420 | -/* The Navigation */ |
421 | - |
422 | -.navigation { |
423 | - height: 25px; |
424 | - padding: 0 20px; |
425 | - } |
426 | -.navigation a { |
427 | - font-weight: bold; |
428 | - text-decoration: none; |
429 | - font-size: 14px; |
430 | - color: #1459a7; |
431 | - } |
432 | -.navigation a:hover { |
433 | - color: #3f5d65; |
434 | - } |
435 | - |
436 | /* The Page Title */ |
437 | |
438 | h2.pagetitle { |
I'm rather new to bzr/Launchpad, so I only hope everything is in order to be merged. I merged, I pulled, I said the magic words, and I hope it turned out right. Cross your fingers ;-)