From: Michael M Slusarz Date: Fri, 19 Jun 2009 17:14:22 +0000 (-0600) Subject: Various display improvements. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2e37fdc2c3d7ccbaf957251863882f542ebfdfa0;p=horde.git Various display improvements. Remove table-based options layout with DIV-based layout. Don't show manual diff/revisions entry box unless javascript is not available. --- diff --git a/chora/templates/cvsgraph/cvsgraph.inc b/chora/templates/cvsgraph/cvsgraph.inc index e844190ef..9ec4029f5 100644 --- a/chora/templates/cvsgraph/cvsgraph.inc +++ b/chora/templates/cvsgraph/cvsgraph.inc @@ -1,11 +1,10 @@ - - - - -
-
- -
+
+ + +
+ +
+

<?php echo htmlspecialchars($title) ?> diff --git a/chora/templates/diff/hr/header.inc b/chora/templates/diff/hr/header.inc index ed51a374a..11c54a8a0 100644 --- a/chora/templates/diff/hr/header.inc +++ b/chora/templates/diff/hr/header.inc @@ -1,31 +1,30 @@ - - - - -
-
- - - - - - + + + + - " />
-
-
+ + " />
+ + + +
getImageDir('horde') . '/blank.gif' ?> @@ -50,7 +49,7 @@
  • -
  • + , -
  • +
  • +, -
  • abbrev($val['rev'])) ?>:
    diff --git a/chora/templates/directory/header.inc b/chora/templates/directory/header.inc index 3ad5927a0..1b5950c5b 100644 --- a/chora/templates/directory/header.inc +++ b/chora/templates/directory/header.inc @@ -1,21 +1,19 @@ 1): ?> - - - - -
    -
    +
    + + - - - + - - -
    + + + + + diff --git a/chora/templates/headerbar.inc b/chora/templates/headerbar.inc index 106271f64..7a3b52712 100644 --- a/chora/templates/headerbar.inc +++ b/chora/templates/headerbar.inc @@ -1,13 +1,13 @@

    - diff --git a/chora/templates/log/footer.inc b/chora/templates/log/footer.inc index b3366c676..c738ce46e 100644 --- a/chora/templates/log/footer.inc +++ b/chora/templates/log/footer.inc @@ -2,12 +2,9 @@
    + [ ] - - ( ) - + + : +
    revisionCount() > 100 && !Horde_Util::getFormData('all')): ?> - - - - -
    - (may take a while)."), - Horde::link(Horde_Util::addParameter(Horde::selfUrl(true), 'all', 1))) ?> -
    +
    + + (may take a while)."), Horde::link(Horde_Util::addParameter(Horde::selfUrl(true), 'all', 1))) ?> + +
    diff --git a/chora/templates/log/header.inc b/chora/templates/log/header.inc index d8580fdc0..3f5d1532e 100644 --- a/chora/templates/log/header.inc +++ b/chora/templates/log/header.inc @@ -1,44 +1,38 @@ - - - +
    + + + + -
    - - - + +hasFeature('javascript')): ?> +
    + + + ', + '') ?> + " />
    + + + +
    - - - + +
    + + + + + + +
    - -
    - - - -
    - - - ', - '') ?> - " />
    - -
    -
    -
    - - - - - -
    -
     
    + diff --git a/chora/templates/log/rev.inc b/chora/templates/log/rev.inc index 0271e3642..eea130f48 100644 --- a/chora/templates/log/rev.inc +++ b/chora/templates/log/rev.inc @@ -10,12 +10,11 @@ $val))) . htmlspecialchars($val) ?> - () + () + + (+, - ) - - (+, - ) - - +
    diff --git a/chora/templates/patchsets/header.inc b/chora/templates/patchsets/header.inc index b3065f38e..540dbeb7b 100644 --- a/chora/templates/patchsets/header.inc +++ b/chora/templates/patchsets/header.inc @@ -1,12 +1,10 @@ - - - - -
    +
    + - + - - + + -
    + + diff --git a/chora/themes/screen.css b/chora/themes/screen.css index f2248d3b3..e9b51daff 100644 --- a/chora/themes/screen.css +++ b/chora/themes/screen.css @@ -11,27 +11,28 @@ form#repository-picker { } /* Options boxes. */ -table.options { - width: 99%; +div.options, div.browsefileoptions { margin: 0 0 8px 5px; } -table.options td { - font-size: 80%; - width: 33%; +div.options span, div.browsefileoptions span { + display: -moz-inline-stack; + display: inline-block; + zoom: 1; + *display: inline; border: 1px solid #ccc; - padding: 2px; + padding: 6px; background: #e9e9e9; vertical-align: top; } -table.options td.spacer { - width: 10px; - background: none; - border: none; +div.browsefileoptions span { + width: 31.3%; } -table.options em { - display: block; +div.options em, div.browsefileoptions em { margin-top: 4px; } +div.browsefileoptions form { + margin-bottom: 4px; +} /* Tables. */ table.revlog, table.headerbar, table.browse, table.stats { @@ -139,6 +140,9 @@ h3.revision_log, h3.checkout { .revlog .selection .sdiff, .revlog .selection .selected .pdiff { display: inline; } +.revlog .difflines { + display: block; +} /* Patchset logs. */ #patchsets ul { @@ -278,3 +282,8 @@ div.difflog { div.diffclear { clear: both; } + +/* Browsefile definitions. */ +td.browseLocation em { + display: block; +}