Changeset 4452


Ignore:
Timestamp:
02/06/14 08:06:54 (10 years ago)
Author:
twagoo
Message:

resource details in record page mockup

Location:
vlo/branches/vlo-3.0/vlo-web-app/src/main/html
Files:
1 added
3 edited

Legend:

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

    r4450 r4452  
    2929        $("#recordtechnicaldetailstoggle a").toggle();
    3030    });
     31   
     32    $(".recordresourcedetails").hide();
     33    $("#recordresources > a").click(function(event){
     34        event.preventDefault();
     35        $(".recordresourcedetails").slideToggle('fast');
     36    });
    3137});
  • vlo/branches/vlo-3.0/vlo-web-app/src/main/html/record1.html

    r4450 r4452  
    125125                    <a class="audioresource" 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">002-djawu_klluu-2011-09-01.wav</a>
    126126                    <a class="annotationresource" 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">002-djawu_klluu-2011-09-01.eaf</a>
     127                   
     128                    <div class="recordresourcedetails">
     129                        <h2>Bachelorscriptie+Rene+Witteveen+3375005.docx</h2>
     130                        <ul>
     131                            <li>File type: text file</li>
     132                            <li>Mime type: application/msword</li>
     133                            <li>Location: <a class="resourcedownloadlink" href="http://dspace.library.uu.nl/bitstream/1874/235456/1/Bachelorscriptie+Rene+Witteveen+3375005.docx">http://dspace.library.uu.nl/bitstream/1874/235456/1/Bachelorscriptie+Rene+Witteveen+3375005.docx</a></li>
     134                        </ul>
     135                    </div>
     136                   
    127137                </div>
    128138
  • vlo/branches/vlo-3.0/vlo-web-app/src/main/html/style/vlo-record.css

    r4450 r4452  
    110110}
    111111
    112 #recordresources a {
     112#recordresources > a {
    113113    display: inline-block;
    114114    float: left;
     
    120120    word-break: break-all;
    121121    text-align: center;
     122    margin-bottom: 1em;
    122123}
    123124
    124 #recordresources a:hover {
     125#recordresources > a:hover {
    125126    background-color: #ccc;
    126127}
     
    146147}
    147148
     149.recordresourcedetails {
     150    clear: both;
     151    border: 1px dashed;
     152    margin-left: 2em;
     153    padding: 1em;
     154}
     155
     156.recordresourcedetails a.resourcedownloadlink, .recordresourcedetails a.resourcedownloadlink:hover {
     157    padding-left: 16px;
     158    background: url('downloading-updates-128.png') no-repeat; /* icon from icons8.com */
     159    background-size: 12px;
     160}
     161
    148162/* Technical details */
    149163
     
    154168
    155169#recordcmditoggle {
    156     padding-top: 4em;
     170    padding-top: 2em;
    157171}
    158172
Note: See TracChangeset for help on using the changeset viewer.