diff --git a/atst/app.py b/atst/app.py
index dab66e8d..a94a93ec 100644
--- a/atst/app.py
+++ b/atst/app.py
@@ -122,6 +122,7 @@ def make_app(config, deps, **kwargs):
),
url(r"/workspaces/(\S+)/projects", Workspace, {}, name="workspace_projects"),
url(r"/workspaces/123456/projects/789/edit", Main, {"page": "project_edit"}, name="project_edit"),
+ url(r"/workspaces/123456/members/789/edit", Main, {"page": "member_edit"}, name="member_edit"),
]
if not ENV == "production":
diff --git a/templates/member_edit.html.to b/templates/member_edit.html.to
new file mode 100644
index 00000000..d454152c
--- /dev/null
+++ b/templates/member_edit.html.to
@@ -0,0 +1,85 @@
+{% extends "base_workspace.html.to" %}
+
+{% block template_vars %}
+{% set is_new_member = False %}
+{% set member_name = "Danny Knight" %}
+{% set member_email = "knight@mil.gov" %}
+{% set member_workspace_role = "Billing Auditor" %}
+{% set member_id = "789" %}
+{% end %}
+
+{% block workspace_content %}
+
+{% module Alert(
+ "UI Mock",
+ message="
Please note, this screen is a non-functional UI mockup.
",
+ level="info"
+ ) %}
+
+
+
+
+
+ {% if is_new_member %}
+ Add new member
+ {% else %}
+ {{ member_name }}
+ {% end %}
+
+
Workspace Role {{member_workspace_role}}
+
+
+
+
+
+
+
+
+
+ -
+
+ Development
+
+
+
+ -
+
+ Production
+
+
+
+
+
+
+
+
+
+ {% end %}
+
diff --git a/templates/navigation/workspace_navigation.html.to b/templates/navigation/workspace_navigation.html.to
index 21b48bb5..65a9525b 100644
--- a/templates/navigation/workspace_navigation.html.to
+++ b/templates/navigation/workspace_navigation.html.to
@@ -17,7 +17,20 @@
{% module SidenavItem(
"Members",
href=reverse_url('workspace_members', '123456'),
- active=matchesPath('\/workspaces\/[A-Za-z0-9]*\/members')
+ active=matchesPath('\/workspaces\/[A-Za-z0-9]*\/members'),
+ subnav=[
+ {
+ "label": "Add New Member",
+ "href": "",
+ "active": matchesPath('/workspaces/members/new'),
+ "icon": "plus"
+ },
+ {
+ "label": "Editing Member",
+ "href": "",
+ "active": matchesPath('/workspaces/123456/members/789/edit')
+ }
+ ]
)%}
{% module SidenavItem(
diff --git a/templates/workspace_members.html.to b/templates/workspace_members.html.to
index 074628da..0f538b05 100644
--- a/templates/workspace_members.html.to
+++ b/templates/workspace_members.html.to
@@ -58,7 +58,7 @@
{% for m in members %}
- {{ m['first_name'] }} {{ m['last_name'] }} |
+ {{ m['first_name'] }} {{ m['last_name'] }} |
{% if m['num_projects'] == '0' %} No Project Access {% end %} |
{{ m['status'] }} |
{{ m['workspace_role'] }} |