mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.3 KiB
26 lines
1.3 KiB
<sqx-title message="i18n:api.graphqlPageTitle" />
|
|
<sqx-layout hideHeader="true" hideSidebar="true" layout="main">
|
|
<div #graphiQLContainer inner sqxTourStep="graphQLExplorer"></div>
|
|
|
|
@if (clientsReadable) {
|
|
<button class="btn btn-simple btn-options" (click)="clientsDialog.show()"><i class="icon-clients"></i></button>
|
|
}
|
|
</sqx-layout>
|
|
<sqx-modal-dialog (dialogClose)="clientsDialog.hide()" *sqxModal="clientsDialog">
|
|
<ng-container title> {{ "api.selectClient" | sqxTranslate }} </ng-container>
|
|
<ng-container content>
|
|
<sqx-form-hint> {{ "api.selectClientDescription" | sqxTranslate }} </sqx-form-hint>
|
|
<sqx-form-row for="client" label="common.client" vertical>
|
|
<select class="form-control" id="client" [ngModel]="clientSelected" (ngModelChange)="selectClient($event)">
|
|
<option [ngValue]="null">{{ "api.noClient" | sqxTranslate }}</option>
|
|
|
|
@for (client of clientsState.clients | async; track client) {
|
|
<option [ngValue]="client">{{ client.id }}</option>
|
|
}
|
|
</select>
|
|
</sqx-form-row>
|
|
</ng-container>
|
|
<ng-container footer>
|
|
<button class="btn btn-text-secondary" (click)="clientsDialog.hide()" type="button">{{ "common.close" | sqxTranslate }}</button>
|
|
</ng-container>
|
|
</sqx-modal-dialog>
|
|
|