From 756dcf561e09dec9dbcf23cce4d8c81337d389cb Mon Sep 17 00:00:00 2001 From: jensp Date: Wed, 20 Aug 2014 10:35:43 +0000 Subject: [PATCH] Fixed XSL for (old) terms admin page at /ccm/admin/terms. The features of this admin page have not been integrated into the new admin tab at /ccm/admin completly yet, but they are needed by some APLAWS+ users. This is only a temporary solution, the terms module will integraded into the normal categories soon. git-svn-id: https://svn.libreccm.org/ccm/trunk@2821 8810af33-2d31-482b-a856-94f89814c4df --- ccm-sci-bundle/bundles/devel/cfg/project.xml | 2 +- .../mandalay/fallback/fallbackEntryPoints.xsl | 324 ++++++++++-------- .../includes/terms/domain-details.xsl | 202 ++++++----- .../includes/terms/domain-listing.xsl | 8 +- .../mandalay/includes/terms/domain-usage.xsl | 4 +- .../mandalay/includes/terms/term-details.xsl | 106 +++--- .../mandalay/includes/terms/term-listing.xsl | 8 +- .../themes/mandalay/settings/css-files.xml | 3 + .../web/themes/mandalay/settings/start.xml | 2 +- 9 files changed, 374 insertions(+), 285 deletions(-) diff --git a/ccm-sci-bundle/bundles/devel/cfg/project.xml b/ccm-sci-bundle/bundles/devel/cfg/project.xml index dc3138d40..162dc8412 100644 --- a/ccm-sci-bundle/bundles/devel/cfg/project.xml +++ b/ccm-sci-bundle/bundles/devel/cfg/project.xml @@ -9,7 +9,7 @@ name="ScientificCMS" prettyName="Scientific CMS" version="2.3.0" - release="devel-SNAPSHOT-r2816" + release="devel-SNAPSHOT-r2820" webxml="sci-web.xml" portletxml="sci-portlet.xml" webapp="libreccm" diff --git a/ccm-sci-bundle/web/themes/mandalay/fallback/fallbackEntryPoints.xsl b/ccm-sci-bundle/web/themes/mandalay/fallback/fallbackEntryPoints.xsl index 97fb0b4ef..43436178e 100755 --- a/ccm-sci-bundle/web/themes/mandalay/fallback/fallbackEntryPoints.xsl +++ b/ccm-sci-bundle/web/themes/mandalay/fallback/fallbackEntryPoints.xsl @@ -20,158 +20,200 @@ along with Mandalay. If not, see . --> - + - - - + + + - - - - - - + + + + + + - - - /cms/admin/page + + + + /cms/admin/page - - + + - - - - - - - - - - - - - - - - - <xsl:value-of select="bebop:title"/> - - - - - - - - - - - - - - -
- - - -
-
- -
-
-
-
-
- -
-
- -
-
+ + + + + + + +
- - -
+
+ + + + + + + <xsl:value-of select="bebop:title"/> + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + +
+
+ +
+ + + +
+
+
+
+
+ +
+ + +
+ +
+
+ +
+ +
+
+
+ + +
- - -
- -
-
- APLAWS> -
-

-
- -
-
- -
-
- - -
- - - + + + + + <xsl:value-of select="/bebop:page/bebop:title"/> + + + + + + + + + - - + + +
+ +
+
+ APLAWS> + +
+

+ +

+
+ +
+
+ +
+
+ + +
+ + +
- - () - -
+ + - - - - - - - - - - - + + () + + + + + + + + + + + + + +
diff --git a/ccm-sci-bundle/web/themes/mandalay/includes/terms/domain-details.xsl b/ccm-sci-bundle/web/themes/mandalay/includes/terms/domain-details.xsl index 8a978a88d..e58916f04 100755 --- a/ccm-sci-bundle/web/themes/mandalay/includes/terms/domain-details.xsl +++ b/ccm-sci-bundle/web/themes/mandalay/includes/terms/domain-details.xsl @@ -4,97 +4,119 @@ ]> + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:terms="http://xmlns.redhat.com/london/terms/1.0" + xmlns:util="http://xmlns.redhat.com/london/util/1.0" + exclude-result-prefixes="terms util" + version="1.0"> - - -

WARNING: Modifications to ESD Toolkit domains will be lost at next upgrade

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +

WARNING: Modifications to ESD Toolkit domains will be lost at next upgrade

-
-
Domain details
Title
Key:
URL:
Description:
Version:
Released:
Indexer trained: - - - - by - - - (never) - -
  - - Edit -   - - Delete -   - - - - Retrain indexer -   - - Delete indexer - - - Train indexer - - -   -
  - -
- -
-
-
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Domain details
Title + +
Key: + +
URL: + +
Description: + +
Version: + +
Released: + +
Indexer trained: + + + + by + + + (never) + +
  + + Edit +   + + Delete +   + + + + Retrain indexer +   + + + + Delete indexer + + + Train indexer + + +   +
  + +
+ +
+
+
+
diff --git a/ccm-sci-bundle/web/themes/mandalay/includes/terms/domain-listing.xsl b/ccm-sci-bundle/web/themes/mandalay/includes/terms/domain-listing.xsl index d4f228b86..77370727d 100755 --- a/ccm-sci-bundle/web/themes/mandalay/includes/terms/domain-listing.xsl +++ b/ccm-sci-bundle/web/themes/mandalay/includes/terms/domain-listing.xsl @@ -36,11 +36,15 @@ - + + + - + + + diff --git a/ccm-sci-bundle/web/themes/mandalay/includes/terms/domain-usage.xsl b/ccm-sci-bundle/web/themes/mandalay/includes/terms/domain-usage.xsl index 4e77be9f1..168d84e5c 100755 --- a/ccm-sci-bundle/web/themes/mandalay/includes/terms/domain-usage.xsl +++ b/ccm-sci-bundle/web/themes/mandalay/includes/terms/domain-usage.xsl @@ -34,9 +34,9 @@ Default - + - + diff --git a/ccm-sci-bundle/web/themes/mandalay/includes/terms/term-details.xsl b/ccm-sci-bundle/web/themes/mandalay/includes/terms/term-details.xsl index 351322d24..a27967e8f 100755 --- a/ccm-sci-bundle/web/themes/mandalay/includes/terms/term-details.xsl +++ b/ccm-sci-bundle/web/themes/mandalay/includes/terms/term-details.xsl @@ -1,50 +1,66 @@ + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:terms="http://xmlns.redhat.com/london/terms/1.0" + version="1.0"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Term details
Unique ID:
Name
Description:
Shortcut:
In A-Z:
- - Edit -   - - Delete -   -
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Term details
Unique ID: + +
Name + +
Description: + +
Shortcut: + +
In A-Z: + +
+ + Edit +   + + Delete +   +
+
diff --git a/ccm-sci-bundle/web/themes/mandalay/includes/terms/term-listing.xsl b/ccm-sci-bundle/web/themes/mandalay/includes/terms/term-listing.xsl index 574e8ec71..7a6b01ad2 100755 --- a/ccm-sci-bundle/web/themes/mandalay/includes/terms/term-listing.xsl +++ b/ccm-sci-bundle/web/themes/mandalay/includes/terms/term-listing.xsl @@ -84,12 +84,12 @@ - + - + ( @@ -99,7 +99,9 @@ - + + + ( diff --git a/ccm-sci-bundle/web/themes/mandalay/settings/css-files.xml b/ccm-sci-bundle/web/themes/mandalay/settings/css-files.xml index 5af9697cf..9031f2423 100644 --- a/ccm-sci-bundle/web/themes/mandalay/settings/css-files.xml +++ b/ccm-sci-bundle/web/themes/mandalay/settings/css-files.xml @@ -39,5 +39,8 @@ admin.css + + admin.css + \ No newline at end of file diff --git a/ccm-sci-bundle/web/themes/mandalay/settings/start.xml b/ccm-sci-bundle/web/themes/mandalay/settings/start.xml index 6cfc55eb1..97542487e 100755 --- a/ccm-sci-bundle/web/themes/mandalay/settings/start.xml +++ b/ccm-sci-bundle/web/themes/mandalay/settings/start.xml @@ -37,7 +37,7 @@ content-center.xml content-center.xml content-center.xml - content-center.xml + terms.xml content-center.xml portal.xml