-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2231f6
commit 56103e0
Showing
9 changed files
with
44 additions
and
32 deletions.
There are no files selected for viewing
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
var zipFolder = require('zip-folder'); | ||
|
||
zipFolder('./dist/chrome-plugin', './dist/hal-chrome-plugin.zip', function(err) { | ||
console.log('Could not generate extension zip! ' + err); | ||
process.exit('-1'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 16 additions & 14 deletions
30
projects/hal-render-component/src/lib/hal-render.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
<ul [ngClass]="'ul-wrapper'"> | ||
<li [ngClass]="'header-li'"> | ||
<a *ngIf="isCurrentViewTree()" href="javascript:void(0)" (click)="viewRaw()" [ngClass]="'header-link-w-space'">Show raw</a> | ||
<a *ngIf="isCurrentViewRaw()" href="javascript:void(0)" (click)="viewTree()" [ngClass]="'header-link-w-space'">Show tree</a> | ||
<a *ngIf="isCurrentViewTree()" href="javascript:void(0)" (click)="expandAll()" [ngClass]="'header-link-w-space'">Expand all</a> | ||
<a *ngIf="isCurrentViewTree()" href="javascript:void(0)" (click)="colapseAll()"[ngClass]="'header-link-no-space'">Colapse all</a> | ||
<pre [ngClass]="'header-version'" >version:{{versionFromChromeManifest()}}</pre> | ||
</li> | ||
<li *ngIf="isCurrentViewTree()"> | ||
<hrc-json-object-node *ngIf="root" [node]="root"></hrc-json-object-node> | ||
</li> | ||
<li *ngIf="isCurrentViewRaw()"> | ||
<div ngClass="wrapper"> | ||
<div ngClass="header"> | ||
<a *ngIf="isCurrentViewTree()" href="javascript:void(0)" (click)="viewRaw()" ngClass="header-link-w-space">Show raw</a> | ||
<a *ngIf="isCurrentViewRaw()" href="javascript:void(0)" (click)="viewTree()" ngClass="header-link-w-space">Show tree</a> | ||
<a *ngIf="isCurrentViewTree()" href="javascript:void(0)" (click)="expandAll()" ngClass="header-link-w-space">Expand all</a> | ||
<a *ngIf="isCurrentViewTree()" href="javascript:void(0)" (click)="colapseAll()"ngClass="header-link-no-space">Colapse all</a> | ||
<pre ngClass="header-version" >version:{{versionFromChromeManifest()}}</pre> | ||
</div> | ||
<div *ngIf="isCurrentViewTree()" ngClass="content"> | ||
<ul> | ||
<hrc-json-object-node *ngIf="root" [node]="root"></hrc-json-object-node> | ||
</ul> | ||
</div> | ||
<div *ngIf="isCurrentViewRaw()" ngClass="content"> | ||
<pre id="raw-json">{{json}}</pre> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> |
4 changes: 2 additions & 2 deletions
4
...-object-node/json-object-node-leaf/json-property-value/json-property-value.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<pre *ngIf="isSimpleProperty()" [ngClass]="propValueStyleClass()">{{value()}}</pre> | ||
<a *ngIf="isLinkProperty()" [ngClass]="'leaf-string-property-link-value'" href="{{linkHref()}}">{{value()}}</a> | ||
<a *ngIf="isLinkProperty()" ngClass="leaf-string-property-link-value" href="{{linkHref()}}">{{value()}}</a> | ||
<uri-template-editor *ngIf="isTemplatedLink()" [uriTemplate]="node.value"></uri-template-editor> | ||
<pre *ngIf="!node.lastItem" [ngClass]="'leaf-property-separator'">,</pre> | ||
<pre *ngIf="!node.lastItem" ngClass="leaf-property-separator">,</pre> |