Skip to content

Commit

Permalink
Fixed: workspaces selector component card list view
Browse files Browse the repository at this point in the history
  • Loading branch information
shilob committed Jan 29, 2024
1 parent 04d40fd commit c73c44f
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions angular-legacy/shared/form/workspace-selector.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,35 +82,35 @@ export class WorkspaceSelectorComponent extends SimpleComponent {
<!-- Begin conversion card-deck -->
<div class="card-deck">
<div class="card workspaces col-lg-4 col-md-5 col-sm-6 col-xs-12" style="display: flex; flex-direction: column;width: 30rem;" *ngFor="let workspaceType of field.workspaceApps">
<div class="panel panel-default">
<div class="panel-heading">
<h5 class="panel-title card-title" style="margin-top: 1px">
<span>{{ workspaceType.label | uppercase }}</span>
</h5>
</div>
<div class="panel-body workspaces-panel-body">
<img class="card-img-top" src="{{ workspaceType.logo }}" alt="{{workspaceType.name}}">
<div class="card-body" style="margin-bottom: auto;">
<h5 class="card-title" style="margin-top: 2px">
<span>{{ workspaceType.subtitle }}</span>
<div class="panel panel-default">
<div class="panel-heading">
<h5 class="panel-title card-title" style="margin-top: 1px">
<span>{{ workspaceType.label | uppercase }}</span>
</h5>
<p class="card-text">{{ workspaceType.description }}</p>
</div>
</div>
<div class="card-footer" style="margin-top: auto;">
<ng-container *ngIf="field.allowAdd">
<button type='button' (click)="saveAndOpenWorkspace(workspaceType)" class="btn btn-block btn-primary">{{ field.open }}</button>
</ng-container>
<ng-container *ngIf="!field.allowAdd">
<p class="text-danger">
<strong>{{ field.saveFirst }}</strong>
</p>
</ng-container>
<div class="panel-body workspaces-panel-body">
<img class="card-img-top" src="{{ workspaceType.logo }}" alt="{{workspaceType.name}}">
<div class="card-body" style="margin-bottom: auto;">
<h5 class="card-title" style="margin-top: 2px">
<span>{{ workspaceType.subtitle }}</span>
</h5>
<p class="card-text">{{ workspaceType.description }}</p>
</div>
</div>
<div class="card-footer" style="margin-top: auto;">
<ng-container *ngIf="field.allowAdd">
<button type='button' (click)="saveAndOpenWorkspace(workspaceType)" class="btn btn-block btn-primary">{{ field.open }}</button>
</ng-container>
<ng-container *ngIf="!field.allowAdd">
<p class="text-danger">
<strong>{{ field.saveFirst }}</strong>
</p>
</ng-container>
</div>
</div>
</div>
</div>
</div>
<!-- End conversion card-deck ->
<!-- End conversion card-deck -->
</div>
</ng-container>
</div>
Expand Down

0 comments on commit c73c44f

Please sign in to comment.