From: Brian Warner Date: Wed, 7 Mar 2012 02:22:41 +0000 (-0800) Subject: tahoe.css: fix #section typo, update welcome.xhtml to match X-Git-Url: https://git.rkrishnan.org/pf/content/cyclelanguage?a=commitdiff_plain;h=ec7bc05c045d78feefea525fc1d428f160482533;p=tahoe-lafs%2Ftahoe-lafs.git tahoe.css: fix #section typo, update welcome.xhtml to match The "#section" declaration (which matches id="section") should have been ".section" (which matches class="section"). The welcome page has a feature that I actually liked: the little "This Client" sidebar sits just to the right of the start of the Controls block. Fixing .section broke that (the clear:both introduces a gap, forcing the Controls block to start strictly below the bottom of the This Client block). So I also removed class="section" from the Controls block to allow them to share the horizontal space again. --- diff --git a/src/allmydata/web/static/tahoe.css b/src/allmydata/web/static/tahoe.css index e834ecc7..297bbe44 100644 --- a/src/allmydata/web/static/tahoe.css +++ b/src/allmydata/web/static/tahoe.css @@ -80,7 +80,7 @@ th.nickname-and-peerid { /* just in case, make sure floats don't stomp on big tables etc. */ -#section { clear: both; } +.section { clear: both; } /* section-specific styles - turn this client info into a sidebar */ #this-client { diff --git a/src/allmydata/web/welcome.xhtml b/src/allmydata/web/welcome.xhtml index 6bf1deba..3df902d0 100644 --- a/src/allmydata/web/welcome.xhtml +++ b/src/allmydata/web/welcome.xhtml @@ -22,11 +22,9 @@ Tahoe-LAFS code imported from: Services running: - - -
+

Controls

There are also controls for each directory on that directory's page.