Changeset 6253


Ignore:
Timestamp:
May 25, 2021, 4:11:50 PM (2 years ago)
Author:
Nicklas Nordborg
Message:

References #1290: Implement a variant search extension

Display an animation in the Variant details dialog in case loading the information takes some time.

Location:
extensions/net.sf.basedb.varsearch/trunk/resources
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.varsearch/trunk/resources/hit-details.js

    r6173 r6253  
    1313    url += '&lineNo='+Data.int('page-data', 'line');
    1414    url += '&idx='+encodeURIComponent(Data.get('page-data', 'idx'));
    15    
     15    Wizard.showLoadingAnimation('Loading variant data...');
    1616    Wizard.asyncJsonRequest(url, details.detailsLoaded);
    1717  }
     
    2020  {
    2121    Doc.show('variant');
     22    Doc.removeClass('content', 'bottomborder');
    2223    var rba = response.rba;
    2324    var file = response.file;
  • extensions/net.sf.basedb.varsearch/trunk/resources/hit-details.jsp

    r6173 r6253  
    3232<base:head
    3333  scripts="tabcontrol-2.js,~hit-details.js,~varsearch.js"
    34   styles="tabcontrol.css"
     34  styles="tabcontrol.css,~css/varsearch.css"
    3535>
    3636<style>
     
    4949  white-space: nowrap;
    5050}
     51#wizard-status
     52{
     53  margin-top: 1.75em;
     54}
    5155</style>
    5256</base:head>
     
    5862  ></div>
    5963
    60   <div class="content">
     64  <div class="content bottomborder" id="content">
    6165  <t:tabcontrol
    6266    id="variant"
  • extensions/net.sf.basedb.varsearch/trunk/resources/varsearch.js

    r6249 r6253  
    223223  varsearch.niceCount = function(count)
    224224  {
    225     return count.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1,');
     225    return count.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1&#8239;'); // &#8239; == NARROW NO-BREAK SPACE
    226226  }
    227227
Note: See TracChangeset for help on using the changeset viewer.