Changeset 4403


Ignore:
Timestamp:
01/30/14 15:57:43 (10 years ago)
Author:
twagoo
Message:

added expandable details for records in search results in mockup

Location:
vlo/branches/vlo-3.0/vlo-web-app/src/main/html
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.0/vlo-web-app/src/main/html/index.html

    r4402 r4403  
    149149                    <div class="rbottom"><div class="r4"></div><div class="r3"></div><div class="r2"></div><div class="r1"></div></div>
    150150                </div>
    151                
     151
    152152                <div class="sidebaritem facet collapsedfacet">
    153153                    <!-- rounded corners - top **** -->
     
    178178                    <div class="rbottom"><div class="r4"></div><div class="r3"></div><div class="r2"></div><div class="r1"></div></div>
    179179                </div>
    180                
    181                
     180
     181
    182182                <div class="sidebaritem facet collapsedfacet">
    183183                    <!-- rounded corners - top **** -->
     
    355355                                <a href="record1.html">"Chinese Democratie en de Transformatie"</a>
    356356                            </h2>
    357                             <div class="searchresultcollection">UBU CLARIN</div>
    358                             <p class="searchresultdescription">
    359                                 In China (and specifically in Beijing) of the late seventies, the call for a democracy movement was growing ever stronger, before finally being silenced by the new regime under Deng Xiaoping. This paper exmaines both the historical sources and the eventual outcome of this movement during the anxious years of '78-'79.
    360                             </p>
    361                             <p class="searchresultresources">
    362                                 Resources: <a href="record1.html">1 written resource</a>, <a href="record1.html">1 audio file</a>
    363                             </p>
     357                            <div class="searchresultitembrief">
     358                                <div class="searchresultcollection">UBU CLARIN</div>
     359                                <p class="searchresultdescription">
     360                                    In China (and specifically in Beijing) of the late seventies, the call for a democracy movement was growing ever stronger, before finally being silenced by the new regime under Deng Xiaoping...
     361                                </p>
     362                                <p class="searchresultresources">
     363                                    Resources: <a href="record1.html">1 written resource</a>, <a href="record1.html">1 audio file</a>
     364                                </p>
     365                                <p class="searchresultmoreless"><a href="#" class="searchresultdetailstoggle">more detail</a></p>
     366                            </div>
     367
     368                            <div class="searchresultitemextended">
     369                                <div class="searchresultcollection">UBU CLARIN</div>
     370                                <p class="searchresultdescription">
     371                                    In China (and specifically in Beijing) of the late seventies, the call for a democracy movement was growing ever stronger, before finally being silenced by the new regime under Deng Xiaoping. This paper exmaines both the historical sources and the eventual outcome of this movement during the anxious years of '78-'79.
     372                                </p>
     373                                <p class="searchresultattributes">
     374                                    <table class="recorddetailstable">
     375                                        <tbody class="attributesTbody">
     376                                            <tr>
     377                                                <td class="attribute">
     378                                                    <div>Genre</div>
     379                                                </td><td class="attributeValue">
     380                                                    <div>info:eu-repo/semantics/bachelorthesis <a class="recordfacetselect" title="Search for similar" href="index.html"><span>[search for similar]</span></a></div>
     381                                                </td>
     382                                            </tr><tr>
     383                                                <td class="attribute">
     384                                                    <div>Languages</div>
     385                                                </td><td class="attributeValue">
     386                                                    <div>Dutch <a class="recordattributeinfo" href="http://infra.clarin.eu/service/language/info.php?code=nld"><span>[info]</span></a> <a class="recordfacetselect" title="Search for similar" href="index.html"><span>[search for similar]</span></a></div>
     387                                                </td>
     388                                            </tr><tr>
     389                                                <td class="attribute">
     390                                                    <div>National project</div>
     391                                                </td><td class="attributeValue">
     392                                                    <div>CLARIN-NL <a class="recordfacetselect" title="Search for similar" href="index.html"><span>[search for similar]</span></a></div>
     393                                                </td>
     394                                            </tr><tr>
     395                                                <td class="attribute">
     396                                                    <div>Resource class</div>
     397                                                </td><td class="attributeValue">
     398                                                    <div>text <a class="recordfacetselect" title="Search for similar" href="index.html"><span>[search for similar]</span></a></div>
     399                                                </td>
     400                                            </tr>
     401                                        </tbody>
     402                                    </table>
     403
     404                                    <h3>Resources</h3>
     405                                    <ul>
     406                                        <li class="writtenresource"><a href="">http://dspace.library.uu.nl/bitstream/1874/235456/1/Bachelorscriptie+Rene+Witteveen+3375005.docx</a></li>
     407                                        <li class="audioresource"><a href="">http://corpus1.mpi.nl/qfs1/media-archive/dobes_data/Ache/Documentaci_n_-_Documentation/Comunidades_-_Communities/Cerro_Moroti/Media/002-djawu_klluu-2011-09-01.wav</a></li>
     408                                        <li class="annotationresource"><a href="">http://corpus1.mpi.nl/qfs1/media-archive/dobes_data/Ache/Documentaci_n_-_Documentation/Comunidades_-_Communities/Cerro_Moroti/Annotations/002-djawu_klluu-2011-09-01.eaf</a></li>
     409                                    </ul>
     410
     411                                </p>
     412
     413                                <p class="searchresultfullrecord">
     414                                    <a href="record1.html">View full record</a>
     415                                </p>
     416                                <p class="searchresultmoreless">
     417                                    <a href="#" class="searchresultdetailstoggle">less detail</a>
     418                                </p>
     419                            </div>
     420                            <div class="searchresultitemend"></div>
    364421                        </li>
    365422                        <li class="searchresultitem">
     
    369426                            <div class="searchresultcollection">UBU CLARIN</div>
    370427                            <p class="searchresultdescription">
    371                                 Mogelijke implicaties van het 'zichzelf zien'(zoals de vroege romanticus Jean Paul Richter het dubbelgangermotief benoemde), werkte E.T.A. Hoffmann uit in de experimentele tekst PRINZESSIN BRAMBILLA. Daarin verbindt de auteur genoemd motief met de thema's carnaval, theater en de nieuwe romantische mythe. Deze variant van het literaire motief werd geanalyseerd in het licht van Lacans theorie (zoals specifiek vastgelegd in twee van diens artikelen) over het 'spiegelstadium'. Dit heeft bijgedragen aan de 'ontginning' van een zeldzame variant van de dubbelformatie in de literatuur en heeft daarbij Lacans theorie over de orde van het imaginaire in de context van dit onderzoek tastbaarder gemaakt.
     428                                Mogelijke implicaties van het 'zichzelf zien'(zoals de vroege romanticus Jean Paul Richter het dubbelgangermotief benoemde), werkte E.T.A. Hoffmann uit in de experimentele tekst PRINZESSIN BRAMBILLA. Daarin verbindt de auteur...
    372429                            </p>
    373430                            <p class="searchresultresources">
     
    393450                            <div class="searchresultcollection">UBU CLARIN</div>
    394451                            <p class="searchresultdescription">
    395                                 Presentatie: Felix Meurders. Hij wordt bijgestaan door een Mediaraad, die gedurende het programma commentaar levert op de onderwerpen. Vaste onderdelen: deleugenregeert.nl en een media-analyse door Francisco van Jole.
    396                                 Serie praatprogramma's over de berichtgeving van het nieuws door de Nederlandse media. Presentatie: Felix Meurders. De Mediaraad geeft gedurende de gehele uitzending commentaar op de gespreksonderwerpen.
    397                                 In deze aflevering, waarin de Mediaraad bestaat uit journalist Tijs van den Brink (EO) en freelance journalist Ton van Dijk:
     452                                Presentatie: Felix Meurders. Hij wordt bijgestaan door een Mediaraad, die gedurende het programma commentaar levert op de onderwerpen. Vaste onderdelen: deleugenregeert.nl en een media-analyse door Francisco van Jole. Serie...
    398453                            </p>
    399454                            <p class="searchresultresources">
  • vlo/branches/vlo-3.0/vlo-web-app/src/main/html/js/vlo-search.js

    r4337 r4403  
    1818
    1919$(document).ready(function() {
    20     $(".searchresultdescription").addClass("truncate");
    21     // extend on hover? not so nice this way, disabled for now
    22 //    $(".searchresultdescription").hover(
    23 //            function() {
    24 //                /* in */
    25 //                $(this).removeClass("truncate");
    26 //                $(this).addClass("extended");
    27 //            },
    28 //            function() {
    29 //                /* out */
    30 //                $(this).addClass("truncate");
    31 //                $(this).removeClass("extended");
    32 //            });
     20    $(".searchresultitemextended").hide();
     21   
     22    $("a.searchresultdetailstoggle").click(function(event) {
     23        event.preventDefault();
     24        var item = $(this).parents(".searchresultitem");
     25        item.find(".searchresultitembrief").toggle();
     26        item.find(".searchresultitemextended").toggle();
     27    });
    3328});
  • vlo/branches/vlo-3.0/vlo-web-app/src/main/html/style/style.css

    r4402 r4403  
    220220/* page content (centre) */
    221221#content
    222 { text-align: justify;
     222{
    223223  width: 697px; /* used to be 384px  */
    224224  padding: 26px 0px 15px 9px;
  • vlo/branches/vlo-3.0/vlo-web-app/src/main/html/style/vlo-record.css

    r4402 r4403  
    8484    border-collapse: collapse;
    8585    border-top: 1px solid #999;
     86    width: 100%;
    8687}
    8788
  • vlo/branches/vlo-3.0/vlo-web-app/src/main/html/style/vlo-search.css

    r4402 r4403  
    9696}
    9797
    98 .truncate {
    99     /* limit description to one line */
    100     white-space: nowrap;
    101     width: 100%;
    102     overflow: hidden;
    103     text-overflow: ellipsis;
    104     max-height: 1em;
     98p.searchresultresources, p.searchresultfullrecord {
     99    width: 70%;
     100    float: left;
     101    clear: left;
     102    padding: 0px;
     103}
     104
     105p.searchresultattributes {
     106    padding: 0px 0px 8px 0px;
     107}
     108
     109p.searchresultmoreless {
     110    width: 20%;
     111    float: right;
     112    text-align: right;
     113    padding: 0px;
    105114}
    106115
     
    109118    text-align: center;
    110119}
     120
     121
     122div.searchresultitemend {
     123    clear: both;
     124    height: 0px;
     125    margin: 0px;
     126    padding: 0px;
     127    width: 0px;
     128}
Note: See TracChangeset for help on using the changeset viewer.