From 35180f2e054d701f8906b3e036b4e23bad7efdde Mon Sep 17 00:00:00 2001 From: randomdan Date: Wed, 29 Sep 2010 16:42:19 +0000 Subject: Split the browse stylesheet into it's component parts, add some SEO stuff --- gentoobrowse/base.xslt | 14 +-- gentoobrowse/browse.xslt | 217 ------------------------------------ gentoobrowse/categories.xslt | 32 ++++++ gentoobrowse/category.xslt | 28 +++++ gentoobrowse/home.xslt | 5 + gentoobrowse/package.xslt | 199 +++++++++++++++++++++++++++++++++ gentoobrowse/present/categories.xml | 2 +- gentoobrowse/present/category.xml | 2 +- gentoobrowse/present/package.xml | 2 +- gentoobrowse/style.css | 8 +- 10 files changed, 279 insertions(+), 230 deletions(-) delete mode 100644 gentoobrowse/browse.xslt create mode 100644 gentoobrowse/categories.xslt create mode 100644 gentoobrowse/category.xslt create mode 100644 gentoobrowse/package.xslt diff --git a/gentoobrowse/base.xslt b/gentoobrowse/base.xslt index bc6e7a8..47e6612 100644 --- a/gentoobrowse/base.xslt +++ b/gentoobrowse/base.xslt @@ -9,6 +9,7 @@ + @@ -16,12 +17,12 @@ @@ -58,14 +59,11 @@ Gentoo Browse - -
  • - - /package// - + /package// + / -
  • diff --git a/gentoobrowse/browse.xslt b/gentoobrowse/browse.xslt deleted file mode 100644 index 8bbf2c0..0000000 --- a/gentoobrowse/browse.xslt +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - - - - -

    Package groups

    -
      - -
    -
    - -
  • - - - /category/ - - - - () -
  • -
    - -

    Packages

    -
      - -
    -
    - -
    -
      - -
    -
    -
    - -
  • - v - (Modified : - Slot : - - License : - ) - - (Masked - - - ) - - -
      -
    • - - - - - -
    • -
    • - - - - - -
    • -
    -
  • -
    - - - - -
    - /untrack// - - - - - - - -
    - -
    - /track// - - - - - - - -
    -
    - -

    - - - /category/ - - - / -

    -

    - -

    -
    - - Versions - - Dependencies - - - Open bugs - - - Masks - - - Change log - -
    -
    - - - - - - -
    -
    - - - - -
    - - - - - - - -
    -
    -
    -
    - - - - - - - - - - - -
    - -

    -
    -
    -
    -
    - - - - -
      - -
    -
    -
    - - - - -
      - -
    1. - (Added: ) -
      -
    2. -
      -
    -
    -
    - diff --git a/gentoobrowse/categories.xslt b/gentoobrowse/categories.xslt new file mode 100644 index 0000000..15b25af --- /dev/null +++ b/gentoobrowse/categories.xslt @@ -0,0 +1,32 @@ + + + + + + Category List - Gentoo Browse + + + + + + +

    Package categories

    +
      + +
    +
    + +
  • + + + /category/ + + + + () +
  • +
    +
    diff --git a/gentoobrowse/category.xslt b/gentoobrowse/category.xslt new file mode 100644 index 0000000..3bc6512 --- /dev/null +++ b/gentoobrowse/category.xslt @@ -0,0 +1,28 @@ + + + + + + <xsl:value-of select="/gentoo/project2:uriElems/project2:uriElem[2]" /> Package List - Gentoo Browse + + Complete list of Gentoo packages in the category + + + + , + + + + + + + +

    Packages

    +
      + +
    +
    +
    diff --git a/gentoobrowse/home.xslt b/gentoobrowse/home.xslt index 9a32178..23ad66e 100644 --- a/gentoobrowse/home.xslt +++ b/gentoobrowse/home.xslt @@ -4,6 +4,11 @@ + + Newest ebuilds - Gentoo Browse + + + diff --git a/gentoobrowse/package.xslt b/gentoobrowse/package.xslt new file mode 100644 index 0000000..bc0187a --- /dev/null +++ b/gentoobrowse/package.xslt @@ -0,0 +1,199 @@ + + + + + + <xsl:value-of select="/gentoo/summary/package/pkgname" /> (in <xsl:value-of select="/gentoo/summary/package/catname" />) Package Details - Gentoo Browse + + + + + + + + +
    +
      + +
    +
    +
    + +
  • + v + (Modified : + Slot : + + License : + ) + + (Masked + + + ) + + +
      +
    • + + + + + +
    • +
    • + + + + + +
    • +
    +
  • +
    + + + + +
    + /untrack// + + + + + + + +
    + +
    + /track// + + + + + + + +
    +
    + +

    + + + /category/ + + + / +

    +

    + +

    +
    + +

    Versions

    + +

    Dependencies

    +
    + +

    Open bugs

    +
    + +

    Masks

    +
    + +

    Change log

    +
    +
    +
    + + + + + + +
    +
    + + + + +
    + + + + + + + +
    +
    +
    +
    + + + + + + + + + + + +
    + +

    +
    +
    +
    +
    + + + + +
      + +
    +
    +
    + + + + +
      + +
    1. + (Added: ) +
      +
    2. +
      +
    +
    +
    + diff --git a/gentoobrowse/present/categories.xml b/gentoobrowse/present/categories.xml index 5b886a5..4a6d3dc 100644 --- a/gentoobrowse/present/categories.xml +++ b/gentoobrowse/present/categories.xml @@ -1,4 +1,4 @@ - + diff --git a/gentoobrowse/present/category.xml b/gentoobrowse/present/category.xml index d6c4748..8f0f031 100644 --- a/gentoobrowse/present/category.xml +++ b/gentoobrowse/present/category.xml @@ -1,4 +1,4 @@ - + diff --git a/gentoobrowse/present/package.xml b/gentoobrowse/present/package.xml index ba625d9..9abb818 100644 --- a/gentoobrowse/present/package.xml +++ b/gentoobrowse/present/package.xml @@ -1,4 +1,4 @@ - + diff --git a/gentoobrowse/style.css b/gentoobrowse/style.css index 8aa6394..fbbe53d 100644 --- a/gentoobrowse/style.css +++ b/gentoobrowse/style.css @@ -108,10 +108,14 @@ form.tracker { .tabhidden { display: none; } -.tabhandle { - display: span; +.tabhandle a { text-decoration: none; padding: 0 30px; +} +.tabhandle { + font-weight: normal; + display: inline; + padding: 0 0; font-size: 14px; border: 1px solid grey; margin: 0 4px; -- cgit v1.2.3