WIP projects templates
This commit is contained in:
parent
18cd1b4473
commit
7c21e64c51
@ -9,8 +9,8 @@
|
|||||||
subnav=[
|
subnav=[
|
||||||
{
|
{
|
||||||
"label": "Add New Project",
|
"label": "Add New Project",
|
||||||
"href":"/",
|
"href": url_for('workspaces.new_project', workspace_id=workspace.id),
|
||||||
"active": g.matchesPath('workspaces/projects/new'),
|
"active": g.matchesPath('\/workspaces\/[A-Za-z0-9-]*\/projects'),
|
||||||
"icon": "plus"
|
"icon": "plus"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
8
templates/workspace_project_new.html
Normal file
8
templates/workspace_project_new.html
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{% from "components/icon.html" import Icon %}
|
||||||
|
|
||||||
|
{% extends "base_workspace.html" %}
|
||||||
|
|
||||||
|
{% block workspace_content %}
|
||||||
|
<h1>Add a new project</h1>
|
||||||
|
|
||||||
|
{% endblock %}
|
@ -1,9 +1,20 @@
|
|||||||
{% from "components/icon.html" import Icon %}
|
{% from "components/icon.html" import Icon %}
|
||||||
|
{% from "components/alert.html" import Alert %}
|
||||||
|
|
||||||
{% extends "base_workspace.html" %}
|
{% extends "base_workspace.html" %}
|
||||||
|
|
||||||
{% block workspace_content %}
|
{% block workspace_content %}
|
||||||
|
|
||||||
|
{% if True %}
|
||||||
|
{{ Alert('Workspace created!',
|
||||||
|
message="\
|
||||||
|
<p>You are now ready to create projects and environments within the JEDI Cloud.</p>
|
||||||
|
",
|
||||||
|
actions='',
|
||||||
|
level='success'
|
||||||
|
) }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% for project in workspace.projects %}
|
{% for project in workspace.projects %}
|
||||||
<div class='block-list project-list-item'>
|
<div class='block-list project-list-item'>
|
||||||
<header class='block-list__header'>
|
<header class='block-list__header'>
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
{% extends "base.html.to" %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
|
|
||||||
<div class="usa-width-one-whole empty-state">
|
|
||||||
<p>There are currently no JEDI workspaces</p>
|
|
||||||
<a href="" class="usa-button">New Workspace</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
{% end %}
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user