From aa0c0befc8ff01a60b77f200f6113771e98c0515 Mon Sep 17 00:00:00 2001 From: Britney Wang Date: Fri, 19 Jan 2024 10:10:49 -0800 Subject: [PATCH] Fix indentation --- templates/credentials/shop/manage.html | 619 ++++++++++++------------- 1 file changed, 309 insertions(+), 310 deletions(-) diff --git a/templates/credentials/shop/manage.html b/templates/credentials/shop/manage.html index 14f68be9960..67aaef7edbc 100644 --- a/templates/credentials/shop/manage.html +++ b/templates/credentials/shop/manage.html @@ -10,328 +10,327 @@ {% block content %}
-
-
-

Manage exam attempts

-
-
-

- The table below shows exam attempts you have purchased. -
- To redeem an attempt, copy the associated key and paste it where - the system asks you for the attempt key. -

-
+
+
+

Manage exam attempts

+
+
+

+ The table below shows exam attempts you have purchased. +
+ To redeem an attempt, copy the associated key and paste it where + the system asks you for the attempt key. +

-
-
-
-
-
-
- All keys -
- - -
- - {% if not keys %} -

No keys available.

- {% else %} -
- -
-
- - - - - - - - - - {% for key_item in all["keys"] %} - - - - - - - - {% endfor %} - - -
-
- -
-
Exam Key IdAssigneeExamExpiration Date
- - - {{ key_item["key"] }}   - - - - - Copy Key - - - {% if key_item["activatedBy"] %} - {{ key_item["activatedBy"] }} - {% else %} - N/A   - - - - - Refresh Key - - - - - - - Redeem Key - - {% endif %} - - {{ key_item["productID"] }} - - {{ key_item["expirationDate"] }} -
-
- {% with %} - {% set total_pages = all["total_pages"] %} - {% set offset = offset %} - {% set current_tab = "all" %} - {% set current_page = all["page_no"] %} - {% set all_page_no = all["page_no"] %} - {% set unused_page_no = unused["page_no"] %} - {% set active_page_no = active["page_no"] %} +
+
+
+
+
+
+
+ All keys +
+ + +
+ {% if not keys %} +

No keys available.

+ {% else %} +
+ +
+
+ + + + + + + + + + {% for key_item in all["keys"] %} + + + + + + + + {% endfor %} + + +
+
+ +
+
Exam Key IdAssigneeExamExpiration Date
+ + + {{ key_item["key"] }}   + + + + + Copy Key + + + {% if key_item["activatedBy"] %} + {{ key_item["activatedBy"] }} + {% else %} + N/A   + + + + + Refresh Key + + + + + + + Redeem Key + + {% endif %} + + {{ key_item["productID"] }} + + {{ key_item["expirationDate"] }} +
+
+ {% with %} + {% set total_pages = all["total_pages"] %} + {% set offset = offset %} + {% set current_tab = "all" %} + {% set current_page = all["page_no"] %} + {% set all_page_no = all["page_no"] %} + {% set unused_page_no = unused["page_no"] %} + {% set active_page_no = active["page_no"] %} - {% include "credentials/shop/_pagination.html" %} - {% endwith %} -
-
+ {% include "credentials/shop/_pagination.html" %} + {% endwith %} +
+ -
- -
-
- - - - - - - - - - {% for key_item in unused["keys"] %} - {% if key_item["activatedBy"] is not defined %} - - - - - - - - {% endif %} - {% endfor %} - - -
-
- -
-
Exam Key IdAssigneeExamExpiration Date
- - - {{ key_item["key"] }}   - - - - - Copy Key - - - N/A   - - - - - - Refresh Key - - - - - - - Redeem Key - - - {{ key_item["productID"] }} - - {{ key_item["expirationDate"] }} -
-
- {% with %} - {% set total_pages = unused["total_pages"] %} - {% set offset = offset %} - {% set current_tab = "unused" %} - {% set current_page = unused["page_no"] %} - {% set all_page_no = all["page_no"] %} - {% set unused_page_no = unused["page_no"] %} - {% set active_page_no = active["page_no"] %} +
+ +
+
+ + + + + + + + + + {% for key_item in unused["keys"] %} + {% if key_item["activatedBy"] is not defined %} + + + + + + + + {% endif %} + {% endfor %} + + +
+
+ +
+
Exam Key IdAssigneeExamExpiration Date
+ + + {{ key_item["key"] }}   + + + + + Copy Key + + + N/A   + + + + + + Refresh Key + + + + + + + Redeem Key + + + {{ key_item["productID"] }} + + {{ key_item["expirationDate"] }} +
+
+ {% with %} + {% set total_pages = unused["total_pages"] %} + {% set offset = offset %} + {% set current_tab = "unused" %} + {% set current_page = unused["page_no"] %} + {% set all_page_no = all["page_no"] %} + {% set unused_page_no = unused["page_no"] %} + {% set active_page_no = active["page_no"] %} - {% include "credentials/shop/_pagination.html" %} - {% endwith %} -
-
+ {% include "credentials/shop/_pagination.html" %} + {% endwith %} +
+
-
- -
-
- - - - - - - - - - {% for key_item in active["keys"] %} - {% if key_item["activatedBy"] %} - - - - - - - - {% endif %} - {% endfor %} - -
-
- -
-
Exam Key IdAssigneeExamExpiration Date
- - - {{ key_item["key"] }}   - - - - - Copy Key - - - {{ key_item["activatedBy"] }} - - {{ key_item["productID"] }} - - {{ key_item["expirationDate"] }} -
-
- {% with %} - {% set total_pages = active["total_pages"] %} - {% set offset = offset %} - {% set current_tab = "active" %} - {% set current_page = active["page_no"] %} - {% set all_page_no = all["page_no"] %} - {% set unused_page_no = unused["page_no"] %} - {% set active_page_no = active["page_no"] %} +
+ +
+
+ + + + + + + + + + {% for key_item in active["keys"] %} + {% if key_item["activatedBy"] %} + + + + + + + + {% endif %} + {% endfor %} + +
+
+ +
+
Exam Key IdAssigneeExamExpiration Date
+ + + {{ key_item["key"] }}   + + + + + Copy Key + + + {{ key_item["activatedBy"] }} + + {{ key_item["productID"] }} + + {{ key_item["expirationDate"] }} +
+
+ {% with %} + {% set total_pages = active["total_pages"] %} + {% set offset = offset %} + {% set current_tab = "active" %} + {% set current_page = active["page_no"] %} + {% set all_page_no = all["page_no"] %} + {% set unused_page_no = unused["page_no"] %} + {% set active_page_no = active["page_no"] %} - {% include "credentials/shop/_pagination.html" %} - {% endwith %} -
-
- {% endif %} -
- + {% include "credentials/shop/_pagination.html" %} + {% endwith %} + + + {% endif %} + +