diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2020-12-08 15:49:31 -0500 |
---|---|---|
committer | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2020-12-09 15:17:24 -0500 |
commit | 14ad65c2e83f680246c1bf06573e3fcb19cdaa06 (patch) | |
tree | 29a1c4e85556a19d14dfcc064f0e791a2fa0bf24 /src/templates | |
parent | 38152cc83eba4f8aa457dd35c824d042124cddd6 (diff) |
Update booking detail page and API after model refactor
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Change-Id: I2d1d5d7031c82a2088aa68b772c7bbdf225f3c9a
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/base/booking/booking_detail.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/templates/base/booking/booking_detail.html b/src/templates/base/booking/booking_detail.html index 24a654c..a014fea 100644 --- a/src/templates/base/booking/booking_detail.html +++ b/src/templates/base/booking/booking_detail.html @@ -38,10 +38,6 @@ <td>{{ booking.resource.template }}</td> </tr> <tr> - <td>Pod Configuration</td> - <td>{{ booking.config_bundle }}</td> - </tr> - <tr> <td>Lab Deployed At</td> <td>{{ booking.lab }}</td> </tr> @@ -55,13 +51,14 @@ </div> <div class="collapse show" id="pod_panel"> <div class="card-body"> + <h4>{{host.bundle.template.copy_of.name}}</h4> {% for host in booking.resource.get_resources %} - <h4>{{host.bundle.template.copy_of.name}}</h4> + <h4>{{host.config.name}}</h4> <div class="overflow-auto"> <table class="table m-0"> <tr> <td>Hostname:</td> - <td>{{host.name}}</td> + <td>{{host.config.name}}</td> </tr> <tr> <td>Machine:</td> @@ -72,9 +69,12 @@ <td>{{host.template.opnfvRole}}</td> </tr> <tr> + <td>Is Headnode:</td> + <td>{{host.config.is_head_node}}</td> + <tr> <td>Image:</td> <td id="host_image_{{host.id}}"> - {{host.config.Image}} + {{host.config.image}} <button class="btn btn-primary ml-4" data-toggle="modal" |