diff options
Diffstat (limited to 'javascript/app/templates/components')
-rw-r--r-- | javascript/app/templates/components/haskell-module.hbs | 6 | ||||
-rw-r--r-- | javascript/app/templates/components/identifier-name.hbs | 2 | ||||
-rw-r--r-- | javascript/app/templates/components/paginated-list.hbs | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/javascript/app/templates/components/haskell-module.hbs b/javascript/app/templates/components/haskell-module.hbs index 77b9df7..6f1d0f5 100644 --- a/javascript/app/templates/components/haskell-module.hbs +++ b/javascript/app/templates/components/haskell-module.hbs @@ -1,14 +1,14 @@ <div class="source-code-container"></div> {{#if declarations}} <div class="declarations"> - <div class="declarations-header"> + <div class="declarations-header"> <div class="input-group"> {{input class="form-control" value=query placeholder="Identifier"}}<a class="hide-declarations" href="#" {{action "toggleShowDeclarations"}}>{{showDeclarationsLabel}}</a> </div> </div> {{#if showDeclarations}} - <div id="declarations-content" class="declarations-content"> - <ul> + <div id="declarations-content" class="declarations-content"> + <ul> {{#infinite-list containerElementId="declarations-content" elements=filteredDeclarations perPage=30 as |declaration|}} <li class="declaration"> <div class="declaration"> diff --git a/javascript/app/templates/components/identifier-name.hbs b/javascript/app/templates/components/identifier-name.hbs index ca16e23..4f7b764 100644 --- a/javascript/app/templates/components/identifier-name.hbs +++ b/javascript/app/templates/components/identifier-name.hbs @@ -2,7 +2,7 @@ <span class="source-code-font break-word identifier-menu-item" style={{style}}>{{#if identifierInfo.demangledOccName}}{{identifierInfo.demangledOccName}}{{else}}{{name}}{{/if}}</span> {{#unless isBinder}} {{#if location}} - <span class="identifier-menu-item">{{location}}</span> + <span class="identifier-menu-item">{{location}}</span> <span class="link identifier-menu-item" onmouseup={{action "goToDefinition"}}>Go to definition</span> {{/if}} {{/unless}} diff --git a/javascript/app/templates/components/paginated-list.hbs b/javascript/app/templates/components/paginated-list.hbs index 82d4eee..5184e07 100644 --- a/javascript/app/templates/components/paginated-list.hbs +++ b/javascript/app/templates/components/paginated-list.hbs @@ -1,4 +1,4 @@ -<div class="paginated-list-header"> +<div class="paginated-list-header"> <span>Found {{total}} {{{foundWhere}}}</span> {{#if (or next prev)}} @@ -10,8 +10,8 @@ {{#if next}}<button button class="btn btn-outline-secondary btn-sm" {{action "update" next.href}}>></button>{{/if}} {{#if last}}<button button class="btn btn-outline-secondary btn-sm" {{action "update" last.href}}>>></button>{{/if}} </span> - {{/if}} + {{/if}} </div> <div class="paginated-list-content"> - {{yield items}} + {{yield items}} </div> |