Changeset 5580


Ignore:
Timestamp:
08/20/14 14:23:59 (10 years ago)
Author:
Twan Goosen
Message:

Fixed broken tooltips by changing 'tooltip' class name (clashes with bootstrap) to 'tooltipcontent'

Location:
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui/pages/BasePage.html

    r5579 r5580  
    88        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    99        <link href="css/vcr.css" rel="stylesheet" type="text/css" />
    10         <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
     10        <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" />
    1111    </head>
    1212    <body>
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui/wizard/AddResourcesDialog$Content.html

    r5531 r5580  
    1111                    <div class="required">
    1212                        <label id="typelabel" class="tooltipparent" for="add_resources_type">Type
    13                             <span class="tooltip">
     13                            <span class="tooltipcontent">
    1414                                Type of reference<br /><br />
    1515                                Metadata: the referenced item is a CMDI metadata document that
     
    2323                    <div class="required">
    2424                        <label id="referenceslabel" class="tooltipparent" for="add_resources_refs">References
    25                             <span class="tooltip">
     25                            <span class="tooltipcontent">
    2626                                List of references of the specified type to add.
    2727                                Each line should consist of one PID or URI.
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui/wizard/CreateVirtualCollectionWizard$CreatorsStep.html

    r5574 r5580  
    2626                </div>
    2727                <label>Creators<br />
    28                     <a id="add" href="#" wicket:id="add" class="add tooltipparent"><span>[add]</span><span class="tooltip">Add a new creator</span></a><br />
    29                     <a id="addme" href="#" wicket:id="addme" class="add tooltipparent"><span>[add me]</span><span class="tooltip">Add a new creator with the available user details already filled in</span></a>
     28                    <a id="add" href="#" wicket:id="add" class="add tooltipparent"><span>[add]</span><span class="tooltipcontent">Add a new creator</span></a><br />
     29                    <a id="addme" href="#" wicket:id="addme" class="add tooltipparent"><span>[add me]</span><span class="tooltipcontent">Add a new creator with the available user details already filled in</span></a>
    3030                </label>
    3131                <table wicket:id="creatorsTable" class="creatorsTable display"></table>
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui/wizard/CreateVirtualCollectionWizard$GeneralStep.html

    r5537 r5580  
    2525                <div class="required">
    2626                    <label id="namelabel" class="tooltipparent" for="gen_vc_name">Name
    27                         <span class="tooltip">
     27                        <span class="tooltipcontent">
    2828                            A short but descriptive name of the virtual collection for listings and views
    2929                        </span>
     
    3434                <div class="required">
    3535                    <label id="typelabel" class="tooltipparent" for="gen_vc_type">Type
    36                         <span class="tooltip">
     36                        <span class="tooltipcontent">
    3737                            Type of Virtual Collection, either intensional or extensional<br /><br />
    3838                            <b>Extensional</b>: Type of virtual collection that explicitly enumerates the references to resources or metadata documents that make up the collection<br /><br />
     
    4545                <div class="optional">
    4646                    <label id="descriptionlabel" class="tooltipparent" for="gen_vc_desc">Description
    47                         <span class="tooltip">
     47                        <span class="tooltipcontent">
    4848                            A prose description of this virtual collection
    4949                        </span>
     
    5454                <div class="optional">
    5555                    <label id="purposelabel" class="tooltipparent" for="gen_vc_purpose">Purpose
    56                         <span class="tooltip">
     56                        <span class="tooltipcontent">
    5757                            An indication of the intended usage of the present virtual collection<br /><br />
    5858                            <b>Research</b>: The virtual collection bundles resources that are relevant to a specific research (question).<br /><br />
     
    6666                <div class="optional">
    6767                    <label id="reproducibilitylabel" class="tooltipparent" for="gen_vc_reproducibility">Reproducibility
    68                         <span class="tooltip">
     68                        <span class="tooltipcontent">
    6969                            An indication of the degree to which results obtained from processing of the present collection can be expected to be stable<br /><br />
    7070                            <b>Intended</b>: Processing results can be expected to remain stable<br /><br />
     
    7878                <div class="optional">
    7979                    <label id="repronotelabel" class="tooltipparent" for="gen_vc_reproducibility_notice">Reproducibility Notice
    80                         <span class="tooltip">
     80                        <span class="tooltipcontent">
    8181                            Optional note describing the expected reproducibility of processing results in more detail
    8282                        </span>
     
    8888                    <label id="keywordslabel" class="tooltipparent" >Keywords<br /><a href="#"
    8989                                                                                      wicket:id="keywordsAdd" class="add"><span>[add]</span></a>
    90                         <span class="tooltip">
     90                        <span class="tooltipcontent">
    9191                            A set of words or short phrases, each signifying a salient facet of the present virtual collection
    9292                        </span>
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui/wizard/CreateVirtualCollectionWizard$GeneratedByStep.html

    r5531 r5580  
    1111    <h4>Note</h4>
    1212    <p class="last">
    13         Intensional virtual collections are very experimental. Use at own risk!
     13        Intensional virtual collections are very experimental.
     14        <strong>Use at own risk!</strong>
    1415    </p>
    1516  </div>
    1617  <div class="required">
    1718     <label id="descriptionlabel" class="tooltipparent" for="gen_desc">Description
    18          <span class="tooltip">
     19         <span class="tooltipcontent">
    1920             A prose description of the procedure by which the collection items can be retrieved from the external service.
    2021         </span>
     
    2526  <div class="optional">
    2627     <label id="urilabel" class="tooltipparent" for="gen_uri">URI
    27          <span class="tooltip">
     28         <span class="tooltipcontent">
    2829            The location of the service from which the items should be retrieved. This value may be a persistent identifier, but could also be a plain URI although this is advised against for published collections.
    2930         </span>
     
    3435  <div class="optional">
    3536     <label id="profilelabel" class="tooltipparent" for="gen_query_profile">Query Profile
    36          <span class="tooltip">
     37         <span class="tooltipcontent">
    3738            Identifier of the mechanism, i.e. the protocol to be used, by which the members of the virtual collection should be retrieved. A application exploiting the query can use this to use a proper driver to talk to the service. Example: In case of CLARIN-FCS access the endpoint by FCS-compatible means.
    3839         </span>
     
    4344  <div class="optional">
    4445     <label id="valuelabel" class="tooltipparent" for="gen_query_value">Query value
    45          <span class="tooltip">
     46         <span class="tooltipcontent">
    4647            The query that should be passed on to the service by which it can look up the items that are part of this collection. This value should be in the query language supported by the service. Example: In case of CLARIN-FCS, this value is the CQL query to be send to the endpoint.
    4748         </span>
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui/wizard/CreateVirtualCollectionWizard$ResourcesStep.html

    r5578 r5580  
    4040                <div wicket:id="resourcesContainer">
    4141                    <label class="required">Resources<br />
    42                         <a id="add" wicket:id="add" href="#" class="add tooltipparent"><span>[add]</span><span class="tooltip">Add a single new resource or metadata reference with an optional label and/or description</span></a><br />
    43                         <a id="addmore" wicket:id="addMore" href="#" class="addMore tooltipparent"><span>[add more]</span><span class="tooltip">Add one or reference of the same type</span></a>
     42                        <a id="add" wicket:id="add" href="#" class="add tooltipparent"><span>[add]</span><span class="tooltipcontent">Add a single new resource or metadata reference with an optional label and/or description</span></a><br />
     43                        <a id="addmore" wicket:id="addMore" href="#" class="addMore tooltipparent"><span>[add more]</span><span class="tooltipcontent">Add one or reference of the same type</span></a>
    4444                    </label>
    4545                    <table wicket:id="resourcesTable" class="resourcesTable display"></table>
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui/wizard/EditResourceDialog$Content.html

    r5532 r5580  
    1111                    <div class="required">
    1212                        <label id="typelabel" class="tooltipparent" for="edit_resource_type">Type
    13                             <span class="tooltip">
     13                            <span class="tooltipcontent">
    1414                                Type of reference<br /><br />
    1515                                Metadata: the referenced item is a CMDI metadata document that
     
    2323                    <div class="required">
    2424                        <label id="referencelabel" class="tooltipparent" for="edit_resource_ref">Reference
    25                             <span class="tooltip">
     25                            <span class="tooltipcontent">
    2626                                A PID or other type or URI identifying or locating the resource
    2727                                or metadata file
     
    3232                    <div class="optional">
    3333                        <label id="labellabel" class="tooltipparent" for="edit_resource_label">Label
    34                             <span class="tooltip">
     34                            <span class="tooltipcontent">
    3535                                An optional label for this reference providing a short description
    3636                                of the item, to be shown instead of or in addition to the URI
     
    4141                    <div class="optional">
    4242                        <label id="descriptionlabel" class="tooltipparent" for="edit_resource_description">Description
    43                             <span class="tooltip">
     43                            <span class="tooltipcontent">
    4444                                An optional, more detailed description of the referenced item
    4545                            </span>
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui/wizard/wizardhelp.js

    r5531 r5580  
    4242    /* activate tooltip on annotated labels */
    4343    $(".tooltipparent").each(function() {
    44         var tooltip = '#' + $(this).attr('id') + ' .tooltip';
     44        var tooltip = '#' + $(this).attr('id') + ' .tooltipcontent';
    4545        $(this).qtip({
    4646            content: $(tooltip),
     
    5656            }
    5757        });
    58         $(".tooltip", this).hide();
     58        $(".tooltipcontent", this).hide();
    5959    });
    6060}
Note: See TracChangeset for help on using the changeset viewer.