aboutsummaryrefslogtreecommitdiff
blob: efd34e99d748d7ef548756bf7bf6454703bf2656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
    <h1>{{:: 'create-top-level-form' | translate}}</h1>

    <kc-tabs-authentication></kc-tabs-authentication>

    <form class="form-horizontal" name="clientForm" novalidate kc-read-only="!access.manageRealm">
        <div class="form-group">
            <label class="col-md-2 control-label" for="alias">{{:: 'alias' | translate}} </label>
            <div class="col-sm-6">
                <input kc-no-reserved-chars class="form-control" type="text" id="alias" name="alias" data-ng-model="flow.alias" autofocus required>
            </div>
            <kc-tooltip>{{:: 'flow.alias.tooltip' | translate}}</kc-tooltip>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="description">{{:: 'description' | translate}} </label>

            <div class="col-md-6">
                <textarea class="form-control" rows="5" cols="50" id="description" name="description" data-ng-model="flow.description"></textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="flowType">{{:: 'top-level-flow-type' | translate}}</label>
            <div class="col-sm-6">
                <div>
                    <select class="form-control" id="flowType"
                            ng-model="flow.providerId">
                        <option value="basic-flow">{{:: 'flow.generic' | translate}}</option>
                        <option value="client-flow">{{:: 'flow.client' | translate}}</option>
                    </select>
                </div>
            </div>
            <kc-tooltip>{{:: 'top-level-flow-type.tooltip' | translate}}</kc-tooltip>
        </div>
        <div class="form-group">
            <div class="col-md-10 col-md-offset-2">
                <button kc-save>{{:: 'save' | translate}}</button>
                <button type="button" class="btn btn-default" ng-click="cancel()">{{:: 'cancel' | translate}}</button>
            </div>
        </div>
    </form>
</div>

<kc-menu></kc-menu>