Add mock screen for editing a project
This commit is contained in:
parent
7c2c672af2
commit
9369a137ca
@ -122,6 +122,7 @@ def make_app(config, deps, **kwargs):
|
|||||||
url(r"/calculator", Main, {"page": "calculator"}, name="calculator"),
|
url(r"/calculator", Main, {"page": "calculator"}, name="calculator"),
|
||||||
url(r"/workspaces/(\S+)/members", WorkspaceMembers, {}, name="workspace_members"),
|
url(r"/workspaces/(\S+)/members", WorkspaceMembers, {}, name="workspace_members"),
|
||||||
url(r"/workspaces/(\S+)/projects", Workspace, {}, name="workspace_projects"),
|
url(r"/workspaces/(\S+)/projects", Workspace, {}, name="workspace_projects"),
|
||||||
|
url(r"/workspaces/123456/projects/789/edit", Main, {"page": "project_edit"}, name="project_edit"),
|
||||||
]
|
]
|
||||||
|
|
||||||
if not ENV == "production":
|
if not ENV == "production":
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<div class='block-list project-list-item'>
|
<div class='block-list project-list-item'>
|
||||||
<header class='block-list__header'>
|
<header class='block-list__header'>
|
||||||
<h2 class='block-list__title'>{{ project['name'] }} ({{ len(project['environments'])}} environments)</h2>
|
<h2 class='block-list__title'>{{ project['name'] }} ({{ len(project['environments'])}} environments)</h2>
|
||||||
<a class='block-list__header__link' href='/'>edit</a>
|
<a class='block-list__header__link' href='/workspaces/123456/projects/789/edit'>edit</a>
|
||||||
</header>
|
</header>
|
||||||
<ul>
|
<ul>
|
||||||
{% for environment in project['environments'] %}
|
{% for environment in project['environments'] %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user