From 3003d82a3bc75b0ec59fb8e928edc4b520961047 Mon Sep 17 00:00:00 2001 From: David Bartley Date: Mon, 16 Jul 2007 22:27:55 -0400 Subject: [PATCH] Reflowed and split cscweb.xsl into smaller xsl files. --- cscweb.xsl | 623 ++-------------------------------------------- default.css | 6 + directory.xml | 6 + xsl/books.xsl | 64 +++++ xsl/common.xsl | 126 ++++++++++ xsl/directory.xsl | 23 ++ xsl/events.xsl | 128 ++++++++++ xsl/exec.xsl | 36 +++ xsl/media.xsl | 104 ++++++++ xsl/members.xsl | 34 +++ xsl/menu.xsl | 36 +++ xsl/news.xsl | 92 +++++++ 12 files changed, 673 insertions(+), 605 deletions(-) create mode 100644 xsl/books.xsl create mode 100644 xsl/common.xsl create mode 100644 xsl/directory.xsl create mode 100644 xsl/events.xsl create mode 100644 xsl/exec.xsl create mode 100644 xsl/media.xsl create mode 100644 xsl/members.xsl create mode 100644 xsl/menu.xsl create mode 100644 xsl/news.xsl diff --git a/cscweb.xsl b/cscweb.xsl index e0f3a1c..55528f3 100644 --- a/cscweb.xsl +++ b/cscweb.xsl @@ -1,9 +1,8 @@ - + - + ../ - - - - - <xsl:value-of select="@title"/> - - - - - - - - - - -

- - - - - - - - - -
, - - - - -

- Get the Flash Player to see this video using Flash Player. -

- -
- - - - - - <xsl:value-of select="@title"/> - - - -
- - - - - -

Abstract

-
- -
-
- - -

View

-
- - -
-
- - -

Download

-
- HTTP (web browser): - - - -

- BitTorrent: - - .torrent - -
-
-
- - - - - - -

- - - - - - -
- - - - - -
- - -
-
  • -
    - - - - - - - - - - - {@title}
    -
    - -
    - - - - - - - - - - -
    -
    - - -
    - CSC Logo - - CSC Title - -
    -
    - - - - - - - - -
    - -
    -
    - - - - - - - - - - - - - Go to top - - - - - - - - - - - - - - - - - - - - - - - News - - - - - - Older news items are available. Make sure you - check out the uw.csc newsgroup and our - announcement boards on the second and third floor of MC for more - updates. - - - - - - - - Upcoming Events ical - - - - - - - - - - - . - - - - - , - - - - - - Past - events are available. - - - - - - - - - - - - <xsl:value-of select="@title"/> - - - -
    - - - -
    - Held in at - , . -
    -

    Abstract

    - - -
    - - -
    -
    - - - - - -
    -
    - - -

    The events for are listed here or grab an ical.

    - - - -

    -

    - , - , : - - - More information. -

    -
    -
    -
    - - -

    The news for is listed here.

    - - - -

    - , - : -

    -
    -
    -
    - - -

    The members for are - listed here. We currently have members.

    - - - - - - - - - - members1 - members2 - - - - - - - - -
    NameProgramUserid
    -
    - - -

    The books we currently own include:

    - - - - - - - - - #cee6ff - - - - - - - - Book: <xsl:value-of select="@title"/> - - - -
    - - - - - -

    - Title:
    - Edition:
    - ISBN:
    - Author:
    - Published:
    -

    - -
    - - -
    - -
    TitleAuthor
    - - - () - -
    -
    - - - - - - - - - - - - - -

    -

    - - - - Events for <xsl:value-of select="csc:term(@date)"/> - - - -
    - - - - - - - -
    - - -
    -
    -
    -
    - - - - - - - - - -

    -

    - -]]> - - - - News for <xsl:value-of select="csc:term(@date)"/> - - - -
    - - - - - - - -
    - - -
    -
    -
    -
    - - -

    Elected positions

    -
      - -
    -

    Appointed positions

    -
      - -
    -
    - - -
  • is this term's . You can e-mail the or visit - - his - her - his or her - - homepage. -
  • -
    + + + + + + + + + + - - - - + + + + -
    diff --git a/default.css b/default.css index d11f2f6..f085f22 100644 --- a/default.css +++ b/default.css @@ -99,6 +99,12 @@ tr.members1 { tr.members2 { background: #cee6ff; } +tr.books1 { + background: white; +} +tr.book2 { + background: #cee6ff; +} img { border-width:0; diff --git a/directory.xml b/directory.xml index e69de29..9ce9c38 100644 --- a/directory.xml +++ b/directory.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/xsl/books.xsl b/xsl/books.xsl new file mode 100644 index 0000000..435043d --- /dev/null +++ b/xsl/books.xsl @@ -0,0 +1,64 @@ + + + + + +

    The books we currently own include:

    + + + + + + + + + books1 + books2 + + + + + + + + + + Book: <xsl:value-of select="@title" /> + + +
    + + + + + +

    + Title:
    + Edition:
    + ISBN:
    + Author:
    + Published:
    +

    + +
    + +
    + +
    TitleAuthor
    + + + + () + + + + +
    +
    + +
    diff --git a/xsl/common.xsl b/xsl/common.xsl new file mode 100644 index 0000000..272aed8 --- /dev/null +++ b/xsl/common.xsl @@ -0,0 +1,126 @@ + + + + + + + + <xsl:value-of select="@title" /> + + +
    + + + + + + + +
    + +
    + + + + + +

    + + + + + + + + +
    +
    + +
    + CSC Logo + + CSC Title + +
    +
    + + + + + + + +
    + +
    + + + +
    Go to top + + + + + + + +
    +
    + + diff --git a/xsl/directory.xsl b/xsl/directory.xsl new file mode 100644 index 0000000..0c4bded --- /dev/null +++ b/xsl/directory.xsl @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/events.xsl b/xsl/events.xsl new file mode 100644 index 0000000..dcb1cb0 --- /dev/null +++ b/xsl/events.xsl @@ -0,0 +1,128 @@ + + + + + + + Upcoming Events + + + + + + + + + + . + + + + + + , + + + + + + + + Past events are available. + + + + + +

    The events for are listed here. + You can also download an ICS of them.

    + + + +

    +

    + + , + , + : + + . +

    +
    +
    +
    + + + + + + + + + + <xsl:value-of select="@title" /> + + +
    + + + +
    + Held in at + , . +
    +

    Abstract

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

    + +

    + + + + Events for <xsl:value-of select="csc:term(@date)" /> + + +
    + + + + + + + +
    + +
    +
    +
    +
    + +
    diff --git a/xsl/exec.xsl b/xsl/exec.xsl new file mode 100644 index 0000000..9eae18f --- /dev/null +++ b/xsl/exec.xsl @@ -0,0 +1,36 @@ + + + + + +

    Elected positions

    +
      + +
    +

    Appointed positions

    +
      + +
    +
    + + +
  • + is this term's + . You can e-mail the + + + or visit + + his + her + his or her + + homepage + . +
  • +
    + +
    diff --git a/xsl/media.xsl b/xsl/media.xsl new file mode 100644 index 0000000..7cc3498 --- /dev/null +++ b/xsl/media.xsl @@ -0,0 +1,104 @@ + + + + + + + , + + + + +

    + Get the Flash Player to see this video using Flash Player.

    + +
    + + + + + + <xsl:value-of select="@title" /> + + +
    + + + + +

    Abstract

    +
    + +
    +
    + +

    View

    +
    + +
    +
    + +

    Download

    +
    + HTTP (web browser): + +

    + BitTorrent: + + .torrent + +
    +
    +
    + + +