summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/frontend/src/app/pages/netboot/netboot.component.html
blob: 883a13ca764ed69ac252ffefda88dd12bd636de8 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<div ui-view>
  <section class="content-header">
    <h1 translate="netboot">
    </h1>
    <ol class="breadcrumb">
      <li><a [routerLink]="'app/dashboard'"><i class="fa fa-dashboard"></i> {{'dashboard'|translate}}</a></li>
      <li class="active" translate="netboot_templates"></li>
    </ol>
  </section>
  <section fixed-toolboxbar class="toolboxbar">
    <div >
      <div class="col-md-12">
        <div class="input-group">
          <input type="text" name="q" class="form-control" placeholder="Search..." [(ngModel)]="searchText">
          <span class="input-group-btn">
            <button type="button" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
            </button>
          </span>
        </div>
      </div>
      <div class="col-md-12" style="margin-top: 5px;margin-bottom: 5px;">
        <div class="box-tools pull-right">
          <button class="btn btn-default" [routerLink]="'/app/netboots/create'" translate="new_netboot"></button>
        </div>
      </div>
    </div>
  </section>
  <section class="content">

    <mk-tabs>
      <mk-tab>
        <mk-tab-header><span translate="BIOS"></span></mk-tab-header>
        <mk-tab-content>
          <div class="row">
            <div class="col-md-12">
              <table class="table table-hover">
                <tbody><tr>
                  <th translate="name"></th>
                  <th translate="filename"></th>
                  <th translate="options"></th>
                </tr>
                <tr *ngFor="let netboot of biosNetboots; let index = index" class="{{index%2 == 0?'odd':'even'}}">
                  <td>
                    <span >{{netboot.name}}</span>
                  </td>
                  <td>
                    <span >{{netboot.filename}}</span>
                  </td>
                  <td class="right">
                    <app-table-action [rowData]="netboot" [options]="tableOptions" (edit)="goToNetbootEdit($event.id)" (delete)="deleteNetboot($event.id)"></app-table-action>
                  </td>
                </tr>
                </tbody>
              </table>
            </div>
          </div>
        </mk-tab-content>
      </mk-tab>
      <mk-tab>
        <mk-tab-header><span translate="UEFI"></span></mk-tab-header>
        <mk-tab-content>
          <div class="row">
            <div class="col-md-12">
              <table class="table table-hover">
                <tbody><tr>
                  <th translate="name"></th>
                  <th translate="filename"></th>
                  <th translate="options"></th>
                </tr>
                <tr *ngFor="let netboot of uefiNetboots; let index = index" class="{{index%2 == 0?'odd':'even'}}">
                  <td>
                    <span >{{netboot.name}}</span>
                  </td>
                  <td>
                    <span >{{netboot.filename}}</span>
                  </td>
                  <td class="right">
                    <app-table-action [rowData]="netboot" [options]="tableOptions" (edit)="goToNetbootEdit($event.id)" (delete)="deleteNetboot($event.id)"></app-table-action>
                  </td>
                </tr>
                </tbody>
              </table>
            </div>
          </div>
        </mk-tab-content>
      </mk-tab>
    </mk-tabs>


  </section>
</div>