diff options
author | Yuchen Pei <hi@ypei.me> | 2022-09-19 11:22:21 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-09-19 11:22:21 +1000 |
commit | ef1b927861f9a949aed20341144ffb5bfd42f038 (patch) | |
tree | 48bd4688928546bedc6504aad76bf6e0327fcef9 /javascript/app/templates/package | |
parent | 117850d8f659517cb818a857dc04c8f5157795c4 (diff) |
Removing the web client
Diffstat (limited to 'javascript/app/templates/package')
-rw-r--r-- | javascript/app/templates/package/index.hbs | 12 | ||||
-rw-r--r-- | javascript/app/templates/package/search.hbs | 21 | ||||
-rw-r--r-- | javascript/app/templates/package/show.hbs | 1 | ||||
-rw-r--r-- | javascript/app/templates/package/show/file.hbs | 16 |
4 files changed, 0 insertions, 50 deletions
diff --git a/javascript/app/templates/package/index.hbs b/javascript/app/templates/package/index.hbs deleted file mode 100644 index 06ccd0d..0000000 --- a/javascript/app/templates/package/index.hbs +++ /dev/null @@ -1,12 +0,0 @@ -<div class="package-modules"> - <div class="module-search-input"> - {{input class="form-control" type="text" value=query placeholder="Module name"}} - </div> - <ul class="modules"> - {{#each modulesFiltered as |module|}} - <li> - <a href="/package/{{model.id}}/show/{{module}}">{{module}}</a> - </li> - {{/each}} - </ul> -</div> diff --git a/javascript/app/templates/package/search.hbs b/javascript/app/templates/package/search.hbs deleted file mode 100644 index 37b3992..0000000 --- a/javascript/app/templates/package/search.hbs +++ /dev/null @@ -1,21 +0,0 @@ -<div class="search-results-header"> - Query : {{model.query}} -</div> -<div class="search-results-content"> - {{#paginated-list url=model.url as |identifiers|}} - <ul> - {{#each identifiers as |identifier|}} - <li class="search-result"> - <span class="source-code" ><b>{{identifier.demangledOccName}}</b> :: {{type-signature-text components=identifier.idType.components}}</span> - <div><a href="#" onmouseup={{action "goToDefinition" identifier.locationInfo}}>Go to definition</a></div> - <div class="identifier-module"> - {{#if identifier.locationInfo.modulePath}} - Defined in <a href="/package/{{identifier.locationInfo.packageId.name}}-{{identifier.locationInfo.packageId.version}}/show/{{identifier.locationInfo.modulePath}}">{{identifier.locationInfo.modulePath}}</a> - {{/if}} - </div> - <div>{{{identifier.doc}}}</div> - </li> - {{/each}} - </ul> - {{/paginated-list}} -</div> diff --git a/javascript/app/templates/package/show.hbs b/javascript/app/templates/package/show.hbs deleted file mode 100644 index c24cd68..0000000 --- a/javascript/app/templates/package/show.hbs +++ /dev/null @@ -1 +0,0 @@ -{{outlet}} diff --git a/javascript/app/templates/package/show/file.hbs b/javascript/app/templates/package/show/file.hbs deleted file mode 100644 index 0d356e5..0000000 --- a/javascript/app/templates/package/show/file.hbs +++ /dev/null @@ -1,16 +0,0 @@ -{{#if model.isHaskellModule}} - {{haskell-module - path=model.id - name=model.name - packageId=model.packageId - componentId=model.componentId - html=model.sourceCodeHtml - identifiers=model.identifiers - occurrences=model.occurrences - colorTheme=settings.colorTheme - declarations=model.declarations - findReferences=(action "findReferences") - }} -{{else}} - {{text-file text=model.text path=model.id}} -{{/if}} |