Skip to content

Commit

Permalink
remove login
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Park committed Apr 15, 2024
1 parent 5b762c7 commit 0405ea5
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 24 deletions.
4 changes: 2 additions & 2 deletions geweb/templates/ninyampinga/_nav-dropdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</a>
</li>

<li class="nav-list__item">
<!-- <li class="nav-list__item">
{% if not user.is_authenticated %}
<a href="{% url 'auth_login' %}" class="nav-list__anchor">{% trans 'Sign up' %}</a>
{% else %}
Expand All @@ -25,7 +25,7 @@
{% else %}
<a href="{% url 'auth_logout' %}" class="nav-list__anchor">{% trans 'Log in' %}</a>
{% endif %}
</li>
</li> -->
</ul>
</div>

Expand Down
4 changes: 2 additions & 2 deletions geweb/templates/springster/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<header id="header-wrapper" class="header-wrapper">
<div class="menu">
<ul class="menu-list">
<li id="profile" class="menu-list__item">
<!-- <li id="profile" class="menu-list__item">
{% if not user.is_authenticated %}
<a href="{% url 'user_register' %}" class="menu-list__anchor">
{% trans "Sign up" %}
Expand All @@ -16,7 +16,7 @@
{% trans "Profile" %}
</a>
{% endif %}
</li>
</li> -->
<li class="menu-list__item">
<a href="/" class="menu-list__anchor logo logo--center">
<img alt="Springster" src="{% static 'img/springster/springster-logo.svg' %}" width="97" height="24">
Expand Down
4 changes: 2 additions & 2 deletions geweb/templates/tujibebe/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<header id="header-wrapper" class="header-wrapper">
<div class="menu">
<ul class="menu-list">
<li id="profile" class="menu-list__item">
<!-- <li id="profile" class="menu-list__item">
{% if not user.is_authenticated %}
<a href="{% url 'user_register' %}" class="menu-list__anchor">
{% trans "Sign up" %}
Expand All @@ -15,7 +15,7 @@
{% trans "Profile" %}
</a>
{% endif %}
</li>
</li> -->
<li class="menu-list__item">
<a href="/" class="menu-list__anchor logo logo--center">
<img alt="Tujibebe" src="{% static 'img/tujibebe/tujibebe_white.svg' %}" width="115" height="35" >
Expand Down
4 changes: 2 additions & 2 deletions geweb/templates/zathu/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% include "../_patterns/nav.html" with suffix="zathu" %}
{% include "../_patterns/footer-nav.html" with suffix="zathu" %}
</div>
<div class="nav-list footer-profiles">
<!-- <div class="nav-list footer-profiles">
<div class="nav-list__item">
{% if not user.is_authenticated %}
<a href="{% url 'auth_login' %}" class="nav-list__anchor">{% trans "Log in" %}</a>
Expand All @@ -24,7 +24,7 @@
{% endif %}
</div>
{% include "../_patterns/language.html" with position="bottom" %}
</div>
</div> -->
</div>


Expand Down
4 changes: 2 additions & 2 deletions geweb/templates/zathu/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<li class="nav-list__item">
<a class="nav-list__anchor" href="#footer">{% trans "Menu" %}</a>
</li>
{% comment %} <li class="nav-list__item">
<!-- {% comment %} <li class="nav-list__item">
{% if not user.is_authenticated %}
<a href="{% url 'user_register' %}" class="nav-list__anchor">{% trans "Sign up" %}</a>
{% else %}
<a href="{% url 'view_my_profile' %}" class="nav-list__anchor">{% trans "Profile" %}</a>
{% endif %}
</li> {% endcomment %}
</li> {% endcomment %} -->
<li id="search" class="nav-list__item">
<a class="nav-list__anchor" href="#footer">
<label>{% trans "Search" %}</label>
Expand Down
5 changes: 3 additions & 2 deletions profiles/templates/profiles/_patterns/register-form.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{% load static wagtailsettings_tags wagtailcore_tags i18n %}
{% get_settings %}
<p class="subtitle">{% trans "This page is no longer available" %}</p>

<form method="post" action="{% url 'user_register' %}" class="profiles__form">
<!-- <form method="post" action="{% url 'user_register' %}" class="profiles__form">
{% csrf_token %}
{% for field in form %}
<fieldset {% if field.name == "terms_and_conditions" %}class="profiles__split"{% endif %}>
Expand All @@ -20,4 +21,4 @@
<div class="call-to-action">
<input type="submit" value="{% trans 'Sign up' %}" class="call-to-action__submit" />
</div>
</form>
</form> -->
5 changes: 3 additions & 2 deletions profiles/templates/profiles/zathu/forgot_password.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% load i18n %}
<p class="subtitle">{% trans "This page is no longer available" %}</p>

<div class="profiles">
<!-- <div class="profiles">
<div class="component">
<div class="component__super">
<h1 class="super-title">{% trans "Forgot Pin" %}</h1>
Expand All @@ -13,4 +14,4 @@ <h1 class="super-title">{% trans "Forgot Pin" %}</h1>
<div class="profiles__inner">
{% include "../_patterns/forgot-password-form.html" %}
</div>
</div>
</div> -->
6 changes: 4 additions & 2 deletions profiles/templates/profiles/zathu/register.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{% load i18n %}

<div class="profiles">
<p class="subtitle">{% trans "This page is no longer available" %}</p>

<!-- <div class="profiles">
<div class="component">
<div class="component__super">
<h1 class="super-title">{% trans "Sign up" %}</h1>
Expand All @@ -16,4 +18,4 @@ <h1 class="super-title">{% trans "Sign up" %}</h1>
<a href="{% url 'auth_login' %}" class="call-to-action__link">{% trans "Already joined?" %}</a>
</div>
</div>
</div>
</div> -->
5 changes: 3 additions & 2 deletions profiles/templates/registration/ninyampinga/login.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% load i18n %}
<p class="subtitle">{% trans "This page is no longer available" %}</p>

<div class="profiles">
<!-- <div class="profiles">
<div class="profiles__inner">
<div class="component">
Expand All @@ -18,4 +19,4 @@ <h1 class="super-title">{% trans "Log in" %}</h1>
{% include "../_patterns/login-form.html" %}
</div>
</div>
</div> -->
5 changes: 3 additions & 2 deletions profiles/templates/registration/springster/login.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% load i18n %}
<p class="subtitle">{% trans "This page is no longer available" %}</p>

<div class="profiles">
<!-- <div class="profiles">
<div class="component">
<div class="component__title">
<h1 class="heading__primary">{% trans "Log in" %}</h1>
Expand All @@ -17,4 +18,4 @@ <h1 class="heading__primary">{% trans "Log in" %}</h1>
<a href="/profiles/forgot-password/" class="call-to-action__link">
{% trans "Forgot PIN?" %}
</a>
</div>
</div> -->
5 changes: 3 additions & 2 deletions profiles/templates/registration/tujibebe/login.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% load i18n %}
<p class="subtitle">{% trans "This page is no longer available" %}</p>

<div class="profiles">
<!-- <div class="profiles">
<div class="component">
<div class="component__title">
<h1 class="heading__primary">{% trans "Log in" %}</h1>
Expand All @@ -17,4 +18,4 @@ <h1 class="heading__primary">{% trans "Log in" %}</h1>
<div class="call-to-action--profiles">
<a href="{% url 'forgot_password' %}" class="call-to-action__link--left">{% trans "Forgot Pin" %}</a>
</div>
</div>
</div> -->
5 changes: 3 additions & 2 deletions profiles/templates/registration/zathu/login.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% load i18n %}
<p class="subtitle">{% trans "This page is no longer available" %}</p>

<div class="profiles">
<!-- <div class="profiles">
<div class="component">
<div class="component__super">
<h1 class="super-title">{% trans "Log in" %}</h1>
Expand All @@ -20,4 +21,4 @@ <h1 class="super-title">{% trans "Log in" %}</h1>
</a>
</div>
</div>
</div>
</div> -->

0 comments on commit 0405ea5

Please sign in to comment.