From 0514bd4fca4e42f226fbf64b0a59ac3b01fbd427 Mon Sep 17 00:00:00 2001 From: Cannon Lock Date: Thu, 3 Oct 2024 09:39:20 -0500 Subject: [PATCH] Add in Soteria Assistant --- registry/templates/user/assistant.html | 8 ++++++++ registry/templates/user/includes/sidebar.html | 3 +++ registry/website.py | 5 +++++ 3 files changed, 16 insertions(+) create mode 100644 registry/templates/user/assistant.html diff --git a/registry/templates/user/assistant.html b/registry/templates/user/assistant.html new file mode 100644 index 0000000..5608184 --- /dev/null +++ b/registry/templates/user/assistant.html @@ -0,0 +1,8 @@ +{% extends "user/layout.html" %} +{% from "macros/layout/title.html" import title %} +{% block title %}SOTERIA: Assistant{% endblock %} +{% block page_class %}subpage{% endblock %} +{% block body_class %}container{% endblock %} +{% block nested_body %} + +{% endblock %} diff --git a/registry/templates/user/includes/sidebar.html b/registry/templates/user/includes/sidebar.html index 5a4b9f2..12e5f50 100644 --- a/registry/templates/user/includes/sidebar.html +++ b/registry/templates/user/includes/sidebar.html @@ -36,6 +36,9 @@

 

{% if is_researcher %} {{ nav_item('/robots/create', "Create Robot") }} {% endif %} + {% if is_researcher %} + {{ nav_item('/assistant', "Soteria Assistant") }} + {% endif %} {% if is_admin %}