From 001f7638932329454ffa515041fb5af6177e559e Mon Sep 17 00:00:00 2001 From: Parker Berberian Date: Mon, 29 Oct 2018 12:53:09 -0400 Subject: Fixed Indentation This is a pretty complex html file that we will have to modify soon, so I made sure that every tag is opened and closed at the correct height. The correct height for a tag is 4 spaces more indented than its parent Change-Id: Ie356b61746477f65304f38c019f471e5cae1aa94 Signed-off-by: Parker Berberian --- .../src/templates/booking/booking_detail.html | 470 ++++++++++----------- 1 file changed, 231 insertions(+), 239 deletions(-) (limited to 'dashboard/src/templates/booking/booking_detail.html') diff --git a/dashboard/src/templates/booking/booking_detail.html b/dashboard/src/templates/booking/booking_detail.html index 126aaab..cae0e25 100644 --- a/dashboard/src/templates/booking/booking_detail.html +++ b/dashboard/src/templates/booking/booking_detail.html @@ -3,289 +3,281 @@ {% block extrahead %} {{block.super}} - + {% endblock %} {% block content %}
-
-
-
-

Overview

- Expand -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Purpose{{ booking.purpose }}
Project{{ booking.project }}
Start Time{{ booking.start }}
End Time{{ booking.end }}
Pod Definition{{ booking.resource.template }}
Pod Configuration{{ booking.config_bundle }}
Lab Deployed At{{ booking.lab }}
-
-
-
-
-
-
-

Pod

- - Expand +
+

Overview

+ Expand +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Purpose{{ booking.purpose }}
Project{{ booking.project }}
Start Time{{ booking.start }}
End Time{{ booking.end }}
Pod Definition{{ booking.resource.template }}
Pod Configuration{{ booking.config_bundle }}
Lab Deployed At{{ booking.lab }}
+
-
- - {% for host in booking.resource.hosts.all %} - - -

{{host.template.resource.name}}

- - - - - - - - - - - - - - - - - - - - - +
+ +
+ +
+
+

Pod

+ Expand +
+
+
Hostname:{{host.template.resource.name}}
Profile:{{host.name}}
Role:{{host.config.opnfvRole}}
Image:{{host.config.image}}
RAM:{{host.profile.ramprofile.first.amount}}G, - {{host.profile.ramprofile.first.channels}} channels
+ {% for host in booking.resource.hosts.all %} - + - - - - + {% endfor %} - - - - +
CPU:

{{host.template.resource.name}}

- - + + - - + + - - + + -
Arch:{{host.profile.cpuprofile.first.architecture}}Hostname:{{host.template.resource.name}}
Cores:{{host.profile.cpuprofile.first.cores}}Profile:{{host.name}}
Sockets:{{host.profile.cpuprofile.first.cpus}}Role:{{host.config.opnfvRole}}
-
DISK: - - - + + - - + + - - + + + + + + + + + + + +
Size:{{host.profile.diskprofile.first.size}}GiBImage:{{host.config.image}}
Type:{{host.profile.diskprofile.first.media_type}}RAM:{{host.profile.ramprofile.first.amount}}G, + {{host.profile.ramprofile.first.channels}} channels
Mount Point:{{host.profile.diskprofile.first.name}}CPU: + + + + + + + + + + + + + +
Arch:{{host.profile.cpuprofile.first.architecture}}
Cores:{{host.profile.cpuprofile.first.cores}}
Sockets:{{host.profile.cpuprofile.first.cpus}}
+
DISK: + + + + + + + + + + + + + +
Size:{{host.profile.diskprofile.first.size}}GiB
Type:{{host.profile.diskprofile.first.media_type}}
Mount Point:{{host.profile.diskprofile.first.name}}
+
Interfaces: + + + {% for intprof in host.profile.interfaceprofile.all %} + + + + {% endfor %} +
+ + + + + + + + + +
Name:{{intprof.name}}
Speed:{{intprof.speed}}
+
+
+
Interfaces: - - - {% for intprof in host.profile.interfaceprofile.all %} - - - - {% endfor %} -
- - - - - - - - - -
Name:{{intprof.name}}
Speed:{{intprof.speed}}
-
-
+ + + +
+
+
+

PDF

+ Expand +
-
- - - {% endfor %} - - +
+
+{{pdf}}
+                            
+
+
+
-
+
+
+

Deployment Progress

+

These are the different tasks that have to be completed before your deployment is ready

+ Expand +
-
-
-

PDF

- Expand -
- -
-
-
-                    {{pdf}}
-
-
-                
-
-
-
-
-
- - +
+ + + + + + + + + {% for task in booking.job.get_tasklist %} + + - } - @keyframes fadeInOut { - from { opacity: 0;} - } - .done { - display: inline-block; - width: 20px; - height: 20px; - background: #40B976; - border-radius: 50%; - } - - - - - - - - {% for task in booking.job.get_tasklist %} - - + + - - - - {% endfor %} -
StatusLab ResponseType
+ {% if task.status < 100 %} +
+ {% elif task.status < 200 %} +
+ {% else %} +
+ {% endif %} +
StatusLab ResponseType
- {% if task.status < 100 %} -
- {% elif task.status < 200 %} -
- {% else %} -
- {% endif %} +
+ {% if task.status < 100 %} + PENDING + {% elif task.status < 200 %} + IN PROGRESS + {% else %} + DONE + {% endif %} + {% if task.message %} + {% if task.type_str == "Access Task" and user_id != task.config.user.id %} + Message from Lab:
--secret--
+ {% else %} + Message from Lab:
{{ task.message }}
+ {% endif %} + {% else %} + No response provided (yet) + {% endif %} +
+ {{ task.type_str }} - - {% if task.status < 100 %} - PENDING - {% elif task.status < 200 %} - IN PROGRESS - {% else %} - DONE - {% endif %} - - - {% if task.message %} - {% if task.type_str == "Access Task" and user_id != task.config.user.id %} - Message from Lab:
--secret--
- {% else %} - Message from Lab:
{{ task.message }}
- {% endif %} - {% else %} - No response provided (yet) - {% endif %} -
- {{ task.type_str }} - -
+ + + {% endfor %} + +
- - -- cgit 1.2.3-korg