[yelp-xsl/wip/html5] Removing old faceted navigation experiment
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl/wip/html5] Removing old faceted navigation experiment
- Date: Mon, 22 May 2017 17:10:49 +0000 (UTC)
commit 999918bf1dac553fb91c72920fea9682efad6f81
Author: Shaun McCance <shaunm gnome org>
Date: Mon May 22 13:10:02 2017 -0400
Removing old faceted navigation experiment
doc/yelp-xsl/Makefile.am | 2 +-
xslt/mallard/html/Makefile.am | 1 -
xslt/mallard/html/mal2html-facets.xsl | 172 ---------------------------------
xslt/mallard/html/mal2html-page.xsl | 33 ------
xslt/mallard/html/mal2xhtml.xsl | 1 -
5 files changed, 1 insertions(+), 208 deletions(-)
---
diff --git a/doc/yelp-xsl/Makefile.am b/doc/yelp-xsl/Makefile.am
index 9a3863e..3dd0b55 100644
--- a/doc/yelp-xsl/Makefile.am
+++ b/doc/yelp-xsl/Makefile.am
@@ -41,7 +41,7 @@ endif
.PHONY: xsldoc-clean
clean-local: xsldoc-clean
xsldoc-clean:
- rm -f $(xsldoc_pages) C/*.*.page C/index.cache
+ rm -f $(xsldoc_pages) C/*.*.page C/*-*.page C/index.cache
EXTRA_DIST = \
mal2cache \
diff --git a/xslt/mallard/html/Makefile.am b/xslt/mallard/html/Makefile.am
index af12065..5049012 100644
--- a/xslt/mallard/html/Makefile.am
+++ b/xslt/mallard/html/Makefile.am
@@ -3,7 +3,6 @@ xsldir=$(datadir)/yelp-xsl/xslt/mallard/html
xsl_DATA = \
mal2html-api.xsl \
mal2html-block.xsl \
- mal2html-facets.xsl \
mal2html-gloss.xsl \
mal2html-inline.xsl \
mal2html-links.xsl \
diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl
index 8c70a3a..5639a82 100644
--- a/xslt/mallard/html/mal2html-page.xsl
+++ b/xslt/mallard/html/mal2html-page.xsl
@@ -663,9 +663,6 @@ templates that handle #{page} and #{section} elements.
</div>
<div class="region">
<div class="contents pagewide">
- <xsl:if test="$type = 'facets'">
- <xsl:call-template name="mal2html.facets.controls"/>
- </xsl:if>
<xsl:call-template name="html.content.pre">
<xsl:with-param name="page" select="boolean(self::mal:page)"/>
</xsl:call-template>
@@ -714,9 +711,6 @@ templates that handle #{page} and #{section} elements.
<xsl:if test="$type = 'gloss:glossary'">
<xsl:call-template name="mal2html.gloss.terms"/>
</xsl:if>
- <xsl:if test="$type = 'facets'">
- <xsl:call-template name="mal2html.facets.links"/>
- </xsl:if>
<xsl:call-template name="html.content.post">
<xsl:with-param name="page" select="boolean(self::mal:page)"/>
</xsl:call-template>
@@ -1282,32 +1276,6 @@ span.hi {
<xsl:value-of select="$color.bg.yellow"/><xsl:text>;
}
-<!-- FIXME -->
-div.facets {
- display: inline-block;
- padding: 6px;
- background-color: </xsl:text>
- <xsl:value-of select="$color.bg.yellow"/><xsl:text>;
- border: solid 1px </xsl:text>
- <xsl:value-of select="$color.blue"/><xsl:text>;
-}
-div.facet {
- vertical-align: top;
- display: inline-block;
- margin-top: 0;
- margin-bottom: 1em;
- margin-</xsl:text><xsl:value-of select="$right"/><xsl:text>: 1em;
-}
-div.facet div.title { margin: 0; }
-div.facet li {
- margin: 0; padding: 0;
- list-style-type: none;
-}
-div.facet input {
- vertical-align: middle;
- margin: 0;
-}
-
<!-- experimental/gloss -->
dt.gloss-term {
margin-top: 1.2em;
@@ -1420,7 +1388,6 @@ span.status-stub, span.status-draft, span.status-incomplete, span.status-outdate
<!--%# html.js.mode -->
<xsl:template mode="html.js.mode" match="mal:page">
- <xsl:call-template name="mal2html.facets.js"/>
<xsl:text><![CDATA[
document.addEventListener('DOMContentLoaded', function() {
var overlays = document.querySelectorAll('a.ui-overlay');
diff --git a/xslt/mallard/html/mal2xhtml.xsl b/xslt/mallard/html/mal2xhtml.xsl
index 297939b..3930afc 100644
--- a/xslt/mallard/html/mal2xhtml.xsl
+++ b/xslt/mallard/html/mal2xhtml.xsl
@@ -63,7 +63,6 @@ mallard:1.0
<xsl:include href="mal2html-api.xsl"/>
<xsl:include href="mal2html-block.xsl"/>
-<xsl:include href="mal2html-facets.xsl"/>
<xsl:include href="mal2html-gloss.xsl"/>
<xsl:include href="mal2html-inline.xsl"/>
<xsl:include href="mal2html-links.xsl"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]