Changeset 35811


Ignore:
Timestamp:
2021-12-14T13:01:35+13:00 (10 months ago)
Author:
cstephen
Message:

Improve shared form templates:

  • Height of select field increased to five
  • Integer parameter template change to 'number' input type
Location:
main/trunk/greenstone3/web/interfaces/default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/style/core.css

    r35795 r35811  
    786786    margin: 2px;
    787787    float: left;
    788     min-width: 250px;
    789788}
    790789.paramValue {
  • main/trunk/greenstone3/web/interfaces/default/transform/shared-templates.xsl

    r31658 r35811  
    6262        <xsl:param name="ns">s1.</xsl:param>
    6363        <xsl:param name="default"/>
    64         <input type="text" name="{$ns}{@name}" size="3" value="{$default}"/>
     64        <input type="number" name="{$ns}{@name}" value="{$default}"/>
    6565    </xsl:template>
    6666
     
    9292        <xsl:param name="ns">s1.</xsl:param>
    9393        <xsl:param name="default"/>
    94         <select name="{$ns}{@name}" size="2">
     94        <select name="{$ns}{@name}" size="5">
    9595            <xsl:attribute name="multiple"></xsl:attribute>
    9696            <xsl:for-each select="option">
Note: See TracChangeset for help on using the changeset viewer.