| 1 |
{% extends "base.html" %} |
| 2 |
|
| 3 |
{% block title %}{{ project.title }} - Project Dashboard{% endblock %} |
| 4 |
{% block body_attrs %} class="{{ crate::shell::measure(crate::shell::Measure::Wide) }} dashboard-page dashboard-project-page"{% endblock %} |
| 5 |
|
| 6 |
{% block head %} |
| 7 |
{% endblock %} |
| 8 |
|
| 9 |
{% block content %} |
| 10 |
{% include "partials/site_header.html" %} |
| 11 |
|
| 12 |
{% if let Some(su) = session_user %}{% if su.is_sandbox %} |
| 13 |
<div class="banner banner--info" role="status"> |
| 14 |
Sandbox mode: your data will be deleted when the session expires. |
| 15 |
<a href="/join">Create an account</a> to keep your work. |
| 16 |
</div> |
| 17 |
{% endif %}{% endif %} |
| 18 |
|
| 19 |
<div class="container"> |
| 20 |
<header> |
| 21 |
<div class="breadcrumb"> |
| 22 |
<a href="/dashboard?tab=projects">Dashboard</a> / <a href="/dashboard?tab=projects">Projects</a> / {{ project.title }} |
| 23 |
</div> |
| 24 |
<h1 class="page-title">{{ project.title }}<span class="dot">.</span></h1> |
| 25 |
<div class="project-meta"> |
| 26 |
<a href="/p/{{ project.slug }}" class="muted">makenot.work/p/{{ project.slug }}</a> |
| 27 |
· |
| 28 |
<a href="/p/{{ project.slug }}" target="_blank" class="muted">View live →</a> |
| 29 |
</div> |
| 30 |
</header> |
| 31 |
|
| 32 |
{{ tabs|safe }} |
| 33 |
|
| 34 |
</div> |
| 35 |
{% endblock %} |
| 36 |
|
| 37 |
|