Skip to content

Commit

Permalink
adding explore button to modal popup
Browse files Browse the repository at this point in the history
fixes #250
  • Loading branch information
AnalogJ committed Sep 10, 2023
1 parent 8b6c321 commit dc7d5a5
Showing 1 changed file with 21 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,27 @@ <h6>Manage Source</h6>
</div>

<div class="modal-footer">
<button (click)="sourceSyncHandler(modalSelectedSourceListItem.source)" type="button" class="btn btn-indigo">Sync</button>
<!-- <button (click)="connectHandler($event, modalSelectedSourceListItem.source['source_type'])" type="button" class="btn btn-outline-light">Reconnect</button>-->
<button type="button" class="btn disabled btn-outline-danger">Delete</button>

<a routerLink="/explore/{{modalSelectedSourceListItem?.source?.id}}" (click)="modal.close()" type="button" class="btn btn-indigo mr-auto">Explore</a>


<div class="d-inline-block" ngbDropdown #actionsDrop="ngbDropdown">
<button
type="button"
class="btn btn-outline-indigo me-2"
id="dropdownManual"
ngbDropdownAnchor
(focus)="actionsDrop.open()"
>
Actions...
</button>
<div ngbDropdownMenu aria-labelledby="dropdownManual">
<button ngbDropdownItem (click)="sourceSyncHandler(modalSelectedSourceListItem.source)" type="button" class="btn btn-indigo">Sync</button>
<!-- <button ngbDropdownItem (click)="connectHandler($event, modalSelectedSourceListItem.source['source_type'])" type="button" class="btn btn-outline-light">Reconnect</button>-->
<button ngbDropdownItem type="button" class="btn disabled btn-outline-danger">Reconnect</button>
<button ngbDropdownItem type="button" class="btn disabled btn-outline-danger">Delete</button>
</div>
</div>
<button (click)="modal.dismiss('Close click')" type="button" class="btn btn-outline-light">Close</button>
</div>
</ng-template>
Expand Down

0 comments on commit dc7d5a5

Please # to comment.