Skip to content

Commit

Permalink
Merge GT-2095-Tool-Groups into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
stage-branch-merger[bot] authored Nov 14, 2023
2 parents aecddd5 + d86181e commit cd68683
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="modal-header">
<h5>Connect Resources</h5>
<h5>Connect Tools</h5>
</div>
<div class="modal-body">
<div class="tools" style="max-height: calc(100vh - 350px); overflow-y: auto">
<div class="tools" style="max-height: calc(100vh - 350px); overflow-y: auto; overflow-x: hidden;">
<admin-tool-group-tool-reuseable
*ngFor="let tool of tools"
[tool]="tool"
Expand All @@ -12,7 +12,7 @@ <h5>Connect Resources</h5>
></admin-tool-group-tool-reuseable>
</div>

<button (click)="addResource()" class="btn btn-default">Add Resource</button>
<button (click)="addResource()" class="btn btn-default">Add Tool</button>

<div class="row">
<div class="col">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
(ngModelChange)="handleNegativeRuleChange($event)"
/>
<label class="custom-control-label" for="{{ negativeInputId }}"
>Check this to reverse this rule filters</label
>Exclude {{ name }} Selected</label
>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ <h5 *ngIf="isNewToolGroup">New Tool Group</h5>
</ngb-alert>
</div>
</div>

<div *ngIf="isNewToolGroup">
<i style="font-size: 14px;">Once this Tool Group is created, you'll be able to add tools.</i>
</div>
</div>

<div class="modal-footer" style="justify-content: space-between">
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/tool-group/tool-group.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@
<div
class="card-header d-flex justify-content-between align-items-center"
>
<span class="h5 mb-0">Resources</span>
<span class="h5 mb-0">Tools</span>
<button class="btn btn-secondary" (click)="addResource()">
<i class="fa fa-file"></i> Add/Edit Resources
<i class="fa fa-file"></i> Add/Edit Tools
</button>
</div>

Expand Down

0 comments on commit cd68683

Please sign in to comment.