Fixed webapp build and error message.
[src/xds/xds-agent.git] / webapp / src / app / devel / devel.component.html
1 <div class="row">
2     <div class="col-md-8">
3         <table class="table table-borderless table-center">
4             <tbody>
5                 <tr>
6                     <th style="border: none;">Project</th>
7                     <td>
8                         <div class="btn-group" dropdown *ngIf="curPrj">
9                             <button dropdownToggle type="button" class="btn btn-primary dropdown-toggle" style="width: 20em;">
10                                 {{curPrj.label}}
11                                 <span class="caret" style="float: right; margin-top: 8px;"></span>
12                             </button>
13                             <ul *dropdownMenu class="dropdown-menu" role="menu">
14                                 <li role="menuitem"><a class="dropdown-item" *ngFor="let prj of (Prjs$ | async)" [class.disabled]="!prj.isUsable"
15                                         (click)="curPrj=prj">{{prj.label}}</a>
16                                 </li>
17
18                             </ul>
19                         </div>
20                         <span *ngIf="!curPrj" style="color:red; font-style: italic;">
21                             No project detected, please create first a project using the configuration page.
22                         </span>
23                     </td>
24                 </tr>
25             </tbody>
26         </table>
27     </div>
28 </div>
29
30 <div class="row">
31     <!--<div class="col-md-8">-->
32     <div class="col-md-12">
33         <xds-panel-build [curProject]=curPrj></xds-panel-build>
34     </div>
35     <!-- TODO: disable for now
36     <div class="col-md-4">
37         <panel-deploy [curProject]=curPrj></panel-deploy>
38     </div>
39     -->
40 </div>