forked from enviPath/enviPy
style: update login pages
This commit is contained in:
@ -7,14 +7,15 @@
|
||||
<a class="link link-hover" href="/">Predict</a>
|
||||
<a class="link link-hover" href="/search">Search</a>
|
||||
<a class="link link-hover" href="/package">Browse</a>
|
||||
<a class="link link-hover" href="/model">Modelling</a>
|
||||
{% if user.is_authenticated %}
|
||||
<a class="link link-hover" href="/model">Your Collections</a>
|
||||
{% endif %}
|
||||
<a href="https://wiki.envipath.org/" target="_blank" class="link link-hover">Documentation</a>
|
||||
</nav>
|
||||
<nav>
|
||||
<h6 class="footer-title">Company</h6>
|
||||
<a class="link link-hover" href="/about">About us</a>
|
||||
<a class="link link-hover" href="/contact">Support</a>
|
||||
<a class="link link-hover" href="/contact">Contact</a>
|
||||
<a class="link link-hover" href="/contact">Contact us</a>
|
||||
<a class="link link-hover" href="/jobs">Jobs</a>
|
||||
</nav>
|
||||
<nav>
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
<ul class="menu menu-horizontal px-1">
|
||||
<button type="button" class="inline-flex items-center gap-1 rounded-full bg-gray-950/2 px-2 py-1 inset-ring inset-ring-gray-950/8 dark:bg-white/5 dark:inset-ring-white/2"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="-ml-0.5 size-4 fill-gray-600 dark:fill-gray-500"><path fill-rule="evenodd" d="M9.965 11.026a5 5 0 1 1 1.06-1.06l2.755 2.754a.75.75 0 1 1-1.06 1.06l-2.755-2.754ZM10.5 7a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z" clip-rule="evenodd"></path></svg><kbd class="hidden font-sans text-xs/4 text-gray-500 dark:text-gray-400 [.os-macos_&]:block">⌘K</kbd><kbd class="hidden font-sans text-xs/4 text-gray-500 not-[.os-macos_&]:block dark:text-gray-400">Ctrl K</kbd></button>
|
||||
{% if meta.user.username == 'anonymous' %}
|
||||
<li><a href="#signup" id="loginButton">Login</a></li>
|
||||
<li><a href="{% url 'login' %}" id="loginButton">Login</a></li>
|
||||
{% else %}
|
||||
<li>
|
||||
<details>
|
||||
|
||||
Reference in New Issue
Block a user