summaryrefslogtreecommitdiffstats
path: root/webapp/src/app/devel/devel.component.html
blob: 495eed437e70787d888ad30995ccd337e58ded41 (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
<div class="row">
    <div class="col-md-8">
        <table class="table table-borderless table-center">
            <tbody>
                <tr>
                    <th style="border: none;">Project</th>
                    <td>
                        <div class="btn-group" dropdown *ngIf="curPrj">
                            <button dropdownToggle type="button" class="btn btn-primary dropdown-toggle" style="width: 20em;">
                                {{curPrj.label}}
                                <span class="caret" style="float: right; margin-top: 8px;"></span>
                            </button>
                            <ul *dropdownMenu class="dropdown-menu" role="menu">
                                <li role="menuitem"><a class="dropdown-item" *ngFor="let prj of (Prjs$ | async)" [class.disabled]="!prj.isUsable"
                                        (click)="curPrj=prj">{{prj.label}}</a>
                                </li>

                            </ul>
                        </div>
                        <span *ngIf="!curPrj" style="color:red; font-style: italic;">
                            No project detected, please create first a project using the configuration page.
                        </span>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</div>

<div class="row">
    <!--<div class="col-md-8">-->
    <div class="col-md-12">
        <xds-panel-build [curProject]=curPrj></xds-panel-build>
    </div>
    <!-- TODO: disable for now
    <div class="col-md-4">
        <panel-deploy [curProject]=curPrj></panel-deploy>
    </div>
    -->
</div>