Rework development page: Pre-build, Build, Populate.
[src/xds/xds-server.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}} <span class="caret" style="float: right; margin-top: 8px;"></span>
11                                     </button>
12                             <ul *dropdownMenu class="dropdown-menu" role="menu">
13                                 <li role="menuitem"><a class="dropdown-item" *ngFor="let prj of (config$ | async)?.projects" (click)="curPrj=prj">{{prj.label}}</a>
14                                 </li>
15                             </ul>
16                         </div>
17                         <span *ngIf="!curPrj" style="color:red; font-style: italic;">
18                             No project detected, please create first a project using the configuration page.
19                         </span>
20                     </td>
21                 </tr>
22             </tbody>
23         </table>
24     </div>
25 </div>
26
27 <div class="row">
28     <div class="col-md-8">
29         <panel-build [curProject]=curPrj></panel-build>
30     </div>
31     <!-- TODO: disable for now
32     <div class="col-md-4">
33         <panel-deploy [curProject]=curPrj></panel-deploy>
34     </div>
35     -->
36 </div>