link preview v1
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
|
||||
{% vite_assets %}
|
||||
<link rel="stylesheet" href="{% static 'core/theme-bridge.css' %}">
|
||||
{% block extra_head %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<a class="skip-link" href="#main">Skip to content</a>
|
||||
@@ -21,7 +22,7 @@
|
||||
<div class="nav-label">WORKSPACE</div>
|
||||
<nav class="side-nav"><a href="{% url 'dashboard:index' %}" {% if section == 'dashboard' %}aria-current="page"{% endif %}><i class="bi bi-grid-1x2"></i><span>Dashboard</span></a></nav>
|
||||
<details class="nav-submenu" {% if section == 'today' or section == 'health' or section == 'energy' or section == 'home' or section == 'showcase' %}open{% endif %}><summary><i class="bi bi-palette"></i> Design examples</summary><nav class="side-nav" aria-label="Design examples"><a href="{% url 'today' %}" {% if section == 'today' %}aria-current="page"{% endif %}>Today</a><a href="{% url 'health' %}" {% if section == 'health' %}aria-current="page"{% endif %}>Health</a><a href="{% url 'energy' %}" {% if section == 'energy' %}aria-current="page"{% endif %}>Energy</a><a href="{% url 'home' %}" {% if section == 'home' %}aria-current="page"{% endif %}>Home</a><a href="{% url 'showcase' %}" {% if section == 'showcase' %}aria-current="page"{% endif %}>Showcase</a></nav></details>
|
||||
{% if user.is_authenticated %}<div class="nav-label">PROJECTS</div><nav class="side-nav"><a href="{% url 'projects:list' %}" {% if section == 'projects' %}aria-current="page"{% endif %}><i class="bi bi-kanban"></i><span>All Projects</span></a>{% for nav_project in nav_projects %}<a href="{% url 'projects:board' nav_project.id %}"><i class="bi bi-folder"></i><span>{{ nav_project.name }}</span></a>{% endfor %}</nav><div class="nav-label">ACCOUNT</div><nav class="side-nav"><a href="{% url 'projects:profile' %}" {% if section == 'profile' %}aria-current="page"{% endif %}><i class="bi bi-person-circle"></i><span>Profile</span></a></nav>{% endif %}
|
||||
{% if user.is_authenticated %}<div class="nav-label">LIBRARY</div><nav class="side-nav"><a href="{% url 'knowledge:index' %}" {% if section == 'knowledge' %}aria-current="page"{% endif %}><i class="bi bi-bookmarks"></i><span>Knowledge Library</span></a></nav><div class="nav-label">PROJECTS</div><nav class="side-nav"><a href="{% url 'projects:list' %}" {% if section == 'projects' %}aria-current="page"{% endif %}><i class="bi bi-kanban"></i><span>All Projects</span></a>{% for nav_project in nav_projects %}<a href="{% url 'projects:board' nav_project.id %}"><i class="bi bi-folder"></i><span>{{ nav_project.name }}</span></a>{% endfor %}</nav><div class="nav-label">ACCOUNT</div><nav class="side-nav"><a href="{% url 'projects:profile' %}" {% if section == 'profile' %}aria-current="page"{% endif %}><i class="bi bi-person-circle"></i><span>Profile</span></a></nav>{% endif %}
|
||||
<div class="nav-label secondary-label">EXPLORE</div>
|
||||
<nav class="side-nav secondary-nav"><span class="nav-disabled"><i class="bi bi-stars"></i>Insights <small>SOON</small></span><span class="nav-disabled"><i class="bi bi-gear"></i>Settings <small>SOON</small></span></nav>
|
||||
<div class="sidebar-bottom"><span class="demo-dot"></span><div><strong>{{ user.get_username }}</strong><small>Dashboard</small></div></div>
|
||||
@@ -31,5 +32,5 @@
|
||||
<main id="main" class="page-content">{% block content %}{% endblock %}</main>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="mobile-nav" aria-label="Mobile navigation"><a href="{% url 'dashboard:index' %}" {% if section == 'dashboard' %}aria-current="page"{% endif %}><i class="bi bi-layout-text-window-reverse"></i><span>Dashboard</span></a><a href="{% url 'projects:list' %}" {% if section == 'projects' %}aria-current="page"{% endif %}><i class="bi bi-kanban"></i><span>Projects</span></a><a href="{% url 'projects:profile' %}" {% if section == 'profile' %}aria-current="page"{% endif %}><i class="bi bi-person"></i><span>Profile</span></a><a href="{% url 'today' %}"><i class="bi bi-palette"></i><span>Examples</span></a></nav>
|
||||
<nav class="mobile-nav" aria-label="Mobile navigation"><a href="{% url 'dashboard:index' %}" {% if section == 'dashboard' %}aria-current="page"{% endif %}><i class="bi bi-layout-text-window-reverse"></i><span>Dashboard</span></a><a href="{% url 'knowledge:index' %}" {% if section == 'knowledge' %}aria-current="page"{% endif %}><i class="bi bi-bookmarks"></i><span>Library</span></a><a href="{% url 'projects:list' %}" {% if section == 'projects' %}aria-current="page"{% endif %}><i class="bi bi-kanban"></i><span>Projects</span></a><a href="{% url 'projects:profile' %}" {% if section == 'profile' %}aria-current="page"{% endif %}><i class="bi bi-person"></i><span>Profile</span></a><a href="{% url 'today' %}"><i class="bi bi-palette"></i><span>Examples</span></a></nav>
|
||||
</body></html>
|
||||
|
||||
Reference in New Issue
Block a user