From cf2c56c7061b7ed40fdd3b40a352ddb9c9b7371f Mon Sep 17 00:00:00 2001 From: alexwl Date: Tue, 2 Oct 2018 13:17:04 +0300 Subject: Initial commit --- javascript/app/templates/package.hbs | 57 ++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 javascript/app/templates/package.hbs (limited to 'javascript/app/templates/package.hbs') diff --git a/javascript/app/templates/package.hbs b/javascript/app/templates/package.hbs new file mode 100644 index 0000000..c8ed0dc --- /dev/null +++ b/javascript/app/templates/package.hbs @@ -0,0 +1,57 @@ +
+
+ {{#link-to 'package' model}}{{model.id}}{{/link-to}} + + {{#input-with-autocomplete + onSubmit=(action 'searchIdentifier') + createSearchUrlFunction=createSearchUrlFunction + maxItems=10 + selectItem=(action 'showIdentifier') + placeholder="Identifier" as |identifier|}} + {{identifier.demangledOccName}} :: {{type-signature-text components=identifier.idType.components}} +
+ {{#if identifier.locationInfo.modulePath}} + {{identifier.locationInfo.modulePath}} + {{else}} + {{identifier.locationInfo.moduleName}} + {{/if}} +
+ {{/input-with-autocomplete}} +
+ {{#if currentFile}} + + {{currentFile}} + + {{/if}} +
+
+ {{#resizable-panel class="left-panel" alsoResizeElementId="#right-panel" as |hide|}} +
+ {{file-tree directoryTree=model.directoryTree openFile="openFile" currentFile=currentFile packageId=model.id hide=hide}} +
+ {{/resizable-panel}} +
+
+ {{outlet}} +
+ {{#bottom-panel visible=bottomPanelVisible topPanelElementId="#file-container" containerElementId="#right-panel" as |section|}} + {{#if (eq section "header")}} + References to {{occName}} in {{packageId}} + {{else}} + {{#paginated-list url=referencesUrl as |files|}} + + {{/paginated-list}} + {{/if}} + {{/bottom-panel}} +
+
+
-- cgit v1.2.3