forked from hyperledger-archives/composer
-
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
Showing
142 changed files
with
1,540 additions
and
3,103 deletions.
There are no files selected for viewing
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
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
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
2 changes: 0 additions & 2 deletions
2
packages/composer-playground/src/app/about/about.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,9 +1,7 @@ | ||
<div class="about"> | ||
<h2>About</h2> | ||
<p> | ||
{{playground.name}}: v{{playground.version}} <br> | ||
{{common.name}}: v{{common.version}} <br> | ||
{{client.name}}: v{{client.version}} <br> | ||
{{admin.name}}: v{{admin.version}} | ||
</p> | ||
</div> |
2 changes: 1 addition & 1 deletion
2
packages/composer-playground/src/app/about/about.component.scss
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
Empty file.
49 changes: 27 additions & 22 deletions
49
packages/composer-playground/src/app/addidentity/addidentity.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,24 +1,29 @@ | ||
<div bsModal #modal="bs-modal" class="modal fade" tabindex="-1" (onShow)="onShow();" (onHidden)="onHidden();"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<button type="button" class="close" (click)="modal.hide();"> | ||
<span>×</span> | ||
</button> | ||
<h4 class="modal-title">Add identity</h4> | ||
</div> | ||
<div class="modal-body"> | ||
<label for="userID">User ID</label> | ||
<input class="form-control w-100" type="text" [(ngModel)]="userID" id="userID" autocomplete="off"> | ||
<label for="userSecret" class="mt-2">User secret</label> | ||
<input class="form-control w-100" type="password" [(ngModel)]="userSecret" id="userSecret" autocomplete="off"> | ||
<button type="button" class="btn btn-primary mt-2" (click)="add(); modal.hide();" [disabled]="!userID || !userSecret"> | ||
<span>Add</span> | ||
</button> | ||
<button type="button" class="btn btn-primary mt-2" (click)="modal.hide();"> | ||
<span>Cancel</span> | ||
</button> | ||
</div> | ||
</div> | ||
<div class="add-identity"> | ||
<div class="modal-header"> | ||
<button type="button" class="close" (click)="modal.hide();"> | ||
<span>×</span> | ||
</button> | ||
<h4 class="modal-title">Add identity</h4> | ||
</div> | ||
<div class="modal-body"> | ||
<label for="userID">User ID</label> | ||
<input type="text" [(ngModel)]="userID" id="userID" autocomplete="off"> | ||
<label for="userSecret">User secret</label> | ||
<input type="password" [(ngModel)]="userSecret" id="userSecret" autocomplete="off"> | ||
</div> | ||
<footer> | ||
<button type="button" class="secondary" (click)="activeModal.dismiss();"> | ||
<span>Cancel</span> | ||
</button> | ||
<button type="button" (click)="add()" [disabled]="!userID || !userSecret"> | ||
<span>Add</span> | ||
<div *ngIf="addInProgress" class="ibm-spinner-indeterminate small loop"> | ||
<div class="loader"> | ||
<svg class="circular" viewBox="25 25 50 50"> | ||
<circle class="circle-path" cx="50" cy="50" r="20"/> | ||
</svg> | ||
</div> | ||
</div> | ||
</button> | ||
</footer> | ||
</div> |
14 changes: 14 additions & 0 deletions
14
packages/composer-playground/src/app/addidentity/addidentity.component.scss
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,14 @@ | ||
@import '../../assets/styles/base/_colors.scss'; | ||
@import '../../assets/styles/base/_variables.scss'; | ||
|
||
add-identity-modal { | ||
.add-identity { | ||
footer { | ||
.circle-path { | ||
stroke: $white; | ||
} | ||
|
||
width: 100%; | ||
} | ||
} | ||
} |
Oops, something went wrong.