diff options
author | Mike Gerwitz <mike.gerwitz@rtspecialty.com> | 2017-12-11 11:50:21 -0500 |
---|---|---|
committer | Mike Gerwitz <mike.gerwitz@rtspecialty.com> | 2017-12-11 14:03:02 -0500 |
commit | d612c593b2983e62af83830d64231b8c20745414 (patch) | |
tree | 6745cc5e1b15cdfcce4fdd6d7e84def69c0ee98f | |
parent | 3970659a81506a14fa33752016d8d468405500d3 (diff) | |
download | tame-d612c593b2983e62af83830d64231b8c20745414.tar.gz tame-d612c593b2983e62af83830d64231b8c20745414.tar.bz2 tame-d612c593b2983e62af83830d64231b8c20745414.zip |
summary: Add param names and links aside desc in entry form
This existed in the old summary pages. Since we'll be having certain people
reference ids, they need to be easily visible from somewhere.
* src/current/include/entry-form.xsl (preproc:sym)[entry-form]: Add param
name and link.
* src/current/summary.css: Style it.
-rw-r--r-- | src/current/include/entry-form.xsl | 7 | ||||
-rw-r--r-- | src/current/summary.css | 6 | ||||
-rw-r--r-- | src/current/summary.xsl | 2 |
3 files changed, 14 insertions, 1 deletions
diff --git a/src/current/include/entry-form.xsl b/src/current/include/entry-form.xsl index 5e56110..137cde8 100644 --- a/src/current/include/entry-form.xsl +++ b/src/current/include/entry-form.xsl @@ -139,6 +139,13 @@ <dt id="param-{@name}"> <xsl:value-of select="@desc" /> + + <span class="param-id"> + <xsl:text> </xsl:text> + <a href="#{@name}"> + <xsl:sequence select="concat( '[', @name, ']' )" /> + </a> + </span> </dt> <xsl:variable name="matrix"> diff --git a/src/current/summary.css b/src/current/summary.css index 2374d2f..5564010 100644 --- a/src/current/summary.css +++ b/src/current/summary.css @@ -475,6 +475,12 @@ form.entry-form dt clear: left; } +form.entry-form dt > .param-id +{ + font-weight: normal; + font-family: monospace; +} + form.entry-form .matrix { display: inline-block; diff --git a/src/current/summary.xsl b/src/current/summary.xsl index 15c8b88..ee67ea1 100644 --- a/src/current/summary.xsl +++ b/src/current/summary.xsl @@ -2,7 +2,7 @@ <!-- Outputs rater summary, containing details for both the rater and its packages - Copyright (C) 2016 LoVullo Associates, Inc. + Copyright (C) 2016, 2017 LoVullo Associates, Inc. This file is part of TAME. |