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.
master
Mike Gerwitz 2017-12-11 11:50:21 -05:00
parent 3970659a81
commit d612c593b2
3 changed files with 14 additions and 1 deletions

View File

@ -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">

View File

@ -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;

View File

@ -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.