Ignore:
Timestamp:
2023-08-14T18:10:01+12:00 (10 months ago)
Author:
davidb
Message:

A series of changes that deliver on getting the thumbnail/JSON up and running in the document view

Location:
gs3-installations/thewillow/trunk/interfaces/thewillow
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • gs3-installations/thewillow/trunk/interfaces/thewillow/js/thewillow-extra.js

    r37929 r37945  
     1
     2
    13function twFormToggleAllFields()
    24{
     
    7476    })
    7577        .done(function(response) {
    76         console.log(response)
    7778        $('#story-list').html(response);
    7879        $('#story-list').show();
  • gs3-installations/thewillow/trunk/interfaces/thewillow/style/core-extra.css

    r37906 r37945  
    320320}
    321321*/
     322
     323/* The following was used as a hack to get regular CL tabs and artificially introduced Tabs
     324   to have a controlable tab-selected colour/background coour */
     325
     326/*
    322327#gs-nav .ui-state-default a, gs-nav .ui-state-default a:link {
    323328    color: #000000 !important;
     
    327332    color: #E7D821 !important;
    328333}
     334*/
    329335
    330336.ui-state-active a,
     
    344350}
    345351
     352
     353
    346354/*
    347355jquery-ui main theme is different image, and tingediwth green :
  • gs3-installations/thewillow/trunk/interfaces/thewillow/transform/layouts/header.xsl

    r37929 r37945  
    303303          display: none;
    304304    }
     305     
     306    #story-list {
     307      position: absolute;
     308      display: none;
     309      color: #000000;
     310      background-color: #E6E6E6;
     311    }
     312
     313       
     314    #story-list table tr td {
     315      padding: 0.4rem 0.4rem 0.2rem 0.4rem;
     316    }
     317   
     318    #story-list tr:hover {
     319      color: #FFFFFF;
     320      background-color: #000000;
     321    }
     322
     323   
    305324      </style>
    306325     
     
    434453          </xsl:if>
    435454        </xsl:if>
     455
     456        <xsl:if test="/page/pageRequest/@action = 'p'">
     457          <xsl:if test="/page/pageRequest/@subaction = 'stories'">
     458            #new-banner {
     459              background-image: url(interfaces/<xsl:value-of select="$interface_name"/>/images/banner-images/2-willow-york-ceri-oakes-tommy.png);
     460        }       
     461          </xsl:if>
     462        </xsl:if>
     463        <!--
    436464        <xsl:if test="/page/pageRequest/@action = 'b'">
    437465          <xsl:if test="/page/pageRequest/paramList/param[@name='cl']/@value = 'CL1'">       
     
    441469          </xsl:if>
    442470        </xsl:if>
     471        -->
     472       
    443473        <xsl:if test="/page/pageRequest/@action = 'q'">
    444474            #new-banner {
     
    473503        }
    474504          </xsl:if>
    475           <xsl:if test="/page/pageRequest/paramList/param[@name='d']/@va;ie = 'The-Last-Night'">
     505          <xsl:if test="/page/pageRequest/paramList/param[@name='d']/@value = 'The-Last-Night-Video'">
    476506            #new-banner {
    477507              background-image: url(interfaces/<xsl:value-of select="$interface_name"/>/images/banner-images/8-The-Last-Night.png);
     
    488518      </xsl:if>
    489519    </xsl:if>
     520
     521    <xsl:if test="/page/pageRequest/@action = 'p'">
     522      <xsl:if test="/page/pageRequest/@subaction = 'stories'">
     523        <span role="img" aria-label="Tommy Fong at the entrance of the Willow York, image courtesy of Ceri Oakes"><xsl:text>  </xsl:text> </span>
     524      </xsl:if>
     525    </xsl:if>
     526    <!--
    490527    <xsl:if test="/page/pageRequest/@action = 'b'">
    491528      <xsl:if test="/page/pageRequest/paramList/param[@name='cl']/@value = 'CL1'">
     
    493530      </xsl:if>
    494531    </xsl:if>
     532    -->
    495533    <xsl:if test="/page/pageRequest/@action = 'q'">
    496534      <span role="img" aria-label="Willow Disco Rainbow Plaque, image courtesy of York Rainbow Plaques"><xsl:text>  </xsl:text> </span>
     
    514552        <span role="img" aria-label="Vinyl from the Willow Disco, image courtesy of DJ Max"><xsl:text>  </xsl:text> </span>
    515553      </xsl:if>
    516       <xsl:if test="/page/pageRequest/paramList/param[@name='d']/@va;ie = 'The-Last-Night'">
     554      <xsl:if test="/page/pageRequest/paramList/param[@name='d']/@value = 'The-Last-Night-Video'">
    517555        <span role="img" aria-label="The takings from the last night, image courtesy of Vicki Fong"><xsl:text>  </xsl:text> </span>
    518556      </xsl:if>
     
    531569          </xsl:if>
    532570        </xsl:if>
     571       
     572        <xsl:if test="/page/pageRequest/@action = 'p'">
     573          <xsl:if test="/page/pageRequest/@subaction = 'stories'">
     574        Banner image courtesy of Ceri Oakes
     575          </xsl:if>
     576        </xsl:if>
     577        <!--
    533578        <xsl:if test="/page/pageRequest/@action = 'b'">
    534579          <xsl:if test="/page/pageRequest/paramList/param[@name='cl']/@value = 'CL1'">
     
    536581          </xsl:if>
    537582        </xsl:if>
     583        -->
     584       
    538585        <xsl:if test="/page/pageRequest/@action = 'q'">
    539586        Banner image courtesy of York Rainbow Plaques
     
    557604        Banner image courtesy of DJ Max
    558605          </xsl:if>
    559           <xsl:if test="/page/pageRequest/paramList/param[@name='d']/@va;ie = 'The-Last-Night'">
     606          <xsl:if test="/page/pageRequest/paramList/param[@name='d']/@value = 'The-Last-Night-Video'">
    560607        Banner image courtesy of Vicki Fong
    561608          </xsl:if>
    562609        </xsl:if>
    563 
    564 
    565610       
    566611
     
    586631    <li id="stories-tab" class="ui-state-default ui-corner-top ui-state-active">
    587632      <a href="library/collection/{$collName}/page/stories" title="Stories">Stories</a>
    588       <div id="story-list" style="position: absolute; display: none; background-color: #FFFFFF; padding: 0.8rem; border: black solid 1px;">
     633      <div id="story-list">
    589634    <xsl:comment>Location for story list</xsl:comment>
    590635      </div>
Note: See TracChangeset for help on using the changeset viewer.