From e062ac387aa48c40f8cfba720cbbfc7fc86320d1 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Thu, 26 Sep 2024 14:40:38 +0300 Subject: feat: Modify templates to extend from index_page. * This ensures we have the global search functionality included for all. --- .../templates/oauth2/confirm-resource-role-unassign-privilege.html | 2 +- gn2/wqflask/templates/oauth2/create-resource.html | 2 +- gn2/wqflask/templates/oauth2/create-role.html | 2 +- gn2/wqflask/templates/oauth2/data-list-genotype.html | 2 +- gn2/wqflask/templates/oauth2/data-list-mrna.html | 2 +- gn2/wqflask/templates/oauth2/data-list-phenotype.html | 2 +- gn2/wqflask/templates/oauth2/data-list.html | 2 +- gn2/wqflask/templates/oauth2/group.html | 2 +- gn2/wqflask/templates/oauth2/group_join_or_create.html | 2 +- gn2/wqflask/templates/oauth2/join-requests.html | 2 +- gn2/wqflask/templates/oauth2/list_roles.html | 2 +- gn2/wqflask/templates/oauth2/login.html | 2 +- gn2/wqflask/templates/oauth2/masquerade.html | 2 +- gn2/wqflask/templates/oauth2/register_user.html | 2 +- gn2/wqflask/templates/oauth2/request_error.html | 2 +- gn2/wqflask/templates/oauth2/resources.html | 2 +- gn2/wqflask/templates/oauth2/role.html | 2 +- gn2/wqflask/templates/oauth2/view-resource-role.html | 2 +- gn2/wqflask/templates/oauth2/view-resource.html | 2 +- gn2/wqflask/templates/oauth2/view-user.html | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) (limited to 'gn2/wqflask/templates/oauth2') diff --git a/gn2/wqflask/templates/oauth2/confirm-resource-role-unassign-privilege.html b/gn2/wqflask/templates/oauth2/confirm-resource-role-unassign-privilege.html index 988cf3b4..deb22fe3 100644 --- a/gn2/wqflask/templates/oauth2/confirm-resource-role-unassign-privilege.html +++ b/gn2/wqflask/templates/oauth2/confirm-resource-role-unassign-privilege.html @@ -1,4 +1,4 @@ -{%extends "base.html"%} +{% extends "index_page.html" %} {%from "oauth2/profile_nav.html" import profile_nav%} {%from "oauth2/display_error.html" import display_error%} {%block title%}View User{%endblock%} diff --git a/gn2/wqflask/templates/oauth2/create-resource.html b/gn2/wqflask/templates/oauth2/create-resource.html index 479f4152..28a93ef4 100644 --- a/gn2/wqflask/templates/oauth2/create-resource.html +++ b/gn2/wqflask/templates/oauth2/create-resource.html @@ -1,4 +1,4 @@ -{%extends "base.html"%} +{% extends "index_page.html" %} {%from "oauth2/profile_nav.html" import profile_nav%} {%block title%}Create Resource{%endblock%} diff --git a/gn2/wqflask/templates/oauth2/create-role.html b/gn2/wqflask/templates/oauth2/create-role.html index 6cf0bb78..3d52d0ae 100644 --- a/gn2/wqflask/templates/oauth2/create-role.html +++ b/gn2/wqflask/templates/oauth2/create-role.html @@ -1,4 +1,4 @@ -{%extends "base.html"%} +{% extends "index_page.html" %} {%from "oauth2/profile_nav.html" import profile_nav%} {%from "oauth2/display_error.html" import display_error%} {%block title%}View User{%endblock%} diff --git a/gn2/wqflask/templates/oauth2/data-list-genotype.html b/gn2/wqflask/templates/oauth2/data-list-genotype.html index 78939a72..f50e014c 100644 --- a/gn2/wqflask/templates/oauth2/data-list-genotype.html +++ b/gn2/wqflask/templates/oauth2/data-list-genotype.html @@ -1,4 +1,4 @@ -{%extends "base.html"%} +{% extends "index_page.html" %} {%from "oauth2/profile_nav.html" import profile_nav%} {%from "oauth2/display_error.html" import display_error%} diff --git a/gn2/wqflask/templates/oauth2/data-list-mrna.html b/gn2/wqflask/templates/oauth2/data-list-mrna.html index c5c1c27e..501ff704 100644 --- a/gn2/wqflask/templates/oauth2/data-list-mrna.html +++ b/gn2/wqflask/templates/oauth2/data-list-mrna.html @@ -1,4 +1,4 @@ -{%extends "base.html"%} +{% extends "index_page.html" %} {%from "oauth2/profile_nav.html" import profile_nav%} {%from "oauth2/display_error.html" import display_error%} diff --git a/gn2/wqflask/templates/oauth2/data-list-phenotype.html b/gn2/wqflask/templates/oauth2/data-list-phenotype.html index d355f3f9..810c59c7 100644 --- a/gn2/wqflask/templates/oauth2/data-list-phenotype.html +++ b/gn2/wqflask/templates/oauth2/data-list-phenotype.html @@ -1,4 +1,4 @@ -{%extends "base.html"%} +{% extends "index_page.html" %} {%from "oauth2/profile_nav.html" import profile_nav%} {%from "oauth2/display_error.html" import display_error%} diff --git a/gn2/wqflask/templates/oauth2/data-list.html b/gn2/wqflask/templates/oauth2/data-list.html index 8a8f6694..787f892f 100644 --- a/gn2/wqflask/templates/oauth2/data-list.html +++ b/gn2/wqflask/templates/oauth2/data-list.html @@ -1,4 +1,4 @@ -{%extends "base.html"%} +{% extends "index_page.html" %} {%from "oauth2/profile_nav.html" import profile_nav%} {%from "oauth2/display_error.html" import display_error%} {%block title%}Link Data{%endblock%} diff --git a/gn2/wqflask/templates/oauth2/group.html b/gn2/wqflask/templates/oauth2/group.html index f4c29d18..0da8d754 100644 --- a/gn2/wqflask/templates/oauth2/group.html +++ b/gn2/wqflask/templates/oauth2/group.html @@ -1,4 +1,4 @@ -{%extends "base.html"%} +{% extends "index_page.html" %} {%from "oauth2/profile_nav.html" import profile_nav%} {%from "oauth2/display_error.html" import display_error%} {%block title%}View User{%endblock%} diff --git a/gn2/wqflask/templates/oauth2/group_join_or_create.html b/gn2/wqflask/templates/oauth2/group_join_or_create.html index 8255d2f8..80791a99 100644 --- a/gn2/wqflask/templates/oauth2/group_join_or_create.html +++ b/gn2/wqflask/templates/oauth2/group_join_or_create.html @@ -1,4 +1,4 @@ -{%extends "base.html"%} +{% extends "index_page.html" %} {%from "oauth2/profile_nav.html" import profile_nav%} {%block title%}Join or Create Group{%endblock%} diff --git a/gn2/wqflask/templates/oauth2/join-requests.html b/gn2/wqflask/templates/oauth2/join-requests.html index 833b4e93..11f9f055 100644 --- a/gn2/wqflask/templates/oauth2/join-requests.html +++ b/gn2/wqflask/templates/oauth2/join-requests.html @@ -1,4 +1,4 @@ -{%extends "base.html"%} +{% extends "index_page.html" %} {%from "oauth2/profile_nav.html" import profile_nav%} {%from "oauth2/display_error.html" import display_error%} {%block title%}View User{%endblock%} diff --git a/gn2/wqflask/templates/oauth2/list_roles.html b/gn2/wqflask/templates/oauth2/list_roles.html index a4061fca..bd2a9c75 100644 --- a/gn2/wqflask/templates/oauth2/list_roles.html +++ b/gn2/wqflask/templates/oauth2/list_roles.html @@ -1,4 +1,4 @@ -{%extends "base.html"%} +{% extends "index_page.html" %} {%from "oauth2/profile_nav.html" import profile_nav%} {%from "oauth2/display_error.html" import display_error%} {%block title%}View User{%endblock%} diff --git a/gn2/wqflask/templates/oauth2/login.html b/gn2/wqflask/templates/oauth2/login.html index eaa1a192..8203f088 100644 --- a/gn2/wqflask/templates/oauth2/login.html +++ b/gn2/wqflask/templates/oauth2/login.html @@ -1,4 +1,4 @@ -{%extends "base.html"%} +{% extends "index_page.html" %} {%block title%}Login{%endblock%} {%block content%}